► SWF File Elements Shift Upon Resizing Window

Hi,
I've created a Flash website. However, when I resize the published SWF (or the preview window within Flash) some of the elements get displaced. How can I create a "wrapper" like in Dreamweaver so that the window can be dragged out to any size and all of the components stay together as they were intended?
Here is what I mean:
http://i1124.photobucket.com/albums/l567/niksavtchenko/2.jpg
http://i1124.photobucket.com/albums/l567/niksavtchenko/1.jpg
Thanks,
Nik

How would I do that? I tried using this code:
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
stage.addEventListener(Event.RESIZE, onResize);
function onResize(e:Event=null):void
    trace( stage.stageWidth );

Similar Messages

  • .SWF File cannot be launched on Windows XP

    When trying to launch a SWF file, "MyFirst.swf", Windows XP
    informs me of the following:
    <<
    Windows cannot open this file
    What do you want to do?
    1.- Use the web to find the programm
    2.- Select the programm from a list
    >>
    [NB: I've translated Windows XP's output from Spanish, so in
    English it'd probably look different]
    I've tryed the 2 options and I've checked that I've got the
    latest Flash Player version available, i.e., v 9,0,45,0 from:
    http://www.adobe.com/es/software/flash/about/
    but how can I tell windows where the Flash Player is?, I've
    chosen the path:
    C:\WINDOWS\system32\Macromed\Flash
    but which programm do I have to select?, "FlashUtil9c.exe",
    "NPSWF32_FlashUtil.exe"?, maybe other?
    Any help will be appreciated.

    juanfdezgcia;
    The free flash active x control and/or NS compatible plug-in
    player is
    only utilized from a browser (or other application)--it is
    not meant to be a
    "standalone player" for swf files. You can drag your swf
    files to an open
    browser window...
    -Tom Unger

  • Cannot get swf file to play in popup window

    The swf file plays fine with the source file (flv) on
    streaming server. see page
    http://www.jobclub.com/testing/healthcare.html
    Open Employment Video Profile in center. All I want to do is to
    have iit play in a popup window.
    But I cannot figure out how to play the swf file in a popup
    window
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','285','height','231','title','HealthSouth','src','eva/evaemp/HC240','quality','high',' pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=Shockwa veFlash','movie','eva/evaemp/HC240'
    ); //end AC code
    </script><noscript><object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
    width="285" height="231" title="HealthSouth">
    <param name="movie" value="eva/evaemp/HC240.swf" />
    <param name="quality" value="high" />
    <embed src="eva/evaemp/HC240.swf" quality="high"
    pluginspage="
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
    type="application/x-shockwave-flash" width="285"
    height="231"></embed>
    </object>
    </noscript>
    Thanks
    Mat Media

    When you create the file in Flash, it is usually best to also have it publish an html page.  Copy the embedding code that Flash creates in the html file and paste it into your intended html file.  The Flash code may also be reliant on including a .js file, which it will also create, so that needs to be placed in the site folder.  The header of the Flash html may include a script link to this js file, so you need to copy/paste that in the intended html page as well.

  • Swf file wont play from httpserver, windows opens up but doesn't play, but works fine from SunOne

    We currently migrating over to http server from SunOne web server.  When you run the launch.html file an additional browser window opens but the swf doesn't not start playing.
    The new http server is using exactly the same doc root as SunOne.
    I have swf in the mime types and i've checked all the permissions .
    Conf File
    Include /opt/IBM/WebSphere/HTTPServer/conf/httpd.conf
    Listen 1xxxx
    DocumentRoot "/www/edc/docs"
    <Directory />
        Options FollowSymLinks
        AllowOverride None
    </Directory>
    <Directory "/www/edc/docs">
        Options FollowSymLinks
    </Directory>
    ######### DirectoryIndex ############################################
    directoryIndex index.html index.htm
    IndexOptions FancyIndexing VersionSort
    ########## Pidfile location,Error and Access Logs #####################
    PidFile /opt/IBM/WebSphere/HTTPServer/logs/edc/httpd.pid
    ErrorLog "|/opt/IBM/WebSphere/HTTPServer/bin/rotatelogs /opt/IBM/WebSphere/HTTPServer/logs/edc/error_%Y-%m-%d-%H:%M 86400 -360"
    CustomLog /opt/IBM/WebSphere/HTTPServer/logs/edc/access_log common
    CustomLog "|/opt/IBM/WebSphere/HTTPServer/bin/rotatelogs /opt/IBM/WebSphere/HTTPServer/logs/edc/access_%Y-%m-%d-%H:%M 86400 -360" common
    LogLevel warn
    # The following directives define some format nicknames for use with a CustomLog directive
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    LogFormat "%{Referer}i -> %U" referer
    LogFormat "%{User-agent}i" agent
    Alias /icons/ "/opt/IBM/WebSphere/HTTPServer/icons/"
    <Directory "/opt/IBM/WebSphere/HTTPServer/icons">
        Options Indexes MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

    Hi,
    I would suggest you read the following thread:
    Windows Media Server Did not Accept HTTP or RTSP streams??? 
    http://social.technet.microsoft.com/Forums/en-US/winservermedia/thread/b3f4f8c9-ac36-49e6-adc7-21e744d2e28f
    In addition, please check whether the following blog could help:
    Play "mms" and "rtsp" Streams in Windows Media Player
    Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Thanks,
    Vincent Wang
    TechNet Community Support

  • Photoshop elements organize not resizing window

    Photoshop elements organizer 11 on a Mac 10.8.  I cannot resize program window up/down.

    today had the same problem, go to system preferences and choose screens ...
    change the screen resolution and change again to the highest resolution.  The elements window did resize in such a way that the little right low corner is again visible

  • Menu/Toolbar Display Corruption Upon Resizing Window

    We're experiencing an issue with one of our workstations where when the Adobe Reader X (10.1.3) window is resized, the Menu/Toolbar displays become corrupt and garbled on the screen (see the attached picture). The Toolbar appears on the top, the frame around the application disappears, and the menubar has to be hovered across for items to appear.
    I have uninstalled and reinstalled Adobe Reader, updated the video card drivers, and ensured all Adobe/Microsoft updates have been applied to this workstation.
    Dell Precision T3500
    Intel Xeon W3530 (2.80 GHz)
    6.00GB of Memory
    NVIDIA Quadro FX 580
    Windows 7 Ultimate x64

    Was curious to how you were able to change the display resolution - I am unable to even see anything on my desktop... I have connected my power book to another monitor but have the same result.

  • How can I tell if and how a SWF  file is streaming?

    My department is new to Flash, but we've now been creating
    basic Flash Videos for websites for a few months. We've always
    encoded our videos to FLVs (Flash 8), and then used the Video
    Import Wizard in Flash 8 to import those FLVs into our FLA
    document. We now need to be able to error-check all of our files
    (each video comprised of four files: an HTML file, an FLV file, and
    two SWF files including the player skin) to make sure that
    progressive videos are indeed progressive and streaming videos are
    streaming.
    My process thus far:
    In Flash 8, I brought up the SWF file and opened the Output
    window; from the Debug menu I then selected variables. I was able
    to find the variable "isRTMP:false", which according to the
    documentation seems to mean that the video is progressive, not
    streaming. However, when I authored this FLA file, I know I chose
    the streaming option (FVSS not FCS) in the Video Import Wizard. Am
    I looking in the wrong place? Am I confused about the meaning of
    this variable?
    Bottom line, how do I determine after authoring whether an
    SWF is streaming or progressive, and moreover whether it's been
    authored to use FVSS or FCS?

    I'm sorry, perhaps I was a little unclear. The files are all
    still stored herelocally, since they have not yet been deployed.
    I'm looking for some property of the SWF file (maybe visible
    through Component Inspector?) that will tell me how it has been
    authored. Is there any place in the SWF file itself that contains
    this information (since the files are not yet deployed)?

  • Installed shockwave.....but cant open swf files.....

    Eventhough I have installed shockwave player and flash, I am not able to open swf files. Whenever I double click on the swf file, it tells me that windows cannot open this file and asks me to choose what program I need to open it.
    Any advise please...

    Hi, Flash Player is a browser plugin, not a standalone Player. You may want to reveiw here:
    http://www.adobe.com/support/flashplayer/downloads.html
    Hope that helps,
    eidnolb

  • Creating IPA file with Multiple SWF files using ADT

    Iam successfully able to create ipa files using the ADT package but my next requirement is to create an IPA file with multiple swf files.I think it might be easy if your SWF files are regular the tough part is my swf file has lot of action script in it so the only option is to through the command prompt and using the ADT package of Adobe AIR.So now i have 10 SWF files like this and iam creating ipa file for each swf seperatly but now I want to put all of the swf files into one ipa file.Please let me know if i was not clear in my description

    I think you are trying to explain how to load two swf's one with action
    script and loading an other swf file which should be non action script.If
    you read my requirement carefully.I have all the same type of swf's and
    these swf are automatically created as a form of output for xcelsius dash
    board software.Iam capable of creating individialu ipa files from these swf
    files.So when I try to combine the same kind of swf files the first error
    its giving is the file name which I have used in the xml.in the main file
    name for the swf file its not considering the two swf file name in the
    initial window.so the adt package in the command line is not understanding
    the file name from the xml and the command prompt and giving error this swf
    file does not exist.So please consider how to combine two swf files with AS3
    into one ipa file.These swf files are not editable,Let me know if you find
    any idea to achieve this

  • Creating customised swf files using CF?

    Hi all.
    This is a bit of an integration question.
    Marketing create wonderful swf brochures using InDesign to
    let them have those cool page turning features. They embed urls
    into the document to invite the reader to "click to make a
    booking".
    Fine so far.
    What they have asked me is if there is any way we can
    dynamically build these brochures so that:
    a) clients can build their own and/or
    b) the urls can have some dynamic content
    For the latter, they want sales consultants to be able to
    generate a brochure and send it out and all URLs in that brochure
    will include the consultant ID (for clickback tracking and other
    stuff)
    I could do this easily enough using a PDF and CFDOCUMENT but
    they want the final format to be SWF and to have all those
    page-turner extras.
    Is this even possible at the current state of Adobe
    integration?
    Regards
    Neal

    I think you are trying to explain how to load two swf's one with action
    script and loading an other swf file which should be non action script.If
    you read my requirement carefully.I have all the same type of swf's and
    these swf are automatically created as a form of output for xcelsius dash
    board software.Iam capable of creating individialu ipa files from these swf
    files.So when I try to combine the same kind of swf files the first error
    its giving is the file name which I have used in the xml.in the main file
    name for the swf file its not considering the two swf file name in the
    initial window.so the adt package in the command line is not understanding
    the file name from the xml and the command prompt and giving error this swf
    file does not exist.So please consider how to combine two swf files with AS3
    into one ipa file.These swf files are not editable,Let me know if you find
    any idea to achieve this

  • .swf files dont open in Internet Explorer!

    Well the topic summary says it all.
    It seems that everytime I try to open a webpage with a .swf
    extension (ex.
    http://www.freewebs.com/donjworks/snipe.swf),
    it just shows a white screen with that little symbol (the one with
    the triangle, the circle and the square) in the top left corner.
    Its really annoying.
    Any help in helpful (Well duh!)

    "Donjworks" <[email protected]> wrote in
    message news:e4vuda$dem$[email protected]..
    > Well the topic summary says it all.
    >
    > It seems that everytime I try to open a webpage with a
    .swf extension (ex. <a
    > target=_blank class=ftalternatingbarlinklarge
    > href="
    http://www.freewebs.com/donjworks/snipe.swf">http://www.freewebs.com/donjw
    > orks/snipe.swf</a>
    , it just shows a white screen with that little
    symbol (the
    > one with the triangle, the circle and the square) in the
    top left corner. Its
    > really annoying.
    > Any help in helpful (Well duh!)
    Browsers don't normally open swf files directly, they are
    supposed to load through an html header. Many people put swfs on
    their
    WebPages without the html even though they shouldn't so you
    need to set your file associations so that your browser is told to
    open
    swf files. If you run windows..
    Open Windows Explorer (not Internet Explorer)
    Tools..
    Folder Options..
    File Types..
    Scroll down to SWF
    In the lower box it says what SWFs are supposed to open with.
    If it doesn't say Internet Explorer or Firebox or (your browser)
    then
    you need to click on the 'change' button and select your
    browser from the list. Turn on the check mark for "always open
    with..."
    If it already says your browser name then the browser might
    have it's security settings set too high to view the swf files. (or
    JavaScript turned off)
    tralfaz

  • PowerPoint Hyperlink to swf file

    I'm calling a 384x320 swf file from Powerpoint. When the
    hyperlink is clicked, it opens up the swf file, but it opens it up
    in a maximized window. Is there any code I can add to the address
    that will allow the window to be opened up to the proper size? I
    could possibly do this calling up a browser, but I want to keep it
    simple.

    I did find one workaround that seems to work. I created an
    AutoIt exe file that opens up the exe version of the swf file, and
    then restores the window from its maximized state. It won't run the
    swf file though.

  • Open a URL link in the same window as SWF file in indesign CS5

    Hello,
    I am trying to create a SWF file using indesign CS5.  I have created buttons and placed in URL links but they always open another window.  I would like to know if there is a way to have the URL open in the same window that the SWF file has been created.  I tried, putting "_self" to target it in the URL bar, but nothing works.
    Thanks in advance
    TK

    Okay, I found the code but I can't get it to work locally.  If you have a web server maybe you can upload the files (swf and html) after you Publish them:
    import flash.net.URLRequest;
    import flash.events.MouseEvent;
    var myURL:URLRequest = new URLRequest ("http://www.google.com");
    testlink.addEventListener(MouseEvent.CLICK, clickText);
    function clickText(myevent:MouseEvent):void {
    navigateToURL(myURL, "_self");
    you have to have on the stage a link element called "testlink" (see the code above) which would be a Movie Clip with the label testlink.  It can be anything from InDesign:  a button, a rectangle, a circle, a graphic, you get the idea.  Just select that object in Flash and label it testlink or anything you choose but if you change the name from testlink also change the name in the code snippet where the line "addEventListener" is.

  • ExternalInterface not working when swf file is embed inside a dynamically cloned DIV element.

    ExternalInterface not working when swf file is embed inside a dynamically cloned DIV element.
    It seems that flash movie is identifed as 'undefined' inside document.
    //a statically placed div
    var staticdiv=document.getElementById('PropDiv');
    //dynamically placed div with object tag
    var dynDiv =staticdiv.cloneNode( true );
    var xD=50;
    var yD=50;
    if(dynDiv)
    dynDiv.style.display  = "block";
    dynDiv.innerHTML="<object classid=" + "\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\"" + "codebase=" +
    "\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0\"" + "width=" + xD + "height=" + yD +
    "id=" + "\"external\"" + "align=" + "\"middle\"" + ">" +
                    "<param name=" + "\"allowScriptAccess\"" + "value=" + "\"sameDomain\"" + "/>" +
                    "<param name=" + "\"movie\"" + "value=" + "\"external.swf\"" + "/>" +
                    "<param name=" + "\"quality\"" + "value=" + "\"high\"" + "/>" +
                    "<param name=" + "\"wmode\"" + "value=" + "\"transparent\"" + "/>" +
                    "<param name=" + "\"bgcolor\"" + "value=" + "\"#ffffff\"" + "/>" +
                    "<embed src=" + "\"external.swf\"" + "quality=" + "\"high\"" + "wmode=" + "\"transparent\"" +"bgcolor=" + "\"#ffffff\""
    + "width=" + xD + "height=" + yD + "name=" + "\"external\"" + "align=" + "\"middle\"" + "allowScriptAccess=" + "\"sameDomain\"" +
    "type=" + "\"application/x-shockwave-flash\"" + "pluginspage=" + "\"http://www.macromedia.com/go/getflashplayer\"" + "/>" +
                    "</object>";
       dynDiv.style.top=50;
       dynDiv.style.left=100;
    document.body.appendChild(dynDiv);
    In above situation communication is not establised when a  funtion which is retruning boolean is called from flash using
    ExternalInterfcae.call.The return value of this function is getting as false inside flash.But the value is true in javascript.
    if (navigator.appName.indexOf("Microsoft") != -1) {
       return window[movieName];
      } else {
       return document[movieName];
    window["external"] is returning as 'undefined'.
    Please give a  solution to solve this.

    Note that you have different file names for the object (images/banner.swf) and the embed (images/banner1.swf)
    You also placed the embed in the middle of a param tag and nested all param tags.
    Because you didn't include a MIME type and the object doesn't have a classid for an ActiveX control for IE, I'm not sure what Firefox will be using.<br />
    The object doesn't have a data attribute to specify the file.<br />
    A separate embed is only needed when you specify a classid in the object.
    <pre><nowiki><div class="bannercontainer">
    <object width="940" height="445" type="application/x-shockwave-flash" data="images/banner.swf" >
    <param name="wmode" value="transparent" />
    <param name="movie" value="images/banner.swf" />
    </object>
    </div></nowiki></pre>

  • Firefox 3.6 when I open a SWF file, a wrong mouse click, it show a recursive open window until the PC resource is used up or the system hang up, I try to reinstall firefox but not solved.

    Windows XP SP3, flash player 10.2, Shockwave 11.5.9.240 , when I open a SWF file with firefox 3.6.15, it shows some options to choose action and I made a wrong click. The firefox nightmare is a "open recursive windows" until the system hang. When I use Internet Explorer 8 to open it, it is fine, Try to uninstall firefox and reinstall it, but in vain, how can I restore it?

    You don't have the Shockwave Flash Player installed for Firefox. You may have the ActiveX version installed for IE, but Firefox needs the Plugin version. And Shockwave 11.5.9.240 that is installed for Firefox isn't the same thing.
    1.Download the Flash setup file from here: <br />
    [http://fpdownload.adobe.com/get/flashplayer/current/install_flash_player.exe Adobe Flash - Plugin version]. <br />
    ''Or maybe get the previous '''r102''' version from here. IMO, there's problems with the latest version of Flash.'' <br />
    http://kb2.adobe.com/cps/142/tn_14266.html <br />
    Save it to your Desktop.<br />
    2. Close Firefox using File > Exit <br />
    then check the Task Manager > Processes tab to make sure '''firefox.exe''' is closed, <br />
    {XP: Ctrl+Alt+Del, Vista: Shift+Ctrl+ESC = Processes tab}
    3. Then run the Flash setup file from your Desktop.
    * On Vista and Windows 7 you may need to run the plugin installer as Administrator by starting the installer via the right-click context menu if you do not get an UAC prompt to ask for permission to continue (i.e nothing seems to happen). <br />
    See this: <br />
    [http://vistasupport.mvps.org/run_as_administrator.htm]

Maybe you are looking for

  • Voice Memos no longer syncing with iTunes

    My voice memos used to automatically show in itunes.  Now I can't see them or sync them.  Has something changed?  I have backed up my phone, but I a reluctant to go past the sync step where it says all information on this computer will replace what i

  • PM Notification - Hide fields based on other field's value

    Hello experts, I am looking for an user exit which allows me to hide some fields based on other field's value. For example, I have field 1 and field 2. When I open my notification, if the value of field 2 is 'aaa', field 1 has to be hidden. There sho

  • How to do SUBTOTAL AND TOTAL in Main Window of SAPSCRIPT.

    Hello Friends, I am modifying standard SAPSCRIPT of packing slip. My client wants a subtotal and total in Main Window of Script for Eg. (They want Material Number wise Subtotal and finally Grandtotal at bottom in Main Window) Now i got stucked up her

  • Spry with Flash Video

    Is spry compatible with flash video? I used the Dreamweaver wizard to insert a flash video. I inserted it into a spry region and changed the source of the flash video to be: src="{link}" however, this does not work. I have tried several other javascr

  • Should i put my table in my external style sheet?

    Should i put my table in my external style sheet? if so how do i do this? i'm having serious problems trying to stop my menu bar and header to stop jumping around when a switch pages. I realised i needed to create an external style sheet. however, wh