Open ghost opened 8 years ago
There is some support not in the HTML exported from AnimateCC for scaling and responsive behaviour that is similar to how Flash works with scale and align -- but this behaviour is not likely to be added to EaselJS anytime soon.
I am leaving this open for discussion for now.
Thanks for help sorry i am very busy
Hello I have added suggestion but my code is not finish. I will add in Stage of createjs because I want use with Align of stage like flash player has same...
I found window.innerWidth and window.innerHeight like stage,stageWidth and stage. stageHeight;
This is small suggestion. But Center we need it. Because Adobe Flash Player won't use "Center" so sad.
I would like to suggest with CreateJS with "Center if your canvas has "no-scale" than shape or star doesn't resize like Flash Player's Display objects....
PS: Do not forget to add
this.stageWidth = window.innerWidth;
andthis.stageHeight = window.innerHeight;
and
Wow it works fine. Ops.... if i create code:
It means works good.
But I want half of width and half of height
Than it sees double bigger than normal? Eh?
I try other possible
It sees double smaller than normal.
Wow I am getting so close with Stage coding like missed Flash Player into javascript....