carmenMiranda
Programmer
I have written some code to dynamically place a variable number of balls (movieclips) onscreen and dynamically name them. So far, so good.
I also have a function to move an individual ball downwards (thus 'dropping' it out of the bottom of the stage).
I want a user to be able to rollover any ball and that ball to begin dropping.
How do I get the name of the particular ball movieclip they're currently rolling over and pass that name to the 'drop' function, without writing some code that sits on the movieclip (I want all my code on the main timeline)?
I'd really appreciate some advice. Thanks.
I also have a function to move an individual ball downwards (thus 'dropping' it out of the bottom of the stage).
I want a user to be able to rollover any ball and that ball to begin dropping.
How do I get the name of the particular ball movieclip they're currently rolling over and pass that name to the 'drop' function, without writing some code that sits on the movieclip (I want all my code on the main timeline)?
I'd really appreciate some advice. Thanks.