.swf in ebook browser

Hi there,
I want to stream .swf files from my server into the window of
my ebook. When I test it in my regular browsers, it works fine.
However, when I compile the ebook and try to view the videos from
within the ebook's window, it won't play. I know the ebook software
supports .swf because the company itself suggested I do what I'm
doing.
I have all of the files in one directory on my host's server.
When I compile the e-book, are there certain files that should be
in its root? Here are all of the filenames I have:
test_nofp_bg.gif
test.html
test.swf
test_controller.swf
test_preload.swf
test,js
swfobject.js
test_config.xml
productioninfo.xml
Thanks for any help you can provide.

cybersha,
Your Flash player is most likely embedded in or directly
associated with Internet Explorer. Your file is still running in
the Flash player, it is just doing so through Internet Explorer.
Darin

Similar Messages

  • Swf previews in browser and doesn't work on server after upgrade from cs3 to cs5

         I have upgraded from CS3 to CS5. My site uses a template created in dreamweaver 8.  When I edit a page and embed a .swf file created in flash cs5, it doesn't work on my server, but works on my computer when I 'test in browser'.  I have uploaded all the files in the 'scripts' directory.  I am streaming video.  I have tried using both actionscript 2.0 and 3.0 and streaming .flv and .f4v.  None work.
    I have a big site and do not wan't to redo my template unless I absolutely have to.
    Here is the link:
    http://retinavitreous.com/educationalvideo2010/clips/intro_eyesees.html
    Here is the code on my page:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!-- saved from url=(0014)about:internet -->
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/mainnopop.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>video vitrectomy for macular hole re-operation ilm peel</title>
    <!-- InstanceEndEditable -->
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <style type="text/css">
    td img {display: block;}body {
    background-color: #0000FF;
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    a:link {
    color: #FFFF00;
    a:visited {
    color: #00FFFF;
    a:hover {
    color: #FFFFFF;
    a:active {
    color: #99CC00;
    #main {
    position:absolute;
    width:579px;
    height:815px;
    z-index:1;
    left: 168px;
    top: 96px;
    #right {
    position:absolute;
    width:238px;
    height:817px;
    z-index:2;
    left: 792px;
    top: 98px;
    </style>
    <!--Fireworks 8 Dreamweaver 8 target.  Created Tue May 26 14:59:01 GMT-0400 (Eastern Daylight Time) 2009-->
    <script language="JavaScript1.2" type="text/javascript">
    <!--
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    //-->
    </script>
    <!-- InstanceBeginEditable name="head" -->
    <script src="../../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    <script src="../../Scripts/swfobject_modified.js" type="text/javascript"></script>
    <!-- InstanceEndEditable -->
    <link href="../../css/yellowblue.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    body,td,th {
    color: #FFFBF0;
    -->
    </style></head>
    <body bgcolor="#ffffff" onload="MM_preloadImages('../../Templates/tempanimation/temp_animation_r1_c1_f2.gif','../ ../Templates/tempanimation/tempanimation_r1_c1_f2.gif','../../Templates/tempanimation/temp _animation_r1_c2_f2.gif','../../Templates/tempanimation/tempanimation_r1_c2_f2.gif','../.. /Templates/tempanimation/temp_animation_r1_c4_f2.gif','../../Templates/tempanimation/tempa nimation_r1_c4_f2.gif','../../Templates/tempanimation/temp_animation_r1_c5_f2.gif','../../ Templates/tempanimation/tempanimation_r1_c5_f2.gif','../../Templates/tempanimation/temp_an imation_r1_c7_f2.gif','../../Templates/tempanimation/tempanimation_r1_c7_f2.gif','../../Te mplates/tempanimation/temp_animation_r1_c8_f2.gif','../../Templates/tempanimation/tempanim ation_r1_c8_f2.gif','../../Templates/tempanimation/temp_animation_r2_c6_f2.gif','../../Tem plates/tempanimation/tempanimation_r2_c6_f2.gif','../../Templates/tempanimation/temp_anima tion_r4_c1_f2.gif','../../Templates/tempanimation/tempanimation_r4_c1_f2.gif','../../Templ ates/tempanimation/temp_animation_r5_c1_f2.gif','../../Templates/tempanimation/tempanimati on_r5_c1_f2.gif','../../Templates/tempanimation/temp_animation_r6_c1_f2.gif','../../Templa tes/tempanimation/tempanimation_r6_c1_f2.gif','../../Templates/tempanimation/temp_animatio n_r7_c1_f2.gif','../../Templates/tempanimation/tempanimation_r7_c1_f2.gif','../../Template s/tempanimation/temp_animation_r8_c1_f2.gif','../../Templates/tempanimation/tempanimation_ r8_c1_f2.gif','../../Templates/tempanimation/temp_animation_r9_c1_f2.gif','../../Templates /tempanimation/tempanimation_r9_c1_f2.gif','../../Templates/tempanimation/temp_animation_r 11_c1_f2.gif','../../Templates/tempanimation/tempanimation_r11_c1_f2.gif')">
    <table border="0" cellpadding="0" cellspacing="0" width="1440">
    <!-- fwtable fwsrc="tempanimation.png" fwbase="tempanimation.gif" fwstyle="Dreamweaver" fwdocid = "41244840" fwnested="0" -->
      <tr>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="99" height="1" border="0" alt="" /></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="68" height="1" border="0" alt="" /></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="14" height="1" border="0" alt="" /></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="85" height="1" border="0" alt="" /></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="121" height="1" border="0" alt="" /></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="114" height="1" border="0" alt="" /></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="160" height="1" border="0" alt="" /></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="163" height="1" border="0" alt="" /></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="616" height="1" border="0" alt="" /></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="1" height="1" border="0" alt="" /></td>
      </tr>
      <tr>
       <td rowspan="2"><a href="../../index.php" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('tempanimation_r1_c1','','../../Templates/tempanimation/temp_an imation_r1_c1_f2.gif','tempanimation_r1_c1','','../../Templates/tempanimation/tempanimatio n_r1_c1_f2.gif',1)"><img name="tempanimation_r1_c1" src="../../Templates/tempanimation/tempanimation_r1_c1.gif" width="99" height="24" border="0" id="tempanimation_r1_c1" alt="" /></a></td>
       <td rowspan="2" colspan="2"><a href="../../ouroffices/alloffices.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('tempanimation_r1_c2','','../../Templates/tempanimation/temp_an imation_r1_c2_f2.gif','tempanimation_r1_c2','','../../Templates/tempanimation/tempanimatio n_r1_c2_f2.gif',1)"><img name="tempanimation_r1_c2" src="../../Templates/tempanimation/tempanimation_r1_c2.gif" width="82" height="24" border="0" id="tempanimation_r1_c2" alt="" /></a></td>
       <td rowspan="2"><a href="../../patientinfo/forms.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('tempanimation_r1_c4','','../../Templates/tempanimation/temp_an imation_r1_c4_f2.gif','tempanimation_r1_c4','','../../Templates/tempanimation/tempanimatio n_r1_c4_f2.gif',1)"><img name="tempanimation_r1_c4" src="../../Templates/tempanimation/tempanimation_r1_c4.gif" width="85" height="24" border="0" id="tempanimation_r1_c4" alt="" /></a></td>
       <td rowspan="2"><a href="../../treatments/overviewtreatments.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('tempanimation_r1_c5','','../../Templates/tempanimation/temp_an imation_r1_c5_f2.gif','tempanimation_r1_c5','','../../Templates/tempanimation/tempanimatio n_r1_c5_f2.gif',1)"><img name="tempanimation_r1_c5" src="../../Templates/tempanimation/tempanimation_r1_c5.gif" width="121" height="24" border="0" id="tempanimation_r1_c5" alt="" /></a></td>
       <td><img name="tempanimation_r1_c6" src="../../Templates/tempanimation/tempanimation_r1_c6.gif" width="114" height="1" border="0" id="tempanimation_r1_c6" alt="" /></td>
       <td rowspan="2"><a href="../../video files/videostart.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('tempanimation_r1_c7','','../../Templates/tempanimation/temp_an imation_r1_c7_f2.gif','tempanimation_r1_c7','','../../Templates/tempanimation/tempanimatio n_r1_c7_f2.gif',1)"><img name="tempanimation_r1_c7" src="../../Templates/tempanimation/tempanimation_r1_c7.gif" width="160" height="24" border="0" id="tempanimation_r1_c7" alt="" /></a></td>
       <td rowspan="2"><a href="../../flash/animations/overview_animations.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('tempanimation_r1_c8','','../../Templates/tempanimation/temp_an imation_r1_c8_f2.gif','tempanimation_r1_c8','','../../Templates/tempanimation/tempanimatio n_r1_c8_f2.gif',1)"><img name="tempanimation_r1_c8" src="../../Templates/tempanimation/tempanimation_r1_c8.gif" width="163" height="24" border="0" id="tempanimation_r1_c8" alt="" /></a></td>
       <td><img name="tempanimation_r1_c9" src="../../Templates/tempanimation/tempanimation_r1_c9.gif" width="616" height="1" border="0" id="tempanimation_r1_c9" alt="" /></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="1" height="1" border="0" alt="" /></td>
      </tr>
      <tr>
       <td><a href="../../patientinfo/insurancepar.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('tempanimation_r2_c6','','../../Templates/tempanimation/temp_an imation_r2_c6_f2.gif','tempanimation_r2_c6','','../../Templates/tempanimation/tempanimatio n_r2_c6_f2.gif',1)"><img name="tempanimation_r2_c6" src="../../Templates/tempanimation/tempanimation_r2_c6.gif" width="114" height="23" border="0" id="tempanimation_r2_c6" alt="" /></a></td>
       <td><img name="tempanimation_r2_c9" src="../../Templates/tempanimation/tempanimation_r2_c9.gif" width="616" height="23" border="0" id="tempanimation_r2_c9" alt="" /></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="1" height="23" border="0" alt="" /></td>
      </tr>
      <tr>
       <td colspan="9"><img name="tempanimation_r3_c1" src="../../Templates/tempanimation/tempanimation_r3_c1.gif" width="1440" height="69" border="0" id="tempanimation_r3_c1" alt="" /></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="1" height="69" border="0" alt="" /></td>
      </tr>
      <tr>
       <td colspan="2"><a href="../../patientinfo/overview_patientinfo.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('tempanimation_r4_c1','','../../Templates/tempanimation/temp_an imation_r4_c1_f2.gif','tempanimation_r4_c1','','../../Templates/tempanimation/tempanimatio n_r4_c1_f2.gif',1)"><img name="tempanimation_r4_c1" src="../../Templates/tempanimation/tempanimation_r4_c1.gif" width="167" height="30" border="0" id="tempanimation_r4_c1" alt="" /></a></td>
       <td rowspan="9" colspan="7"                  ><div id="main"><!-- InstanceBeginEditable name="main" -->
         <h2 align="center">How the Eye Sees Animation
         </h2>
         <p align="center">
           <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="874" height="520" id="FlashID" title="eye sees">
             <param name="movie" value="eyeseesas2.swf" />
             <param name="quality" value="high" />
             <param name="wmode" value="opaque" />
             <param name="swfversion" value="6.0.65.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="eyeseesas2.swf" width="874" height="520">
               <!--<![endif]-->
               <param name="quality" value="high" />
               <param name="wmode" value="opaque" />
               <param name="swfversion" value="6.0.65.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>
         </p>
       <!-- InstanceEndEditable --></div>
        <div id="right"><!-- InstanceBeginEditable name="right" -->
          <p> </p>
          <script type="text/javascript">
    swfobject.registerObject("FlashID");
          </script>
        <!-- InstanceEndEditable --></div></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="1" height="30" border="0" alt="" /></td>
      </tr>
      <tr>
       <td colspan="2"><a href="../../diseases/overview_diseases.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('tempanimation_r5_c1','','../../Templates/tempanimation/temp_an imation_r5_c1_f2.gif','tempanimation_r5_c1','','../../Templates/tempanimation/tempanimatio n_r5_c1_f2.gif',1)"><img name="tempanimation_r5_c1" src="../../Templates/tempanimation/tempanimation_r5_c1.gif" width="167" height="33" border="0" id="tempanimation_r5_c1" alt="" /></a></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="1" height="33" border="0" alt="" /></td>
      </tr>
      <tr>
       <td colspan="2"><a href="../../refdoc/overview_refdoc.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('tempanimation_r6_c1','','../../Templates/tempanimation/temp_an imation_r6_c1_f2.gif','tempanimation_r6_c1','','../../Templates/tempanimation/tempanimatio n_r6_c1_f2.gif',1)"><img name="tempanimation_r6_c1" src="../../Templates/tempanimation/tempanimation_r6_c1.gif" width="167" height="32" border="0" id="tempanimation_r6_c1" alt="" /></a></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="1" height="32" border="0" alt="" /></td>
      </tr>
      <tr>
       <td colspan="2"><a href="../../ourdocs/alldocs.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('tempanimation_r7_c1','','../../Templates/tempanimation/temp_an imation_r7_c1_f2.gif','tempanimation_r7_c1','','../../Templates/tempanimation/tempanimatio n_r7_c1_f2.gif',1)"><img name="tempanimation_r7_c1" src="../../Templates/tempanimation/tempanimation_r7_c1.gif" width="167" height="31" border="0" id="tempanimation_r7_c1" alt="" /></a></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="1" height="31" border="0" alt="" /></td>
      </tr>
      <tr>
       <td colspan="2"><a href="../../ouroffices/alloffices.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('tempanimation_r8_c1','','../../Templates/tempanimation/temp_an imation_r8_c1_f2.gif','tempanimation_r8_c1','','../../Templates/tempanimation/tempanimatio n_r8_c1_f2.gif',1)"><img name="tempanimation_r8_c1" src="../../Templates/tempanimation/tempanimation_r8_c1.gif" width="167" height="31" border="0" id="tempanimation_r8_c1" alt="" /></a></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="1" height="31" border="0" alt="" /></td>
      </tr>
      <tr>
       <td colspan="2"><a href="../../contactus/contacthome.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('tempanimation_r9_c1','','../../Templates/tempanimation/temp_an imation_r9_c1_f2.gif','tempanimation_r9_c1','','../../Templates/tempanimation/tempanimatio n_r9_c1_f2.gif',1)"><img name="tempanimation_r9_c1" src="../../Templates/tempanimation/tempanimation_r9_c1.gif" width="167" height="32" border="0" id="tempanimation_r9_c1" alt="" /></a></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="1" height="32" border="0" alt="" /></td>
      </tr>
      <tr>
       <td colspan="2"><img name="tempanimation_r10_c1" src="../../Templates/tempanimation/tempanimation_r10_c1.gif" width="167" height="13" border="0" id="tempanimation_r10_c1" alt="" /></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="1" height="13" border="0" alt="" /></td>
      </tr>
      <tr>
       <td colspan="2"><a href="../../lowvision/lowvisionhome.html" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('tempanimation_r11_c1','','../../Templates/tempanimation/temp_a nimation_r11_c1_f2.gif','tempanimation_r11_c1','','../../Templates/tempanimation/tempanima tion_r11_c1_f2.gif',1)"><img name="tempanimation_r11_c1" src="../../Templates/tempanimation/tempanimation_r11_c1.gif" width="167" height="102" border="0" id="tempanimation_r11_c1" alt="" /></a></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="1" height="102" border="0" alt="" /></td>
      </tr>
      <tr>
       <td colspan="2"><img name="tempanimation_r12_c1" src="../../Templates/tempanimation/tempanimation_r12_c1.gif" width="167" height="503" border="0" id="tempanimation_r12_c1" alt="" /></td>
       <td><img src="../../Templates/tempanimation/spacer.gif" width="1" height="503" border="0" alt="" /></td>
      </tr>
    </table>
    </body>
    <!-- InstanceEnd --></html>

    It's not 100% clear from your post, but you should be aware that CS5 plugins should not work in CS5.5. Because of a CS5.5 bug, CS5 plugins will load in InDesign 7.5.0, but that is fixed in 7.5.1 so they will not load.
    You should lean a bit harder on Virginia Systems. They should be able to tell you how to get them the stack trace from the crash which they should be able to look at and tell you which plugin (if any) is responsible for the crash. I could do it for Mac OS X but I don't know how under Windows. You could start by looking at the Event Viewer, though. That may have some helpful information about the crashes and the faulting module.

  • How to cache swf files via browser

    I notice that games on facebook ara caching lot's of swf files in browser temparary folder, I'm wondering how this is done, I'm new to web techs :> Somebody help? Thanks a lot.

    AndrewYuCWA1987 wrote:
    Thank U
    but what i attend to do is:
    - swf resource is need, and there're a lot
    - they're on the server first
    - when loading swf needed, access loacally file first, if there's none, get remote swf resource from server
    - after load from remote, cache swf files locally for the next application runs
    How can this be done?
    all the above happens by default unless a user clears their cache or has not browser cache- which you can't control.
    I met sand box issue when I apply URLRequest api, and I've looked into game's on facebook and other SNS platform, caching is the
    common way to build a game, there's a "loader.swf?v=XXXX" there, and if I copy it to file system and run it, surely it's doing URLLoading and trigger a sand box trouble like I do, but when it's applied in the browser, or say in the way it's originally used, it worked,
    So I doubt there's something I can do to implement the goal I've imagined, question is, how ) ;
    appending a changing query string (?v=XXX) to a url is a common way to prevent browser caching by making the browser think each of those swfs are different by virtue of the changing query string.

  • How to Upload All Swf to cache Browser

    Hi all;
    Please i need help.
    i have a website (12 swf's). the main.swf had the menu how
    call all swf from the main.swf.
    How i can upload all swf to cahe browser for get a fast
    website. i need a script. Please Help????????

    preload them. ie, start loading them (using loadMovie or
    loadClip) before they are needed. to do this intelligently though
    is more than you would expect a beginning actionscripter to
    handle.

  • Open swf in new browser window

    Hello,
    I want a feature in a swf file(e.g. a button) that will open
    the animation in a new browser allowing for fullscreen or at least
    resizable view to the viewers liking.
    Any suggestions??
    Thanks!

    Visit...
    http://www.flash-db.com/PopUp/
    Create the window with the features you want or don't want!,
    generate the
    code, and simply copy & paste the generated code on your
    Flash button. No
    html stuff envolved here. Everything's in the Flash movie.

  • External SWF Disappears on Browser resize

    I am loading external swf's inside content_2 and when i resize my browser the external content OR content_2 disappears. Can someone help me as to what I need to do to stop this. I've tried adding an onresize function but that does not work. Here my as3 code:
    scroll_sb2.scrolling("content_2", "area_2", 0.18); // Range from 0.00 to 1.00
    stage.addEventListener(Event.RESIZE, resizeHandler);
    function resizeHandler(e:Event):void
    scroll_sb2.x = stage.stageWidth - scroll_sb2.width - 2;
    scroll_sb2.y = 0;
    scroll_sb2.height = stage.stageHeight;
    area_2.x = stage.stageWidth/2 - area_2.width/2;
    area_2.y = stage.stageHeight/2 - area_2.height/2;
    area_2.y = 0;
    area_2.height = stage.stageHeight;
    content_2.x = stage.stageWidth/2 - content_2.width/2;
    content_2.y = stage.stageHeight - content_2.height;  // comment this line if you whant to remove the carrusel affect on resize browser
    backgroundMC.x=0;
    backgroundMC.y=0;
    backgroundMC.width=stage.stageWidth;
    backgroundMC.height=stage.stageHeight;
    downbg_mc.x = 0;
    downbg_mc.y = 0;
    downbg_mc.width = stage.stageWidth;
    stage.align = StageAlign.TOP_LEFT;     
    stage.scaleMode = StageScaleMode.NO_SCALE;
    stage.dispatchEvent(new Event(Event.RESIZE));
    var mem:String = Number ( System.totalMemory / 2048 / 2048 ).toFixed ( 2 ) + 'Mb';
    trace ( mem ); 

    Guys can you PLZZZ Help me out with this. I've been researching this ALL day with no solution, I'v
    e posted this in THREE forums and I havent gotten ONE response. Plz assist me!
    ALSO..This is the action script that's in my scrollbar movie:
    var sd:Number;
    var sr:Number;
    var cd:Number;
    var cr:Number;
    var new_y:Number;
    var drag_area:Rectangle;
    var scroll_content:MovieClip;
    var scroll_content_area:MovieClip;
    var scrolling_speed:Number; // 0.00 to 1.00
    //.............. SCROLL BUTTON .............//
    scroll_scroller.buttonMode = true;
    addEventListener ( MouseEvent.MOUSE_OVER, mouse_over );
    addEventListener ( MouseEvent.MOUSE_OUT, mouse_out );
    function mouse_over ( event:MouseEvent ) {
      scroll_scroller.alpha = 0.7;
    function mouse_out ( event:MouseEvent ) {
      scroll_scroller.alpha = 1;
    //.............. END scroll button...........//
    function scrolling( ct:String, ct_area:String, speed:Number ):void
    scrolling_speed = speed;
    if( scrolling_speed < 0 || scrolling_speed > 1 ) scrolling_speed = 0.50;
    scroll_content = parent[ct];
    scroll_content_area = parent[ct_area];
    scroll_content.mask = scroll_content_area;
    scroll_content.x = scroll_content_area.x;
    scroll_content.y = scroll_content_area.y;
    scroll_scroller.x = scroll_scrollable_area.x;
    scroll_scroller.y = scroll_scrollable_area.y;
    sr = scroll_content_area.height / scroll_content.height;
    scroll_scroller.height = scroll_scrollable_area.height * sr;
    sd = scroll_scrollable_area.height - scroll_scroller.height;
    cd = scroll_content.height - scroll_content_area.height;
    cr = cd / sd * 1.01;
    drag_area = new Rectangle( 0, 0, 0,scroll_scrollable_area.height -  scroll_scroller.height );
    if ( scroll_content.height <= scroll_content_area.height )
      scroll_scroller.visible = scroll_scrollable_area.visible = false;
    scroll_scroller.addEventListener( MouseEvent.MOUSE_DOWN, scroller_drag );
    scroll_scroller.addEventListener( MouseEvent.MOUSE_UP, scroller_drop );
    this.addEventListener( Event.ENTER_FRAME, on_scroll );
    function scroller_drag( me:MouseEvent ):void
    me.target.startDrag(false, drag_area);
    stage.addEventListener(MouseEvent.MOUSE_UP, up);
    function scroller_drop( me:MouseEvent ):void
    me.target.stopDrag();
    stage.removeEventListener(MouseEvent.MOUSE_UP, up);
    function up( me:MouseEvent ):void
    scroll_scroller.stopDrag();
    function on_scroll( e:Event ):void
    new_y = scroll_content_area.y + scroll_scrollable_area.y * cr - scroll_scroller.y  * cr;
    scroll_content.y += ( new_y - scroll_content.y ) * scrolling_speed;
    // END

  • Can't Center SWF image in Browser

    I've designed a website in flash and have inserted the SWF file into Dreamweaver, I can edit everything else I need, but for some reason - no matter what I do or try, I can't center this SWF image in Dreamweaver so the SWF file will rests in the center of a browser.
    I've tried editing the CSS in the Body, but it doesn't change anything, no matter what. The site always sits flush left.
    See results of current set up: http://www.louise-gd.com.
    Please advise as soon as possible.

    The whole page is in Flash?  Do you know what you give up when you do that (hint: lots!)?
    Try changing this -
    body {
         background-color: #999;
         right: 0px;
         margin: 0px;
         padding: 0px;
         background-position: center;
         position: relative;
         visibility: inherit;
         height: auto;
         width: auto;
    to this -
    body {
         background-color: #999;
         margin: 0 auto;
         padding: 0;
            width:650px;
    and see what happens.

  • Code behaves different when SWF is in browser as opposed to stand alone player, why?

    In ActionScript, I have some code that dispatches a
    MOUSE_OVER event when a tween is complete. I am using Tweener for
    the tween. On my Mac OSX machine, I preview the SWF file in a stand
    alone player spawned from my Flash IDE, and the event is dispatched
    and the behavior works as expected, but when I preview the SWF file
    as embedded in a MacOSX browser, the event is not dispatched. On a
    Windows machine, however, the event is dispatched both in a stand
    alone player and within the embedded SWF file in a browser. The
    problem seems to come particularly from the Mac OSX player.
    Has anybody ever experienced this? Is the OSX implementation
    of the Flash player different in a stand alone and browser setting?
    Here is the code that I am using:

    HMMM! Verrrrrry interesting.
    Yes file size is an issue, it's a large project.
    Exterenally host it?
    Where could I go and do that?
    I'm not familiar with this process.  Can you please tell me exactly how it works? 
    And....that means both servers need to be up and running?  Kinda sounds a bit shakey.   This project needs to be strong and stand alone to go here and there.  Durable.   
    I feel safer if its all in one piece.  Bam.
    You know, I noticed "FAST" and "BEST" does not make a difference to file size or quality. 
    Could I be wrong?
    Thanks.

  • How to fit swf completely in browser

    hi there
    can someone help me to find out that how to insert swf file
    into a browser with 100% width and height, the problem i m facing
    is with resizing the browser as the swf does't get fit into browser
    either with height or width, i m giving site reference (
    http://www.christiansparrow.com)
    for what exactley i m looking for.
    if u can pls visit my site( www.websells.com/sf) to get to
    know what is the thing bothering me, well whn u resize the window u
    ll see black borders on the horizontal sides of the site which has
    to be covered by the swf showing there.
    pls revert me soon.
    thanx

    Hey-
    I'm having the same problem, and i wasn't able to find that
    resizing code anywhere... any chance you could help me out and tell
    me how to do it?
    www.nicksdesign.com/flash
    Is where the code would be placed... because if a user is on
    different screen resolutions than what the site is designed at,
    they are required to scroll vertically and horizontally to view
    page.
    Best,
    Nick Smith

  • Help when viewing swf webpage in browser

    When I load a swf it works well and the document size is correct but when viewed from a browser online it displays the whole project even the objects tha are suppose to be out of view off the page. How can I limit the browser to the document page size?

    Hi wurdup,
    I'm guessing that your probably loading the swf file directly in the browser. In this case the browser runs the swf at whatever dimensions the browsers currently at, hence being able to see items off the Flash stage.
    You will need to create yourself a simple HTML page and embed the swf at the resolution you want it to be viewed at.
    Something like:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
        <head>
            <title>this is my HTML page</title>
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        </head>
        <body>
            <div id="flashContent">   
                   <OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="550" HEIGHT="400" CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version=9,0,0,0">
                        <PARAM NAME="MOVIE" VALUE="myMovie.swf">
                        <PARAM NAME="PLAY" VALUE="true">
                        <PARAM NAME="LOOP" VALUE="true">
                        <PARAM NAME="QUALITY" VALUE="high">
                        <PARAM NAME="SCALE" value="noborder">
                        <EMBED SRC="myMovie.swf WIDTH="550"
                             HEIGHT="400"
                             PLAY="true"
                             LOOP="true"
                             QUALITY="high"
                             scale="noborder"
                             PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
                       </EMBED>
                   </OBJECT>
            </div>
        </body>
    </html>
    You can read more about this at Adobes kb article:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_4150
    Alternatively you could look at SWFObject as a versatile method of embedding the swf in to a HTML page:
    http://code.google.com/p/swfobject/wiki/documentation
    Hope this answers your questions,
    antonmills.

  • Want to get Captivate 2 .swf into ebook

    I am trying to move a course from CD to ebook. All I have are the autorun CD files, including the .swf file; the .cp file cannot be found and the person who created it is longer with the company. The .swf contains screen snaps and voice over, as well as some cursor animation. My problem is that the .swf file starts playing as soon as the student goes to the ebook page that contains the .swf file.
    To the best of my knowledge I can't use the player skin that comes with Captivate without the .cp file, so my proposed solution is to import the .swf into Adobe Flash CS3 Professional, add controls and code that has the movie stopped when opened, and save it as a more user-friendly .swf for the ebook. I am a technical writer, not a programmer, and even though I have spent many hours searching the internet and even reading a book or two about Flash programming, I cannot get a working .swf file. I'm wondering if anyone can point me to example code that will do what I need. I found out about rdcmnd functions and the advantage of the MovieClipLoader class over the loadMovie method, but I seem to be unable to put it all together in a working .swf.
    I agree with Captiv8r that a decompiler for Captivate .swf files would be good.

    Thanks Captiv8r.
    I tried that with no change in behaviour as a result. The video still begins playing as soon as the page it is on opens. This is now my html with the added line:
    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
            codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
            width="801" height="601">
            <param name="movie" value="excercise1.swf">
            <param name="quality" value="high">
            <param name="bgcolor" value="#FFFFFF">
            <param name="loop" value="False">
            <param name="play" value="False">
            <EMBED src="excercise1.swf" quality="high" bgcolor="#FFFFFF" width="801" height="601" loop="0" type="application/x-shockwave-flash"
                   pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
            </EMBED>
    </OBJECT>
    According to the forum administrator at Help and Manual (http://helpman.it-authoring.com/viewtopic.php?f=19&t=7681&hilit=flash+swf)
    "How Flash files are played is controlled  entirely by the Flash file itself. You  will need to consult the Captivate documentation or Adobe on this. I  think the settings are somewhere in the skins but I don't remember  offhand."

  • FireFox shows swf twice in browser when swfobject is used to display alternate content. Is there a fix for this?

    I'm using swfobject to display alternate html content on a Flash site. In FireFox only it loads the site's swf twice. It does not happen with any other browser. You can view the site I'm testing at http://www.turntwomedia.com/index-altContent.html
    == This happened ==
    Not sure how often
    == I was testing the site in all browsers.

    You have both an EMBED and an OBJECT without a classid that is displayed by Firefox in addition the the OBJECT with a classid for IE.
    You need to remove one of them.
    Either use the EMBED or the object with the conditional code () that hides it from IE.
    <code>&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="955" height="775" id="myFlashContent"&gt;
    &lt;param name="allowScriptAccess" value="sameDomain" /&gt;
    &lt;param name="allowFullScreen" value="false" /&gt;
    &lt;param name="movie" value="TurnTwoMedia_web.swf" /&gt;&lt;param name="menu" value="false" /&gt;&lt;param name="quality" value="high" /&gt;&lt;param name="bgcolor" value="#ffffff" /&gt;
    &lt;embed src="TurnTwoMedia_web.swf" menu="false" quality="high" bgcolor="#ffffff" width="955" height="775" name="TurnTwoMedia_web" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" /&gt;
    &lt;!--[if !IE]&gt;--&gt;
    &lt;object type="application/x-shockwave-flash" data="TurnTwoMedia_web.swf" width="955" height="775"&gt;
    </code>

  • SWF in IE browser - Urgent Help

    I linked a .swf to open on click, but the swf is gettting
    opened in Internet Explorer browser. The swf should open in flash
    player.

    cybersha,
    Your Flash player is most likely embedded in or directly
    associated with Internet Explorer. Your file is still running in
    the Flash player, it is just doing so through Internet Explorer.
    Darin

  • Fscommand and swf in web browser not working

    Hi,
    I am trying to open one flash projector exe file from web browser swf file but it is not working.
    When I tried calling the fscommand("exec", "myapplication.bat") and fscommand("exec", "myapplication.exe") from projector exe flash file then it works fine.
    I just want to know the supportabilities of fscommand in as3 using Flash Proffessional CS5.
    Please suggest.
    Best regards,

    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/package.ht ml
    The line that matters: None of the commands are available in web players.
    On the web use ExternalInterface to run JavaScript on the page - not sure you'll have much luck with exec though.

  • No sound when playing swfs in the browser.

    Hey there guys,
    I've been browsing flash sits from a computer (in a lab) and
    there is no audio in any of the swfs that I have played!! On the
    other hand I was able to play mp3's and other kinds of media with
    no hassle at all.
    Now I recon that the problem is actually from the browser (by
    the way, this is a Linux Ubuntu with Mozilla fire fox browser and
    flash player 7). Astonishingly, there is no problems when playing
    the same swfs on other computers in the lab (with the same hardware
    and software)!!
    I haven't made any of these swfs but I've been working on
    flash for quite a while now, and I've never checked the audio of my
    swfs on different browsers.. (oops) , so is this a common thing for
    firefox borwsers!!
    Anybody got any idea about whats going wrong or how can I fix
    this... :S
    Many thanks in advance.

    see the sound bar below the video preview, the one that shows the level of sound in green n yellow n red? to the left of that is a button. press that, and problem solved. you click on it when you don't want sound when skimming, just when pressing spacebar, and vice versa.

Maybe you are looking for

  • Question regarding external display

    Hello, I may have posted this in the wrong section, but the forums are labeled oddly.  Anyway, I have an Insignia flat screen that I'd like to use as a second monitor for my laptop.  However, I have no clue if this laptop can even use one. Here's som

  • PC to MAC reformatting 1st Gen ipod?

    I want to reformat my 1st generation PC ipod to MAC. Is this possible? My PC laptop has all but died, so would i need to connect my ipod back to the PC first, or can I use ipod updater connecting it directly into my G5? Obviously I would like to keep

  • Using bean methods within JSP declaration

    Is it true that bean methods will not work in JSP Methods ? For example: // get the bean <jsp:useBean id="FormValidate" scope="session" class="fsm.frontendCtr.FormValidate" /> // build a new method in jsp <%! boolean validate(HttpServletRequest req,

  • Missing Exposure EXIF Metadata After RAW Conversion

    I am running Photoshop CS6 on a 64-bit Windows 7 PC.  Since upgrading from CS5 I have noticed that the Exposure EXIF metadata as viewed in Bridge vanishes after RAW conversion/adjustment of my images.  I've read at least one other posting to the foru

  • Autoconfig resets values?

    Hi All, Last week I ran autoconfig and it seems to reset serveral of my values like outbound email server, jdk_top (plus other java values) and workflow administrator to past values in the context file. This is quite a nuisance as we had to go into O