Make flash website fit to screen

Hi! I'm having trouble width my AS3 flash site. I know there is a code that will make my website fit to any browser. but i can't find it anywhere?? Can anybody help me out here??

stage.displayState = "fullScreen"

Similar Messages

  • How to make website fit any screen size?

    Hello all!                      
    I am trying to make my website fits any screen size (desktop, tablet, mobile)
    In Dreamweaver cs6, I go to file -multiscreen preview – Media Queries- make a CSS file for (site-wide) and click on the Default Presets and then find my CSS files for phone, tablet and desktop. But it does not work for my website, my site does not respond to the size of desktop, tablet or mobile. Can someone please help? Thank you.

    The main rule to follow for a responsive design is be flexible.
    That means no rigid dimensions, no absolute positioning and images that respond to the width of their containers.
    The following typically breaks the rule of flexibility
    #apDiv35 {
        position: absolute;
        width: 200px;
        height: 115px;
        z-index: 1;
    That is but one example from your document out of more than 40.
    If you want a leg up regarding responsive design, have a look at http://www.dmxzone.com/go/21759/dmxzone-bootstrap/

  • How to make my website fit to all resolution?

    Hi all, I'm a beginner for using dreamweaver.  I've been looking for this question but I think it doesn't solve my problem. I want to make my website fit to all screen resolution. At first, I preview it at mozilla  and Internet explorer and its ok. But my friend say that she open it at her computer , Ipad it become a mess. I try to open it at public computer too and it's really such a mess.
    I used dreamweaver cs6
    And now my problem is:
    How to set it to fit for all screen resolution?
    what is the css code to make it fit to all screen resolution?
    How to set normal  width and height for website?
    this is how my css work:
    @charset "utf-8";
    .mainbody {
        background-color: #CCC;
        width: 980px;
        margin-right: auto;
        margin-left: auto;
    .mainbody .header {
        height: auto;
        width: 980px;
        padding-top: 15px;
        padding-bottom: 10px;
    .mainbody .menubar {
        width: 980px;
        height:auto;
        padding-top: 10px;
        padding-right: 0px;
        padding-bottom: 10px;
        padding-left: 0px;
    .mainbody .slider {
        width: 972px;
        height: auto;
        padding-top: 15px;
        padding-bottom: 15px;
        border: medium dotted #60F;
        margin-top: 25px;
        margin-bottom: 15px;
    Please let me know is there's any mistake i've made. 
    By the way , sorry for my bad English ^_^

    Thank you for your reply ^_^
    this is my website : www.favoritepumps.com
    It's very very very simple right >.<
    but in this website I use the dreamweaver template . few days ago I make my own use div tags and i'ts been mess and I changed it back.
    and now I just want to know how to set it fit to all screen resolution and how about the width I make?
    I got some information that the width shouldn't be more than 980 px is it true?
    how should I write then?
    I make it like this at the source code:
    <div class="mainbody">
        <div class="header"><img src="images/favoritepump.png" width="500" height="80" alt="favoritepumps" /></div><!-- end .header -->
        <div class="menubar">
          <ul id="MenuBar1" class="MenuBarHorizontal">
            <li>
              <div align="center"><a class="MenuBarItemSubmenu" href="#">Item 1</a>
                <ul>
                  <li><a href="#">Item 1.1</a></li>
                  <li><a href="#">Item 1.2</a></li>
                  <li><a href="#">Item 1.3</a></li>
                </ul>
              </div>
            </li>
            <li>
              <div align="center"><a href="#">Item 2</a></div>
            </li>
            <li>
              <div align="center"><a class="MenuBarItemSubmenu" href="#">Item 3</a>
                <ul>
                  <li><a class="MenuBarItemSubmenu" href="#">Item 3.1</a>
                    <ul>
                      <li><a href="#">Item 3.1.1</a></li>
                      <li><a href="#">Item 3.1.2</a></li>
                    </ul>
                  </li>
                  <li><a href="#">Item 3.2</a></li>
                  <li><a href="#">Item 3.3</a></li>
                </ul>
              </div>
            </li>
            <li>
              <div align="center"><a href="#">Item 4</a></div>
            </li>
            <li>
              <div align="center"><a href="#">Untitled Item</a></div>
            </li>
          </ul>
        </div><!-- end .sidebar -->
        <div class="slider">
          <div align="center"><img src="images/kero.jpg" width="250" height="220" alt="kero" /></div>
        </div><!-- end .slider -->
        <div class="container">
            <div class="leftbar"> </div><!-- end .leftbar-->
             <div class="rightbar"></div><!--end .rightbar -->
        </div><!-- end .container2 -->
        <div class="footer"></div><!-- end .footer -->
    </div><!-- end .mainbody -->
    thank you

  • Make a StringItem fit the screen width

    Hi,
    I�m using a String Item in a Form and I�ve tried to make the Item fit the screen width by using the setPreferredSize(). But if the Text of the String Item is to long, the device still uses a second line to display the end of the text, which I don�t want.
    This is how I tried to make my String Item be displayed on an unique line.
    iTitleString = new StringItem("title : ","",Item.PLAIN);
    int preferedWidth = this.getWidth();
    iTitleString.setPreferredSize(preferedWidth,-1);
    iTitleString.setText("blablablablablalblablalblalbla");
    Thanks for your help

    If you mean that it should fit to the screen width by making the font smaller, then you're out of luck. You can try setting a preferred height to avoid multiple lines, but in a best case scenario it would just mean that not all of the text will be displayed.
    shmoove

  • How to make a website fit to browser window?

    How to make your created flash catalyst project/website fit to every window browser size?
    This means that I want it to fit in the window size, because I don't want the browser to create scroll bars since I have them inside my project...

    I have tried this a number of ways and it makes no difference. This is where I am with it right now in FB4.
    I would love to get this to work. If anyone can help me with it please?
    <?xml version='1.0' encoding='UTF-8'?>
    <s:Application xmlns:ATE="http://ns.adobe.com/ate/2009" xmlns:ai="http://ns.adobe.com/ai/2009" xmlns:lib="assets.graphics.Republic_1920.*" xmlns:fc="http://ns.adobe.com/flashcatalyst/2009" xmlns:d="http://ns.adobe.com/fxg/2008/dt" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:flm="http://ns.adobe.com/flame/2008" xmlns:graphics="assets.graphics.*" xmlns:ai1="http://ns.adobe.com/ai/2008" xmlns:lib1="assets.graphics.tomorrow_text.*" xmlns:lib11="assets.graphics.perfect_text.*" xmlns:lib111="assets.graphics.intel_text.*" xmlns:lib1111="assets.graphics.history_page.*" xmlns:components="components.*" xmlns:lib11111="assets.graphics.CaseStudiesText.*" xmlns:lib111111="assets.graphics.RolexText.*" xmlns:lib1111111="assets.graphics.slider.*" backgroundColor="#000000" height="1200" preloaderChromeColor="#000000" width="1920">
    <fx:Style source="Main.css"/>
    <fx:Script><![CDATA[
    private function init():void
    stage.align = StageAlign.TOP_LEFT;
    stage.scaleMode = StageScaleMode.EXACT_FIT;
    protected function buttonEnter_clickHandler():void
    const state:String = currentState;
    if ( state == 'Home' ) {
    currentState='Tomorrow';

  • Make Flash player window full screen automatically, when it's opening

    Hi, all.
    It's today I joined Adobe forums so, I don't know much about community guidlines and functionality here. So, pardon me if I do any mistake or something.
    This is my problem...
    I'm creating an interface with Adobe Flash Catalyst and I want it to be written to a CD and distributed to clients.
    When I publish swf, I cannot find an option to make flash player full screen.
    I want my SWF file to be opened in full screen mode when the user opens it.
    To the best of my knowledge, I think, I cannot do it with Catalyst as it doesn't have coding facilities.
    I hope Flash Builder is helpful with kind of times. But I know nothing about FB. Do you know how to do it with Flash Builder ?
    ( I mean, open my Catalyst project in Builder, then make the edits or something to make Flash player full Screen when opening )
    Thanks a lot,
    Tharindu.

    TextI have the same problem my flash player which is 9
    doesnt work properly when i switch to fullscreen mode.it really
    sucks.Can someone help us???

  • How to make web pages fit the screen width?

    Some web pages don't fit the screen width and Firefox user (me) has to scroll horizontally, which is very annoying:
    https://www.dropbox.com/s/kjyubp6f3z104ku/ScreenShot021.jpg
    Opera user, on the other hand, just clicks on the "Fit to width" button and everything looks great again:
    https://www.dropbox.com/s/hfsgl45f4d7uzgw/ScreenShot023.jpg
    Is there a way to force web page text to wrap?

    I get EXACTALY what "SantosHaHa" posted above. (Ffox 20 Win 7 64).
    Zoom doesn't help. Make things bigger or smaller, BUT THE PAGE WIDTH IS STILL CROPED!
    Have had this problem for 2 years and several versions.
    NOTHING seems to work.
    I wander why Ffox keeps changing versions so often, with so many new problems apearing, if Netscape worked fine 15 years ago!!!!

  • How to make flash website

    Hi I have never made a flash website but I can make html website. Can anyone point me towards good tutorials for making flash sites.
    Thanks

    You can try lynda.com, which is a fee-based tutorial site.  I've never used it but haven't heard anything bad about it yet.

  • How do I make a page  fit the screen automatically

    How do I make the Safari page fit the screen automatically

    Try keyboard shortcut Control+Command+F (^⌘F)

  • How do I make websites fit my screen. Always must zoom in;clik,clik,clik 3 times.

    each time I go to my home page or any other bookmarked page it arrives either in the centre 2/3 of the screen or on the left 2/3 of the screen. How do I get the pages to centre full screen?

    Some extensions that you can look at:
    * Default FullZoom Level - https://addons.mozilla.org/firefox/addon/6965
    * NoSquint - https://addons.mozilla.org/firefox/addon/2592

  • Captivate 7: How to make the output fit-to-screen

    Hi Everyone,
    For the long time, I was in search of making the published SWF be able to display the project as fitting to the screen. I was previously using Captivate 5.5. But now, I'm using Captivate 7. Does anyone know how to make the same thing happen to the SWF file? I previously had to make a change in the HTML script. But that same script line does not exist in the HTML file published from Captivate 7.
    Please be aware that I don't know much about HTML scripts. So please be explicit with your assistance.
    Thank you in advance for any assistance that you can provide.

    Hi there
    In Captivate 7, when you publish in SWF format, choose the option titled "Scalable HTML Content".
    Cheers... Rick

  • How do i make a page fit a screen with no horizontal scroll

    I would like to know how to make it so my page does not look
    different depending on the size of the screen you are viewing it
    on. In particular, avoiding how sometimes you have to scroll
    horizontally to see the entire page.
    I would prefer to get the look consistent but don't know how.
    Please help.

    Make sure that your horizontal widths are *not* specified in
    pixels wider
    than the smallest viewport you want to support for any
    container or
    contents.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Johnny the boy" <[email protected]> wrote
    in message
    news:fip6m1$dq5$[email protected]..
    >I would like to know how to make it so my page does not
    look different
    > depending on the size of the screen you are viewing it
    on. In particular,
    > avoiding how sometimes you have to scroll horizontally
    to see the entire
    > page.
    >
    > I would prefer to get the look consistent but don't know
    how. Please
    > help.
    >

  • How do I make my website fit in all size browser windows?

    Hi there,
    I should start off by saying that I am very new to web design, and have very limited knowledge of CSS and HTML.  I understand what they are and the nature of what they do, I'm just not code savvy. 
    Now that that's out of the way, I've been designing/attempting to build a website using Dreamweaver.  I have all of the components and layout that I want designed and ready to go, but I desperately need help with translating that into Dreamweaver.  I've been researching information all over the web, but with one person suggesting one thing and another suggesting something completely different I'm afraid my brain is about to melt.
    Here's what I've done so far:
    Because I want everything fully customized and to use a less common font style, I saved everything from the graphics, photos, and links as .png files.  I then inserted each of those images into an AP Div Tag in Dreamweaver and arranged them appropriately.  That's absolutely all I've done.  It works great, except I have no idea how to configure everything so the site layout shows up centered in any size browser window, instead of sitting awkwardly in the corner.
    Here's a link to what currently exists: http://ikikatawares.com
    I've read dozens of articles and forum responses about building tables, but I'd like to avoid that since to me they seem clunky and kind of a hassle to deal with.  Can anyone please help me?  Thanks.
    Beth

    You need to put only the bold part into your code.
    Immediately after your starting <body> tag add in
    <div id="wrapper">
    and immediately before your ending </body> tag add in
    </div>
    Then at the end of your css, you currently have...
    #apDiv10 .navBarLinks .navBarLinks {
    font-weight: bold;
    Change that to...
    #apDiv10 .navBarLinks .navBarLinks {
    font-weight: bold;
    #wrapper {
         position:relative;
         width:1005px;
         margin:0 auto;

  • How do I make PDFs OPEN and fit my screen?

    Every time I open a PDF, the document opens larger than my screen. How do I make the document fit the screen I have?
    This is absolutely NOT a zoom problem.
    I have a 15 inch laptop. It has a screen that is about 12 inches wide x 7.5 inches high.
    I open a PDF, and the document opens on my screen so that the entire document is more like 13 inches wide, and 10 inches high. The top menu bar, where I would grab to move, change zoom, enlarge, or, for that matter, CLOSE the document is like 2-2.5 inches OFF the TOP of my screen.
    I can change zoom - it only changes the size of the contents in the window, never the actual window size, and the problem is the window size.
    So the question is, why does PDF even open a window larger than my screen supports, and how do I stop it.
    This is not new - this should by now be a known serious flaw with Adobe Reader and Acrobat and regularly happens with PDFs, and has for years. If I have a second monitor, I can drag the side of the window over onto my second monitor, and then shrink it. But, if I  am traveling, so without my second monitor, it effectively means the only thing I can do with any PDF is right click on the bottom menu bar and "Close all windows"
    Windows XP, Windows 7, Windows 8. 

    Try clicking the arrows top right  corner of your Safari window or Control + Command + F on your keyboard.

  • Flash Website Question

    Hi all,
    I am a newbie in Flash 8 Pro...Created a website but it
    somehow appeared
    on the left side in every browser. Is there any way that I
    can make it to the
    center/middle of a web browser?
    And is there a way that I can make my website fit 100%
    entirely in browsers.
    Please...I really need help on these a.s.a.p...Thanks in
    advance.

    well, welcome to flash - but also, try searching before
    asking - how to make your flash site 100% is
    in the help docs and been asked in the forum for almost a
    decade.
    basically, go to File > Publish Settings > HTML tab and
    set Dimensions to "percent" and type in 100
    in the width and height fields.
    To align it in the HTML - most use a little html code to
    place the movie in a table that is aligned
    middle.
    ~~~~~~~~~~~~~~~~
    --> Adobe Certified Expert
    --> www.mudbubble.com
    --> www.keyframer.com
    ~~~~~~~~~~~~~~~~
    ArtQ wrote:
    > Hi all,
    >
    > I am a newbie in Flash 8 Pro...Created a website but it
    somehow appeared
    > on the left side in every browser. Is there any way that
    I can make it to the
    > center/middle of a web browser?
    >
    > And is there a way that I can make my website fit 100%
    entirely in browsers.
    >
    > Please...I really need help on these a.s.a.p...Thanks in
    advance.
    >

Maybe you are looking for

  • Safari will NOT allow me to stay logged into Yahoo.

    What gives? Yahoo has a feature that allows a user to stay logged in for 2 weeks, but every time I shut off safari I am logged out. If I use firefox I stay logged in, but I really would prefer to use safari. Any one else having this problem?

  • XMLParser for PL/SQL - Error

    I am using XML parser for PL/SQL in oracle 8.1.7 DB. When i run the sample xml program, i get error which is as follows. While compiling no errors. But while executing it reports error as given below. SQL> exec domsample('/u01/usr/oracle/sso','family

  • Kernel panic installing mountain lion

    I own 2 iMac's (24 and 27 inch), 2 Macbook Air, 2 Macbooks. All these machines crashed with a kernerl panic when upgrading to OSX Mountain Lion. Apple have screwed up here somewhere. However, the fix is simple enough. Here's what happens: 1. Download

  • Very slow first backup...

    A friend has a MacBook (C2D) and has just bought an iomega USB 2.0 external hard drive. Everything is plugged in and working its formatted (Journaled Case Sensitive(done automatically)), we have set Spotlight not to index the backup drive so we would

  • ARTICLE MASTER UPLOAD

    Hi guys, I'm using LSMW & IDOC (ARTMAS) to upload article master. When I test the Idoc with WE19, it goes to an User_Exit that I've implemented. When I run it through the LSMW though it does not go there at all. Do you guys know the reason and what i