View Full Version : I need lot of help about a menu
Gmb
January 11th, 2002, 12:31 PM
I made my menu in my flash anim as a movie clip and i inserted it in my flash.
But when i use the button of my menu for change the scene in my main animation, it don't work.
It seems that i should use the tell target action but i don't know how can anyone help me please ?
I do it :
on (release) {
tellTarget ("_level0") {
gotoAndPlay ("partie1", "1");
}
}
where partie1 is the name of the scene I want to go.
ilyaslamasse
January 11th, 2002, 03:08 PM
Actually, if you just write :
on (press) {
gotoAndStop ("partie1", 1);
}
It works. Actually I don't know what you could telltarget (_root doesn't seem to work).
pom
ilyaslamasse
January 11th, 2002, 06:28 PM
Sorry, that's totally wrong. It only works if it's a simple button, but when you put it in a MC, it won't do.
Sorry about that. But that's a question a lot of people are asking, maybe some tough guy should look it up.
pom
Phil Jayhan
January 11th, 2002, 10:21 PM
Where's Kirupa when you need him, her, well, er. Hmmmm
I have heard that if you tap your heels together three times and whistle into the wind an animation of Kirupa will appear to answer your question. Is it true?
Flashtioning,
Gmb
January 13th, 2002, 03:54 AM
Yeah the first reply don't work, nobody knows how i can make it works ?
gtmillion
January 16th, 2002, 11:15 AM
try
on (press) {
_root.gotoAndStop ("partie1", 1);
}
ilyaslamasse
January 16th, 2002, 11:50 AM
Doesn't work either. You know what ? Forget about scenes, it sucks. Try and learn how to load movies inside your main movie. It's much better because you don't make somebody download your whole site at once, and there's much more flexibility than with scenes. There's a very good post about that from Aikam1, and a couple running now. If that's not enough, Upuaut claims he's the loadMovie grand master so in last resort don't hesitate to ask him directly, I know he hates that.
pom
Gmb
January 17th, 2002, 01:10 PM
Hmm why not but i'm not sure it will work with me. I want to make a CD for school and it is ready, i just need to make my menu work if kirupa or anybody should help me it would be very appreciate thanks.
liveacoustic
January 17th, 2002, 04:05 PM
But aren't movie clips sceneless? Last time I checked, movie clips go in to the library and are constants no matter what - if you duplicate a movie clip in to Scene 2 and change it there, those changes will effect the movie clip of the same name in Scene 1.
But I might be wrong - I've never tried using scenes in movie clips before.
ilyaslamasse
January 17th, 2002, 04:10 PM
that's possibel, Liveacoustic, cos nothing seems to work so well.
Gmb, what you can do it put your menu on a layer, without including it in an MC. Copy it and paste in place it in all your scenes, then it will be here all the time. But no dragging, no hiding, no nothing after that.
pom
msjensen
January 17th, 2002, 04:19 PM
I am having the same problem with a button in a movie clip. it is part of a drop down menu, and the sub-menu buttons don't work they don't let you go to the scene designated.
If you have anymore thoughts let me know please
Matt
ilyaslamasse
January 17th, 2002, 04:26 PM
GIVE UP SCENES, IT SUCKS !!!! LOAD MOVIES !!!
pom
msjensen
January 17th, 2002, 05:36 PM
Okay, next time i will but what about this time :D :D
Matt;)
Phil Jayhan
January 17th, 2002, 05:42 PM
Mind giving us all a small tutorial of how to only load movies and not use scenes? Ya know, basics...yadayadayada.
How about it?
pj
liveacoustic
January 17th, 2002, 06:03 PM
...and I think I am.
Have you tried not telling it which scene to go to? I'm pretty sure that movie clips are above scenes.
I know that in one project I was working on just a while ago I used a movie clip in one scene, then copied and pasted that movie clip in to the next scene. At this point I neglected the rule of "think then act" and edited the movie clip in that scene which, of course, changed the movie clip in the other scene. I had to fix this by appointing each movie clip as seperate movie clips (in other words, had to hit F8 for both of them.)
ilyaslamasse
January 17th, 2002, 06:11 PM
I guess you're right, but actually that's a good thing since you want your menu to be the same in all you movie.
About that loading movie thing, there's a very good tutorial here :
www.virtual-fx.net/tutori...vie_5.html (http://www.virtual-fx.net/tutorials/html/loadmovie_5.html)
You'll want to load into target, as they say it, because... it's much BETTER !!
If you have any problem, but I don't think you will, just ask.
pom
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.