Highlighted

how to leave addchild with z-index 0 above a compoment?

Community Beginner ,
Oct 13, 2020

Copy link to clipboard

Copied

var Bt = new lib.objetos;
this.addChild(Bt);
Bt.x = 275, 5
Bt.y = 200, 5
var child = Bt
this.setChildIndex(child, this.numChildren - 1);

//////////////////////////////////////////

z-index continue 1 dont 0!

//////////////////////////////////////////

Adobe Community Professional
Correct answer by ClayUUID | Adobe Community Professional

Objects on the stage cannot appear above components. Everything on the stage is drawn on a single HTML canvas element. Components are HTML DOM entities floating above the canvas.

 

And stop asking the same question twice.

Views

22

Likes

Translate

Translate

Report

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

how to leave addchild with z-index 0 above a compoment?

Community Beginner ,
Oct 13, 2020

Copy link to clipboard

Copied

var Bt = new lib.objetos;
this.addChild(Bt);
Bt.x = 275, 5
Bt.y = 200, 5
var child = Bt
this.setChildIndex(child, this.numChildren - 1);

//////////////////////////////////////////

z-index continue 1 dont 0!

//////////////////////////////////////////

Adobe Community Professional
Correct answer by ClayUUID | Adobe Community Professional

Objects on the stage cannot appear above components. Everything on the stage is drawn on a single HTML canvas element. Components are HTML DOM entities floating above the canvas.

 

And stop asking the same question twice.

Views

23

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Oct 13, 2020 0
Adobe Community Professional ,
Oct 13, 2020

Copy link to clipboard

Copied

Objects on the stage cannot appear above components. Everything on the stage is drawn on a single HTML canvas element. Components are HTML DOM entities floating above the canvas.

 

And stop asking the same question twice.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 13, 2020 1