Click to See Complete Forum and Search --> : is there a script for this??


sjpotter
12-22-2003, 09:05 AM
Does anyone know of a script that will allow you to Play X number of frames, then GotoandPlay. ?? Let me explain. In a flash composition I want a script that when activated will play the timeline forward let's say 20 frames, then Goto a marker and continue playing. Does a script like this exist?
Thanks.......Steve

pnaj
12-22-2003, 10:20 AM
You mentioned Flash ... was that just for explanation or is this really an Actionscript thing?

Either way, could you let us have a little more detail.

In general, (AS or JS) you can use the setInterval() function to make things happen on a timed basis.

sjpotter
12-22-2003, 11:02 AM
Let me try to explain more, as someone new to Javascripts I may have not been clear. I am using Adobe Live Motion to build my flash site. Let's say a viewer of my website selects the "samples" page via the navbar. I have been using the "Goto and Play" script applied to the samples page button in the navbar to accomplsih this. What I really want to do however, is find a script which will play (X) number of frames in the timeline, let's say 20, then go to the marker for the samples page and play from there. This will allow me to build a transition in these 20 frames. I know there are better ways to do this but for someone new to Java my understanding is limitted a script like this I can understand.

thanks........steve

pnaj
12-22-2003, 11:19 AM
Sorry, but I'm still not clear whether this is an actionscript (i.e. in Flash) problem or a javascript (outside flash) problem.

You said ...
Let's say a viewer of my website selects the "samples" page via the navbar
... is this navbar inside the flash movie or outside?

I've never used LiveMotion so I don't know how it works.

sjpotter
12-22-2003, 11:41 AM
this navbar is outside of the movie it is controlling, I'm not sure if that helps. Im still struggling with terminology.
Thanks.....Steve

pnaj
12-24-2003, 05:22 AM
Sorry for the delayed reply ... I've not been around.

Don't worry about not knowing the terminology ... got to start somewhere.

Can you upload your pages somewhere so we can see what's going on for ourselves?

Otherwise, it's going to be difficult to help.