Disable maximize button in flash for "mini" site

Posted on 2007-07-24
Last Modified: 2009-12-16
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!
Question by:oxygen_728
    1 Comment
    LVL 5

    Accepted Solution


    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">

    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 ='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...



    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
    Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
    The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
    The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now