Looks like you've already answered your own question :-)
The currentTarget property of the even IS the canvas... just set the alpha directly on that... Brendan On 2/1/07, Sandy Saline <[EMAIL PROTECTED]> wrote:
When I click on a canvas that was created dynamically and given an id, I am trying to pass the id on to a function that changes the alpha value of the canvas. I am using an EventListener and var myID:String = event.currentTarget.id; When I use a trace statement, I know the id value is being passed correctly. This is the point I get stuck at. How do I use this var to change the alpha value dynamically? TIA for your assistance. Sandy
-- Brendan Meutzner Stretch Media - RIA Adobe Flex Development [EMAIL PROTECTED] http://www.stretchmedia.ca

