I tried all, but this is what i did and now its working:
put the intro.swf content in the main movie itself, not as a seperate swf and then this code on all the buttons. The empty1_mc attaches a blue background on top of the intro clip to mask it!! Many thanks for your help...
I did, but that takes it to frame 1 of the main movie which is the action keyframe, and now i have 2 loops of the intro! I've put the fla file on the site if you have time to have a look, here www.folkdiving.com/sources
Sorry to trouble you.
Thank you
no, just the intro.swf is looping. thats when i get rid of the STOP in your code. If i leave the stop there,the intro.swf is ok, but none of the other swf files load up when clicking on the buttons.
Thanks, its getting there, except for the stop(); at the end that stops all the buttons. and by removing it, buttons work but obviously the intro.swf keeps loading from beginning on top.
Any idea?
Many thanks
I'm sure there is a simple answer to this as usuall :-)
A simple movie with few same buttons and have the same code for all of buttons to stack external swf files on the stage. This is the code for each button: (obviously the button and swf names and are different for each)...
Looks good but i'm stacking swf on top of eachother and i have this code on each button:
tot_mc.hotels_btn.onPress = function() {
var someDepth = empty_mc.getNextHighestDepth();
var mc_New = empty_mc.createEmptyMovieClip("hotelsup", someDepth);
mc_New._x = 500;
mc_New._y = 26.5...
Hi
I need to target 2 movie clips inside an external laoded swf, from 2 buttons in the main stage. Dont know how to target them. The Hotels.swf loads into the main movie fine but i need the clips inside it.
This is my code:
var mc_New = pinkie_mc.createEmptyMovieClip("abcd", 1);
mc_New._x =...
Fine, but i dont want to remove the MC underneath, or perhaps removing it with a delay, after the one on top has covered in completely?
And there are actually 5 buttons with 5 MC's. cant put removeMovieClip on all of them, because you dont know what button will be clicked next.
Thanks
Koosha
Good point. Can you tell me how to remove the movie underneath when masking is done?
This is the code i have on all buttons:
hotels_mc.vat_btn.onPress = function() {
var someDepth = empty_mc.getNextHighestDepth();
empty_mc.attachMovie("vat" , "vatup", someDepth, {_x:200,_y:100})...
Hi
I hope you can help me with this guys:
In our latest job, we like to stack MC's on top of each other using GetNextHighestDepth, which is new to MX2004 and only works when movie is published for Flash 7. We have 6 buttons on the original design with 6 MC's all have heavy jpegs. Here is a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.