Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 7th, 2004, 04:08 AM
baldrogg baldrogg is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 18 baldrogg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 24 m 26 sec
Reputation Power: 0
dynamic menu problem

I've made a menu (downloaded open source and changed it) which uses only one button symbol and generates other labes and buttons via actionscript. The labelling as well as the animation of the menu are controled solely by the script. The only button in the movie only determines the font-size of the menu.

It is then duplicated and labeled according to the instructions in d script.

Now, i obviously want my different menu links to link to different urls (or in my case external .swf's') but if i assign a loadmovie command to the existing symbol, every link i generate from the script will load the same movie.

What i need is someone who can tell me how to assign a link to the generated button or at least a variable, which will then be read by the symbol and loaded.

I hope any of the made sense. Im linking the fla just in case. The main scropts are in the menu symbol, keyframes 1,2.

10x
Attached Files
File Type: zip menu2.zip (8.5 KB, 126 views)

Reply With Quote
  #2  
Old January 7th, 2004, 07:15 AM
Tann San Tann San is offline
Gotta get to the next screen..
Click here for more information.
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 4,463 Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)  Folding Points: 6414 Folding Title: Novice Folder
Time spent in forums: 2 Weeks 6 Days 7 h 1 m 40 sec
Reputation Power: 503
Facebook MySpace
Hi, I'm a bit stretched for time just now. Modified what you provided, it's attached in MX format. There are some minor changes to menu frame 2/3, the one dealing with duplicating. I think the author confused -subthing with -n in some parts so I just changed that. Frame_Target is passed down to the button correctly now. I ran into some problems getting it to work as expected when published as flash 4, so i just upped it to v5. Drop it back down if you want and you will see that nothing happens when you click a button. I put traces in and the data seems to be passed ok, just not used. In some cases it would just replace the button clip, I think this is because it eval's the target to be 0 and in this case the button would be _level0..in itself..Anyway if you dont mind the version change then all's well if you do let me know and I will look at it later tonight or tomorrow morning. Maybe someone else can take off where i left in the meantime...:¬)
__________________
-Tann

-Vote for your favorite ActionScript editor here.

Reply With Quote
  #3  
Old January 7th, 2004, 07:16 AM
Tann San Tann San is offline
Gotta get to the next screen..
Click here for more information.
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 4,463 Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Tann San User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)  Folding Points: 6414 Folding Title: Novice Folder
Time spent in forums: 2 Weeks 6 Days 7 h 1 m 40 sec
Reputation Power: 503
Facebook MySpace
oops...here it is
Attached Files
File Type: zip menu2.zip (28.5 KB, 121 views)

Reply With Quote
  #4  
Old January 8th, 2004, 05:50 AM
baldrogg baldrogg is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 18 baldrogg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 24 m 26 sec
Reputation Power: 0
wow...

That was a really nice job u did there. I applied my ammendments and if worked like a charm without problem. Very nice.

10x alot.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > dynamic menu problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway