way too early to be setting that stuff in the consturctor, u need to override 
the updateDisplayList and do it there


----- Original Message ----
From: dsds99 <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, February 19, 2008 7:08:37 AM
Subject: [flexcoders] The width change works in Flash CS3 but not in Flex

// ActionScript file
package{

import mx.core.UIComponent ;

public class Tint extends UIComponent{
public function Tint():void{
graphics.beginFill( 0x9fe9c9, 1);
graphics.drawRect( 0,0,100,100) ;
width=300;

}

}
}





      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

Reply via email to