|
-
Getting name of movieClip from Array
Hello All,
I am trying to fet the name of a movieClip from a array. My problem is that I only seem to be able to add Strings to Arrays, but I cant use a String to access the MovieClip. Here's my code:
var iconLocArray:Array = new Array();
iconLocArray.push("product01Tab_mc.product01Icon_m c");
iconLocArray.push("product02Tab_mc.product02Icon_m c");
iconLocArray.push("product03Tab_mc.product03Icon_m c");
iconLocArray.push("product04Tab_mc.product04Icon_m c");
iconLocArray.push("product05Tab_mc.product05Icon_m c");
//Repeat through Array
getIconLoc();
var iconLocation = iconLocArray[0];
fe.target=iconLocation
Please Help, any advice would be great.
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|