I do this in pure action script. The startup is UIMovieClip / MovieClip

--- In flexcoders@yahoogroups.com, "itdanny2002" <itdann...@...> wrote:
>
> 
> I do this in pure action script.
> Haven't use mxml.
> 
> 
> --- In flexcoders@yahoogroups.com, "itdanny2002" <itdanny33@> wrote:
> >
> > Error in StyleManager.as 
> > 
> > var styleManager:IStyleManager2 = 
> > IStyleManager2(moduleFactory.getImplementation("mx.styles::IStyleManager2"));
> > 
> > Any idea ?       
> > 
> > var sp:Canvas = new Canvas;
> > sp.height = 100;
> > sp.width = 100;                     
> > sp.graphics.beginFill( 0xff0000 , 1 );
> > sp.graphics.drawCircle(10,10,20);
> > sp.graphics.endFill();                      
> > addChild(sp);
> > var tf:Text = new Text;                     
> > tf.text = 'Hi ';
> > tf.width = 100;
> > tf.height = 100;                    
> > sp.addChild(tf);
> >
>


Reply via email to