A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Its been a while...

Threaded View

  1. #2
    Junior Senior
    Join Date
    Nov 2000
    Location
    sydney
    Posts
    565
    sort of...
    you can do this:
    Code:
    cloneMC = originalMC.duplicateMovieClip("cloneName", cloneDepth);
    cloneMC.onEnterFrame = function() {
      // code for clone, or call another function here
      // with(this){...} is often useful inside dynamically allocated functions like this.
    }
    for checking if an MC is visible on the stage... if you have a mask layer which covers all other layers to stop the swf spilling out over the stage edges, you could convert that mask layer to an MC. That way your other MCs can hitTest against it.
    Last edited by slight; 06-28-2005 at 05:25 AM. Reason: PS
    Signature

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