Loading flash movie manually

Hello
ISorry to say this but I am a newbie in Flash.
I have made a flash movie with playback control.
I hosted it on my website but the problem is whenever someone
visit the website it loads automatically even if you don't press
play.
I was just wondering how i can make the video starts loading
only after somebody press play. It is eating my bandwidth at the
moment everytime somebody visits my website because it loads
automatically even if you don't press play.
Do I have to edit the fla or flv? and how?
Thank you for your help!

craete two different swf one with play back control and other
with all main content. And just load playpack swf first and write a
code on play button to load content swf like
play.onPress=function(){
loadMovie("content.swf","_root");
}

Similar Messages

  • Load flash movie by executing javascript

    Hi all,
    I am having one html file that is showing flash movie on
    brawser.
    I want to load that flash movie into my flash application
    movie clip. How can I do that. Please guide me...
    here is html code... put it in ad.html file and open it.
    <script language='JavaScript' type='text/javascript'
    src='file:///D:/SportingBet-Widget/ExtraStuff/Documents/adx.js'></script>
    <script language='JavaScript' type='text/javascript'>
    <!--
    http://ads.sportdog.gr/ads/adx.js
    if (!document.phpAds_used) document.phpAds_used = ',';
    phpAds_random = new String (Math.random()); phpAds_random =
    phpAds_random.substring(2,11);
    document.write ("<" + "script language='JavaScript'
    type='text/javascript' src='");
    document.write ("
    http://ads.sportdog.gr/ads/adjs.php?n="
    + phpAds_random);
    document.write ("&amp;what=zone:218");
    document.write ("&amp;exclude=" + document.phpAds_used);
    if (document.referrer)
    document.write ("&amp;referer=" +
    escape(document.referrer));
    document.write ("'><" + "/script>");
    //-->
    </script><noscript><a href='
    http://ads.sportdog.gr/ads/adclick.php?n=a1ffd680'
    target='_blank'><img src='
    http://ads.sportdog.gr/ads/adview.php?what=zone:218&amp;n=a1ffd680'
    border='0' alt=''></a></noscript>

    Did you upload the Flash movie (the SWF file)? Doesn't appear
    to be on
    your server.
    Alec Fehl, MCSE, A+, ACE, ACI
    Adobe Community Expert
    AUTHOR:
    Microsoft Office 2007 PowerPoint: Comprehensive Course
    (Labyrinth
    Publications)
    Welcome to Web Design and HTML (Labyrinth Publications)
    CO-AUTHOR:
    Microsoft Office 2007: Essentials (Labyrinth Publications)
    Computer Concepts and Vista (Labyrinth Publications)
    Mike Meyers' A+ Guide to Managing and Troubleshooting PCs
    (McGraw-Hill)
    Internet Systems and Applications (EMC Paradigm)

  • Load flash movie which with sound problem

    Hi, all,
    I am doing a flash which with audio, the audio about 3-4 mins. But when i use another flash movie to load that flash mov with sound (using load movie function), cannot hear any voice. Why is it?
    The flash movie with sound is use actionscript to attach the sound, when i test the movie, it is work. When it comes to load from another movie, it doesn't work. Anyone can help me to solve it?
    Thanks.

    What version of Actionscript are you using?

  • How to load flash movies in a "series"

    Basically, I have 5 external swf movies.
    I want to load them on another swf container one after
    another, with the container being able to detect the last frame of
    a certain movie and load the next randomly. I can load them easily
    by individually assigning the length of each movie into the
    container.
    But the problem is that the external movies varies in lengh.
    I want to be able to update an external movie and the container
    would still be able to detect the last frame of it.
    Hope someone can help. Thanks in advance.

    i would create 2 arrays. one with the SWF names, and one with
    interval times based on the length of the movies, then use a for
    loop to load the movies into the container based on setInterval...
    you can try using _totalframes if that is going to be to difficult,
    but im not sure how successful that will be.

  • How to control a loaded flash movie? Please help!!!

    Hello everyone
    I'm creating a web site with multiples swf files, the navigation is controlled via drop down menu, i have resolved the script for the drop down menu main buttons and i need to control the timeline of the movies loaded with the drop down menu main sub buttons to navigate into specific frames
    this is what i got:
    stop();
    var myrequest:URLRequest=new
    URLRequest("HomeSonny.swf");
    var myloader:Loader=new Loader
    myloader.load(myrequest);
    stage.addChild(myloader);
    //main buttons
    menu.nosotros.addEventListener(MouseEvent.CLICK, clickmouse);
    //menu.islas.addEventListener(MouseEvent.CLICK, clickmouse);
    //subButtons
    menu.historia.addEventListener(MouseEvent.CLICK, subMenu);
    //event listener main buttons
    function clickmouse(evt:MouseEvent):void {
         trace("click")
         myloader.load(new URLRequest("swf/"+evt.target.name+".swf"));
    //listener loaded movie
    myloader.contentLoaderInfo.addEventListener(Event.COMPLETE, subMenu);
    //event listener sub buttons control loaded movie
    function subMenu(evt:MouseEvent):void {
         trace("clickSub")
         var mycontent:MovieClip=evt.target.content;
         mycontent.gotoAndStop("historia");
    the problem is when i click the drop down menu sub button, does not go to the label frame of the loaded swf fil.
    What am i doing wrong?
    sample in the file....
    thanks for watching.........

    See code and comments below. I don't guarantee that it will fix all your troubles though - you have big flaws in the logic:
    stop();
    // declare this var here so that is accessible
    var mycontent:MovieClip;
    var myrequest:URLRequest=new URLRequest("HomeSonny.swf");
    var myloader:Loader = new Loader();
    // you need to add listener here - before you start loading
    // also you shouldn't mix loading with mouse click
    myloader.contentLoaderInfo.addEventListener(Event.COMPLETE, onFileLoad);
    myloader.load(myrequest);
    // since your content changes - you shouldn't add it here
    // stage.addChild(myloader);
    //main buttons
    menu.nosotros.addEventListener(MouseEvent.CLICK, clickmouse);
    //subButtons
    menu.historia.addEventListener(MouseEvent.CLICK, subMenu);
    function onFileLoad(e:Event):void {
         // remove previous content
         if (mycontent) {
              removeChild(mycontent);
              mycontent = null;
         mycontent = evt.target.content as MovieClip;
         addChild(mycontent);
    function clickmouse(evt:MouseEvent):void {
         trace("click")
         myloader.load(new URLRequest("swf/"+evt.target.name+".swf"));
    function subMenu(evt:MouseEvent):void {
         trace("clickSub")
         mycontent.gotoAndStop("historia");

  • Loading/Caching Flash movies

    Hello,
      Using Actionscript 2, I'm a bit new to all the scripting stuff.
      I have a loader loading a couple of flash movies like this:
    loadMovieNum("sound.swf", 1);
    loadMovieNum("logo.swf", 2);
    loadMovieNum("mainmenus.swf", 3);
      Those 3 movies I need to go to the main section of the site. However, I would like the loader to also load the remaining movies needed to further navigate the site, but without displaying them now.  Kind of like 'caching' the rest of the site, so when the access is needed, there's no load time.
      How can can I do this? How would I tell it to cache movies in the background?
       Hope this makes sense, thank you!
    -=m.

      Hi thanks for bearing with me ;-)
      I've looked up the function createEmptyMovieClip in the help but I'm still unsure of the syntax I should be using.
      On frame 3 I'm loading flash movies like this:
    loadMovieNum("sound.swf", 5);
    loadMovieNum("ogo.swf", 4);
    loadMovieNum("menus.swf", 3);
    loadMovieNum("graphics.swf", 1);
    loadMovieNum("outside_info.swf", 7);
    The movies I would like to load on background:
    something.swf
    thisthat.swf
    map.swf
    etc....
    Can I put a createEmptyMovieClip function right after my loadMovieNum commands? If so, what would it look like?
    Thanks so much!
    -=m.

  • Flash movie doesn't load properly in IE only

    I have a simple flash movie which transitions through text and photos. I have a preloader (AS3) on frame 1, which sends the playhead to frame 2, after the movie has loaded 100%. For some reason, in Internet Explorer, the preloader bar will load all the way, but fail to move the playhead to frame 2, so it'll just sit there, with the preload bar at 100%. However, this does not happen every time. For instance, right now, the flash movie will play when I initially go to the website, but when I click on another page, the same flash header (same swf on each page) will just show the preloader bar but will not play the rest of the movie. Reloading the page doesn't help. Closing the browser and reopening it doesn't help. Clearing the browser cache doesn't help either. So, the flash movie will play correctly on the first page of the website I go to (whether it be the home page or another page) but then when I go to any other page which has the flash movie, it won't play, just sits there with the preloader bar showing. And then when going back to the initial page I entered the site on, the flash movie no longer plays there, either. I haven't seen this problem in any other browser than Internet Explorer (6 and 7). I've checked in Firefox on Mac and PC and Safari on Mac. I'm using flash player 10.0.22.87 on my Mac and PC. The flash movie was made in Flash CS3, for flash player 9, actionscript 3 code.
    So, to see the problem, go here in Internet Explorer: http://demo.matthewpavkov.com/adairsolar. Wait for the movie to load and start playing. It works. Then, navigate to one of the other pages and you'll see that the same swf will not play. Navigate back to the home page, the swf does not play.
    Here is the preloader code:
    import flash.display.*;
    this.stop();
    this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, PL_LOADING);
    function PL_LOADING(event:ProgressEvent):void {
        var pcent:Number=event.bytesLoaded/event.bytesTotal*100;
        lbar.scaleX=pcent/100;
        lpc.text=int(pcent)+"%";
        if (pcent>=100) {
            this.gotoAndStop(2);
    Also, if I remove the preloader actionscript code, the flash movie plays correctly. You can see that here: http://demo.matthewpavkov.com/adairsolar/no-preload
    The .fla is available to anyone who wants to take a closer look.

    mjjp,
         In may just be that in IE, the ProgressEvent never fires -- because your content is already cached.  See what happens if you add the following new lines (very end of the code sample):
    this.stop();
    this.loaderInfo.addEventListener(
      ProgressEvent.PROGRESS, PL_LOADING
    function PL_LOADING(event:ProgressEvent):void {
      var pcent:Number=event.bytesLoaded/event.bytesTotal*100;
      lbar.scaleX=pcent/100;
      lpc.text=int(pcent)+"%";
      if (pcent>=100) {
        this.gotoAndStop(2);
    if (this.loaderInfo.bytesLoaded >= this.loaderInfo.bytesTotal) {
      this.gotoAndStop(2);
         See what's going on?  This way, even of the ProgressEvent handler never fires, you're still comparing the bytesLoaded property against the bytesTotal property.
    David Stiller
    Adobe Community Expert
    Dev blog, http://www.quip.net/blog/
    "Luck is the residue of good design."

  • How can I get my Flash movie to load correctly in Internet Explorer?

    I loaded an swf into an html. It loads fine in Safari, Firefox and Opera. However, in Internet Explorer the swf covers up part of the copy. I tried everything with the css to get it to work, but it nothing has helped. Among other things, I tried changing the z-index in the css, but that doesn't do anything.  Is there a specific code I need to add to my html regarding the importing of the flash movie that would be specific to IE?

    This thread should be in either the Flash Pro forum or the Dreamweaver forum.
    This is for Flash Player and Flash Player related issues, not Flash or browser or HTML issues.

  • 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??!

  • Loading a movie clip to Flash

    I have a huge movie clip to be imported, its pretty huge so I
    divided them to smaller pieces and tried to import, everything my
    PC gets hung and does not respond after import. What is the best
    method to import a single huge movie clip? Your help is
    appreciated.

    Problem Solved.
    To everyone that has experienced some version of this issue,
    whether it be in previewing a load progress bar, or having
    animation freeze on you while loading external movie files...
    In test mode in flash, whether you are doing a simple test
    movie or debugging, loading progress appears to not be threaded and
    will freeze you movie until the load is complete. if you preview
    this movie clip in a browser after publishing it, everything should
    look ok.
    I've read a lot of posts about this same topic. Macromedia
    (or shall i say Adobe), fix this issue in your next release. what a
    pain...seriously. debugging is useless if the movie doesn't even
    run the same.
    very much relieved,
    Al.

  • Need Your Help with Loading SWF into another Flash Movie!

    Hello,
    I have created TWO Flash movies. They work just fine
    individually, but I get problem when I put one into another one!
    The main Flash is a Menu and the second one if a Photo Album.
    The Menu is series of animation (Moving Objects) which finally
    comes into rest and create the menu. The photo album is another SWF
    file which is called with in the first Flash Movie (The Menu). The
    SWF file is loaded as follow into the Main Flash.
    MovieClip.prototype.drawRect = function(x, y, w, h) {
    this.beginFill(0xFF0000, 100);
    this.moveTo(0, 0);
    this.lineTo(0+w, 0);
    this.lineTo(0+w, 0+h);
    this.lineTo(0, 0+h);
    this.lineTo(0, 0);
    this.endFill();
    this._x = x;
    this._y = y;
    this.createEmptyMovieClip("mc6", 6);
    mc6.lineStyle (3, 0x000000, 100);
    mc6.drawRect(-77, -17, 20, 20);
    mc6._xscale = 100;
    mc6._yscale = 100;
    loadMovie("photoAlbum.swf", mc6);
    Problem arises when I click on the Play Button of the
    photoAlbum.swf (Photo Album) since the execution of the play button
    causes the Flash starts once again from the beginning of the entire
    Flash Movie (Beginning of the animation creating the menu) and it
    simply jumps into the Firm One of my Flash Movie.
    Could you tell me how I can isulate what is in layer 6 (Where
    the photoAlbum is loaded to) from the rest of my Flash Movie?
    I hope I managed to explain my problem. I would like to take
    this opportunity to thank you in advance for your help.
    Cheers,
    Babak

    Hello Anya,
    I have realized the problem arises from the Wait Function
    which causes the Photo Album to pause for a period of time (Two
    Seconds) once a Photo is fully displayed (I have Fade in/out Photo
    Album). I realized everything works OK once I remove the function
    and rather left the Photos to be flipped without any pausing (This
    is an Auto-loading Album which simply Flips the photos!).
    Here is the Wait Function which is causing all the trouble.
    function wait()
    stop();
    var myInterval = setInterval(function ()
    play();
    clearInterval(myInterval);
    }, 2000);
    Thank you so much for your help.
    Cheers,
    Babak

  • Flash Movie Doesn't Load in Dreamweaver

    I'm trying to center my flash movie withing a 3 row table in
    an HTML file that has the "Flash Detection" javascript embedded
    within it. I'm really not sure if I've put the table formatting
    HTML in the correct place or not. When I test the movie everything
    is fine but it doesn't load online. I'll attach the code to this
    post. The website is www.elkhornpeakcellars.com if you'd like to
    see what this code currently produces. Thanks

    dvdbsqt;
    You asked>
    I'm really not sure if I've put the table formatting HTML in
    the correct
    place or not.
    I don't see any html table related tags in your posted
    script, or in the url
    page source-Perhaps you found an acceptable solution--your
    flash appears OK
    (ie7/winxp/fp9)...
    -Tom Unger

  • Flash movies title picture loading very slow

    Hi!
    I convert mpgs to flash movies in Flash 8 and
    put them on a webpage in Dreamweaver using a
    Halo skin.
    There are several movies on a page and when a user
    opens the page it takes a long time for the first pictures
    of the movies with the Halo skin to load.
    Any ideas about what is going on? This happens even on
    my own computer with cable connection.
    Thanks, Amdy

    Developer-specific resources include:
    MSDN IE Development Forum (post such questions here instead)
    http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/threads
    Tip: When posting in Developer forums, always include a link to your web site or test pages in your first post.
    IE Developer Center
    http://msdn.microsoft.com/en-us/ie/default.aspx
    IE’s Compatibility Features for Site Developers
    https://blogs.msdn.com/b/ie/archive/2010/06/16/ie-s-compatibility-features-for-site-develo pers.aspx
    Preparing Your Site for IE9
    http://blogs.msdn.com/b/ie/archive/2011/03/18/preparing-your-site-for-ie9.aspx
    Expression Web SuperPreview for Internet Explorer (60-day free-trial, stand-alone visual debugging tool for all versions of Internet Explorer)
    http://www.microsoft.com/downloads/en/details.aspx?FamilyID=e6cc9b3e-7eab-4525-8322-14d7e2 67eb2c
    Expression Web SuperPreview Release Notes
    http://www.microsoft.com/expression/products/Web_ReleaseNotes.aspx
    Validators:
    http://validator.w3.org/
    http://jigsaw.w3.org/css-validator/

  • Load external jpeg into flash movie

    Hi, how do i load external jpeg into flash movie?
    Can someone show me the actionscript? Thanks

    hi, i pasted the code on a mc but it didn't work.
    However, when i put in on frame action, it works.
    However, i realised the image flickered (more like refreshed)
    after afew sec...
    Is this normal? Is it the loop problem? how do i get rid of
    that?

  • Loading URL after flash movie finishes

    I have created a flash movie which i have taken into a html
    page. when the flash movie has finished i want to load a html page
    in the current window. What actionscript should i be using to do
    what i want?

    I'm far from an flash expert but off the top of my head you
    could try adding this to a blank keyframe at the end of your movie:
    getURL(
    http://www.whatever.com,
    "_self");
    worth a try

Maybe you are looking for