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 September 16th, 2003, 05:00 AM
hibride hibride is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 2 hibride User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
actions to a specific layer

Hello everyone.

First of all, sorry for my English, I'm bad using technical language but I'll try my best

I'm working with a world map in the main stage, and some countries are films that have two layers, one with text -the country's name- and the other with the country itself.

Every country in the main stage have an asociated button, that when you press it changes the color of the related film. But of course, it changes all the film's color, including the text with the name.

I would like to know if there's a way to relate the action attached to the button -colorCountry=new Color(zonaInactiva); colorCountry.setRGB(0x2DC7E2);- just to one of the layers of the film, the one with the country itself.

Thank you in advantage

Reply With Quote
  #2  
Old September 16th, 2003, 07:19 AM
dkkz dkkz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 50 dkkz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
there's no layer-specific actions. you gotta give each instance a name, and refer to those instances in your actions.

but holy cow! there are a whole lot of instances in your world map. maybe someone else can come up with a better solution.

Reply With Quote
  #3  
Old September 16th, 2003, 07:55 AM
hibride hibride is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 2 hibride User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Well, It's a pity!! Thank you a lot for answering, dkkz

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > actions to a specific layer


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 4 hosted by Hostway