-
targeting MC's on the correct level
Ok - I have 2 movies main.swf and dom.swf. I have a movie clip on main.swf called ‘bashment’ that I control using a button with the following code:
on (rollOver) {
bashment.gotoAndPlay(2);
}
on (rollOut) {
bashment.gotoAndPlay(16);
}
however I want to be able to control the movie clip when I am on the dom.swf which is on level 2 (main.swf is on level1)
so I basically some extra code adding that tells the button to not just action the MC, but where that MC is located, ie level2.
Any help would be more than appreciated
-
FK'n_dog
on (rollOver) {
_level#.bashment.gotoAndPlay(2);
}
on (rollOut) {
_level#.bashment.gotoAndPlay(16);
}
where # is your target level number.
hth
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|