PDA

View Full Version : CheckBox and MCs


wickedboy
06-28-2007, 06:30 PM
I want to create a small movie where users select a number of images (MCs) by ticking a CheckBox for each image they wish to select. Then they press continue_btn and they are taken to another frame where their chosen MCs can be found. Is this even possible?

wB

xxneon
06-28-2007, 06:34 PM
i would imagine you could do that with an array .. have each checkbox be a unique array index .. and then when selected .. it populates that array index with ... say a linkage id for the mc on the stage.. and then when you goto the next frame .. you could have a for loop that loops through the array and the attaches the mc's based on the linkage id's in the array..

hope that makes sense.

wickedboy
06-28-2007, 06:48 PM
Thank you xxneon for helping out! Blimey that seems tricky (in my book...) for a newbie like myself... Any chance you could show me an example, please?

wB

wickedboy
06-28-2007, 06:51 PM
sorry just realised that I posted in the wrong part of the forum before...will put my reading glasses on, thanks for moving me...sorry...

wickedboy
06-30-2007, 01:47 PM
anyone else that could help me out?

LOLFlash
06-30-2007, 04:40 PM
I want to create a small movie where users select a number of images (MCs)
wB

Haw small movie and what number of images it is mete

wickedboy
07-01-2007, 12:34 PM
Thank you for helping!

I'd like about 8 images.

wB

LOLFlash
07-01-2007, 05:34 PM
each image shuld be in movie clip and named : image1Mc, image2Mc..............

attach to checkBox action script:

on(click){

this._parent.contanerMc.image3Mc._visible = this.selected;
}

change numbers according movie clips names

all your movie clips with images shuld be inside movie clip: contanerMc