This content has been marked as final. Show 5 replies
if your movieclips already exist at the time you create your array, it's easier to use their instance names instead of strings:
thanks for the reply kglad,
What im trying to do is to scroll the movie clip using the mouse scroller (i have that part working) but have nested movie clips stop when they get to a certain part of the stage on the _y axis. The code is a bit messy...but any ideas would be great. I know its something simple but i cant nail it....any help?
two things to start.
first, your for-loop needs to repeatedly execute, preferably just after the _y property of your movieclips is updated. ie, in your onMouseWheel function.
second, your for-loop should probably be checking those movieclip _y properties against the Stage.height property.
Thanks for the help so far..but....
Could you show me what you mean? I think i've understood what you've said but i cant get it to work.....I know its something small that im doing wrong..
Thanks for any help...
i'm not sure what you want to do because you never explained what you want. but my best guess is: