Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 10-05-2006, 08:36 PM   #1
ozeeo
Registered User
 
Join Date: Oct 2006
Posts: 1
Default action script for menu

Hello ppl,
after few years of not using flash i decided to try it out again and build a little site for my self. Every thing went good besides action script, its always been my weak point and well flash has changed alot since version 6.
I was wondering if any body could help me with these problems:

1. menu
as you can see, i need every button to goto a diffrent page in the main Scene1. However i have a little problem due to complication of this, i'm just confused.

on scene1, 141 i have such a script:


code:
--------------------------------------------------------------------------------


_root["item"+_root.button].gotoAndPlay("s1");
_root.link = _root.button;

--------------------------------------------------------------------------------



and for the button the script is:


code:
--------------------------------------------------------------------------------


on (rollOver) {
if (_root.link<>5) {
this.gotoAndPlay("s1");
}
}
on (releaseOutside, rollOut) {
if (_root.link<>5) {
this.gotoAndPlay("s2");
}
}
on (release) {
if (_root.link<>5) {
_root["item"+_root.link].gotoAndPlay("s2");
_root.link = 5;
}
}
on (release) {
??????
}

--------------------------------------------------------------------------------



How can i fix the menu?

2. when you click on a button it stays open, which is good, but when i click on another button the other should close.
How?

3. is the loading script actually working?
how can i check? i want the whole site to preload before it opens..

I think it would be alot more clear if i post the fla file so here it is.
http://www.anvarian.biz/asa.fla

thank you in advance
ozeeo is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Action Script Text effect Baffling problem picklepug Animation and Effects 0 08-03-2006 09:00 PM
Is it possible in action script? Eikichi Flash 8 General Questions 10 07-05-2006 05:31 PM
is action script more sufficient?? VIBEZBAD ActionScript 2.0 2 04-25-2006 11:45 AM
Cannot get the Hand of Action Script Help scottie_uk Simple Stuff (Newbies) 6 03-26-2004 09:53 AM
How Can I Use Action Script Fido ActionScript 1.0 (and below) 5 01-29-2002 08:12 PM


All times are GMT. The time now is 04:13 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.