-
1 Attachment(s)
Quick Flash Question
In the attached file, why do I have to put _root on:
on(release) {
_root.squareMc.play();
}
in order for the squareMc to play.
And why do I have to double click the circleMC in order for the squareMc to play again. Can't i just click it once to make the movie clip play again.
I really appreciate your help, i've been stumped with this for a while now.
Thanks,
The Penguin
-
The _root brings it back to the main timeline, otherwise it is looking for that movie clip in the current location. For an html example
This will show image.jpg anywhere
<img src="http://www.site.com/image/image/image.jpg" />
but this
<img src="image.jpg" />
will only work when in the 2nd image directory
http://www.site.com/image/image/
-
Thank you for the quick response!
Ok, i understand _root is to find its location. But more importantly what about the second question?
Why do I have to double click the circleMC in order for the squareMc to play again. Can't i just click it once to make the movie clip play again.
Thanks!
-
Not sure can't open your project, is it in a web browser or when you publish or both? Can you put the swf online?
-
I figured it out!
Thanks for your help :)