'Load external movie clip' behavior

I am currently working on a flash movie that loads with an
animation and stops to show four buttons that are then supposed to
load external .swf files when clicked (released). While the
behaviors and actions I have set all work fine when I test the
movie in Flash, when all the files are uploaded to my server, the
external movie clip does not load, and the message in the bottom
left corner of the browser hangs at waiting for
www.panoramalotforsale.com...
Anybody any idea what I'm doing wrong?

When everything works fine locally, but fails to load live on
your webserver, there is of course a pathing problem.
So, in your flash, when you call loadMovie, try using a full
path to the external file your trying to load.
So for example, instead of "/movies'/myexample.swf", do "
http://www.yoursite.com/movies/myexample.swf".
Make sure you keep the
http:// though.

Similar Messages

  • 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.

  • External Movie Clip Bug

    Hi Folks,
    I have the external movie clip set up to load a swf and it
    keeps wanting to go to the wrong folder to find the swf. I have
    everything in the main swf in the same folder but it is trying to
    find the external swf in the wrong folder. Each time the output
    window shows it trying to go tothe wrong folder. I have the url set
    to relative and going to the right swf. Please help!

    Well, running under the debugger appears to make it quite clear that you can't have objects exported for actionscript in an external SWF.
    And additionally it looks like you can't access such objects if they only have instance names.
    It would really be nice to be able to introspect a SWF file that was loaded externally using AS3 and make changes to it.
    The external file doesn't really need to contain any code to do this - all of the code is in the file loading it.
    I was initially thinking all my problems were solved but now it looks like that isn't the case.

  • Movie inside of a loaded external movie

    Hi
    how to control a mc inside a loaded external movie?
    so I have a main.swf, loaded a ex.swf into it by using loadMovie, and inside ex.swf there is a mc called 'mc'
    how do I control 'mc' from main.swf? I tried something like newLoader.mc._x +=1;  ( newLoader is ex.swf), it doesn't work?
    Thanks for reply.

    Hi Ned
    after I read your reply, i went on make a new sample file just to try it out, and it work, then I went back to my file and found out on these code
    var currentObject = new Object;
    currentObject = newLoader.newLoader2.newLoader3;
    var currentObjectColor = new Object;
    currentObjectColor = currentObject;  
    and then I have
    var my_color:Color = new Color(currentObjectColor.mc);
        trace (allowColor);
        my_color.setRGB(this.colorCC);
    for some reason, after I replace currentObjectColor to just currentObject, it work just fine, I don't know if the problem is from putting one object equal another one, but as far as I need this would work for me.
    thanks a lot.

  • Passing variables to loaded external movie

    Ok, this problem has beaten me for the last 2 days. It seems
    to be extremely simple, I am on main movie and I am using
    MovieClipLoader class to load external movie callMe.swf into movie
    holder called holder_MC, then from main using onLoadInit or
    onLoadProgress listeners I can target dynamic text inside
    callMe.swf as holder_MC.myTXT.text = "blablabla" or I can change
    frames in callMe.swf by holder_MC.gotoAndStop(5). But HOW TO PASS
    VARIABLE myVar to callMe.swf so it executes something there? Using
    holder_MC.myVar DOESN'T WORK!!!!!!!!!!!!!!
    Thanks for any help,
    Zbynek

    UPDATE... I copied the link to another page with my variables in the image attributes as I posted above. And it works using the values that are cached for those items. Is there any way to do this on the same page as my original link without my users having to change to a different page?

  • Loading external movies differently

    I am making a web site with several pages that the content
    will load as an external movie. Right now I have all loading with
    the nav buttons "on release". The first page loads through one
    blank clip and the rest in another. What I would like to do is have
    the first external page/clip content load with the main page and
    also reload with the nav button if someone wishes to return and
    leave the other buttons to remain loading each pages external
    content like they are now. So is there a way to get the first pages
    content to load both ways? This is what the code for the first
    button looks like now :
    on (release) {
    //load Movie Behavior
    if(this.aboutext == Number(this.aboutext)){
    loadMovieNum("aboutus.swf",this.aboutext);
    } else {
    this.aboutext.loadMovie("aboutus.swf");
    //End Behavior
    //unload Movie Behavior
    if(this.blk == Number(this.blk)){
    unloadMovieNum(this.blk);
    } else {
    this.blk.unloadMovie();
    //End Behavior
    Right now everything works I just don't have any content
    until a button is clicked.

    Hi,
    Take a look at this simple tutorial and you will find what
    you are looking for.
    Here
    Hope this helps
    Cheers
    Alan

  • Loading external movies

    I've created (with help) a series of buttons that scroll a
    movieClip's x-position according to an arrayIndex. With variables,
    these buttons also cycle through their up and down state as the
    user clicks from one to the next. I'd like for them to also load an
    external flash movie into a "loader" movie clip. More precisely, a
    different external swf for each button.
    I don't know how to include the loadMovie script into the
    (beyond my skills) action script that controls my x-postion
    buttons. I've tried to write the bellow code for each button, but
    it stops my x-position scroll.
    I tried to use this code... but it stops my movieClip from
    scrolling.
    controller_mc.but1.onRelease = function() {
    loadMovie("chapterTest.swf", "_root.loader");
    Here is my complete code. I'd be happy to answer any question
    and I'll also attach my file for review. Thank you.
    click here for
    my files

    Hi,
    Ok, you mentioned that you had an issue when clicking on a
    button to load an external movie it would stop your x-position
    scroller. I downloaded your files and you have a button in the
    library that's found in the timeline called btnLink_01. You have an
    button event called:
    //thumb links
    timeline1.link01.onRelease = function() {
    When I opened your file and ran the movie, I click on the
    btnLink_01 at it did not load the external movie called test.swf,
    which I created, and didn't seem to affect your x-scroll
    functionality. I did some troubleshooting and set the color
    properties from Alpha to None on movieclip "loader" movie and it
    loaded the external movie just fine. Seemed like you had the alpha
    set to 0, so when the movieclip was loaded, it didn't show up. Not
    sure if this is the issue you had. Let me know if that helps or if
    I wasn't resolving your issue correctly.
    Thanks,
    Jaime

  • Loading a movie clip loses my script function

    I have an art gallery that is in three parts. The Flash movie
    used to load everything before opening, but the gallery has grown
    too large. So now I've divided it up into three sections. The first
    section loads the first set of pics with the movie. The second and
    third sections load when you click on the relevant buttons. The
    interface (root movie) has 2 movie clips per section - the
    thumbnails (all three of which load with the movie) and the large
    pics of the thumbnails. So when you click on a thumbnail the proper
    large work shows in the other movie clip. This all worked fine
    using this code in my thumbnails for the largeWorks sections:
    stop();
    large1_btn.onPress = function (){
    _root.largeWorks_mc.gotoAndStop(1);
    large2_btn.onPress = function (){
    _root.largeWorks_mc.gotoAndStop(2);
    etc...
    This code is in the thumbnail movie script. Notice it calls
    _root.largeWorks_mc
    Now when you click on See Large Works button a place holder
    movie clip (target) called largeWorksE_mc is replaced with
    largeWorks_mc.
    The button uses the code:
    loadMovie("largeWorks_mc.swf",_root.largeWorksE_mc);
    But now when I click on the thumbnails nothing happens. My
    thumbnail movie clip is no longer communicating with the loaded
    movie clip. What have I done wrong?

    I had trouble following your explanation.
    If code is disappearing, it is probably code in a MovieClip
    that a loadMovie replaces with another external movie. When using
    loadMovie, the MovieClip in it is destroyed and the timing is not
    something you can predict.

  • Loading external movies in specific frames

    Here's what I'd like to have my project do: By clicking on a
    button in frame 5 I'd like to load a movie into an empty movie clip
    in frame 20. I'v ewritten the script to create the empty movie clip
    and also load the movie, but the movie loads into all frames of my
    project. I'd ideally like to have the movie clip waiting for my
    only in frame 20. Anyone know how to make this happen?
    Thanks
    Eric

    you could not load it into an empty movie clip located on
    frame 20 from frame 5, flash wouldn't know where to load it since
    the movie clip hasn't shown up... you could load it in on frame 5
    and give the movie clip a _visible = false; or set it's _x and _y
    properties to be off the stage, then on frame 20 set it to _visible
    = true; or move its _x and _y properties to be on the
    stage..

  • Closing swf loaded into movie clip

    I have built a movie clip on my main flash file that I am loading separate swfs into. On the separate swfs I have a close button, but do not know what action script to attach to it to make the movie clip go away? I want these to go away every time you hit the close button on the separate Flash swfs loading into the main movie clip.

    if the target movieclip has a non-negative depth and the close button is encoded on the loaded swf's main timeline, you can use:
    var tl:MovieClip=this;
    path.closeBtn.onRelease=function(){
    tl.removeMovieClip();

  • Load all movie clips

    Hi,
    I have a "map_mc" movie clip that has over 500 movie clips(counties). I also have the countynames in xml format.  I want to be able to
    1.  in a loop get a list of all movie clips
    2. and in a dynamic text box assign the county name to the movie clip (from xml).
    Is it possible to get the names of all movie clips and then assign the countynames?
    I have the xml part semi working and on mouseover can display the name but is stuck on the movie clip part.
    I am trying to avoid typing all the county names  and in the future will be adding census and other data to the xml.
    can someone help?

    if you had an xmlList of 500 countynames, and if the 500 movieclips inside maps_mc each had names such as mc0, mc1, mc2, etc, you could loop thru them like this:
    for(var i = 0; i < xmlList.length(); i++){
         //get reference to county movieclip
         var mc = maps_mc.getChildByName("mc" + i);
         //then add listeners
         mc.addEventListener(MouseEvent.ROLL_OVER, overMe);
         mc.addEventListener(MouseEvent.ROLL_OUT, outMe);
    function overMe(e:MouseEvent){
         //the county you rolled over
         var mc = e.target;
         //extract the number from the name
         var n = Number(mc.name.substr(2));
         //use n to get countyname from xmlList
         var countyname = xmlList[n];
         trace(countyname);
         //now add countyname to a textField
         textField.text = countryname;
    function outMe(e:MouseEvent){
         //clear textField
         textField.text = "";

  • Loading an external movie clip

    Hi team,
      Last time I wanted to load an external clip I could do it like this
    on (release) {
              unloadMovieNum(1);
              loadMovieNum("whatever.swf",1);
    So now I want to achieve exactly the same thing in AS3,
    I have been looking at examples on the web but am getting all sorts of errors and basically don't know what I am doing.  I also want to know how to navigate to .swf files in a file structure, as I have to build an old school fscommand file structure for a cd-rom.
    Any and all help greatly appreciated.
    Cheers,
    Sub

    Hey worked it out guys!
    var myLoader:Loader = new Loader();                     // create a new instance of the Loader class
    var url:URLRequest = new URLRequest("whatever.swf"); // in this case both SWFs are in the same folder
    myLoader.load(url);                                     // load the SWF file
    addChild(myLoader);                                     // add that instance to the display list, adding it to the Stage at 0,0
    But now I need to know.. How do I unload it?
    Cheers
    sub

  • How do you wait to load certain movie clips or frames?

    I have seen flash sites that wait to load different parts of the flash file until you click on a link, thereby starting a loading graphic that then loads the content you're looking for. I can't find any information on how to do this, and I'm guessing I just can't find the right terminology.
    Does anybody have the right verbiage for me or can anybody point me to a website that explains the process? Thanks, Dan

    I got ya.  Thanks for your help.
    Any idea what size they say is "too big" a file for a flash movie on a standard website nowadays? I'm looking at being around 1MB when all is said and done (assuming I use the loader to pull some of the bigger things from external files).
    Thanks, Dan

  • Need help loading multiple movie clips.

    Hello forum members,
    I've run into a bit of an irritating problem and perhaps
    someone can clue me in to the answer.
    I'm creating a SWF which uses loadMovie (I've also tried
    creating a MovieClipLoader instance and using instance.loadClip) to
    bring in 2 other SWFs.
    See below AS in first couple frames of main movie's
    time-line:
    First movie:
    this.createEmptyMovieClip("mcToolbar", 10);
    with (mcToolbar)
    _x=8;
    _y=68;
    loadMovie("toolbar.swf",mcToolbar);
    Second movie:
    this.createEmptyMovieClip("mcWindow", 11);
    with (mcToolbar)
    _x=500;
    _y=60;
    loadMovie("textwindow.swf",mcWindow);
    This works great when opening up my main SWF in Flash Player
    and when viewing the movie in the published HTML web page.
    However, I'm using FlashObject to load my main movie to get
    around that annoying "Click to activate this control" thing.
    When viewing this version of the web page with my main SWF
    being loaded, I see the SWF load, then the first loadMovie
    loads....THEN the first loadMovie disappears and the second
    loadMovie loads and appears at the wrong X and Y coordinates.
    Any ideas?

    Ok, I know replying to my own post is odd on some forums, but
    anyhow:
    I've done some further testing and find that FlashObject
    isn't the problem.
    Looking at the AS code above, it is clear that the SWFs to be
    loaded must be in the same folder as the HTML web-page.
    However, my intent is that these small SWFs that are being
    loaded in by the main SWF will be shared by many other movies,
    therefore I'd like to stick them (the physical SWF files) closer to
    the root of the site (e.g. SiteFoler->flash).
    I see that my problem rears its ugly head when I try to
    reference these movies in my main flash movie as follows:
    First movie:
    this.createEmptyMovieClip("mcToolbar", 10);
    with (mcToolbar)
    _x=8;
    _y=68;
    loadMovie("../../../flash/toolbar.swf",mcToolbar);
    Second movie:
    this.createEmptyMovieClip("mcWindow", 11);
    with (mcToolbar)
    _x=500;
    _y=60;
    loadMovie("../../../flash/textwindow.swf",mcWindow);
    In the example above, my HTML page is 3 folders deep whereas
    the movies I'm loading in are 1 folder deep in the folder labeled
    "flash".
    By doing it in this manner, I get the problems I described
    above (first movie loads then disappears and second movie loads in
    wrong position).
    Any ideas as to why the physical location of the SWFs being
    pulled in is causing this problem? I'd like to try to avoid copying
    the SWFs to each place their being refrenced from as that could be
    a major maintenance headace.
    Thanks,
    Ben

  • Loading External Movie

    I created a captivate movie and published it into a swf. I
    need to play this in Flash. I created a MC blank placeholder and
    added a behavior. However, it errors with a very long message,
    stating it can't find any of the children. Help

    ok great - i never use behaviors, so looked this one up. but
    something else is confusing here - you say '...find any of the
    children' is the error you're getting - this would indicate that
    your using AS3 (i thought i saw that in another of your posts as
    well) and behaviors only work under AS2 - so that's a bit odd
    really LOL! :) however, the behavior uses loadMovieNum and
    LoadMovie methods - so it looks like it's just not 'finding' the
    placeholder MC that you've constructed and targeted - check and
    make sure you've given an 'instance name' to the placeholder MC -
    and that you placed it on the stage.

Maybe you are looking for

  • Need create a new control key, which message control is "error mode", then PR or PO

    Hi All, Can please help me I got an issue in QM , Issue Description :-  Current QM control key for supplier validation date is "0001", the message mode is only warning. PR or PO still can be created forcibly. Need create a new control key, which mess

  • Status of suceessfull execution of an action definition

    Hi We have configured in CRM 4.0 for Sales Order Transaction that when a new order is created , Order Acknowledgment an email output format has to be automatically triggered to the concerned partner through action profile.In the action profile -- the

  • Bug report - nbsp in search results

    See http://apex.oracle.com/pls/apex/f?p=24317:86 Out of the box report on EMP with query as select * from emp where (:P86_SEARCH is null or lower(empno||ename||job) like '%'||:P86_SEARCH||'%') order by empnoand Highlight Search enabled on EMPNO, ENAM

  • Error after upload of the book while ordering

    Each time I try to buy a book, it starts to upload when I click "Buy" but at the exact end of the upload, it gives me a message that the transfer didn't work and I should retry, of course it doesn't work... I am via an Airport network at home but I d

  • Images in a web page

    When I paste jpeg photos into my web page, they are grayed, I can't see the images. Can someone tell me why?