Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

declare variable/instance name of flash shape using flash stage like movieclip . is that possible?

Contributor ,
Mar 27, 2016 Mar 27, 2016

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);

*/

TOPICS
ActionScript
399
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Mar 27, 2016 Mar 27, 2016

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.

Translate
Community Expert ,
Mar 27, 2016 Mar 27, 2016
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines