This content has been marked as final.
Show 4 replies
-
1. Re: Checking for existence of object
kglad Nov 2, 2007 12:44 PM (in response to RGracia)yes, but you may need to do something to quiet the compiler:
-
2. Re: Checking for existence of object
RGracia Nov 2, 2007 1:48 PM (in response to RGracia)Thanks kglad. That would be ideal. Let me describe a bit what my scenario is:
I have a main timeline (flash file) with some labels. there's a menu system that serves as navigation for all the available sections of the site, which will potentially be many. depending on the section being looked at, let's say for instance, you are currently in section 2, and at that frame label I have a video/bio movie clip with subsections controlled by frame labels as well. The code that starts the video is in the timeline of the video/bio movie clip. what I want is to device some code that will detect if the stage at the current label contains the video/bio mc and if that video is playing, then stop close that NetStream object when another selection is made on the main menu. -
3. Re: Checking for existence of object
RGracia Nov 2, 2007 1:57 PM (in response to RGracia)Right now when you move to another section (frame label) the video continues to play if it was playing before. -
4. Re: Checking for existence of object
kglad Nov 2, 2007 2:45 PM (in response to RGracia)if you know the path/name of your NetStream instance, use the code i gave (with the correct path/name). or, just assume it's playing and close it and get it ready for gc, if it's no longer needed.


