i’m been spending hours and hours trying to figure this issue out but i cannot seem to solve it for the life of me.
i have questions:
i’ve been able to duplicate my movie but only one of buttons has a mouse over effect. how do i get my other buttons to have their own unique mouse over?
now that i figured out a way to get my buttons to go down 5 rows, how do i get to also go across ten rows?
lastly, how can i dynamically create text fields inside each of those buttons and how would i access them individually once the buttons have been created?
ActionScript Code:
[FONT=Courier New][LEFT][COLOR=#0000ff]import[/COLOR] flash.[COLOR=#000080]filters[/COLOR].[COLOR=#000080]DropShadowFilter[/COLOR];
[COLOR=#000000]var[/COLOR] mc:[COLOR=#0000ff]MovieClip[/COLOR] = createDropShadowRectangle COLOR=#000000[/COLOR];
[COLOR=#000000]var[/COLOR] container:[COLOR=#0000ff]MovieClip[/COLOR] = setUpContainer COLOR=#000000[/COLOR];
[COLOR=#000000]var[/COLOR] ln:[COLOR=#0000ff]Number[/COLOR] = [COLOR=#000080]5[/COLOR];
[COLOR=#000000]var[/COLOR] spacer:[COLOR=#0000ff]Number[/COLOR] = [COLOR=#000080]5[/COLOR];
[COLOR=#000000]var[/COLOR] duplicate:[COLOR=#0000ff]MovieClip[/COLOR];
[COLOR=#0000ff]for[/COLOR] [COLOR=#000000]([/COLOR][COLOR=#000000]var[/COLOR] i:[COLOR=#0000ff]Number[/COLOR] = [COLOR=#000080]1[/COLOR]; i < ln; i++[COLOR=#000000])[/COLOR] [COLOR=#000000]{[/COLOR]
[COLOR=#000000]var[/COLOR] newY:[COLOR=#0000ff]Number[/COLOR] = i * [COLOR=#000000]([/COLOR]container.[COLOR=#0000ff]_height[/COLOR] + spacer[COLOR=#000000])[/COLOR];
duplicate = container.[COLOR=#0000ff]duplicateMovieClip[/COLOR] [COLOR=#000000]([/COLOR][COLOR=#ff0000]“clip-”[/COLOR] + i, i, [COLOR=#000000]{[/COLOR][COLOR=#0000ff]_y[/COLOR]:newY[COLOR=#000000]}[/COLOR][COLOR=#000000])[/COLOR];
[COLOR=#0000ff]trace[/COLOR] COLOR=#000000[/COLOR];[COLOR=#808080]// _level0.clip-[number][/COLOR]
[COLOR=#000000]}[/COLOR]
[COLOR=#000000]function[/COLOR] setUpContainer COLOR=#000000[/COLOR]:[COLOR=#0000ff]MovieClip[/COLOR] [COLOR=#000000]{[/COLOR]
[COLOR=#000000]var[/COLOR] mc:[COLOR=#0000ff]MovieClip[/COLOR] = [COLOR=#0000ff]this[/COLOR].[COLOR=#0000ff]createEmptyMovieClip[/COLOR] [COLOR=#000000]([/COLOR][COLOR=#ff0000]“container”[/COLOR], [COLOR=#0000ff]this[/COLOR].[COLOR=#0000ff]getNextHighestDepth[/COLOR] COLOR=#000000[/COLOR][COLOR=#000000])[/COLOR];
[COLOR=#000000]var[/COLOR] w:[COLOR=#0000ff]Number[/COLOR] = [COLOR=#000080]50[/COLOR];
[COLOR=#000000]var[/COLOR] h:[COLOR=#0000ff]Number[/COLOR] = [COLOR=#000080]50[/COLOR];
mc.[COLOR=#0000ff]beginFill[/COLOR] COLOR=#000000[/COLOR];
mc.[COLOR=#0000ff]lineTo[/COLOR] COLOR=#000000[/COLOR];
mc.[COLOR=#0000ff]lineTo[/COLOR] COLOR=#000000[/COLOR];
mc.[COLOR=#0000ff]lineTo[/COLOR] COLOR=#000000[/COLOR];
mc.[COLOR=#0000ff]lineTo[/COLOR] COLOR=#000000[/COLOR];
mc.[COLOR=#0000ff]endFill[/COLOR] COLOR=#000000[/COLOR];
mc.[COLOR=#0000ff]onRelease[/COLOR] = [COLOR=#000000]**function**[/COLOR] [COLOR=#000000]([/COLOR][COLOR=#000000])[/COLOR] [COLOR=#000000]{[/COLOR]
[COLOR=#808080]*//...will use tween effect here*[/COLOR]
[COLOR=#000000]}[/COLOR];
[COLOR=#000000]**var**[/COLOR] filter:DropShadowFilter = [COLOR=#000000]**new**[/COLOR] DropShadowFilter [COLOR=#000000]([/COLOR][COLOR=#000080]2[/COLOR], [COLOR=#000080]45[/COLOR], 0x000000, [COLOR=#000080]0[/COLOR].[COLOR=#000080]8[/COLOR], [COLOR=#000080]16[/COLOR], [COLOR=#000080]16[/COLOR], [COLOR=#000080]1[/COLOR], [COLOR=#000080]3[/COLOR], [COLOR=#000000]**false**[/COLOR], [COLOR=#000000]**false**[/COLOR], [COLOR=#000000]**false**[/COLOR][COLOR=#000000])[/COLOR];
[COLOR=#000000]**var**[/COLOR] filterArray:[COLOR=#0000ff]Array[/COLOR] = [COLOR=#000000]**new**[/COLOR] [COLOR=#0000ff]Array[/COLOR] [COLOR=#000000]([/COLOR][COLOR=#000000])[/COLOR];
filterArray.[COLOR=#0000ff]push[/COLOR] [COLOR=#000000]([/COLOR]filter[COLOR=#000000])[/COLOR];
mc.[COLOR=#000080]filters[/COLOR] = filterArray;
[COLOR=#0000ff]return[/COLOR] mc;
[COLOR=#000000]}[/COLOR]
[/LEFT]
[/FONT]
any help on how to achieve these results will greatly be appreciated