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

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

Community Beginner ,
Oct 13, 2020 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!

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

Views

224

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
community guidelines

correct answers 1 Correct answer

LEGEND , Oct 13, 2020 Oct 13, 2020

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.

Votes

Translate

Translate
LEGEND ,
Oct 13, 2020 Oct 13, 2020

Copy link to clipboard

Copied

LATEST

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.

Votes

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
community guidelines