Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

timeline question 1

Status
Not open for further replies.

iostream71

Programmer
Mar 13, 2002
229
US
i have a situtation like this:
i have a clip on frame 1 that does some sort of action on enterFrame

on frame 2, i insert a keyframe and delete the instance of that clip(in 2nd frame only)

my question is: does that enterFrame loop from frame1 keep checking in frame2?
 
If the event is attached to a clip it's destroyed when the clip is removed. If you need to remove an event you can also use

delete clip.onEnterFrame

or

clip.onEnterFrame=null;
 
i don't think you understand what i'm saying

i have a clip on frame 1 of the main movie

i add a keyframe on frame 2 and it copies the clip into frame 2

if i delete the instance of that clip in frame 2, when i get to frame 2, does the loop from the clip in the first frame keep looping?
 
It shouldn't if the clip ain't there anymore.
To be sure, to check any loops of movie clips, just add a trace action in your enterFrame event [like trace("Yo! I'm looping!);], if the trace stops than the clip is not looping anymore!

Regards,

cubalibre2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top