Re: [flexcoders] New Question: Component

2008-04-02 Thread Douglas Knudsen
you have a scope issue there, setTempMethod() lives in the Label not Canvas. Move this method up inside Canvas and teh outside world will have access. DK On Wed, Apr 2, 2008 at 8:02 AM, khan.ibraheem <[EMAIL PROTECTED]> wrote: > Hello, > > I am creating a custom component and have 2 question

[flexcoders] New Question: Component

2008-04-02 Thread khan.ibraheem
Hello, I am creating a custom component and have 2 questions regarding it: 1) One way, I am thinking is to create actionscript class and use it. I can add controls using addChild method. But how can I set absolute position of the control. 2) The other way was to create MXML component and place a