Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Problem with menu

New Here ,
Apr 04, 2007 Apr 04, 2007
Hi guys, I cant seem to get the actionscript to work on this menu.

http://www.flashvault.net/tutorial.asp?ID=105

Do i have to create different layers for everything? I cant seem to get it to work on more than one button. If someone could please help me figure it out. Thank you 🙂
TOPICS
ActionScript
179
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 04, 2007 Apr 04, 2007
It would help if you posted the code you have written.

regards

Nick Barling
www.barkingweb.com
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 05, 2007 Apr 05, 2007
This is the information that i got from the link that I posted. I get the action script to work for the first button. What i want to happen is when you roll over the buttons they shift to the right a little. Its a pretty basic action but I am a newbie. If you check the tutorial link out maybe you will get a better idea of what I mean. If someone could please help me I would really appreciate it. Thank you guys ;). If you need more info please reply and I will try to supply it :)


Take the Selection Tool (V), and click once on the Invisible Button to select it. Aftetr that, open the Action Script Panel (F9), and paste this script:

on (rollOver) {
_root.mouse_over_home_mc = true;
}

on (rollOut) {
_root.mouse_over_home_mc = fstartlse;
}

on (release){
getURL(" http://www.flashvault.net/", "blank");

}

Step 26

Insert a new layer and name it AS (Action Script).



Step 27

Click on the first frame of layer AS, and in A.S. Panel paste this scritp:

_root.home_mc.onEnterFrame = function() {
if (mouse_over_home_mc) {
_root.home_mc.nextFrame();
} else {
_root.home_mc.prevFrame();
}
};
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 05, 2007 Apr 05, 2007
LATEST
Oh Thank you for replying nick 🙂 I just wanted to say that I did change the instance name in the properties panel to the appropriate symbol name and they have different names.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines