This content has been marked as final. Show 3 replies
target movieclip methods are lost after initiating a loadMovie() or loadClip().
Thanks for the response Kglad.
That's too bad because I created a clever arcade game that i wanted to post to my website.
What I have noticed in most basic arcade games is when a bullet hits a moving target it sends the target back to it's beginning to follow a new trajectory (Random) but howdo they get on stage in the first place?
How do they get arcade games to work with out attaching movies. I mean how do you get something on stage from the library???
i think i misunderstood your question and while my answer is correct, it doesn't apply to your situation.
if the code you posted works when run in its own swf and fails when that swf is loaded into another swf, the problem is probably due to the _root reference (which refers to the main timeline in the external swf when it's run alone and refers to the main timeline in the loading swf when its loaded.)
to remedy, use