Disable maximize button in flash for "mini" site

Hello Experts!

I have a noob question I could use some help with please! I have created a "mini" flash site, however, when I publish my mini site and view it, the site has automatically been changed to full screen. The dimensions are still correct but the screen is maximized. I want to disable the maximize button for this site, how do I go about doing that??

Thanks for your time!
oxygen_728Asked:
Who is Participating?
 
victmoConnect With a Mentor Commented:
Hello,

There are many solutions to your problem.

1) You can embed your swf into html and give your movie the exact size you want so it will not resize. For example, if "your_movie.swf" is 800x600, use the following code:

<object width="800" height="600">
<param name="movie" value="your_movie.swf">
<embed src="your_movie.swf" width="800" height="600">
</embed>
</object>

2) You can modify your movie so it wont resize with its container by placing the following code in the first frame of your first scene. This way your movie will stay the same even if you resize your browser:

Stage.scaleMode = "noScale"

3) You can create a pop-up window with the resize property turned off with a link like this:

<a href="javascript:var nw = window.open('your_movie.swf','myMovieName','width=800,height=600,resizable=no,scrollbars=no,status=no');">Launch popup</a>

4) You can create a combination of the three...

Cheers,

Vic
0
All Courses

From novice to tech pro — start learning today.