Home Tutorials Forums Articles Blogs Movies Library Employment Press
Prev Previous Post   Next Post Next
Old 06-03-2008, 05:52 PM   #1
GoneNuts
Member
 
Join Date: Nov 2007
Posts: 90
Red face MovieClip Array

Is it possible to use an array to keep track of movie clip instances names for later use.

I have looked around for some examples but I am struggling to find any if anyone could help it would be appreciated

What I am trying to accomplish is adding children to the stage and give each one a dynamic instance name. Then pushing that name into a array so that if I would like to access the movieClip instances later I could.

var MC:array = "mc1","mc2","mc3";

then a use the array to access the inside of the movieclips.

MovieClip(MC[0]).gotoAndPlay(2);

something like this.

I am going in the right direction or is this not possible?

Please Any help would be GOOD
GoneNuts is offline   Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MovieClip from Array, Button placement jmjen47 ActionScript 3.0 0 05-21-2008 04:53 PM
movieclip array problem oxygenSean ActionScript 2.0 3 06-27-2007 05:22 PM
array not staying defined outside onLoad CPedrick ActionScript 2.0 9 04-28-2007 09:46 PM
Add onSomething to Array MovieClip diciccod ActionScript 2.0 5 06-14-2005 09:13 AM
Trying to copy a movieclip object into an array... Joey21 ActionScript 2.0 7 10-17-2004 08:09 PM


All times are GMT. The time now is 10:07 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.