A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: duplicate movie and onClipEvent ?

  1. #1
    Senior Member
    Join Date
    Apr 2000
    Location
    Minneapolis
    Posts
    2,127
    Im not in front of flash right now so I cant try this out for myself.
    If I have a duplicate movie script duplicating an mc which has a OnClipEvent action on it, will the OnClipEvent be duplicated or does it need to be attached to each instance manually?

    thanks in advance
    mark

  2. #2
    Welcome to flavour country
    Join Date
    Sep 2000
    Posts
    662
    The code will be duplicated as well. You just have to be careful with any variables you might use. If your clipevent code updates a global variable, all the dup mcs will update that variable according to their own code as well.

  3. #3
    Senior Member
    Join Date
    Apr 2000
    Location
    Minneapolis
    Posts
    2,127
    Thanks
    I want them all to read and react to a variable set in the root so I should be fine
    mark

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