A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Understanding Instances question

  1. #1
    Junior Member
    Join Date
    Feb 2003
    Location
    Vancouver BC
    Posts
    29

    Understanding Instances question

    I'm confused about what's probably a fairly simple concept.

    I have a MC button in the library. I'm happy with it but I need to use several of them on the stage and customize each button I use a little bit...so I drag three out of the buttons out of the library onto the stage. I would expect that I can customize each instance I have dragged onto the stage, changing the colors, etc. but doing so modifies all three - like I'm modifying the library button itself.

    How can I keep my 'template' button in the library then drag instances onto the stage that can then be individually customized?

    What am I missing here??

    Thanks
    RonM

  2. #2
    Senior Member Robb@exo's Avatar
    Join Date
    Jun 2003
    Location
    Canada
    Posts
    1,540
    Actually you are modifying the library symbol. Clicking on any object on the stage with bring up the editing mode for the specified library symbol. There are a couple of ways around it, one is via code. Code specifically directed to a symbol by way of its instance name will differ the properties of each symbol, ie, x & y position, x & y scale, alpha, rotation, etc. The other is to duplicate the library item as many times needed and to modify each one as desired. HTH.
    Wile E. Coyote - "Clear as mud?"

Tags for this Thread

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