Hello!
I found strange behavior when I use lime.embed
not in html page start script (I use openfl 8.7.0 and lime 7.2.0)
I mean if I add a html button and handle click with script:
lime.embed ("avatar", "openfl-content", 0, 0, { parameters: {} });
the canvas start constantly growing in height value from 0 to infinity and it never stops.
If I use same script in <body> <script>
tag (as it used in default pattern) behavior is normal (not growing).
I set project.xml
width and height to 0 to handle window resize.
<window width="0" height="0" antialiasing="0" if="html5" />
and
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
Is there any properties to embed script correctly?