A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Gradient from script

  1. #1
    Member
    Join Date
    Jan 2004
    Posts
    87

    Gradient from script

    Hi guys
    I want to change the color of my movieClip from stage in a gradient color from script.The only thing that i could fiind is this that draw a MC and begin a gradient fill, but my mc is allready created and is on stage.

    Any ideas how to do this..

    Thank You

  2. #2
    Banned NTD's Avatar
    Join Date
    Feb 2004
    Posts
    3,438
    Hi,

    Maybe this demo will help..

    http://ntdesigns.net/demoFiles/colorMatrix.swf

  3. #3
    Member
    Join Date
    Jan 2004
    Posts
    87
    The shape is done from script like in the example i give
    code:

    lineto(0, 800);
    lineto(800, 800);
    lineto(800, 0);
    lineto(800, -300);
    endFill();
    }



    i need to aplay the gradient on my movieClip that is allready on stage.
    Thanks for replay

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