PDA

View Full Version : How to make scaling FLash content 100% in a browser


NS11111
03-28-2010, 02:05 AM
Hello,

The problem is that Internet Explorer 8 and Mozilla Firefox
(with Flash Player 10)
show Flash CS4 content with scaling about 70%.
How to avoid that? How to show 100%
I tryed width="100%" height="100%" width="670" height="300"
(actual Flash content in pixels).

Here HTML code:

<embed src="PublishLive.swf" quality="high" bgcolor="#ffffff"
width="100%" height="100%" name="PublishLive" align="middle"
allowScriptAccess="sameDomain" allowFullScreen="false"
type="application/x-shockwave-flash"
pluginspage="http://www.adobe.com/go/getflashplayer" />

Thanks!!!

NS11111
03-28-2010, 02:16 AM
Hello,

The problem is that Internet Explorer 8 and Mozilla Firefox
(with Flash Player 10)
show Flash CS4 content with scaling about 70%.
How to avoid that? How to show 100%
I tryed width="100%" height="100%" then
width="670" height="300"
(actual Flash content in pixels).
No results.

Here HTML code:

<embed src="PublishLive.swf" quality="high" bgcolor="#ffffff"
width="100%" height="100%" name="PublishLive" align="middle"
allowScriptAccess="sameDomain" allowFullScreen="false"
type="application/x-shockwave-flash"
pluginspage="http://www.adobe.com/go/getflashplayer" />

I added the following to ActionScript source:
import flash.display.StageAlign;
import flash.display.StageScaleMode;
....
stage.scaleMode = StageScaleMode.NO_SCALE;

Now the FLash components are 100%, but
the Flash window borders are truncated.
So some FLash componets are not visible or truncated.

I tryed scale= showall, noborder and exactfit. in <EMBED> in HTML.
No effects.

Thanks!!!

P.S.
Pardon. FIrst time I wrote this message to another forum chapter by mistake