jefargrafx
Instructor
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
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