Answered
Stopping external SWFs from playing
Ok I'm fairly new to this AS 3.0.
I am in process of making my portfolio website.
I'm loading external SWFs into my my navigation page which will contain most of my content elements for the main page.
I've loaded in my header and it has some animation on it from the time line.
So it loads in fine and plays through the animation, but then it loops over and over and i want it to just play once and stop.
Is there a code that i can write up to make it play once?
It's not a movie clip within the SWF it's just some text that i have moving across the screen in a simple motion tween.
I was looking through my AS3.0 bible and it mentions being able to stop a movie clip by using something call onEnterFrame combined with goToAndPlay() and even stop().
But they don't explain it and I'm lost; they just show example code.
Should i convert it to a movie clip or is there a way to stop it the way i have it.
Please be detailed in any explanation you provide and use simple terms I'm still learning this AS code =/.
Thanks in advance!
I am in process of making my portfolio website.
I'm loading external SWFs into my my navigation page which will contain most of my content elements for the main page.
I've loaded in my header and it has some animation on it from the time line.
So it loads in fine and plays through the animation, but then it loops over and over and i want it to just play once and stop.
Is there a code that i can write up to make it play once?
It's not a movie clip within the SWF it's just some text that i have moving across the screen in a simple motion tween.
I was looking through my AS3.0 bible and it mentions being able to stop a movie clip by using something call onEnterFrame combined with goToAndPlay() and even stop().
But they don't explain it and I'm lost; they just show example code.
Should i convert it to a movie clip or is there a way to stop it the way i have it.
Please be detailed in any explanation you provide and use simple terms I'm still learning this AS code =/.
Thanks in advance!
