Hi, a supid question.
  I'm trying to use Flex Builder. 
How can I call this function? I can't get it working. Thanks. 

<mx:Script> 
    <![CDATA[ 
    import flash.display.*; 
    public function drawer():void{ 
        var mySprite:Sprite = new Sprite(); 
        mySprite.graphics.beginFill(0xffcc00); 
        mySprite.graphics.drawCircle(30,30,30); 
        var lab:TextField = new TextField(); 
        lab.text = "hello"; 
        lab.x = 300; 
        lab.y = 300; 
        mySprite.addChild(lab); 
        addChild(mySprite); 
        } 
    ]]> 
</mx:Script> 

 __________________________________________________
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto 
spazio gratuito per i tuoi file e i messaggi 
http://mail.yahoo.it 
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to