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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help unloading movie clip

Status
Not open for further replies.

jefargrafx

Instructor
May 24, 2001
273
US
I'm loading a swf into a movie clip using attachMovie, works find....

but as the movie plays I look for it's current frame and I want to unload it when unload when finished, like this:


onClipEvent (enterFrame) {
getProperty("_root.stage_movieMC", _currentframe);
if ("_root.stage_movieMC", _currentframe>=50) {

tellTarget (_root.stage_movieMC) {
_root.stage_movieMC.stop()
_root.stage_movieMC.unloadMovie("_root.stage_movieMC");
}

}
}


it stops fine, but I get this error on the unload:

Error opening URL "file:///C|/WINDOWS/Desktop/architect%20video/cut%5F256K/56K/"


I'm not trying to open the movie, I'm trying to close it, any ideas.


thanks
jef


jef
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top