Looping flash movie

I have created a flash website... on the first page i want to
enter a simple motion tween movie( i imported it)... i can do that
but it keeps looping... i unchecked Loop in html and added stop();
in the last keyframe but still the movie loops any ideas how to
stop this??? I am using flash 8
ps im inserting a flash movie within a flash movie(this
should not make a diference)
here is what i have found.... i am trying to replace an image
in a flash website with a movie... it continuously loops it appears
you need to add the Stop(); asctionscript wilthin the website and
not the move (.swf) imported.... thats where the problem lies is it
not possible to add Stop(); in the movie itself???? I have tried
this and it does not work???
Puzzled

If the offending loop is from the main timeline of the
imported swf and on the last keyframe of that timeline you entered
a stop(); and that didn't help maybe you should call an exorcist.
Or maybe there is another timeline in the imported swf that's
looping like a MovieClip?

Similar Messages

  • How do I display a live webpage (live data feed) as part of my looping flash movie.

    G'Day All, I've been tasked with creating a flash movie for a client (3 scenes, some text and images) simple enough, the challenge is one of the scenes needs to display a live page from a locally hosted website (it's a graphic display of a live data feed from a solar panel array on the roof). What I need to know is how do I set up the flash file to display the live page as one of the scenes of my looping movie? Any help would be greatly appreciated. Cheers, Ben.

    Why they've removed it ?
    Apple have appeared to have made some strange decisions with Keynote 6.1, features missing or not working.
    We are told to wait for the updates to correct these anomalies during the first half of 2014.

  • HELP! IE looping flash movies

    My company's intranet home page has two flash movies on it
    set to play once.
    Some kind of Microsoft patch was initiated over the weekend
    company wide and
    now IE loops the movies. The source code has the loop set to
    false but IE is
    ignoring it. If you right click on the4 flash the loop is
    checked.
    Unchecking it fixes the problem but you have to do it every
    time the page is
    loaded. Anyone know what is going on?
    Thanks
    mark

    I don't know why that is happening, but putting a stop();
    action on the last frame should keep the movie from looping. It is
    a hard issue to solve without seeing the problem first hand, but
    since it is on your intranet that isn't going to happen.

  • Help with making a flash movie...go to frame and looping

    How do I make it so that in my flash movie when it gets to a
    certain frame in the movie it skis to another frame? Where and what
    is the action script? like when it gets to frame 150 i want it to
    go back to frame 1 so it can be animation for like a animated menu.
    anyone know?

    If your movie contains exactly 150 frames, then you don't
    need to write anything. It will loop automatically. If it contains
    more than 150 frames, put the command 'gotoAndPlay(1)' in the 150th
    frame.

  • Flash movie slowing with each loop?

    My main flash movie is made up with scenes, on each scene I have used the UILoader component to load external swf content to the main movie, the first one works fine but gradually with each loop the movie slows down, i have a globe in one scene which is looking really juddery... Can anyone help?
    Thanks
    Darren

    First off, you should not use scenes - they have never really worked all that well, and just lead to problems. Aside from that, if you're adding listeners to your loaders you need to remove them - or use weak references, which you should always be doing anyway. Have you looked at task manager to see if successive loops are using more and more ram and/or more and more cpu cycles?

  • How can HTML call a Flash movie?

    Greetings Everyone!
    I'm sincerely hoping that someone has the answer for me. I'm
    a newbie, but trying so very hard to understand... :) I've read
    books, pages & pages of this forum, 'net searches - I haven't
    found a complete answer to my challenge so far - thanks in advance
    for any help you can give...
    Here's where things are:
    1) I've created a series of swf Flash movies that loop (at a
    particular size so they can play inside of an html table cell)
    2) I've created html buttons in another cell
    What I'm trying to do:
    1) Like a swap file in HTML (where you click a button and an
    image changes elsewhere on the page, click another button, and that
    image swaps to a different image file)
    I want to have a flash movie play on a click of a button, click
    another button, and a different flash movie plays in the same
    spot.
    The challenge is the interaction between Dreamweaver and
    Flash and getting HTML to talk to Flash.
    Here's the code direction I've been heading ...
    ...IN MY HTML code...
    I have a onMouseClick event for each button link. In this
    code I set some variable names inside it.
    onMouseClick="setFlashVariables('sendmovie','myMovie=activeMovie1')"
    ---- this would be for button 1.
    onMouseClick=
    "setFlashVariables('sendmovie','myMovie=activeMovie2')" ---- this
    would be for button 2
    onMouseClick
    ="setFlashVariables('sendmovie','myMovie=activeMovie3')" ---- this
    would be for button 3
    Basically, I'm setting a 'myMovie' variable to 'activeMovie1'
    or 'activeMovie2' or 'activeMovie3' when one of the buttons is
    clicked.
    If 'myMovie' variable is equal to 'activeMovie1' by clicking
    a link, this will tell a flash movie: (" Hey flash! Variable
    'myMovie' is equal to 'activeMovie1'. Act accordingly."). When the
    2nd button is clicked, 'myMovie' will be equal to 'activeMovie2'
    and so on.
    I need to declare the 'myMovie' variable in my flash movie -
    how do I do that?
    ...IN FLASH...
    1. I need to create one variable which will act as a variable
    receiver from HTML. (What I called "myMovie")
    2. I gather I need to create an IF statement so that
    "myMovie" is set to which "activeMovie" ( it could be
    activeMovie1/activeMovie2/activeMovie3 etc ) ,
    ----->Question:
    Where should the IF statement be and
    How should it be written?
    Admittedly I don't know Action Script 3 very well.
    if myMovie is equal to "activeMovie1"
    then load a movie. (This movie will be a movie related to my
    1 Button.)
    else if myMovie is equal to "activeMovie2"
    then load a movie. ((This movie will be a movie related to
    your 2 Button.)
    else if myMovie is equal to "activeMovie3"
    then load a movie. ((This movie will be a movie related to
    your 3 Button.)
    Here's where I'm stuck....
    1) If I've already made my movies into swf files where does
    an IF statement go?
    2) I'm missing the mechanics of how to connect the dots here
    - how do I get button 1 to load movie 1 and start playing
    automatically? When I click button 2, movie 1 is replaced by movie
    2 and starts playing automatically.
    It's a detailed explanation (I know) - I'm hoping someone has
    an answer for me that's equally explicit. Thanks so much much for
    taking the time to read it!!

    Anybody?

  • Problem: Flash movie plays on desktop, but not on website

    Hi, I'm new to Flash but have successfully created a Flash Movie that works using Firefox and Safari on my (iMac) desktop, but not after I upload to my website.
    I started with an flv video, imported it into an fla document along with a playback skin then published it creating an html file and two swf files. I've checked the html file, and it looks fine. The flv file is only 17MB and I've uploaded all 5 files to my site on:
    http://www.cantata.co.uk/temp2/minorswing.html
    but all I seem to get is the control skin's "sending data" pole turning.The movie never arrives. I can get much bigger mpeg and wmv movies up on my screen very quickly.
    Can anyone suggest what the problem may be? I'm running Snow Leopard on my Mac (OX 10.6.6). I've tried using different videos but nothing seems to work.
    Here's the relevant html generated by Flash
    <div id="flashContent">
                <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="390" id="minorswing" align="middle">
                    <param name="movie" value="minorswing.swf" />
                    <param name="quality" value="high" />
                    <param name="bgcolor" value="#ffffff" />
                    <param name="play" value="true" />
                    <param name="loop" value="false" />
                    <param name="wmode" value="window" />
                    <param name="scale" value="showall" />
                    <param name="menu" value="true" />
                    <param name="devicefont" value="false" />
                    <param name="salign" value="" />
                    <param name="allowScriptAccess" value="sameDomain" />
                    <!--[if !IE]>-->
                    <object type="application/x-shockwave-flash" data="minorswing.swf" width="640" height="390">
                        <param name="movie" value="minorswing.swf" />
                        <param name="quality" value="high" />
                        <param name="bgcolor" value="#ffffff" />
                        <param name="play" value="true" />
                        <param name="loop" value="false" />
                        <param name="wmode" value="window" />
                        <param name="scale" value="showall" />
                        <param name="menu" value="true" />
                        <param name="devicefont" value="false" />
                        <param name="salign" value="" />
                        <param name="allowScriptAccess" value="sameDomain" />
                    <!--<![endif]-->
                        <a href="http://www.adobe.com/go/getflash">
                            <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
                        </a>
                    <!--[if !IE]>-->
                    </object>
                    <!--<![endif]-->
                </object>
            </div>
    Many thanks if you can help
    Steve

    Thanks - I don't know what as2 is. I'm using Flash CS5. When I import the flv movie file, I'm asked to choose a skin and then a window comes up to tell me that the address of the flv file with respect to the other files will be minorswing.flv by which I take it to mean that all the files need to be in the same level of folder (directory). All five are in the same folder on my Mac and in the same folder on my website. I can't see how I can influence the program in choosing a different structure or outputting different html in the Publish Settings or elsewhere.
    I would have expected the relative structure of the files to be maintained between my desktop, where I can play the movie in my browsers, and the website, where I can't. I was surprised there was no "src" param name in the html, and I did try inserting one, but it made no difference, so I assumed the default for the html is to be in the same folder as the html and that the minorswing.swf file would contain information on the whereabouts of the flv file and the skin swf file.
    Is there a way of reading or editing the swf files to include an absolute url?

  • Looping Background Movie Clip

    Hi i am having trouble with having a looping background movie
    clip on the bottom layer of my flash project. I have it on the
    bottom layer in the first frame, above it i have some menus fading
    in and it seems as though once it gets to this scene, it just plays
    the movie clip over and over and never goes to the 2nd frame of my
    scene. Is there anyway to have a looping background movie clip
    inside of flash 8?
    Thank you in advance,
    Tyler

    You can use a variable to keep count of how many times you loop, and until it exceeds a particulr value (2 or 3) you execute a setTimeout() call that waits for however long you want to delay and then tells the movieclip to gotoAndPlay(1).
    So in the first frame you would establish the counting variable...
    var count;
    if(count == undefined){ // only set it to 0 once
    count = 0;
    and in the last frame you would do your incrementing and control....
    stop();
    count += 1;
    if(count < 3){
    setTimeout(waitABit, 2000); // call function in 2 secs
    function waitABit(){
    gotoAndPlay(1);

  • Flash movie not loading in IE 8....??

    Hi, ive made a flash site in Flash CS4  .The flash movie doesnt load either on my computer or on web server,  but only in IE 8 ??, in all other browsers(FF,Safari,opera) it works????
    Why does this happen?
    This is the page                       http://www.fragojo-nekretnine.com/
    and the code
    <script language="JavaScript" type="text/javascript">
        AC_FL_RunContent(
            'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0',
            'width', '1280',
            'height', '650',
            'src', 'index',
            'quality', 'high',
            'pluginspage', 'http://www.adobe.com/go/getflashplayer',
            'align', 'middle',
            'play', 'true',
            'play', 'true',
            'loop', 'true',
            'scale', 'showall',
            'wmode', 'window',
            'devicefont', 'false',
            'id', 'index',
            'bgcolor', '#242424',
            'name', 'index',
            'menu', 'true',
            'allowFullScreen', 'false',
            'allowScriptAccess','sameDomain',
            'movie', 'index',
            'salign', ''
            ); //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=10,0,0,0" width="1280" height="650" id="index" align="middle">
        <param name="allowScriptAccess" value="sameDomain" />
        <param name="allowFullScreen" value="false" />
        <param name="movie" value="index.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#242424" />    <embed src="index.swf" quality="high" bgcolor="#242424" width="1280" height="650" name="index" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
        </object>
    </noscript>
    </body>
    </html>
    Please help!!!
    Thanks

    www.micca.co.uk/1871productions/showreels.html
    If you try any in IE8, they stop half way and do not give a smooth stream.  I am wondering if I have to stream differently and not via the progressive download stream as I have??!

  • Flash movie / HTML query

    Novice desperately seeking help with seeming inability to get
    SWF movie to loop or not autoplay. HTML page generated using Flash
    CS3. No matter what settings are tried, the behaviour is the same:
    the movie starts immediately the page is viewed and plays only
    once. I'd like to be able to either loop the movie or load the page
    and not play the movie automatically. Would be great to know what
    has been done wrong. I've included the HTML code below:
    <script language="javascript">
    if (AC_FL_RunContent == 0) {
    alert("This page requires AC_RunActiveContent.js.");
    } else {
    AC_FL_RunContent(
    'codebase', '
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
    'width', '480',
    'height', '424',
    'src', 'VidInAction',
    'quality', 'high',
    'pluginspage', '
    http://www.macromedia.com/go/getflashplayer',
    'align', 'middle',
    'play', 'false',
    'loop', 'true',
    'scale', 'showall',
    'wmode', 'window',
    'devicefont', 'false',
    'id', 'VidInAction',
    'bgcolor', '#ffffff',
    'name', 'VidInAction',
    'menu', 'true',
    'allowFullScreen', 'false',
    'allowScriptAccess','sameDomain',
    'movie', 'VidInAction',
    'salign', ''
    ); //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,0,0"
    width="480" height="424" id="VidInAction" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="movie" value="VidInAction.swf"
    /><param name="play" value="false" /><param
    name="quality" value="high" /><param name="bgcolor"
    value="#ffffff" /> <embed src="VidInAction.swf" play="false"
    quality="high" bgcolor="#ffffff" width="480" height="424"
    name="VidInAction" align="middle" allowScriptAccess="sameDomain"
    allowFullScreen="false" type="application/x-shockwave-flash"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    />
    </object>
    </noscript>

    If I'm reading you correctly, I think that what you want is a lightbox type of effect where the Flash movie appears from out of nowhere above a dimmed page. If this is the case then you need to use Javascript to create this dynamic html effect. I use mediabox advanced. It works with Mootools. You can find more info here: http://code.google.com/mediabox/

  • Center flash movie in webbrowser

    i have the setting in flash cs4 set to align ver center and
    horizontal center but when i publish my movie it appears on the
    left side , how can i center my flash movie ?

    i tried your code, didn't work:  here is the code on my page.  I need my flash movie to beup at the top and centered with the rest of the page.  please assist.
    <!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=utf-8" />
    <title>Online_Tagsale.com</title>
    <link href="CSS/Online_Tagsale.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    a:link {
    color: #C00;
    a:visited {
    color: #C00;
    a:hover {
    color: #000;
    -->
    </style>
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    </head>
    <body bgcolor="#FFFFCC">
    <div id="banner"><div align="center">
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="800" height="150" align="middle" id="FlashID" title="FinalBanner">
      </div>
      <param name="movie" value="IMAGES/FLASH/finalbanner.swf" />
      <param name="quality" value="low" />
      <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" />
      <param name="LOOP" value="false" />
      <param name="BGCOLOR" value="#000000" />
      <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
      <!--[if !IE]>-->
      <object data="IMAGES/FLASH/finalbanner.swf" type="application/x-shockwave-flash" width="800" height="150" align="middle">
        <!--<![endif]-->
        <param name="quality" value="low" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="6.0.65.0" />
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <param name="LOOP" value="false" />
        <param name="BGCOLOR" value="#000000" />
        <!-- 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></center>
    </div>
      <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>
    <div id="main_image"> </div>
    <div id="column_container">
    <div id="banner">
      <blockquote>
        <blockquote>
        <blockquote>
              <blockquote>
                <blockquote>
                  <blockquote>
                    <blockquote>
                      <blockquote>
                        <blockquote>
                          <blockquote>
                            <table width="824" border="1">
                              <tr align="center" valign="middle">
                                <th width="200" height="24" scope="col"><img src="IMAGES/green.JPG" width="200" height="150" alt="green" /></th>
                                <th width="200" scope="col"><img src="IMAGES/blue.JPG" width="200" height="150" alt="blue" /></th>
                                <th width="200" scope="col"><img src="IMAGES/shoes.JPG" width="200" height="150" alt="shoes" /></th>
                                <th width="196" scope="col"><img src="IMAGES/figure.jpg" width="200" height="150" alt="figure" /></th>
                              </tr>
                            </table>
                            <table width="421" border="1" align="center">
                              <tr align="center">
                                <th width="411" align="left" scope="col"> <div align="left"></div></th>
                              </tr>
                            </table>
                            <h1 align="center">Welcome</h1>
                          </blockquote>
                        </blockquote>
                      </blockquote>
                    </blockquote>
                  </blockquote>
                </blockquote>
              </blockquote>
            </blockquote>
          </blockquote>
          <h2 align="center"><strong>Our site was founded by a group of stay at home mothers who hoped to get rid of various items from their homes. </strong></h2>
          <h2 align="center"><strong> The idea of organizing and holding a tagsale at home was overwhelming considering their daily responsbilities.</strong></h2>
          <h2 align="center"><strong>So was born the idea of having the tagsale online.</strong></h2>
          <h2 align="center"><strong>You can browse and shop or join and sell, all from the comfort of your own home. </strong></h2>
          <h2 align="center"><strong>- Sign up for our monthly newsletter<br />
            - Join our sales team ($59.95 yearly membership fee)<br />
          </strong></h2>
        <h2 align="center"><strong>Welcome and ..</strong></h2>
          <h2 align="center"><strong>THANKS FOR STOPPING BY</strong> </h2>
        </blockquote>
      </div>
      <div id="right_column">
    <blockquote>
    <p align="center">!!FREE BACKGROUNDS!! at  <a href="http://www.webpagebackground.com/">www.webpagebackground.com</a>  </p>
      <p align="center">!!!FREE RECIPES!!! at <a href="http://www.foodnetwork.com/">www.foodtv.com</a></p>
    <div align="center">
        <blockquote>
          <blockquote>
            <blockquote>
              <blockquote>
                <blockquote id="reference">
                  <h1><a href="ReferencePage.html" title="link2references">Reference Page </a></h1>
                </blockquote>
              </blockquote>
            </blockquote>
          </blockquote>
        </blockquote>
      </div>
      <blockquote>
        <blockquote>
          <blockquote>
            <blockquote>
              <blockquote>
        <table width="1268" border="1">
                <tr>
                  <th width="62" scope="col"> </th>
                  <th width="260" scope="col"><a href="Index1.html"><img src="IMAGES/FLASH/home.gif" alt="home" width="208" height="50" hspace="25" border="0" longdesc="IMAGES/FLASH/home.gif" /></a></th>
                  <th width="309" scope="col"><a href="mailto:[email protected]"><img src="IMAGES/FLASH/contact us.gif" alt="contact" width="200" height="50" hspace="37" border="0" longdesc="IMAGES/FLASH/contact us.gif" /></a></th>
                  <th width="312" scope="col"><a href="http://get.adobe.com/flashplayer/"><img src="IMAGES/FLASH/flashbegger.gif" alt="products" width="200" height="50" hspace="45" border="0" longdesc="IMAGES/FLASH/products.gif" /></a></th>
                  <th width="291" scope="col"><a href="Product.html"><img src="IMAGES/FLASH/products.gif" alt="products" width="200" height="50" hspace="45" border="0" longdesc="IMAGES/FLASH/products.gif" /></a></th>
                </tr>
    </table>
        <p align="center"> </p>
                <p align="center"> </p>
                <p align="center"> </p>
    <script type="text/javascript">
    <!--
    swfobject.registerObject("FlashID");
    //-->
    </script>
    </body>
    </html>
     </p>
      </div>
    </div>
    </body>
    </html>

  • Flash movie just has a white box when I preview

    Working in Flash CS4
    My question is when I publish my flash movie it opens fine on my computer but when I copy the folder with all the contents to another computer the skin show up fine but I get a white box where the movie should be. The same goes if we try to place it on a website.
    When I'm in flash should I be going to
    File Publish or
    File Export SWF
    To be placed in a website.

    NAte here is the link to the page that has the flash movie that is coming up as a white box
    http://www.azcaf.org/videos/DICKSON/DICKSON.html
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>DICKSON</title>
    <script language="JavaScript" type="text/javascript">
    <!--
    //v1.7
    // Flash Player Version Detection
    // Detect Client Browser type
    // Copyright 2005-2008 Adobe Systems Incorporated.  All rights reserved.
    var isIE  = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
    var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
    var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;
    function ControlVersion()
         var version;
         var axo;
         var e;
         // NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't in the registry
         try {
              // version will be set for 7.X or greater players
              axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
              version = axo.GetVariable("$version");
         } catch (e) {
         if (!version)
              try {
                   // version will be set for 6.X players only
                   axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
                   // installed player is some revision of 6.0
                   // GetVariable("$version") crashes for versions 6.0.22 through 6.0.29,
                   // so we have to be careful.
                   // default to the first public version
                   version = "WIN 6,0,21,0";
                   // throws if AllowScripAccess does not exist (introduced in 6.0r47)
                   axo.AllowScriptAccess = "always";
                   // safe to call for 6.0r47 or greater
                   version = axo.GetVariable("$version");
              } catch (e) {
         if (!version)
              try {
                   // version will be set for 4.X or 5.X player
                   axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
                   version = axo.GetVariable("$version");
              } catch (e) {
         if (!version)
              try {
                   // version will be set for 3.X player
                   axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
                   version = "WIN 3,0,18,0";
              } catch (e) {
         if (!version)
              try {
                   // version will be set for 2.X player
                   axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
                   version = "WIN 2,0,0,11";
              } catch (e) {
                   version = -1;
         return version;
    // JavaScript helper required to detect Flash Player PlugIn version information
    function GetSwfVer(){
         // NS/Opera version >= 3 check for Flash plugin in plugin array
         var flashVer = -1;
         if (navigator.plugins != null && navigator.plugins.length > 0) {
              if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
                   var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
                   var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
                   var descArray = flashDescription.split(" ");
                   var tempArrayMajor = descArray[2].split(".");
                   var versionMajor = tempArrayMajor[0];
                   var versionMinor = tempArrayMajor[1];
                   var versionRevision = descArray[3];
                   if (versionRevision == "") {
                        versionRevision = descArray[4];
                   if (versionRevision[0] == "d") {
                        versionRevision = versionRevision.substring(1);
                   } else if (versionRevision[0] == "r") {
                        versionRevision = versionRevision.substring(1);
                        if (versionRevision.indexOf("d") > 0) {
                             versionRevision = versionRevision.substring(0, versionRevision.indexOf("d"));
                   var flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
         // MSN/WebTV 2.6 supports Flash 4
         else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
         // WebTV 2.5 supports Flash 3
         else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
         // older WebTV supports Flash 2
         else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
         else if ( isIE && isWin && !isOpera ) {
              flashVer = ControlVersion();
         return flashVer;
    // When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available
    function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision)
         versionStr = GetSwfVer();
         if (versionStr == -1 ) {
              return false;
         } else if (versionStr != 0) {
              if(isIE && isWin && !isOpera) {
                   // Given "WIN 2,0,0,11"
                   tempArray         = versionStr.split(" ");      // ["WIN", "2,0,0,11"]
                   tempString        = tempArray[1];               // "2,0,0,11"
                   versionArray      = tempString.split(",");     // ['2', '0', '0', '11']
              } else {
                   versionArray      = versionStr.split(".");
              var versionMajor      = versionArray[0];
              var versionMinor      = versionArray[1];
              var versionRevision   = versionArray[2];
                 // is the major.revision >= requested major.revision AND the minor version >= requested minor
              if (versionMajor > parseFloat(reqMajorVer)) {
                   return true;
              } else if (versionMajor == parseFloat(reqMajorVer)) {
                   if (versionMinor > parseFloat(reqMinorVer))
                        return true;
                   else if (versionMinor == parseFloat(reqMinorVer)) {
                        if (versionRevision >= parseFloat(reqRevision))
                             return true;
              return false;
    function AC_AddExtension(src, ext)
      if (src.indexOf('?') != -1)
        return src.replace(/\?/, ext+'?');
      else
        return src + ext;
    function AC_Generateobj(objAttrs, params, embedAttrs)
      var str = '';
      if (isIE && isWin && !isOpera)
        str += '<object ';
        for (var i in objAttrs)
          str += i + '="' + objAttrs[i] + '" ';
        str += '>';
        for (var i in params)
          str += '<param name="' + i + '" value="' + params[i] + '" /> ';
        str += '</object>';
      else
        str += '<embed ';
        for (var i in embedAttrs)
          str += i + '="' + embedAttrs[i] + '" ';
        str += '> </embed>';
      document.write(str);
    function AC_FL_RunContent(){
      var ret =
        AC_GetArgs
        (  arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
         , "application/x-shockwave-flash"
      AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
    function AC_SW_RunContent(){
      var ret =
        AC_GetArgs
        (  arguments, ".dcr", "src", "clsid:166B1BCA-3F9C-11CF-8075-444553540000"
         , null
      AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
    function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
      var ret = new Object();
      ret.embedAttrs = new Object();
      ret.params = new Object();
      ret.objAttrs = new Object();
      for (var i=0; i < args.length; i=i+2){
        var currArg = args[i].toLowerCase();
        switch (currArg){
          case "classid":
            break;
          case "pluginspage":
            ret.embedAttrs[args[i]] = args[i+1];
            break;
          case "src":
          case "movie":
            args[i+1] = AC_AddExtension(args[i+1], ext);
            ret.embedAttrs["src"] = args[i+1];
            ret.params[srcParamName] = args[i+1];
            break;
          case "onafterupdate":
          case "onbeforeupdate":
          case "onblur":
          case "oncellchange":
          case "onclick":
          case "ondblclick":
          case "ondrag":
          case "ondragend":
          case "ondragenter":
          case "ondragleave":
          case "ondragover":
          case "ondrop":
          case "onfinish":
          case "onfocus":
          case "onhelp":
          case "onmousedown":
          case "onmouseup":
          case "onmouseover":
          case "onmousemove":
          case "onmouseout":
          case "onkeypress":
          case "onkeydown":
          case "onkeyup":
          case "onload":
          case "onlosecapture":
          case "onpropertychange":
          case "onreadystatechange":
          case "onrowsdelete":
          case "onrowenter":
          case "onrowexit":
          case "onrowsinserted":
          case "onstart":
          case "onscroll":
          case "onbeforeeditfocus":
          case "onactivate":
          case "onbeforedeactivate":
          case "ondeactivate":
          case "type":
          case "codebase":
          case "id":
            ret.objAttrs[args[i]] = args[i+1];
            break;
          case "width":
          case "height":
          case "align":
          case "vspace":
          case "hspace":
          case "class":
          case "title":
          case "accesskey":
          case "name":
          case "tabindex":
            ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
            break;
          default:
            ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
      ret.objAttrs["classid"] = classid;
      if (mimeType) ret.embedAttrs["type"] = mimeType;
      return ret;
    // -->
    </script>
    </head>
    <body bgcolor="#ffffff">
    <!--url's used in the movie-->
    <!--text used in the movie-->
    <!-- saved from url=(0013)about:internet -->
    <script language="JavaScript" type="text/javascript">
         AC_FL_RunContent(
              'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0',
              'width', '720',
              'height', '450',
              'src', 'DICKSON',
              'quality', 'high',
              'pluginspage', 'http://www.adobe.com/go/getflashplayer',
              'align', 'middle',
              'play', 'true',
              'loop', 'true',
              'scale', 'showall',
              'wmode', 'window',
              'devicefont', 'false',
              'id', 'DICKSON',
              'bgcolor', '#ffffff',
              'name', 'DICKSON',
              'menu', 'true',
              'allowFullScreen', 'false',
              'allowScriptAccess','sameDomain',
              'movie', 'DICKSON',
              'salign', ''
              ); //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=10,0,0,0" width="720" height="450" id="DICKSON" align="middle">
         <param name="allowScriptAccess" value="sameDomain" />
         <param name="allowFullScreen" value="false" />
         <param name="AutoStart" value="true" />
         <param name="movie" value="./DICKSON.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />     <embed src="./DICKSON.swf" quality="high" bgcolor="#ffffff" width="720" height="450" name="DICKSON" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
         </object>
    </noscript>
    </body>
    </html>

  • Making a flash movie delay before starting for the first time

    Flash noob here. I've currently got a little bit of
    actionscript in my flash movie which makes it loop a couple times,
    and then pause, before looping over again, and then pausing again,
    and wash-rinse-repeat, which is fine.
    But now what I also need is to add a small bit of code
    (preferably on the first frame) which allows me to set a delay
    time, that the movie will just appear to be paused, but it should
    ONLY do this the first time. Every other time, the movie should
    loop like it does normally.
    The reason is because I've got about 3 movies on my page,
    when one stops moving, I want a 2nd one to start, then when that
    one stops, the 3nd will start, and when the third one stops, the
    1irst one will start again, etc. so I have to time it just
    right.

    If it might help, here's the code I have so far. The movie
    has 17 frames. But that shouldn't matter, I was going to just go by
    the loop count, and try to even them up that way.
    frame 1
    function pause(){
    play();
    clearInterval(timer);
    loopCount=0;
    frame 16
    if (!loopCount) {
    var loopCount:Number = 0;
    loopCount++;
    if (loopCount < 5) {
    this.gotoAndPlay(1);
    } else {
    this.gotoAndPlay(17);
    frame 17
    stop(); // 60000 = 1 minute
    timer = setInterval(pause, 10000);

  • Export flash movie to play on domestic DVD

    I need to create a Flash movie with a spinning logo on a
    bitmap background that can be played for at least an hour on a DVD
    player through a regular widescreen flat panel TV . I can easily
    make the flash movie and make it loop, but I have no idea how to
    make it run on a DVD player for the TV nor what resolution will be
    required.
    Can any one please help me?

    welcome DBeaty to the  boards...
    be sure, your iM project is located in the 'Movies' folder of your Mac.
    Launch iDVD
    choose a Theme
    click on Media/Movies
    drop project into window...
    choose 'create image' under file...
    be sure, 10 - 15 GB of free disk space still avail on your internal harddrive...
    wait...
    wait longer...
    double click on created img file..
    launch Toast (or Disk Utility)
    'copy' the mounted (virtual) DVD onto a dvd-r ...
    ... should work, should play on PCs (Windows needs an additional DVDplayer app! Windows-out-of-the-box does NOT play standard videoDVDs.. )

  • How do I embed flash movie in MUSE?

    I am trying to embed a Flash movie in a new page on my site. I want the Flash movie to open in a new page, full screen without header or footer. I have puploaded a page with the correct code (I think) . The page opens but remains blank. The swf movie file does not launch. The files work fine on my hard drive.

    Jgrummel, I tried pasting in your code with the name of an audio file, but it did not work even when I published. My guess is that the file needs to ALREADY be on the server, but then I thought if that was the case, does the embed code have to have a folder reference? I am not a coder, so I am trying to figure out at random. Can you provide any step-by-step process for getting audio files to play in the background WITHOUT the player being seen or being loaded in another page? Is the only option to use a thrid party server, like youtube, BUT with that issue is that I get suck with player controls that I do not wnat and it does not loop.

Maybe you are looking for

  • Creating a .pdf with different page views

    I'm tyring to create a .pdf with different page views.  For example as the viewer goes through the .pdf some pages I would like viewed as "single page view" and others "two page view".  Is this possible?   I'm working with Adobe Acrobate Pro.  Thanks

  • UNSPSC code from SRM to PReq

    The Manufacturing Part Number field on the purchase requisition (field name: MFRPN) is populated with the UNSPSC code for catalog orders from SRM. However, I am unable to bring this data over to the PO. I have checked config to make sure the field is

  • Database Toolkit: Reading data from SQL database

    Hello, I have been working on a automated test system storing data into a SQL server database.  Once you get your head wrapped around the toolkit and walk through some of the examples it is not too bad.  Writing to the database was very straight forw

  • Sqlnet.ora trace files getting generated even after turning off tracing

    Hi, I have recently added the following parameters to the sqlnet.ora file. TRACE_LEVEL_SERVER=16 TRACE_FILE_SERVER=SERVER TRACE_DIRECTORY_SERVER=/ftpland/trace TRACE_TIMESTAMP_SERVER=on Even after removing these enteries from the sqlnet.ora I still s

  • How to install with a broken superdrive?

    Just in time for Leopard to arrive in the mail, the superdrive conked out on my MacBook Pro. I do have a separate Mac Pro (I bought the family package of 10.5,) and a firewire cable. I can start up the Mac Pro in FireWire drive mode by holding down '