A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Help with script ...please Myfla attached

  1. #1
    Member
    Join Date
    Jan 2004
    Posts
    87

    Help with script ...

    if this lines:
    code:

    myColor = new Color(slot.header);
    myColor.setRGB(0x000000);



    of script ar above the slot.onRelease function all the mcs chance color, but i need to chance color every time i press the button and i have no idea why this dont work
    I want to change the color of all my movie clips using the array
    Can u please help me with this script?


    Thank You
    Last edited by maydays; 06-27-2005 at 08:17 PM.

  2. #2
    The Flashman earl223's Avatar
    Join Date
    Sep 2000
    Location
    Marikina City, Philippines
    Posts
    876
    what do you mean? when you press ONE button ALL change color? and what do you mean by: "but i need to change color every time i press the button?"
    i eat actionscripts for breakfast

  3. #3
    The Flashman earl223's Avatar
    Join Date
    Sep 2000
    Location
    Marikina City, Philippines
    Posts
    876
    code:

    slot.onRelease = function() {
    myColor = new Color(this);
    myColor.setRGB(0x000000);
    }

    i eat actionscripts for breakfast

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