2177 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Exclusive Author
  • Community Moderator
  • Bought between 50 and 99 items
  • Referred between 200 and 499 users
  • Has been a member for 5-6 years
  • Won a Competition
+10 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… ?

2177 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Exclusive Author
  • Community Moderator
  • Bought between 50 and 99 items
  • Referred between 200 and 499 users
  • Has been a member for 5-6 years
  • Won a Competition
+10 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
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Sold between 1 000 and 5 000 dollars
  • Taiwan
savorks says
this ?
fscommand("fullscreen", "true");
2177 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Exclusive Author
  • Community Moderator
  • Bought between 50 and 99 items
  • Referred between 200 and 499 users
  • Has been a member for 5-6 years
  • Won a Competition
+10 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? :)

2177 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Exclusive Author
  • Community Moderator
  • Bought between 50 and 99 items
  • Referred between 200 and 499 users
  • Has been a member for 5-6 years
  • Won a Competition
+10 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
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Sold between 100 and 1 000 dollars
xcstu says
try this codes:
stage.displayState = "fullScreen";
by
by
by
by
by
by