A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Name hundred of movieClips automatically?

  1. #1
    Senior Member
    Join Date
    Jun 2002
    Posts
    400

    Name hundred of movieClips automatically?

    This is surely a pipedream, but is there a way to name multiple movieclips automatically? I have a zone map that contains 500 zones and I'm hoping I don't have to name them individually. The names would be sequential, "z001,z002,z003,etc..." The original file will be coming to me in Illustrator.

    Thanks.

    -Layne

  2. #2
    Senior Member flashfriend8's Avatar
    Join Date
    Oct 2004
    Posts
    146
    You can access the name of a mc with _name I believe...
    I have no idea where this is going.

  3. #3
    Junior Member
    Join Date
    Sep 2006
    Posts
    7
    As far as I know, I think you can only name them automatically if they are created dynamically.

  4. #4
    Hey Timmy!!! walsher's Avatar
    Join Date
    Jan 2005
    Location
    Latrobe, PA
    Posts
    1,899
    Yes just as elliot said, you can only do that when you dynamically create an object. And by that we mean either using duplicateMovieClip or attachMovie. I recommand using the attachMovie method.

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