Reputation: 2878
I'm using flex. The flash object is remain the same size and not scaling when zoom in/out from browser. So the swf is not properly displayed in the given div. I'm wondering how this example could scaling nicely when zoomed in/out. Any solution besides adding the code to ActionScript is preferred.
Upvotes: 1
Views: 1199
Reputation: 2878
I've found the solution..
Just add preinitialize="systemManager.stage.scaleMode = 'showAll'"
at the top of flex code inside <s:Application>
(it's where we define xmlns: blablabla).
That should make it. When we zoom the browser, the flash object scaling nicely.
Upvotes: 1
Reputation: 1067
Add this actionsctip code:
stage.scaleMode = StageScaleMode.SHOW_ALL;
There is no another way.
Upvotes: 0