Hi, 

One thing I know is that a movieclip itself has no graphic 'face', 
even if you specify a background color. You need to draw something 
in the movieclip first, using the AS drawing commands (lineTo, 
curveTo, etc.) or embed something, or create an empty textField and 
put some text in the textfield.

erik.

--- In [email protected], "pilby1" <[EMAIL PROTECTED]> wrote:
> 
> I'm new at using movieclips with Flex, so if I may ask a basic 
> question please. 
> 
> I'm trying to make a movieclip appear in my flex application, but 
for 
> some reason, it's not working. Here is my code in the "initialize" 
> handler of my flex app:
> 
>       var mcSplash = new MovieClip();
>       
>       mcSplash.width = 200;
>       mcSplash.height = 200;
>       mcSplash.setStyle("backgroundColor", 0xFF0000);
>       mcSplash.x = 200;
>       mcSplash.y = 200;
> 
> All I'm trying to accomplish here is just to see if a 200 x 200 
pixel 
> red square would appear, but it's not.
> 
> Could someone give me advise on how to do this right, please?





 
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