In Flex, components are constructed, then their properties are set. I would expect you to have the same problem in Flash if you did
Var foo = new MyComp() Foo.label = "bar" ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of helix206 Sent: Monday, September 17, 2007 7:27 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex component kit problem I have created a SWC component with Flash, simple one. I have a variable "label1" that i set from Flex when defining a component : <local:MyComp id="Mycmp" label1="Testing" /> Variable label1 actualy changes but the textField in Flash doesent show it, anyone knows why? This is part of AS code from Flash CS3. public class MyComp extends UIMovieClip { public var label1:String ="" ; public function MyComp():void{ setLabel(); } public function setLabel():void{ labeltext.text = label1; }