When saving as a standalone HTML5 application, the scale factor of my main stack doesn’t get taken into account.
For example my main stack is 1920 x 1080 but I would like to export it with a scale of .5 ( 960 x 540).
Am I missing a step somewhere?
Thank you
Is the Scale factor taken into account when saving HTML5 Standalone?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 14
- Joined: Sun Dec 30, 2018 11:16 pm
Re: Is the Scale factor taken into account when saving HTML5 Standalone?
Hi
It looks like the scaleFactor is not a persistent property of the stack so if you want the scaleFactor to apply to a standalone, including HTML5, you will need to set it in code in preOpenStack e.g.
I'll report a documentation bug for the scaleFactor Dictionary entry to get it updated with this information.
I hope that helps.
Kind regards
Elanor
It looks like the scaleFactor is not a persistent property of the stack so if you want the scaleFactor to apply to a standalone, including HTML5, you will need to set it in code in preOpenStack e.g.
Code: Select all
on preOpenStack
set the scaleFactor of me to "0.75"
end preOpenStack
I hope that helps.
Kind regards
Elanor
Elanor Buchanan
Software Developer
LiveCode
Software Developer
LiveCode
-
- Posts: 14
- Joined: Sun Dec 30, 2018 11:16 pm
Re: Is the Scale factor taken into account when saving HTML5 Standalone?
Hi Elanor,
That work perfectly.
Thank you!
That work perfectly.
Thank you!