A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: drawing on components?

Threaded View

  1. #1
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244

    drawing on components?

    I wanted to draw on a library item that I made.

    this code when applied to a library item doesn't work but it works on standard clip


    mc1.lineStyle(3,x00ff00,100,false,"normal","round" ,"round",1);
    mc1.moveTo(0,0);
    mc1.lineTo(40,0);
    mc1.lineTo(40,40);
    mc1.lineTo(0,40);
    mc1.lineTo(0,0);

    Update: Actually it works fine if there are no shapes on the library item. But if I draw on clip it seems it's behind any shapes on the clip. So the question becomes how do I draw on Top of the shapes.
    Last edited by blanius; 08-07-2006 at 08:50 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center