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

Similar Messages

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

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

  • 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

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

  • Loading External swf - different versions

    This must be an easy question that I thought I knew the
    answer to. I recently made a series of games that required parsing
    an XML document which provided the paths to various external swfs.
    The UI and the external swfs were all exported as Flash 7 movies.
    However, for a variety of reasons, it was necessary to update the
    UI to Flash 8. I made updates, tested in Flash and all was dandy.
    However, testing in a browser / the stand alone player and the
    external movies did not load. Pure and simple. I tried a whole host
    of things until i finally re-exported the external swfs (which had
    remained untouched) and suddenly it works. Long story short, can a
    movie exported as a later version of Flash not load movies that
    were exproted in a previous version? This doesn't seem right. I
    knew the reverse was true and made sense, but this seems crazy
    especially since testing the files in Flash itself works.

    interesting point. The only thing I could think of is any
    "init" code from flash 7 might have been depreciated that you are
    using and not supported in 8.

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

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

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

  • Loading a Movie that Loads other Movies

    Hi All,
    I am working on a kiosk. There are two seperate versions of
    the kiosk, one in english and one in spanish. Both of these
    versions are in a seperate folder. I want to create an exe that
    will give the user the choice of language and then load that
    version. Unfortunately, the seperate versions of the kiosks also
    load external movies. So for example, when I load the english
    version it is looking for the external swf in the same directory of
    the movie that is loading it.
    Is there any way around this? I want to basically "lock" the
    loaded movie so that any calls to external swf's refer to the
    directory structure of the loaded movie and not the movie that is
    calling it. I can't put the external files in the same directory as
    the main movie because both versions use files with the same names.
    Thanks for any available help!
    -=Chris

    Okay, here is a simplified example of my directory structure:
    |-Main.exe
    |--------------- spanish folder
    |---------------------------------spanish.swf
    |---------------------------------Content Folder
    |------------------------------------------------content1.swf
    |------------------------------------------------content2.swf
    |------------------------------------------------content3.swf
    |--------------- english folder
    |---------------------------------english.swf
    |---------------------------------Content Folder
    |------------------------------------------------content1.swf
    |------------------------------------------------content2.swf
    |------------------------------------------------content3.swf
    Main.exe gives the user the choice to select English or
    Spanish. If the user selects English, then english.swf is loaded
    into main.exe. However, when english.swf is loaded, it no longer is
    able to load content1.swf from the content folder. I understand
    that I can change the path in english.swf to make it work, but
    there are a great deal of paths that would need to change. Is there
    any way to lock the loaded movie(english.swf) so that any calls to
    external swf's(content1.swf) refer to the directory structure of
    the loaded movie(english.swf) and not the movie that is calling it
    (main.exe). Thanks again!
    -=Chris

  • How to load external subtitles in mov files (in QT)?

    Hi everybody,
    When I play an avi file, QT is able to load external subtitles (I've Perian installed). However, this week, I downloaded a file from apple, saved it as a mov file and created a subtitle file for it. Then, I put both files in the same directory and used the same name for them (one .mov and the other .srt). When I play it (with QT), the subtitle file doesn't load. Does anybody know what is happening? Is is a problem with mov files? Or is it a problem with files downloaded from apple (some kind of lock?!)?
    Thanks

    cowpox wrote:
    Hi everybody,
    When I play an avi file, QT is able to load external subtitles (I've Perian installed). However, this week, I downloaded a file from apple, saved it as a mov file and created a subtitle file for it. Then, I put both files in the same directory and used the same name for them (one .mov and the other .srt). When I play it (with QT), the subtitle file doesn't load. Does anybody know what is happening? Is is a problem with mov files? Or is it a problem with files downloaded from apple (some kind of lock?!)?
    Thanks
    You might do better reposting this in the QuickTime forum here:
    http://discussions.apple.com/forum.jspa?forumID=932

  • I have a new iPad Air. Can I use plug in USB camera reader to have a load of movies etc on an external hard drive and then plug and play so to speak. I'm off on holiday and haven't got the capacity to have everything on that I'd like for the kids

    Can I use a plug in USB camera reader to have a load of movies etc on an external hard drive and then plug and play so to speak? I'm off on holiday and haven't got the capacity on the iPad to have everything on that I'd like for the kids.
    So basically I want a hard drive with X amount of films etc on. Can I then watch them on my iPad?
    Hope this makes sense.

    External HDD won't work.
    You need something like this:
    http://www.seagate.com/goflexsatellite/

  • Loading An External Movie...

    I'm new to Flash and this may seem like a silly question but I need help with using an external .swf file in my main timeline for my site. Basically, I've figured out how to load the movie and that works great, but the problem is when I click off of that page the movie stays up there. What is the best way for me to exit out of that movie once the user clicks on anything outside of that movie? Your help is greatly appreciated!
    BFM

    One way would likely be to have an empty movieclip in the timeline that you load that swf into.  When you load something dynamically, if it isn't targeted to load into something that lives on the timeline, it doesn't have a home relative to the timeline, so moving along the timeline doesn't make it go away.
    Another way is to remove the swf, and doing that depends on how you loaded it (which version of AS).

  • Need buttons on base movie to become inactive when external movie loaded

    Hi,
    I am working on a portfolio website and I have all my navigation with buttons linking to other pages, on the base level. All the buttons are  scattered around the stage and when one of these buttons is clicked an external movie is loaded in the centre of the page.
    The movie is a big white box with a slideshow of images from my portfolio in the centre of the stage.
    My problem is that the buttons on the base level are easily clicked by accident, even though you cant see them with the white box.
    Is there anyway I can stop the base movie clip working, once a button is clicked? When the user has finished looking at my slideshow images then they press a close button.
    Code used for button on main timeline:
    swfBtn.onRelease = function()
        loadMovieNum("graphicLayouts.swf", 1);
    Code used for Close button on external swf:
    on (release) {
         unloadMovieNum(1);

    In your case I'd recommend writing the said above two function on main timeline. It should go something like this:
    function enableBtns():Void
         BTN_1.enabled = true;
         BTN_2.enabled = true;
         // ... and so on
    function disableBtns():Void
         BTN_1.enabled = false;
         BTN_2.enabled = false;
         // ... and so on
    Now, in the function where you call the loadMovie method (it's on the main timeline, right) just write:
    disableBtns();
    And in the external swf file, where you unload your swf write:
    _level0.enableBtns();
    It should work if I didn't bug anything.

  • Loading in external movie

    hi all
    I have a problem loading in movies from a movie with a
    scrolling menu. the problem is the movie(load.swf, the movie trying
    to load into)is also loaded into main movie, so because of this
    needs the code;
    _global.loadNewMovie():
    at the end of the maintimeline to load in and out of the main
    movie.
    thus my problem, I have the movie load.swf loading in and out
    of my main.swf but know I can't get the little external movies to
    load into load.swf......does this make any sense...sorry bit of a
    newbie : (
    so movie trying to load into is
    load.fla
    small external movies to load
    movie1_02.fla
    movie1_03.fla
    I've put a link to a zipped folder with the fla's in would
    anyone beable to help me get the movies movie1_02.fla and
    movie1_03.fla loading into load.fla whilst still keeping the
    _global.loadNewMovie():
    on the main timeline??
    heres the ln link
    http://www.pmrltd.co.uk/help.html
    cheers for your help

    if you want the movies to simply load into your load.swf like
    this and when one finishes the next loads in, you'd be better off
    creating a container movie clip at (0,0) that you load your
    load.swf movie into. tell this movie to play through its timeline.
    at the end of that timeline, have it do a
    this.loadMovie("movie1_02.swf") and then add a line of AS on the
    end of movie1_02.swf that would
    this.loadMovie("movie1_03.swf"). not the best approach but it
    should work.

Maybe you are looking for

  • Lightswitch build failing - The "LSSvcGeneratorsTask" task failed unexpectedly

    hi, I am trying to set up build pipeline for Ligtswitch 2013 project. I have installed  RIA service, silverlight SDK and  Installing Prerequisites with Web Platform Installer as mentioned at http://blogs.msdn.com/b/bethmassi/archive/2011/03/23/deploy

  • Copy web site ~/directory does not exist

    I have used VS Express 2010 for many years and have successfully copied files to our server. All of a sudden, I am getting the error "The ~/ directory does not exist" on the server side of the website copy screen. I contacted ISP and they say all loo

  • Error While creating Third Party order in VA01

    HI am trying to create Third Party order in VA01  in my sand box with material ( BANS item category Group)  getting error NOT POSSIBLE TO DETERIMINE A CONSUMPTION ACCOUNT in OBYC GBB  i tried to do some setting in VAX , VBR with valuation class 0001

  • Send for Review: FINAL WORD for Publishing

    Hi, I would like to make sure I will ALWAYS receive ALL drafts Contribute users are sending for review. Is there any way I can set up my Administrator e-mail address as a default no matter if drafts are sent to others also? Ideally I would like to be

  • Aq message grouping

    Hi, I have 10.1.0.2.0 EE. I am trying to test transactional message grouping. Below is my code -- create queueus begin dbms_aqadm.create_queue_table(queue_table => 'testtranqtable', queue_payload_type => 'message_typ', compatible => '8.1', message_gr