PDA

View Full Version : Buttons with multiple actions!!!!!


J-H
09-16-2003, 07:45 PM
Hi guys, and girls, this is my first post. I am fairly new to flash, so please don't laugh at my coding (or whatever it looks like:D ).

I have been browsing for about 4 hours straight now, and I cant find a solution to my problem. Please check it out. I have a button called features that when pressed calls a movie to play and a menu shows up. The only functional button is the first one. Once that is clicked, it will load another swf file on top of the original. When that file is loaded there will be three(edit, one) arrows at the bottom (navigation). The back arrow brings you back to the initial SWF file (unloads loaded SWF file from top level). My problem is, I am trying to make the menu go to its original state. What is happening now, is that the menu is still fully "extended" when I press the back button on the loaded SWF. Is there ANY way to fix this? I know it is very hard to understand (impossible) without actually looking at the file...

Sorry about the long post, the huge file and the terrible English, but some help would me much appreciated....Thank you

JH

Warrior
09-16-2003, 09:31 PM
Welcome to ActionScript.org

Put this code on the arrow button _level0.features.gotoAndStop(1)

J-H
09-21-2003, 02:07 PM
Thank you Warrior...

And thank you for the help. It worked flawlessly with the files that I have attached. But it does not work on my final .fla file:confused: . I got the concept to make it work, I now only have to figure out the path from the button in the loaded file to the main movie...I'll work on it until I can't find a solution. I'll probably be back...Thank you soo much...

JH

J-H
10-24-2003, 04:55 PM
Alright...it is crunch time...

I still have the same problem:rolleyes: :( :mad: :eek:

here is the link: http://www.schwartzdesigngroup.com/myriad/eclicktic.html

Click on features and then on accounts payable. The new SWF loads fine. When I go ahead and press the little back red arrow I end up in the main page, but the box with all the links is still open. HOW IN THE WORLD DO I MAKE THAT TO CLOSE AFTER I SELECT THE FEATURE THAT I WANT TO READ ABOUT???

If anybody understands what I am trying to explain, please chime in with ANY suggestions. Thank you very much.

BTW, this board has helped me a lot. I feel bad for just asking for help and not being able to help others (I sincerely think that my Flash expertise are not up to par in order fo me to post ANYTHING).

JH

J-H
10-24-2003, 05:22 PM
Oh boy, I tryied to attach it but the file is too large.

Wait a sec....:D FTP

Please go to:
ftp://schwartzdesigngroup.com/incoming/

Several different compression modes (making sure it is readable)

Please forgive any monstruosity that you might find in my files...I am a n00b...

Let me know if it works:)

Thank you,

JH

binkyboo
10-24-2003, 05:59 PM
On your accounts payable button place this:

on (release) {
loadMovieNum("payable.swf", 11);
_level0.features.gotoAndStop(1);
}

That should do it!

J-H
10-24-2003, 06:34 PM
Sorry,

the dropdown menu from "Features" still does not collapse:(

I can see the logic in your thinking...but the thing is still not working:rolleyes:

Do you think I made it too complicated? I have already (belive or not:D ) simplyfied it...

JH

binkyboo
10-24-2003, 06:37 PM
It worked for me. I'm leaving for the day but I'll certainly look at the file again this weekend.

J-H
10-28-2003, 04:21 PM
Thank you so much for the time.

I haven't been able to get back to work because of the fires (San Diego), but as soon as I am back I'll double chack everything...

JH