Thank you Tom - works perfectly now!
Henrik - I'd love to know more about your use of component definitions, do
you have any recommended reading material?
Thanks again
Marco Terrinoni - Director
MULARAM PRODUCTIONS
web design // animation // illustration
uk: +44 7876 652 643
e: <mailto:[email protected]> [email protected]
w: <http://www.mularam.com/> www.mularam.com
From: [email protected]
[mailto:[email protected]] On Behalf Of Henrik
Andersson
Sent: 16 March 2011 18:31
To: Flash Coders List
Subject: Re: [Flashcoders] Duplicate varibale definition
The way I would do it is to assign each clickable object the url it
needs to go to in a property and then use a single event listener that
reads the property to know what url to use.
If I was in a really fancy mood I would look into using a component
definition to allow the url to be easily set without scripting.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_____
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1204 / Virus Database: 1498/3510 - Release Date: 03/16/11
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders