Ask a Question related to Macromedia Director 3D, Design and Development.
-
foq #1
How to change the playrate...
I really hope you can help me with this one:
I know I can set the playrate of individual models using
member(whichCastmember).model(whichModel).keyframe Player.playRate
But what if I want my whole scene to play slower / faster? Do I have to set it
on every model manually? Isn´t there a quick and easy way to do that?
Thanks a lot for the help.
Best Regards
foq Guest
-
How can I change an A3 PDF to A4?
To really reduce the dimensions of a PDF you need a 3rd party tool. I find pdfCorrect very handy to do this type of task (www.callassoftware.com). ... -
how do I change pdf form in Version 7.0 change permission to allowed
hello, I'm working on a web application. I need to insert some javascript to a form which is submitted by someone else. I had no problem in... -
change URL
I recently redesigned the web site, replacing the old home page. How do I change the default URL given to this page by Contribute? -
change swf
Have an swf which i made with instant flashfiles. How can I change it or open it in macromedia flashMX. Same i suppose for an existing flashfile... -
change account name does not change login name
If I try to change an account name through control panel- usermanagement, it appears to be cosmetic only. When I restart, if I attempt to login in... -
Agustín María Rodríguez #2
Re: How to change the playrate...
foq wrote:
There´s no easy way but instead of doing it with many lines, you can use> I really hope you can help me with this one:
>
> I know I can set the playrate of individual models using
> member(whichCastmember).model(whichModel).keyframe Player.playRate
>
> But what if I want my whole scene to play slower / faster? Do I have to set it
> on every model manually? Isn´t there a quick and easy way to do that?
iterations. E-mail Lingo:
repeat with n = 1 to member(whichCastmember).model.count
thisModel = member(whichCastmember).model[n]
thisModelHasKeyframePlayer = FALSE
repeat with n = 1 to thisModel.modifier.count
if thisModel.modifier[n] = #keyframePlayer then
thisModelHasKeyframePlayer = TRUE
exit repeat
end if
end repeat
if thisModelHasKeyframePlayer then thisModel.keyframePlayer.playRate=0.5
end repeat
end
That code (hopefully) will detect which models has #keyframePlayer
modifier attached and set they playrate to half of the speed.
Regards,
--
Agustín María Rodríguez
[url]www.onwine.com.ar[/url] > Macromedia Director demos & code
Agustín María Rodríguez Guest
-
foq #3
Re: How to change the playrate...
Thanks a lot for the help, Agustin.
It makes sense, but it crahses Director...
foq Guest
-
tedalde2 #4
Re: How to change the playrate...
Yes, change the counter "n" in repeat with n = 1 to thisModel.modifier.count to a different variable.
tedalde2 Guest
-
hondo3000 #5
Re: How to change the playrate...
of using "getone" to detect the modifier:
cnt=pWorld.model.count
repeat with i=1 to cnt
modifier_list=pWorld.model[i].modifier
if modifier_list.getone(#keyframePlayer) = 1 then
pWorld.model[i].playRate=0.5
end if
end repeat
hondo3000 Guest
-
Agustín María Rodríguez #6
Re: How to change the playrate...
hondo3000 wrote:
hehe Thanks for that one! I knew I was missing an easier way but didn´t> of using "getone" to detect the modifier:
>
> cnt=pWorld.model.count
> repeat with i=1 to cnt
> modifier_list=pWorld.model[i].modifier
> if modifier_list.getone(#keyframePlayer) = 1 then
> pWorld.model[i].playRate=0.5
> end if
> end repeat
>
>
>
have time to think what it was until I saw your post ;)
Cheers!
--
Agustín María Rodríguez
[url]www.onwine.com.ar[/url] > Macromedia Director demos & code
Agustín María Rodríguez Guest
-
hondo3000 #7
Re: How to change the playrate...
there was something wrong... it shoud be ...getone(#keyframePlayer) <> 0
so this should work with models that have not the keyframeplayer in the first
position
of the modifier list.
repeat with n=1 to pWorld.model.count
if (pWorld.model[n].modifier).getone(#keyframePlayer) <>0 then
pWorld.model[n].playRate=0.5
end repeat
(this is now the shortest one i can imagine :) )>hehe Thanks for that one! I knew I was missing an easier way but didn?t
>have time to think what it was until I saw your post ;)
cheers!
hondo3000 Guest
-
tyree_2 #8
Re: How to change the playrate...
changing the framerate of the 3d member would also slow or speed up the entire
scene. click somewhere on the 3d scene of the timeline and right click, insert
keyframes, click on a keyframe go to modify, frame, tempo change the tempo
framerate. where ever you click on keyframe and change the playrate. it will
play at the speed you tell it to instead of the default 30
tyree_2 Guest
-
hondo3000 #9
Re: How to change the playrate...
this will have no effect on the keyframe or bonesplayer, they are timebased and tempo can only be changed by setting the playrate.
hondo3000 Guest
-



Reply With Quote

