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;
                        }

Reply via email to