-
Control Movie Timing
Hello..
I need some help.. What I would like to do is stop the movie on a frame lets say frame 10 for 15 seconds and go to the next frame. Can anybody help me do that?
-
boodaddy, that xml code that you gave me, I am having trouble getting it to let me have more than one column. I tried to edit the first actionscript frame, but it was no use. Can you help me just one more time please?
-
Well you could always do it the primitive way of placing a frame further down the timeline, depending on what your fps is at will determine how many frames it'll take for 10-15 secs to go by
You can also use a timer I suppose. Set a variable :
myTime = Math.floor(getTimer()/1000);
myTime will now count the seconds
Last edited by Osteel; 12-06-2005 at 03:52 PM.
-
yo
The best way That worked for me was...
This on the main timeline
this.createEmptyMovieClip("timer",50);
timer.onEnterFrame = function()
{
if (this.startTime>0)
{
var diff = getTimer()-this.startTime;
if (diff>this.timerLength)
{
this.target.play();
this.startTime = 0;
}
}
};
function pauseFor(theTime)
{
stop();
timer.timerLength = theTime;
timer.startTime = getTimer();
timer.target = this;
}
and then this on the frame you want to timeout
pauseFor(15000)
that would timeout for 15 sec
-
yo
nitro let me see your page your puting the gallery on.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|