Centering my swf file

I am looking for the html that will center my swf file and
keep it centered even when the window is resized by the viewer.
I've seen it done to almost every site I've been to, so I think it
should be relatively easy.

This may help you achieve the effect if you are using tables:
http://apptools.com/examples/tableheight.php
Nadia
Adobe® Community Expert : Dreamweaver
CSS Templates |Tutorials |SEO Articles
http://www.DreamweaverResources.com
~ Customisation Service Available ~
http://www.csstemplates.com.au
~ Forum Posting Guidelines ~
http://www.adobe.com/support/forums/guidelines.html
"stephdog" <[email protected]> wrote in
message
news:eus0c4$fkf$[email protected]..
>I am looking for the html that will center my swf file
and keep it centered
> even when the window is resized by the viewer. I've seen
it done to
> almost
> every site I've been to, so I think it should be
relatively easy.
>

Similar Messages

  • Centering a .swf file HELP°!

    When I have created a .flv file with a .html file from Indesign, and i open the .html file. Everything that i made works fine But! the
    flash file ( the actual Site) is always on the Left of the browser. ! I really need some help as i know absolutely 0 html ( thats
    why im using indesign) I dont think its something big! I want the Flash site to be in the Middle of the screen ) Can be allign with
    the top of the browser but it has to be Centered!
    Thanks for the Help!
    Greets
    If this is the Wrong forum I have no Idea where to Look so sry if so I would really be happy about help I really Need this!!!

    Put it in a div, set a class in the css and set the left and right margins to auto.
    Like this:
    .swfcontainer {
    width: xx px; (this should match the width of your swf)
    margin-left: auto;
    margin-right: auto;
    Bob

  • Swf file in different places on different browsers

    Hi,
    new to this web design, but I am getting there (very slowly)
    I have a web page that is live www.chm-berkshire.com but it has an issue on the index page where the swf file is not being centered on each browser i use.
    I can set it up perfectly on my ie web page where the file is centered under the spry bar, when  look at my work PC and the swf file is over to the left, if i use firefox it is even further over to the left
    Is there an easy way to make all browswers see the file in the center of the page?
    any help greatfully recieved, (in as simple terms as possible, as I am hard of thinking:-) )

    Just changing things from position:absolute to position:relative is thrashing, and will usually not help.
    The solution is to do this -
    Change this -
    .oneColElsCtrHdr #container {
         width: 46em;
         margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
         border: 1px solid #000000;
         text-align: left; /* this overrides the text-align: center on the body element. */
         background-color: #FFFFFF;
         background-position: center;
    to this -
    .oneColElsCtrHdr #container {
         width: 46em;
         margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
         border: 1px solid #000000;
         text-align: left; /* this overrides the text-align: center on the body element. */
         background-color: #FFFFFF;
         background-position: center;
            position:relative;
    What this change will do is to change the reference point for all absolutely positioned elements on the page from the upper, left-hand corner of the browser viewport (which is the default reference for AP elements when there is no positioned ancestor), to the location of the centering element div#container.  Now, when that element centers, it will carry all the AP elements along with it.  You will have to reposition each AP element on the page to accommodate this change, but once positioned properly in DW, they will stay in that correct relative location.
    Now - to see what a mess you have made by using AP for all your content - just browse to this page and increase the text size a few ticks in the browser.  Your simple layout goes south in a hurry....
    It's much better to use sound practice methods in building your pages - http://www.apptools.com/pagelayout101.php will show you the way.

  • Re-positioning a swf file in dreamweaver?

    Hi,
    I am Graphic designer currently learning the ropes of webdesign..so this may be a noobish question as i have NO IDEA when it comes to html code...
    I created a design in photoshop and saved my pages, images slices etc in html and opened it in dreamweaver.
    My Problem is... i have a "swf flash slide show file" which i want to re-position roughly in the center of the html page, which for the life of me i cannot do!
    I have tried aligning it center etc...but the swf file only seems to move around the edges of my html page.
    Is it possible for the swf to be centered within my html page.
    Here is the Dreamweaver code I have currently :
    <html>
    <head>
    <title>Natina_Web_12</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <style type="text/css">
    body {
    background-color: #1b1b1b;
    </style>
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    </head>
    <body leftmargin="50" topmargin="50" marginwidth="5" marginheight="5"><!-- ImageReady Slices (Natina_Web_12.psd) -->
    <div align="center">
      <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="800" height="375">
        <param name="movie" value="slide.swf">
        <param name="quality" value="high">
        <param name="wmode" value="opaque">
        <param name="swfversion" value="8.0.35.0">
        <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
        <param name="expressinstall" value="Scripts/expressInstall.swf">
        <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
        <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="slide.swf" width="800" height="375">
          <!--<![endif]-->
          <param name="quality" value="high">
          <param name="wmode" value="opaque">
          <param name="swfversion" value="8.0.35.0">
          <param name="expressinstall" value="Scripts/expressInstall.swf">
          <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
          <div>
            <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
          </div>
          <!--[if !IE]>-->
        </object>
        <!--<![endif]-->
      </object>
      <img src="images/Collections.jpg" alt="" width="1600" height="1100" align="middle"><!-- End ImageReady Slices --></div>
    <script type="text/javascript">
    swfobject.registerObject("FlashID");
    </script>
    </body>
    </html>
    Any HELP would be greatly appreciated
    THANKS

    Complete code below, copy and paste into new Dreamweaver document, and save to your site folder. One point I can't help thinking that at 1600px wide your main image is too wide, most will have to scroll right to see the whole page. I would limited the width to around 980px.
    <!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">
        <head>
        <title>Natina_Web_12</title>
       <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <style type="text/css">
        body {
    background-color: #1b1b1b;
    #main_image {
    background-image: url(images/Collections.jpg);
    background-repeat: no-repeat;
    width: 1600px;
    height: 1100px;
    #flashWrapper {
    width: 800px;
    margin: 0 auto;
    height: 375px;
    margin: 80px 0px 0px 400px; /* top,right,bottom,left */
        </style>
        <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
        </head>
        <body leftmargin="50" topmargin="50" marginwidth="5" marginheight="5"><!-- ImageReady Slices (Natina_Web_12.psd) -->
        <div id="main_image">
        <div id="flashWrapper">
          <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="800" height="375">
            <param name="movie" value="slide.swf">
            <param name="quality" value="high">
            <param name="wmode" value="opaque">
            <param name="swfversion" value="8.0.35.0">
            <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf">
            <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="slide.swf" width="800" height="375">
              <!--<![endif]-->
              <param name="quality" value="high">
              <param name="wmode" value="opaque">
              <param name="swfversion" value="8.0.35.0">
              <param name="expressinstall" value="Scripts/expressInstall.swf">
              <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
              <div>
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.g if" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object>
          </div><!-- end flashWrapper -->
        </div>
        <script type="text/javascript">
        swfobject.registerObject("FlashID");
        </script>
        </body>
        </html>

  • Can a swf file begin executing code before loading completely?

    I have a swf file with a preloader on the stage at authoring
    time. The preloader centers itself by retrieving the stage
    dimensions and calculating the coordinates it needs.
    This works everytime in Flash preview, but once I put it
    online it only works sometimes, mostly after I refresh the page.
    The stage width and height it seems, are considered = 0 when this
    happens and so my preloader doesn't position itself correctly.
    The only reason I can determine for this error is that when
    the code begins to execute the swf is not fully loaded, and thus it
    gets wrong stage dimensions. I have exported the swf file to have
    100% width and heigth, don't know if there are known issues with
    this mode of publishing.
    Any help on this matter is appreciated, thanks in
    advance.

    Hi Tim,
    This idea offers some interesting possibilities. (Thank you.)
    I'll have play with it to see if I can make it meet our needs.
    I'm worried that the caption would be forced inside of the
    perimeter of the movie, instead of outside next to the playback
    controls.
    If there was a way to get the timer to line up with the
    playback controls outside of the Captivate 4 movie, that would be
    ideal. Here is a
    Snapshot
    of what we are trying to re-create in CP4.
    - Tom -

  • Horizontally centering flash .swf" and disallowing horizontal scroll??

    Is it possible to center a flash .swf file on a website, and then disable horizontal scrolling?
    I made my website in Flash Catalyst, and I made the width 1700px and the height 1200px. I made the width large because I wanted it to look good in the largest screen resolutions, but my biggest problem now that I've finished making the website is putting it up. Simply embedding it makes it scroll horizontally all the way to 1700px, which isn't good for those with small browsers.
    Originally, I was planning on making the flash file the background in CSS (using body {background: url(FILE.swf) no-repeat #000 top center}) but then I found out you can't put .swf's as backgrounds.
    Basically, I want to know if it's possible to center the .swf horizontally, and then disallow horizontal scrolling. I want to keep vertical scrolling,
    Any help appreciated!

    Is it possible to center a flash .swf file on a website, and then disable horizontal scrolling?
    Yes, but it introduces other problems. With scrolling disabled, you might not be able to see all the page. I DO NOT recommend what you are trying to do. Flash scaling would most likely give you better results.
    Background images if intended to cover a large area are typically very small images which are repeated to create a pattern. Using one large image will still never cover all the possible screen resolutions or page sizes... for example larger than 1700 or taller than 1200 pixels.
    Centering requires a set dimension, like 1700 so auto set margins would center it, but it still may not cover 100% as using a width of 100% would.
    That being said, turn off horizontal scroll and leave vert on with:
    overflow-y: auto !important;
    overflow-x: hidden !important
    then you'll need to use z-indexing to lay anything else over the top of you background .swf
    Here a sample page that should get you going... dimensions are smaller so you can see how it works... the principle is the same.
    <!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">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>No Scroll</title>
    <style type="text/css">
    <!--
    body, html {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    overflow-y: auto !important;
    overflow-x: hidden !important
    #main_container {
    position: relative;
    width: 800px;
    height:800px;
    background-color:#ff0000;
    border:none;
    padding: 0px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    #flash {
    position: relative;
    width: 800px;
    height:600px;
    background-color:#cccccc;
    border:none;
    padding: 0px;
    margin-left: auto;
    margin-right: auto;
    z-index: 2;
    #content {
    position: relative;
    top:-600px;
    width: 400px;
    height:300px;
    background-color:#00ff00;
    border:none;
    padding: 0px;
    margin-left: auto;
    margin-right: auto;
    overflow: auto;
    z-index: 5;
    -->
    </style>
    </head>
    <body>
    <div id="main_container">
    <div id="flash">
      <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="800" height="600" id="overflow" align="middle">
      <param name="allowScriptAccess" value="sameDomain" />
      <param name="movie" value="overflow.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffff00" /><embed src="overflow.swf" quality="high" bgcolor="#ffff00" width="800" height="600" name="overflow" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
      </object>
    </div>
    <div id="content">
    <p align="center">This is the center</p>
    </div>
    </div>
    </body>
    </html>
    Best of luck!
    Adninjastrator

  • [HELP] Centering External SWF

    I've read dozens of post on this forum as to how to do this, But I cannot get my own to work. I am loading an external swf file into an empty movieclip. I would like the external swf to be centered initially, and after page resize. Can someone PLZ assist me with this!!????
    import flash.ui.Mouse;
    import flash.events.Event;
    import caurina.transitions.Tweener;
    import gs.TweenLite;
    import gs.*;
    import gs.easing.*;
    import net.stevensacks.preloaders.CircleSlicePreloader;  //Steven Sacks preloader
    var preloader:CircleSlicePreloader = new CircleSlicePreloader(); //Steven Sacks preloader
    //////////////////// STAGE ALIGN ALL MC /////////////////////
    stage.align = StageAlign.TOP_LEFT;     
    stage.scaleMode = StageScaleMode.NO_SCALE;
    stage.addEventListener(Event.RESIZE, onResize);
    function onResize (evt:Event = null) {
    downbg_mc.x = 0;
    downbg_mc.y = stage.stageHeight;
    downbg_mc.width = stage.stageWidth;
    copyright_mc.x = stage.stageWidth/2;
    copyright_mc.y = stage.stageHeight - downbg_mc.height/2 + copyright_mc.height/2;
    preloader.x = stage.stageWidth * 0.5;
    preloader.y = stage.stageHeight * 0.5;
    loaderMC.x = (stage.stageWidth - loaderMC.width) * 0.5;
    loaderMC.y = (stage.stageHeight - loaderMC.height) * 0.5;
    backgroundMC.x = 0;
    backgroundMC.y = 0;
    backgroundMC.width = stage.stageWidth;
    backgroundMC.height = stage.stageHeight;
    btn1_mc.y = btn2_mc.y = btn3_mc.y = btn4_mc.y = 7;
    }  // END onResize
    onResize(new Event(Event.RESIZE));
    ///////////////// END stage align ////////////////////
    addChild(loaderMC);
    function onComplete(event:Event):void {
       if(contains(preloader))removeChild(preloader);          
                TweenLite.to(loaderMC, 1.5, {alpha:1.0, delay:0.0, onCompleteParams:[1.0, loaderMC]});
            loaderMC.x = (stage.stageWidth - loaderMC.content.width) * 0.5;
                loaderMC.y = (stage.stageHeight - loaderMC.content.height) * 0.5;
       addChild(downbg_mc);
       addChild(copyright_mc);
       addChild(btn1_mc);
       addChild(btn2_mc);
       addChild(btn3_mc);
       addChild(btn4_mc);
       addChild(scroller);
       addChild(backgroundMC);
    } // END onComplete

    what's loaderMC?  and TweenLite isn't going to do anything with those oncompleteparams because there's no oncomplete function.

  • Continued/ linking .swf file to Dreamweaver

    Hi ,
    All I need is to link my swf file to a link in my HTML page,
    the swf file has its own control buttons created in Captivate that
    I need them to be shown in the swf file ratherthan new ones! and I
    need all this to be shown as a smaller window in the middle of the
    screen where the user can maximise and minimise the way he wants?
    so
    I have linked my link to HTML ( which is called Harmony.htm)
    file atht has the published .swf file in it but I have these
    problems:-
    1- Once I click on the link the new HTML page is opened but
    with this warning:
    " Adobe Flash player has stopped a potentially unsafe
    operation, the following local application on your computer or
    network :
    C:\..........\ Harmony_skin.swf is trying to communicate
    withthis internet enabled location
    c:\.......\Harmony.htm
    to let this press ok ..."
    I don't want this warning to appear for my users? how to get
    rid of it ? or it is normal to have it on the internet I don't
    know?
    2- the Harmony_skin.swf is the actual movie I have implement
    in Captivate which has the control buttons and the colsed
    captioning in the middle bottom of the window which I want them to
    appear, but when I publish it with the html file (Harmony.html)
    they don't appear and for other swf files they appear slightly how
    to make them appear? does thim mean I have to control the position
    of the swf file in the HTML file ? how to do that?
    3- I have seen this link sent to me by steve
    http://javascript.about.com/library/blpopup10.htm
    But I was not able to understand very well o to do that, I
    mean how to control the position of the html window as I am very
    new to HTMl and I am not very well practised can you help me in
    that pleas?
    Attached is my code and when you see the comment <!--here
    please--> it is the link I am talking about.
    Appreciate your help

    So you want your custom HTML page to open the Captivate movie
    in a new window that's centered with the normal browser buttons?
    If so, the "centered" part is a bit tricky. There's no way to
    determine the exact height of the screen since the browser does not
    know how the user's Windows Taskbar is displaying (hidden, one row
    high, two rows high, etc). I always take an arbitrary 64 pixels off
    the height just in case it's set to 2 rows high.
    A suggestion would be to start with the example shown at
    bottom, using the following as a reference for what each parameter
    in the window.open() method does:
    window.open()
    Reference at MSDN
    Also, you should NOT use spaces in any of your file and
    folder names... that can be a problem in some cases.
    Cheers,
    John

  • Can't center SWF file

    Hello-
    For some reason I can't get my swf file to be centered when I preview in my browsers. When I open the SWF file by istelf, it fills the screen (which is what I would like). However, when I insert it in Dreamweaver and open a browser, it remains a constant size and is on the left of the screen. In the properties panel I've changed the align to middle and absolute middle and it seems to have no affect.  Any thoughts?

    You'll need to give your division a width, too.  And possibly text-align: center for older browser.
    CSS:
    #SWF {
         width: 700px;
         margin: 0 auto; /**centers div**/
         text-align: center;
    HTML:
    <div id="SWF">
    <!--begin Flash code-->
    <!--end Flash code-->
    </div>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • Re-sizing flash (.SWF) file in Dreamweaver?

    Hi there,
    I was wondering if their is a way to actually re-size a .swf in Dreamweaver. When my site is published online it takes approx 1 minute to load the first page. Stupid question but this is my first flash web site, so please bare with me. When uploading my website in Dreamweaver, do I only upload the .html file to the server or I upload everything, including the .swf and the fla (which are the two big files)? For some reason, there is something making my page slow to load and it's very ugly as for 1 minute the user sees a blank white page with Dreamweavers pre-loader.
    Thanks

    ok , so if I understand correctly...copy/paste my index.swf file only to my dreamweaver folder, nothing else? All my files (index.swf and index.fla, index.html are on my desktop in a folder and my content such as scripts generated by flash and my images are in a subfolder in that folder on my desktop.
    Sorry, I am slow to understand loll
    Ok so here is my website, even after adding background color to the body, still see white when it loads. I have high speed internet, I can only imagine those who don't. How to fix that?
    Other issue... my "shop" button. It seems to work fine, but if I test it out a couple of times, then it will give me an error message that it can't access the external link but no wonder it can't, for some reason it adds an http:http:// twice in the browser. In my case, being http:http://www.etsy.com/shop/natdzign. Huh?? Oh and how can I actually center it so it keeps it centered no matter the size of your monitor? I just realized my website isn't centered. Damn!!!
    Keep in mind that when looking at my website, this is my first flash website. I've made html/css websites before however.
    www.natdzign.ca
    NOTE: For now it works, until I decide to play around with it again, either you will see a under construction page or a error 404 hehe.

  • I item remaining in i.e. - swf files "a toughy though"

    HI all hope your all good. Bit of a toughy for u to get your
    heads round. (its a little long but its a tester for u real
    webmasters)
    i.explorer. active x controls - swf files load but the i.e
    browser still says 1 item remaining. cause <object> tags. My
    site has an email form that uses php to send to a mail server. this
    works fine on all browsers except i.e. due to the fact it can't
    excercute due to the page has not fully loaded.
    SO
    Use deconcept swf object, I hear you all cry.
    Problem being is this.
    My site is based in flash. In flash it has a stage width of
    430 x 430pixels. But the file has an actual area of 1482 x 1482
    pixels (this is for background image and any imported swf files
    bigger than 430x430). Then the swf file is then put into a html
    page with a a setting of center, WIDTH="100%" HEIGHT="100%". SO the
    browser always centres the swf and no matter how big the browser is
    made displays all the flash. for example your browser is 1024 x 768
    you will see the swf stage 430x430 but also all the background
    detail which will fill the remaing browser space, giving the site
    greater impact.
    Then i use the i.e update to stop active x sillyness.
    "<script type="text/javascript" src="
    http://www.uyrproduction.com/ieupdate.js"></script>"
    But this doesn't stop the 1 item remaining bug. (give me
    strength)
    So swfobject is the all browser answer to all my problems.
    but unforunately when set to w100% h100% (as below)
    <script type="text/javascript">
    var so = new SWFObject("mysite:-).swf", "A pint to the man
    who can solve this "100%", "100%", "6", "#000000");
    so.addParam("quality", "high");
    so.addParam("wmode", "transparent");
    so.write("flashcontent");
    </script>
    it only displays the 430 x 430 flash stage and not all the
    background info as mentioned before. I've put the setting to the
    actual pixel size i.e.
    var so = new SWFObject("mysite:-).swf", "A pint to the man
    who can solve this "1482", "1482", "6", "#000000");
    alas, this the right size but not centered and has scoll
    bars, boo. tried all sort of java script to sort it out but to no
    luck.
    the person who can help will be in my good books for ever
    more.
    Cheers
    Bob

    > Please check the root site
    > URL." This happens whenever I click TEST for the site
    root URL in the site
    > preferences under Contribute.
    and what is entered for the site root url, and is that
    correct?
    It should be the url to the site, such as
    http://www.example.com/
    or
    http://www.example.com/mysiteisinasubfolder/
    If you let contribute or dw "guess" at this, it can often get
    it wrong,
    because it will go with the combination of the ftp address
    and the host
    directory entry. So it will try something like
    http://
    nameofyourhostingbox.yourhost.com/public_html/
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Unable to play audio stream in a swf file

    Making a swf file that reacts like a button: it plays sound
    when you pass over it. Or should play. When the button keyframes
    sound options are set to "start" or "event", there is no problem,
    it works well. But it doesn't work if I set to "stream". My
    original file is an mp3. Is there something special avout it? Help
    tutorials didn't help me so far...

    With "stream" you have to make sure there are enough frames
    in the movie to play the whole sound file. Try adding some frames
    and see if it plays then.

  • IE running under XP can't handle multiple SWF files, Why?

    I noticed that IE 8 running under Windows XP cannot handle multiple swf files in one page.
    Up to about 10 files is no problem they are loaded and we can play them ( buttons that start a small audio file).
    But more of these files in one page will stop IE.
    Firefox ( 3.6.28) runs them fine.
    And also IE 8 and/or Firefox under Windows 7 handles them perfectly.
    Has anyone any idea what can cause this and how to resolve this?
    Thanks,
    Onno Tomson
    The Netherlands

    Sorry...I still don't get it. What is it about Windows FUS that keeps iTunes from running running the process twice? It can run many other non-Apple windows apps in multiple user sessions (commercial apps, open source apps, audio/video apps, networked apps). I can even run two different virtual machines at the same time under two different user sessions.
    Why can iTunesHelper.exe run twice but iTunes.exe cannot? Why can I run Safari at the same time? Quicktime Player runs fine under multiple user sessions.
    Blaming it on Windows and/or FUS sounds like FUD. Can anyone give a valid technical reason? Semaphores? Mutexes? An admission (and explanation) that the Windows version is purposely crippled?

  • How do I edit a .swf file in edge animate? How do I save it as a swf file?

    Hello, I need to edit the actionscript in a swf animation file. How do you do that with Edge animate?

    There is no such workflow for swf files.
    Edge animate only understands html, javascript. SWF files are alien to it.
    You should be using Flash Professional CC, for generating the swf files.
    hth,
    Vivekuma

  • How do I script SWF files instead of JPG files in XML loader?

    I have a SWF loader (greensock.com platform) and a thumbnail image scroll underneath it made of small image buttons. Each image button has a link which loads a new SWF file into the SWF loader above. Here is the code for each button which loads the bigger SWF file into the loader above:
    Button3.addEventListener(MouseEvent.CLICK, Button3_PlayPopUp);
    function Button3_PlayPopUp(event:MouseEvent): void {
        //setting the sourceVar
        sourceVar="3.swf";
        //making the SWFLoader load
        //as setting the soureVar after the SWFLoader is created won't do anything unlesss
        //I also re-create the SWFLoader with the new sourceVar when the button is clicked
        loader_howToLoader2.url = sourceVar;
        loader_howToLoader2.load(true);
    Then I decided to load all button via XML loader. I followed the tutorial on XML loaders which deals with loading jpg images and assigning URL links to them in the following manner first in XML file:
    <image src="appThmb_imgs/appThmb_imgs117x175/A-illuminatorUpLit_117x175.jpg" title="UpDownGlowingVase" url="http://www.888acolyte.com"/>
    and then in AS3 like this:
    var xmlLoader:URLLoader = new URLLoader();
    thisOne.link = imageList[item].attribute("url");
    function clickScrollerItem(e:MouseEvent):void {
    //trace("clicked item " + e.currentTarget.itemNum + " - visit url: " + e.currentTarget.link);
    var urlRequest:URLRequest = new URLRequest(e.currentTarget.link);
    try {
    navigateToURL(urlRequest);
    catch (e:Error) {
    // handle error here
    trace(e);
    My question is: How do I apply the code to each individual small thumbnail button to load a bigger image into the SWF loader above? Do I have to add something to XML file or this way it will never work with jpg images? Can url in XML file set the source var (//setting the sourceVar), since they are all individual and then somehow apply the making SWL loader to load part (//making the SWFLoader load) as a standard somewhere in the AS3 code?

    O.K. Here is my COMPLETE function.
    xmlLoader.addEventListener(Event.COMPLETE, LoadXML);
    function LoadXML(e:Event):void {
        trace("xml load complete");
        xmlData = new XML(e.target.data);
        //trace(xmlData.image); //we'll see each image xml element listed in the output panel with this xmlList
        buildScroller(xmlData.image); //rather than trace the xmlList, we send it to our buildScroller function
    //build scroller from xml
    function buildScroller(imageList:XMLList):void{
        trace("build Scroller");
        //var scroller_x:int=0;
        for (var item:uint = 0; item<imageList.length();item++) {
            var thisOne:MovieClip = new MovieClip();
            //thisOne.img_width=imageList[item].attribute("width");
            //outline
            var blackBox:Sprite = new Sprite();
            blackBox.graphics.beginFill(0xFFFFFF);
            blackBox.graphics.drawRect(-1, -1, 86, 128);//-1,-1 places rectangle 1px left and up.86, 128 draws rectangle 1px wider on all sides of placed image dimenstions of 84x126
            thisOne.addChild(blackBox);
            //scroller_x += thisOne.img_width + 20;
            //var currentX = currentImageWidth+spaceBetween;//modified line to adjust variable thumb widths
            thisOne.x = (84 + padding) *item;//84 is the width of the loaded images and 15 (which was before paddign var) is the padding
            //thisOne.x = scroller_x;//modified line to adjust variable thumb widths
            thisOne.itemNum = item;
            thisOne.title = imageList[item].attribute("title");
            thisOne.link = imageList[item].attribute("url");
            thisOne.src = imageList[item].attribute("src");
            thisOne.alpha = 0;//makes all thumb images at alpha=0 before they are fully loaded
            //trace(thisOne.itemNum, thisOne.title, thisOne.link, thisOne.src);
            //Loading and Adding the Images
            //image container
            var thisThumb:MovieClip = new MovieClip();
            //add image
            var ldr:Loader = new Loader();
            //var url:String = imageList[item].attribute("src");
            var urlReq:URLRequest = new URLRequest(thisOne.src);
            trace("loading thumbnail "+item+" into Scroller: " + thisOne.src);//url
            ldr.load(urlReq);
            //assign event listeners for Loader
            ldr.contentLoaderInfo.addEventListener(Event.COMPLETE,completeHandler);//tells us when the loading is complete
            ldr.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);//tells us if there are any typo errors when the loading is complete
            thisThumb.addChild(ldr);
            thisOne.addChild(thisThumb);
            //create listeners for this thumb
            thisOne.buttonMode = true;//makes boxes act as buttons
            thisOne.addEventListener(MouseEvent.CLICK, clickScrollerItem);//makes boxes act as buttons
            thisOne.addEventListener(MouseEvent.MOUSE_OVER, overScrollerItem);//traces the title when the mouse is over the bounding box in the Output Panel
            thisOne.addEventListener(MouseEvent.MOUSE_OUT, outScrollerItem);//traces the title when the mouse is out the bounding box in the Output Panel
            //add item
            scroller.addChild(thisOne);
    But I am not sure if I expressed myself clearly. All what you have indicated happens. Images are being loaded and url strings are working. I can not figure out how to tweek the code so instead of url specified in xml file I can load swf image into the SWF loader on the same screen?

Maybe you are looking for

  • Transparent smoke text after effects CS5.5

    Hello all, Need some help here.  I'm sure this has been asked but as you search there's a million posts that come up and to read through all is, lets just say time consuming.  I wish I had more time to learn AE but I've been working with tutorials un

  • EJB 3.0 and Spring

    Hi I have created a new EJB 3.0 project using NetBeans that I am deploying to Sun Application Server 9.1. I would like to use Spring with this project. I have used Spring in the past with Web Applications and know how to configure Spring to load the

  • Material Master tax Category Issue

    Hi all, I have some doubt in Material Master sales view. I want to know the Database Table name in which the field Tax Category (TATYP) and tax classification(TAXKN) stored. I know that these tables are stored in the stucture during creation of mater

  • Legacy CS3 will not load on MAC Air, (Lion 10.7)

    CS 3 fails to install on a new MAC Air. Set stalls after initial screen. What's going on? Thanks

  • Auto approval process in workflow

    Hi, We are implementing customized workflow with approval/rejection process There should be a auto approval process when agent does not complete task within 3 days. When the approval is done then we are sending emails and performing some actions. Whe