flash actionscript:
hi there, I got this menu movie in the root timeline, and inside that movie I got another pop-up movie for submenu, and inside that submenu I got buttons obviously :) I used : on (release) { loadMovie("h_euro.swf", "_root.now"); } but just not work, and for some interesting reason it reloads the main movie. kinda confused here. "now" is a movie located in the root timeline. hoping for some help thanks
try: on (release) { _root.now.loadMovie("h_euro.swf")
same thing happening, it reloand the main movie, It worked before I dunno maybe I've done something wrong while editing, but I don't think so...I just can't understand why ir reloads the main movie, crazy!
I've tried to attach a lpg using the same script and it worked. I've double checked the movie to be loaded if it had any erors or not, but it's working fine. so that means, I'm very very confused now. I have to upload the page tonight, and I guess it is not possible, for now... nah
what makes me think that the movie reloads? well, beacuse it reloads :) I'll upload the fla's first, hang on...
well, you can try it on any of the buttons, it don't work....but, here it goes, _root / _menu ( which is in the menu layer ) / _menu_mov (which is in the top layer , last frame (also called menu) , if you go to the last frame you'll see all the buttons, and in the top button you'll see the empty button (green) and there is the code... I know it's kinda complex for that I don't know another way.. hope clear enough 'cuz I've tried a billion times and still it loads the lpg correctly but not the swf. I'll go insane here. if there was a problem it would not load the jpeg as well, but it does. By the way the swf will be loaded in _root.external which is located on the top layer in _root timeline.
this is the simple code for the button, if I change the euro.swf to 8.jpg it loads the jpg, but if I change it to a swf file it won't work. grrrrrrrrrr on (rollOver) { gotoAndPlay("go"); } on (rollOut) { gotoAndPlay("goback"); } on (release) { loadMovie("euro.swf", "_root.external") }
then euro.swf is corrupt or you have a typo/case mismatch.
well, I guess I was not clear enough.... if you click the menu layer you'll see where the menu movie is located, since it's first frame is empty, and then click on it and you'll get into the menu movie, and in that movie's top layer, last frame, the other menu movie is located. and if you get in there as well, you should see all the buttons, but they're converted to movies so you have to click once again to get to the button movies, and I guess the rest you can find out, but if not, just forget it because it's kinda hard for you to know what I'm talking about since the fla is kinda crowded :) I really do appreciate your help, I'll check all the codes to see if there's a missmatch or else, thank you again,
Don't see what you're looking for? Try a search.
|