Thanks that worked.

In that origianl post (see below) you mentioned createEmptyMovieClip 
had less overhead. Thats why i wanted to use it.

orginal ref
http://www.mail-archive.com/[email protected]/msg08763.html



--- In [email protected], "JesterXL" <[EMAIL PROTECTED]> wrote:
>
> Try like this:
> 
> var ref_mc = myCanvas.createChild(mx.core.UIObject);
> myCanvas.fillRect.call(ref_mc, 0, 0, 100, 100, 0xCC0033, 100);
> 
> 
> ----- Original Message ----- 
> From: "bhaq1972" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Monday, October 17, 2005 10:44 AM
> Subject: [flexcoders] calling createEmptyMovieClip()
> 
> 
> Hi
> I found this code in the archives (courtesy of JesterXL). but i 
cant
> make it work. any ideas
> 
> var ref_mc = myCanvas.createEmptyMovieClip("square",
> getNextHighestDepth());
> myCanvas.fillRect.call(ref_mc, 0, 0, 100, 100, 0xCC0033, 100);
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> Yahoo! Groups Links
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




Reply via email to