Attn: AS experts

Out of context: Reply #5

  • Started
  • Last post
  • 15 Responses
  • tGP0

    // if you want a movie loaded when _y of 300 is reached
    var targetY = 300;

    // create a blank movieclip that will loop constantly, thus constantly checking the value of our conditional
    _root.createEmptyMovieClip("hold... 100);
    _root.holder_mx.onEnterFrame = function () {
    // here i am using == to see if the _y value is exactly the same as the target, you could substiture this with >= or

View thread