|
-
Senior Member
I have created a drop down menu with 7 links.. The animation part of the menu works just fine.. But I can't get the individual links to work.. All it does is sit there. I have placed the goto command on each one. It supposed to go to the corresponding scene within the same .fla movie... What am I doing wrong? I have tried to use the object actions and also frame action and neither work at all ....
Any help is appreciated.. Thanks
Dave
-
I know I've seen a tut somewhere for drop down menus, but god knows where it was. I've never found a project where I actually have to use them though, so I'm not up on them. Check out http://www.flashkit.com/cgi-bin/tuto...mh=25&bool=and for a few pointers. You should find something there.
-
Senior Member
thanks
Thanks for the link.. But I got the animation to work.. The actions won't work for some reason.. I get a error that says the scene I want to load is not available..
-
Sounds odd. God knows how the scene can't be available. Are you running the new scene as a loadMovie or such? If so, make sure that all the seperate movies are in the same folder/directory, and that the buttons calling them are rooted correctly. Apart from that, there little else I can say to help. I hope something comes up for you.
-
Senior Member
thanks
All the scenes are in the same .fla... So not sure why it won't work.. Its driving me crazy.. Is there a reason why sometimes when you select an object or a frame to add a action to it, that it won't allow you to.. Its weird, sometimes I can't do that.. it won't allow me to.. I must be doing something wrong...
-
Double check that the scene name/number is the same as the scene name/number that's specified in the gotoAndPlay command of the button.
-
Senior Member
I'll look at the fla. 4 [email protected]
-
Senior Member
I double checked all that and still no luck.. But I just sent the .fla to flamboyantflasher.., Hopefully I will get some luck..
-
Senior Member
didn't get the fla yet and I have to get some rest...you can try to send it [email protected]
however, Flash MX has already-made drop-down menus...download a free trial and get to flashing now buddy...
Flamboyant Flasher
[Edited by Flamboyant Flasher on 03-24-2002 at 11:53 PM]
-
drop down menu unavailable...
If u try to jump to the scenes with "GoTo..." and they arent available try to save every scene as a separate movie ( only copy ur complete movie 7 times and delete all scenes expected the one u need to jump at.) Then try to use "loadMovie..." may be it can work.
I had a unbelievable trouble some months ago with a movie wich had 6 scenes - flash was unable to find one of those scenes - i was 3 hours before my suicide (lol) - after this i've found a page and the guys there said it is a bug of Flash 5.0. Sometimes ( very seldom) flash cant find a scene wich was created 5 minutes ago...
If u wonna, i can make a short check of ur .fla - send it to [email protected] - Cu - ede!
-
Senior Member
Okay,
I have sent the .fla.. Why is that you can't add a action to the down state of a button??
-
You can not make a button inside a movie clip jump to a new scene. So instead make it jump to a frame label on the very first keyframe of your new scene. Your code should look like this: Inside the quotes is going to be the name of your frame label. It should work then.
on (release) {
_root.gotoAndPlay("fram label #1");
}
-
action on down state...
Its unpossible to add an action to a switchbuttons state like "down". You only can add the action to the button on the stage, only to the button on the stage, not to a keyframe, dude!
Couldnt find ur *.fla appended to your mail, plz send it again to: [email protected] mail - till then !
-
Senior Member
EDEC,
i just emailed it to you.. I am still pretty new to this.. Its driving me nuts.. Thanks for the help
-
Senior Member
Hey, dave, I'm still not home, so I couldn't tighten ur fla. up...but here's the problem...
On your buttons that are inside the MC must have tell targets on them because you want to go to another timeline. Thus, you have to target the timeline you want to go to and you must target a frame label, not a frame number. Ur code should look something like this for each button...
On (Release)
TellTarget (_level0)
gotoAndPlay ("Home")
End On
That should square you away..just make sure the syntax is correct and ur off...overlook my delay...I'll help anyone to the bext of my abilty 'til I die...
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
|