Whitespace with min height & width

16 views
Skip to first unread message

michaleen.craig

unread,
Apr 7, 2011, 9:05:14 PM4/7/11
to SWFFit
I have this demo file set up:
http://newmarket.microartsdev.com/swffit/basic_examples/example_w_maxsize_topleft.html

I'm trying to use a max width / height of:
1468X300

And a min width / height of:
1000X204

When I shrink down the browser, I get a white space above & below the
file:(

Any advice?

<script type="text/javascript">
swfobject.embedSWF("NEW_Banner_0407.swf", "my_flash", "1000", "204",
"8.0.0");
swffit.fit("my_flash",1000,204,1468,300,true,false);
</script>

Miller Medeiros

unread,
Apr 8, 2011, 9:31:15 AM4/8/11
to swf...@googlegroups.com
the white space is inside your flash movie. you need to set the scale mode

References:

AS2 - http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary678.html
AS3 - http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/display/Stage.html#scaleMode

> --
> You received this message because you are subscribed to the Google Groups "SWFFit" group.
> To post to this group, send email to swf...@googlegroups.com.
> To unsubscribe from this group, send email to swffit+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/swffit?hl=en.
>

Reply all
Reply to author
Forward
0 new messages