Browser not resizing

Hello all.
I have a 600 x 400 (pixel) Flash movie embedded in HTML. I am
having trouble getting the browser to resize to the exact
dimensions of the Flash movie. I've removed the browser's inherent
margins but it still won't resize. I guess it could be wrong param
values, so here's the HTML for your perusal.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml"
xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>2006FlashCard</title>
</head>
<body style="MARGIN: 0px" bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"
width="600" height="400" id="2006FlashCard" align="top">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="2006FlashCard.swf" />
<param name="menu" value="false" />
<param name="quality" value="best" />
<param name="salign" value="lt" />
<param name="bgcolor" value="#ffffff" />
<embed src="2006FlashCard.swf" menu="false" quality="best"
salign="lt" bgcolor="#ffffff" width="600" height="400"
name="2006FlashCard" align="top" allowScriptAccess="sameDomain"
type="application/x-shockwave-flash" pluginspage="
http://www.macromedia.com/go/getflashplayer"
/>
</object>
</body>
</html>
Any help would be greatly appreciated as I have to have the
project done today. =-)
-screen

Here's a quick script that will resize the broswer:
<script language="JavaScript">
<!--
// This will resize the window when it is opened or
// refresh/reload is clicked to a width and height of 600 x
400
// with is placed first, height is placed second
window.resizeTo(600,400)
-->
</script>
You may have to play with the values to get a perfect fit.
You can also set the swf width and height to 100%

