Copy link to clipboard
Copied
we can get shape variable by this way . but i want that i will make cirlces (shapes) in flash stage directly and get variables exactly like movieclip instance name
if
/* js
var circle = new createjs.Shape();
circle.graphics.beginStroke('#000');
circle.graphics.beginFill('#FFF000');
circle.graphics.drawCircle(0, 0, 50);
circle.x = 250;
circle.y = 70;
stage.addChild(circle);
*/
you can create a stage-created movieclip and assign an instance name in both actionscript and easeljs, and you cannot assign stage-created shape an instance name in both actionscript and easeljs.
Copy link to clipboard
Copied
you can create a stage-created movieclip and assign an instance name in both actionscript and easeljs, and you cannot assign stage-created shape an instance name in both actionscript and easeljs.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now