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

Reusing symbols

$
0
0

Hi

Ive made a symbol call "pic" that moves acoss the screen.

and have a Click

 

var mySymbolObject = sym.getSymbol("pic").play();

on an button shaped element.

 

When I click the element it works fine.

 

Now if I drag another "pic" symbol on to the stage, I would expect them both to move when clicked, but only the original moves.

 

and if I delete the original and drag a fresh "pic" symbol on the stage It still does not work.

 

Its like the sym.getSymbol can only link to the original symbol and if you delete it (from the stage) it does not link to any new one you drag to the stage?

 

Any help or explanation to this would be great

 

Thanks

jason


Viewing all articles
Browse latest Browse all 9897

Trending Articles