Groups | Blog | Home
all groups > flash (macromedia) > march 2007 >

flash (macromedia) : Component help


graphic_pawn
3/20/2007 9:05:37 PM
I'm trying to use a list component to change movie clip instances in the
timeline. I believe I have the component configured correctly because I copied
it from another working flash document, but I'm using it for a different
application, so I think my actionscript is wrong.

On the timeline, my movie clip symbol instance of Bezel, with an instance name
of Bezel1 is on the Bezel layer (maybe I used Bezel too much). Bezel is a movie
clip with two named frames (black, white). Each frame has a stop command on it.

I want the list to control what frame the Bezel movie clip is on. So, when I
select "black" from the list component, the movie clip should display the frame
"black".

My list component is on layer1 with an instance name of myList. It has two
labels, White and Black. It also has two data values, [white, black]

The actionscript for the instance of myList is:

on (change) {
var mLIST1:String = this.selectedItem.data ;
Bezel1.gotoAndStop(mLIST1);
//trace(layer1.myList.name);
}

Any ideas ... I'm obviously not good with components.
ggshow
3/21/2007 3:41:17 AM
graphic_pawn
3/21/2007 4:59:05 PM
ggshow
3/22/2007 12:00:00 AM
AddThis Social Bookmark Button