Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Calling an array of childSymbols created in compositionReady

$
0
0

Hi, I'm creating a little puzzle game for fun, I've created a symbol and this is cloned into an array with createChildSymbol 9 times (3x3 puzzle) in document.compositionReady event of Stage. Every element of array store data of id, row, and column.

 

Then the first, I need to declare by code click function for each element of array or is enough with primary click event of parentSymbol? if is necessary how it's made?

 

Once this, how I access to this array when user click on any childSymbol for get data stored? how do I knowwhich childSymbol (of nine symbols) has beenclicked?

 

Thank you very much.


Viewing all articles
Browse latest Browse all 9897

Trending Articles