2182 posts
  • Has referred 200+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+14 more
mpc Volunteer moderator says

Hi guys I am having a rough time, I am trying to make a swf act like in the HTML wrapper but without it :) what I mean is when someone lunches swf in Flash Player and tries to resize it everything should aline correctly, but the swf without the HTML wrapper doesn’t trigger the Resize Event any idea how to fix this… ?

2182 posts
  • Has referred 200+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+14 more
mpc Volunteer moderator says
Ok sorry to bother I have found a fix:
var swfStage:Stage = stage;
swfStage.scaleMode = StageScaleMode.NO_SCALE;
swfStage.align = StageAlign.TOP_LEFT;

Ok I have one more problem, how to allow full screen on a stand alone SWF ?

111 posts
  • Has been part of the Envato Community for over 4 years
  • Has sold $1,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
savorks says
this ?
fscommand("fullscreen", "true");
2182 posts
  • Has referred 200+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+14 more
mpc Volunteer moderator says

Ok the fullscreen works but I dont know why when I resize the swf I see white background for a second and then my background catches up… but the bg color set in the fla is black any idea how to tweek it? :)

2182 posts
  • Has referred 200+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+14 more
mpc Volunteer moderator says

this ?
fscommand("fullscreen", "true");

Thanks but as it turns out you don’t need to set the allowFullScreen when you work with a stand alone flash player.

7 posts
  • Has been part of the Envato Community for over 3 years
  • Has sold $100+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
xcstu says
try this codes:
stage.displayState = "fullScreen";
by
by
by
by
by
by