Application.application will do the trick..
 Thanks,

with Regards,
Jitendra Jain




----- Original Message ----
From: Scott <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Saturday, 11 October, 2008 10:25:53 AM
Subject: [flexcoders] Components and displaying into a new target


I’ve got an issue that I can’t figure a way around.
 
My main.mxml has a canvas for the main display..  Within that canvas I have 
many different components.  One of which is an accordion control that contains 
several different components.  One of those components I have is a text window 
with a couple of buttons.  When I click a button within that accordion control 
I want it to open a new window on the main.mxml canvas.  Can I do that without 
using a custom event?
 
I tried to figure out if I could use the target=”” on the addChild line but I 
can’t figure out how to reference the canvas in the main.mxml.
 
TIA.
  Scott 


      Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/

Reply via email to