[flexcoders] Re: Accessing the border of a container

2009-04-09 Thread Michael Schmalle
Hi,

using mx_internal you could;

import mx.core.mx_internal;

myInstance.tk_internal::background


or;

rawChildren.getChildByName(border);

Mike

--- In flexcoders@yahoogroups.com, florian.salihovic florian.saliho...@... 
wrote:

 I don't know if i'm just blind atm or if it's indded hard to access the 
 border of a Container.
 
 I can access the rawChildren. That's good since i could introspect the 
 children's class name and search for the classname of the asset. But my 
 problem ist, that the border get's compiled and the classname might change. 
 As far as i see, the original name will bechanged to something like:
 
 suprise__embed_cssflash_PlaylistAssets_swf_some_name_for the 
 asset_1052501028
 
 Is there a chance to simply get access to the border?
 
 Best regards!





[flexcoders] Re: Accessing the border of a container

2009-04-09 Thread florian.salihovic
Thanx,

that was a tough one ;)

Best regards!

--- In flexcoders@yahoogroups.com, Michael Schmalle teoti.grap...@... wrote:

 Hi,
 
 using mx_internal you could;
 
 import mx.core.mx_internal;
 
 myInstance.tk_internal::background
 
 
 or;
 
 rawChildren.getChildByName(border);
 
 Mike
 
 --- In flexcoders@yahoogroups.com, florian.salihovic florian.salihovic@ 
 wrote:
 
  I don't know if i'm just blind atm or if it's indded hard to access the 
  border of a Container.
  
  I can access the rawChildren. That's good since i could introspect the 
  children's class name and search for the classname of the asset. But my 
  problem ist, that the border get's compiled and the classname might change. 
  As far as i see, the original name will bechanged to something like:
  
  suprise__embed_cssflash_PlaylistAssets_swf_some_name_for the 
  asset_1052501028
  
  Is there a chance to simply get access to the border?
  
  Best regards!