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.

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?

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

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

  • Preloader for external movie

    I have a web site with a main movie that call to an external
    movie.
    My question is what is the action script to put a pre loader
    in the main movie that will show the loading progress of the
    external movie.
    (now the preloader is in the external movie and its take time
    until its showing the preloader and until then the page looks
    empty)
    Thanks in advance.

    Here is a sample I made that uses the progressBar component.
    You could use
    something similar.
    http://www.smithmediafusion.com/blog/?p=31
    Dan Mode
    *Must Read*
    http://www.smithmediafusion.com/blog
    *Flash Helps*
    http://www.smithmediafusion.com/blog/?cat=11
    "mijal2" <[email protected]> wrote in
    message
    news:e2rfub$bbq$[email protected]..
    >I have a web site with a main movie that call to an
    external movie.
    > My question is what is the action script to put a pre
    loader in the main
    > movie
    > that will show the loading progress of the external
    movie.
    > (now the preloader is in the external movie and its take
    time until its
    > showing the preloader and until then the page looks
    empty)
    >
    > Thanks in advance.
    >
    >

  • Controlling the main time line of a movie via a button within a movie on a different level.

    Hi there!
    I have two movie is two different levels,
    Level 5 is my base movie and I am loading another movie on
    top of this into level 10.
    Once the user clicks onto a button within the movie on level
    10, I would like the animation in level 5 to stop (the animation
    runs on the main root timeline of level 5).
    Once the user clicks on a different button within the movie
    on level 10, I would like the animation on the main timeline of the
    movie in level 5 to start again from the point where it previously
    left off.
    Is this possible?
    It would be great if someone could help me out with this.
    Thanks, midi_ie

    midi_ie wrote:
    > Hi there!
    > I have two movie is two different levels,
    > Level 5 is my base movie and I am loading another movie
    on top of this into
    > level 10.
    > Once the user clicks onto a button within the movie on
    level 10, I would like
    > the animation in level 5 to stop (the animation runs on
    the main root timeline
    > of level 5).
    >
    > Once the user clicks on a different button within the
    movie on level 10, I
    > would like the animation on the main timeline of the
    movie in level 5 to start
    > again from the point where it previously left off.
    > Is this possible?
    _level5.gotoAndPlay("someLabelframe");
    Use your regular action to target timeline or movie clips,
    just define the level number at the beginning of the path.
    Pretty much it :)
    Best Regards
    Urami
    !!!!!!! Merry Christmas !!!!!!!
    Happy New Year
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Help loading external swf inside movie

    I am trying to load an external swf from inside a movie clip.
    I can get it to load but it takes me out of the current movie and
    into the external swf. How can i get it to load inside the
    specified mc in my movie?

    it definately tries to load the swf, but it goes back to the
    begining of my main movie. When I click on the button to go to the
    specified frame instance, instead of loading the swf it kicks back
    to the begining frame 1 of the main scene. I have this loading
    within another MC that is 4 layers deep.
    this is the code I have on the button:
    on(rollOver){
    b2.gotoAndPlay(2);
    on(rollOut, dragOut){
    b2.gotoAndPlay('go');
    on(release){
    _parent.gotoAndStop('ph2');
    The 'ph2' is the frame instance that I would like the
    'water1' mc to load in.
    I've tried a bunch of things and it either loads just the swf
    without my main movie, or it just loads blank within water1.
    Thanks again

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

Maybe you are looking for