2 Replies Latest reply on May 25, 2006 8:14 AM by timdiacon

    Any easy way to delay the execution of a peice of actionscript/alpha fades with AS?

    complexity Level 1
      Hi all,

      just wondering if there is any easy way to delay the execution of a peice of code, by either making wait for time or delay at runtime with its framerate or by use of frames.

      eg

      _root.mc._alpha = 100; //turn this on
      _root.mc._alpha = 100; //somehow turn this on after a delay of 1 seconds

      I have about 20 mc clips that are changing there alpha, I dont wont them to all change at the same time however.

      Also is there a simple way to control alpha fades with simple actionscript, without having to go into loops etc.

      Any help would be great.