Similar Messages

  • Form does not resize, cannot open in mobile browser

    I was just shared a form to place on a website, and I have no prior experience with Adobe whatsoever and really do not have the time to learn it, unfortunately.
    My problem is that the form, unlike most other embedding elements, does not seem to be dynamic. So it does not resize on mobile devices, or on small browser windows. How do I change/alter the form so that the embed functions with regard to the browser?
    Thanks!
    The form was made in formscentral.

    I too have the same problem.  I have found the hidden library and mobile documents folder.  Nested in the folder are a variety of other folders, including one for each iWork app.  Unfortunately, there are no documents listed in these folders.  For what it is worth, my documents are syncing fine between my iOS devices and iCloud.com.  I just wish to have some control over them on my MacBook.  I am running 10.7.5.

  • Components will not resize correctly in Catalyst

    Download PSD: http://dl.dropbox.com/u/814249/campusariel.psd
    Download FXP: http://dl.dropbox.com/u/814249/campusariel.fxp
    I am completely new to Flash Catalyst (any and all versions). I am currently using Photoshop CS5.5 to design and Catalyst 5.5 to import and translate into a flash project. I recently picked up a job creating an interactive application for a college campus. I have attached my two project files for anyone who can help to view to see what is wrong. I have also attached inline screenies for those who cannot/will not download.
    Here is my problem: I created the attached PSD in Photoshop with what I thought were the correct layers and groups/folders. I am hoping to achieve the following effect: when a user rolls over the purple buttons, multiple similar copies of that button that are initially hidden beneath the visible one popup in sequence above the rolled over purple button.
    Ex. State 1:
    Animation/Action Sequence to the following:
    The purple popup objects will have their own text content and will be buttons themselves that a user clicks to change to a different state with more specific information.
    Not only am I unsure of how to create such animation/action sequence, my purple components (whether I actually convert them to components in Catalyst or not) will not resize correctly. NOTE: I did click the resizable option when importing the PSD into Catalyst. The following effect occurs both ways. I add constraints to all objects by selecting all, right clicking, and choosing add constraints to all; the following occurs when stretched inwards using the resize test handle:
    and this when stretched out:
    When viewed using CTRL+Enter, the application is nowhere near resized in the browser window. I must be missing something, especially being new to Catalyst. I tried flattening the image in Photoshop, which obviously allowed the image to be easily resizable in Catalyst and the test browser window. However, I cannot use my separate elements when flattened; flattening defeats the purpose of Catalyst if I'm not mistaken.
    Any guidance?
    Message was edited by: joshlev

    Hi Martin - Those are really good questions! I did check and the image is uploaded. I assume I can see the image in my one browser because of the cache  since I could not see it on several computers that I had never pulled the site up on before.
    And actually I have it working now. Nancy had a good idea to check to see if I saved it as CMYK instead of RGB. When I went to go open the file on my computer Photoshop and Fireworks had an error in opening it. They had a problem opening the one I downloaded from the ftp too. It just looks like somehow the file became corrupted! Not sure how, but that seems like what the problem was since I have a new image up there now and it's working fine again.
    Thanks for all your help!
    Liz

  • Group not resizing correctly when contents are moved programmatically

    Hi there,
    My apologies in advance if this is a known issue. I searched the forums but I was unable to find a discussion about this topic. The issue we are running into is when we programmatically move the contents of a Group which is in turn enclosed within a Scroller beyond the Scroller's limits the position of the Group within the stage is incorrectly calculated. This will cause mouseEvents in the area beyond the Group's limits to be "ignored" among other problems.
    I have created an application to illustrate the problem, we are in 4.1:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application
        minWidth="955" minHeight="600"
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/mx">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                import mx.controls.Alert;
                private function onGroupClick(event:MouseEvent):void
                    Alert.show("It works");
                private function onButtonClick(event:MouseEvent):void
                    rect.x += 500;
                    rect.y += 500;
            ]]>
        </fx:Script>
        <s:Scroller
            width="100%" height="100%">
            <s:Group id="myGroup"
                width="100%" height="100%"
                click="onGroupClick(event)">
                <s:Rect id="rect"
                    x="0" y="0" width="10" height="10"/>
            </s:Group>
        </s:Scroller>
        <s:Button
            label="Move Rectangle"
            click="onButtonClick(event)"/>
    </s:Application>
    Steps to reproduce:
    Click anywhere in the screen - notice that an alert that reads "It works" shows up.
    Click on the "Move Rectangle" button enough times for the coordinates of the Rectangle to exceed the limits of the Scroller, hence producing scroll bars.
    Scroll all the way to the right and to the bottom.
    Click right next to the right bottom corner - notice that no alert is displayed. The reason is the Group has not resized correctly hence we are actually clicking outside the Group. Resizing your browser window for example will cause the Group to resize and events will again "work". FlexSpy will make things pretty apparent as well.
    Any pointers regarding where this bug lives in the source code or suggestions on how to fix this would be greatly appreciated, this issue is causing us a lot of pain.
    Thanks in advance!!
    ~ TheMadPenguin

    Thanks for logging this in the bugbase: https://bugs.adobe.com/jira/browse/SDK-29112. The latest comments there say:
    Reproduced in 4.0.0, 4.1.0
    Confirmed fixed in 4.5.0.19764
    A workaround for the 4.0.0 and 4.1.0 release would be to put the click handler on the Scroller instead of the viewport.
    Note: This bug seems to be fixed, but the fact that the width/height of  the Group doesn't change is still consistent (and correct).  Group has a  concept of size and content size, scrolling is enabled when the content  size is larger than the size (with Group.clipAndEnableScrolling set to  true which Scroller sets automatically).
    See this spec for more details: http://opensource.adobe.com/wiki/display/flexsdk/Spark+Viewport
    Hans has a good article here: http://hansmuller-flex.blogspot.com/
    Here's a simple example that demonstrates width does not change:
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"> 
         <s:Scroller width="100" height="100"> 
             <s:Group id="viewport"> 
                 <s:Rect width="100%" height="100%">
                     <s:fill><s:SolidColor color="red" /></s:fill>
                 </s:Rect>
                 <s:Button id="btn" label="out of view" y="150" click="btn.y += 50" />
             </s:Group> 
         </s:Scroller>
    </s:Application> 
    You might expect that this example should have a red background behind  the Button, but it does not.  That is because width/height of 100% on  the Rect is 100% of the width/height of the viewport, not the  contentWidth/contentHeight.
    One way of getting the behavior where the Rect expands across the whole content size would be to bind to contentHeight:
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"> 
         <s:Scroller width="100" height="100"> 
             <s:Group id="viewport"> 
                 <s:Rect width="100%" height="{viewport.contentHeight}">
                     <s:fill><s:SolidColor color="red" /></s:fill>
                 </s:Rect>
                 <s:Button id="btn" label="out of view" y="150" click="btn.y += 50" />
             </s:Group> 
         </s:Scroller>
    </s:Application> 
    Note: You shouldn't specify or change the size of the viewport Group  inside of a Scroller.  The Scroller component manages the size of the  Group in a specific way and if the Group has a size that conflicts with  that then you can get into a bad situation that might cause infinite  loops.  Notice in my example the viewport Group has no size set on it.
    Thanks to SDK QE for the info!
    -Heidi

  • Datagrid within Datagrid - Rows not resizing to fit content

    Hi,
    I have a datagrid with a custom item renderer that renders another data grid... so one column will render datagrids within the outer datagrid.  The problem is that the row does not size to fit the inner datagrid.  I can't set the rowHeight on the outer datagrid because the inner datagrids have dynamic data and i don't know how many rows they will have.  Also, after the datagrid is rendered, more rows may be added to any number of inner datagrids at a later time... and I need the rows holding them to resize accordingly.   Setting variableRowHeight=true on the outer grid doesn't seem to help either.
    Any ideas on how to do this? 
    Thanks!

    Hi, Alex, thanks for the info. It turns out, I was wrong.  The way it looked made me think it was a row-resizing problem, but it turns out that the rows were resizing fine... it was the outer datagrid itself that was not resizing properly.  Apparently it has to do with the combination of variableRowHeight and rowCount.  The jira issue may look familiar to you.
    http://bugs.adobe.com/jira/browse/SDK-13507
    Anyway, I got this from the jira comments and works pretty good...
    height="{theGrid.measureHeightOfItems(-1, theGrid.dataProvider.length + 1)}"
    I also have to call similar code when the data provider of the inner grids add/remove items.
    Thanks!

  • Web object not resizing with presentation

    I've added a web object in my elearning and published as a flash presentation.  When I resize the browser window, the flash presentation resizes, but the web object does not resize. My users will have various screen sizes, so I need the web object to display proportionally to the project size.
    I'm using a flash widget, so I cannot publish as HTML5.
    Thank you for any help or assistance.

    Hi there, unfortunately I don't have the answer but I'd like to support your question as I'm having exactly the same issue.
    Cheers,
    Dan

  • Resizing does not resize graphics?

    Hi,
    I'm playing with a layout that is created using floats and em
    for size. The
    audience will be older seniors, so I would like the page to
    resize both
    larger and smaller.
    The page has graphics that are screwing up the resizing to a
    smaller size so
    that some of the floats are dropping. Is there any way of
    controlling what
    happens with the graphics to stop the float drops, or am I
    doing something
    else wrong?
    IE6 - when going smaller, the float drop problem occurs.
    FF2 - works ok, but graphics stay same size, so
    proportionally not right.
    Opera9 - works the way I want, graphics resize too, so all is
    proportional.
    http://jmt.jobmark.com/jmo/workforce50/template2.htm
    The css is in the template.
    Thanks,
    Doug

    Thanks Murray,
    As soon as I wrote the min-width and sent it, I realized IE
    doesn't support
    it. I thought it was the other way around and it was
    supported by IE6 until
    I looked it up. I ended up not floating the middle section,
    not setting a
    width for it and just setting left and right margins using
    em's. That seems
    to have worked.
    Doug
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:[email protected]...
    > Since IE6 doesn't support min-width, probably not. Just
    try making that
    > section about 3px narrower to see if that helps.
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    > ==================
    >
    >
    > "Doug" <[email protected]> wrote in message
    > news:[email protected]...
    >> Murry,
    >>
    >> I just used "float drop" for lack of a better term.
    Since this only seems
    >> to happen in IE6 (not sure about IE7), would the
    min-width for the middle
    >> section be a solution?
    >>
    >> Doug
    >>
    >> "Murray *ACE*"
    <[email protected]> wrote in message
    >> news:[email protected]...
    >>>> or am I doing something else wrong?
    >>>
    >>> What causes the floats to drop is when the
    containing box resizes to
    >>> something too narrow to place the floated
    element beside the rest of the
    >>> content.
    >>>
    >>> When you resize the browser viewport, graphics
    do not resize.
    >>>
    >>> I do not see float drop in IE6, by the way.
    >>>
    >>>
    >>> --
    >>> Murray --- ICQ 71997575
    >>> Adobe Community Expert
    >>> (If you *MUST* email me, don't LAUGH when you do
    so!)
    >>> ==================
    >>>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >>> ==================
    >>>
    >>>
    >>> "Doug" <[email protected]> wrote in
    message
    >>> news:[email protected]...
    >>>> Hi,
    >>>>
    >>>> I'm playing with a layout that is created
    using floats and em for size.
    >>>> The audience will be older seniors, so I
    would like the page to resize
    >>>> both larger and smaller.
    >>>>
    >>>> The page has graphics that are screwing up
    the resizing to a smaller
    >>>> size so that some of the floats are
    dropping. Is there any way of
    >>>> controlling what happens with the graphics
    to stop the float drops, or
    >>>> am I doing something else wrong?
    >>>>
    >>>> IE6 - when going smaller, the float drop
    problem occurs.
    >>>> FF2 - works ok, but graphics stay same size,
    so proportionally not
    >>>> right.
    >>>> Opera9 - works the way I want, graphics
    resize too, so all is
    >>>> proportional.
    >>>>
    >>>>
    http://jmt.jobmark.com/jmo/workforce50/template2.htm
    >>>>
    >>>> The css is in the template.
    >>>> --
    >>>> Thanks,
    >>>>
    >>>> Doug
    >>>>
    >>>
    >>>
    >>
    >>
    >
    >

  • Thumbnails in New Tab Page are not resizing

    Hey,
    Since the latest update (33.0.2), the thumbnails for the websites on the 'New Tab Page' do not resize when the window is resized, so I cannot see all the thumbnails unless the window is full screen. It used to be that if I dragged the corner of the window to make it smaller or larger, the thumbnails would resize so I could always see all of them. I'm always multi-tasking and never have the browser full screen so it is a bit annoying.
    Any help would be appreciated, thanks
    Windows 7 Ultimate 64bit
    FireFox 33.0.2

    Thanks for the reply Cory.
    The issue that jscher2000 had is basically the same problem I'm having, but rather than just making all the thumbnails permanently smaller, I would like to restore the previous functionality that would resize them as needed. It always worked great until just a few days ago when I installed the latest update.
    Using jscher2000's solution would help, but not completely fix it... I can use that solution if that's the only thing I can do, but I would much rather get the previous method back.
    Thanks again, I would love to hear if anyone thinks they have the fix.

  • Lightbox effect not resizing

    I'm having difficulty getting a pair of Vimeo videos embedded within a Lightbox composition to resize and reposition themselves to the center and within the screen when uploaded to my website.
    The site in question is http://NYCJazz.com. Click once to bring up the navigation, then click on "Vocalists" in the menu, then scroll down to "vocal-piano trio 2" and try to play the videos to see what I mean.
    All other videos on the site are SD and center on the screen when clicked. The new videos (on "vocal-piano trio 2") are HD. The first is 1920 x 1080, the 2nd is 1280 x 720 (I'm testing both sizes to see the trade-off between size and load times).
    Does anyone have any insight into what may be causing this behavior? My understanding of the Lightbox effect is that it should fill the screen and position itself to the center as its default behavior.

    After some more futzing around, it seems like the default desktop behavior of the Lightbox is to center the Vimeo widget within the browser, but not resize it or reduce it when it goes beyond the boundaries of the browser. On my iPhone, on the other hand, the default behavior is to fill the screen with the contents of the Lightbox.
    Could someone from the Muse team at Adobe confirm if this is correct? If so, it means that I can't go beyond 1280 x 720 for my videos, and even that could be a problem for some users…

  • Rectangle fill not resizing properly

    So I've built this website that is a series of rectangles scrolling over each other - Home. The first rectangle contains an image fill. The fitting is "Scale To Fill" and the position is top center. My issue is that when I view the website in a browser and resize the browser window vertically, the image resizes with it. This should no be happening. The image should only resize when the shape of the rectangle changes, not the shape of the browser window. Does anyone know how I can fix this?

    More info: To achieve my scrolling fx I've got scroll motion activated on the fill of the rectangle with all values set to 0. My issue appears to be related to this. When I turn off the scroll motion my issue goes away.

  • The properties menu will not resize

    I am new to Captivate; most familiar with Lectora.   I am attempting to customize buttons using saved images; however, the properties panel will not resize prohibiting me from selecting the ‘browse’ key.  I have tried resetting the workspace, undocking the properties panel, closing the document and reopening.  I am running out of options.  Any assistance will be more than appreciated.

    Welcome,
    Sighing, the Properties panel cannot be resized beyond a certain maximum. Apparently there is some long label name somewhere, probably with your custom image buttons. Why not fill a shape with an image and use that as a button? Just a personal remark, since CP6 I never use custom image buttons anymore.
    Since you already retried resetting workspace, another workspace, here is the only workaround I know that will increase the width of that panel: drag it to the docking station at the bottom (with the Timeline) and it will resize to the width of that station. Even making it floating will not succeed in making it wider.
    Lilybiri

  • Browser window resize event

    Newbie question - sorry. How do I capture the browser window
    resize event?
    I've tried variations on this code:-
    <mx:Script>
    <![CDATA[
    import flash.events.Event;
    function mylisten():void { trace('mylisten');
    this.stage.addEventListener(Event.RESIZE,resizefn);
    function resizefn():void {
    trace('resize!');
    ]]>
    </mx:Script>

    Hi brutfood,
    you can add a handler to the resize event of the application
    as an attribute of the Application tag.
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" resize="resizeHandler()">
    Then add the handler ("t" is TextArea):
    private function resizeHandler():void {
    t.text = stage.width + " - " + stage.height;
    t.text += "\n" + stage.stageWidth + " - " +
    stage.stageHeight;
    Note the difference between the width/height and
    stageWidth/stageHeight properties: the first couple returns the
    actual stage dimension while the second returns the visible area of
    the stage.
    regards,
    Christophe

  • Creating a Windows 7 OS desktop short cut for gmail with Firefox as browser, not internet explorer

    I have an HP laptop that originally had Windows Vista Home Premium 64-bit OS. I recently upgraded to Windows 7 64-bit OS. I want to generate a desktop shortcut for gmail that uses Firefox as the browser not internet explorer (8). If I use IE 8 as the brower and enter in gmail.com, gmail opens. I can right click on that page and create a gmail desktop short cut with IE 8 as the browser. If I try the same steps using Firefox as the opened browser, I can't create a desktop short cut by right clicking...it is not an option. I can't make Firefox my default browser for everything as my work programs/shortcuts require IE. Again, how do I create a direct gmail desktop shortcut that uses Firefox as the browser, not IE 8, when IE 8 has to be the default browser?

    You could create a shortcut to open Firefox with a specific site using a command line argument.
    You can copy the shortcut that you use to open Firefox, then right-click on it and choose '''Properties'''. On the shortcut tab, you will see the target, it will look something like this:
    "C:\Program Files (x86)\Mozilla Firefox\firefox.exe"
    You can add gmail.com to this shortcut so it looks like this:
    "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" gmail.com
    For more details see http://kb.mozillazine.org/Command_line_arguments

  • Adobe Acrobat Pro 9.4.6 Sticky Note Icons are huge and can not resize

    My coworker is having a problem with the size of the Sticky Note (comments) Icon.  It is huge and we can not resize.
    When you open the icon, it takes up the whole page.  We can change the Font size, but the actual icon will not resize.
    The same document opened up from someone else, the icon views normal. We all have Adobe Acrobat Pro V9.4.6.  Any suggestions on a fix?
    Thank You.

    JimJSC,
    Your reply also helped fix a problem I had with not being able to resize sticky notes. My original display resolution meant that the resize symbols in the lower corners of the sticky note weren't accessible. In Acrobat X, the setting is under Acrobat, Preferences, Page Display, Resolution.

  • We have version 10.5.8 photoshop CS3 for Mac. How do we fix a problem with photoshop not resizing dpi? For example we resized a 72 dpi image to 200 dpi, when we do a pdf analysis it read as 344 dpi.

    We have version 10.5.8 photoshop CS3 for Mac. How do we fix a problem with photoshop not resizing dpi? For example we resized a 72 dpi image to 200 dpi, when we do a pdf analysis it read as 344 dpi.

    Sounds like it's a problem with the Acrobat settings. Did you set them to the same resolution?

Maybe you are looking for

  • How to export an interactive pdf from InDesign at a smaller file size.

    I have a single page InDesign doc with a side navigation panel to the right of each page. This panel has interactive buttons created in InDesign. When I export as an interactive pdf, the file size is over 27MB and I need it to be much lower. I should

  • NEED HELP ..HARD DRIVE PROBLEMS

    My safari window doesnt pop up and ive been told it had to get my hard drive cleaned ..soo can yu instruct me in how to clean my hard drive so my safari & etc. would work the way there suppose too! plz & thnk yu!

  • Microsoft Office for MacBook Pro

    What is the earliest version of Microsoft Office for Mac that is compatable with Power PC. My old version (2004) is not compatable with my new MacBook Pro

  • To add new file type in SharePoint

    Hi, I am trying to add new file type for sharepoint site like MSWord, PDF etc., Are there any ways to create new file types in SharePoint? My requirement is to create a file type for AutoCAD drawings (.dwg format). Please note, we are using SharePoin

  • Everytime i bookmark a page, it is saved as a yahoo search. not the site address

    im using the latest version of firefox. OS is windows 7. yahoo is my homepage. for example: i type 'google' into the search bar. the search page comes up and i click on the main address for Google and it takes me to Google.com. when i click on the bo