Interaction + external movie

Hi guys,
It's my first post in here, I spent most of the day looking
for my answer but i still couldn't find it.
So my problem is,
page1 = index
page2 = aboutme
page3 = portfolio
On my Index, lets call page1, I have a menu, the same menu
that i have on my page3, this menu contain around 10 links, so the
basic idea is to open differents externals movieclips in each link,
it works fine when I use this links on page3, i just used the
action to each link;
- on (release) {
this._parent.gallery_mc.loadMovie("animal_gallery.swf");
ok, the thing is, when i use the menu on page1, it has to
open page3 and then, inside page3, load my external movie in my
gallery_mc; so lets see the action;
on (release) {
if (_root.link<>page && _root.G<>1
&& _root.SP ==0) {
_root.scroller.gotoAndStop("s0");
_parent["item"+_root.link].gotoAndPlay("s2");
_root.link = page;
_root.ch_cont.gotoAndPlay("s1");
if (_root.link<>page && _root.SP ==1){
_root.scroller.gotoAndStop("s0");
_root.link = page;
_root.play();
This works fine, its just to call my page3. So now is missing
to load my external MC into a MC called gallery_mc into my page3,
so I tried all the ways and still didn't work;
Just for u to understand the structure;
root + ch_cont + all_pages + page3
Its a bit difficult to explaim, but hope u will understand
it!!!
thanks for your time!!!
Daniel

try
_level0.gotoAndStop("mainswfframe");

Similar Messages

  • 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

  • Can you resize external movies??

    Here is exaclt what Im doing;
    I have a movie clip that acts as a button on the stage. When
    you rollover the movieclip, it displays a video. That is the video
    was created as a seperate file.
    So, I have to use the loadMovie command to display the video.
    I originally created the video at 172 x 52 resolution, so it can
    fit "behind" the movie clip that acts as a button.
    So basically when you rollover it the video starts playing.
    The problem is this;
    I rollver and the external movie is loaded and starts playing
    except for the fact that the width of the external movie is
    stretched out..I dont get it. Is there a way I can load the .swf
    file in and then resize it? I am calling the movie in by using a
    empty movie clip. So the empty movie clip sits on the stage and on
    rollover the .swf is loaded in to display on rollover of the
    mc_button I have. If anyone wants an example of what is going on,
    please let me know I will post something here as example.
    Thanks alot in advance, I am stumped at the moment!

    "Is there a way I can load the .swf file in and then resize
    it?"
    Use
    MovieClipLoader.onLoadInit
    and do the resizing in the onLoadInit method. You can consider
    using _xscale and _yscale or using the drawing API to draw a
    rectangle with or without a 0 alpha value to resize the outer
    dimensions.

  • Using interactive QuickTime movie on Windows is fixed!!

    With the release of 7.2, the problem listed in this thread
    http://discussions.apple.com/thread.jspa?threadID=154423&tstart=0
    has been resolved! If you update your PC to QuickTime 7.2, interactive QuickTime movies exported from Keynote will work without opening Internet Explorer

    Welcome to the discussions, Christopher.
    Over in the Keynote discussions we've been going over this for quite awhile. Unfortunately, there's no easy solution to your problem. I've even gone as far as attempting to preload the chapter track thinking that might solve the problem, but it doesn't work.
    One thing I don't think I've tried is setting up the first slide to advance "on-click" so that there's no animation before the first transition. The problem, of course, is that there's no "loading" animation to let it know when it's ready to go.
    Another thing I haven't tried but that might work is to create the movie so that it doesn't autoplay, and then, using the embed commands, set autoplay to be the full length of the movie (so that it will automatically play, but only after it's completely downloaded). Look here for the autoplay embed commands.
    http://developer.apple.com/documentation/QuickTime/Conceptual/QTScriptingHTML/QTScripting_HTML_Document/chapter_1000_section3.html

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

  • Print only the external movie with its current applied settings?

    Hi,
    I'm making a flash application for a paint company to test various paints on different objects. But I got a little problem.
    Which is here...
    Here is my code....
    /* Print Button Function Here.....*/
    print_btn.addEventListener(MouseEvent.CLICK,printPage);
    function printPage(evt:MouseEvent) {
        var printJob:PrintJob = new PrintJob();
        if (printJob.start()) {
            if (uiLoader.source.width>printJob.pageWidth) {
                uiLoader.source.width=printJob.pageWidth;
                uiLoader.source.scaleY=uiLoader.source.scaleX;
            printJob.addPage(Sprite(uiLoader.source));  
            printJob.send();
    Actually I have a movie clip which contains a Print Button and a uiloader.
    uiloader loads differnt external movies.
    I applied a code to Print button to print those movies.
    This code is working good but problem is, it print the both (main_movie & external_movie) with its actual colors not with the current applied colors.
    I want to print only External movie with its current color settings (applied by user) not actual default colors.
    So can any one tell me how can i do this?
    Thank for help....

    use:
    print_btn.addEventListener(MouseEvent.CLICK,printPage);
    function printPage(evt:MouseEvent) {
        var printJob:PrintJob = new PrintJob();
        if (printJob.start()) {
            if (uiLoader.width>printJob.pageWidth) {
                uiLoader.width=printJob.pageWidth;
                uiLoader.scaleY=uiLoader.scaleX;
            printJob.addPage(uiLoader);  
            printJob.send();

  • 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

  • External Movie File Script Question

    I have finally figured out how to load an external .swf into
    my flash file. The only problem is that I want to resize the
    external movie to fit in a smaller movie container. The movie now
    plays in the correct place but wrong size.
    Here is my code, I need to know the parameters to force a
    resize:
    "on (release) {
    //load Movie Behavior
    if(this.demo == Number(this.demo)){
    loadMovieNum("demo.swf",this.demo, w);
    this.demo
    } else {
    this.demo.loadMovie("demo.swf");
    //End Behavior
    Thanks

    Add this:
    //scales to 85%
    this.demo._xscale = .85;
    this.demo._yscale = .85;
    Dan Mode
    --> Adobe Community Expert
    *Flash Helps*
    http://www.smithmediafusion.com/blog/?cat=11
    *THE online Radio*
    http://www.tornadostream.com
    <--check this
    *Must Read*
    http://www.smithmediafusion.com/blog
    "Tazty" <[email protected]> wrote in message
    news:et9qlm$ke2$[email protected]..
    >I have finally figured out how to load an external .swf
    into my flash file.
    > The only problem is that I want to resize the external
    movie to fit in a
    > smaller movie container. The movie now plays in the
    correct place but
    > wrong
    > size.
    >
    > Here is my code, I need to know the parameters to force
    a resize:
    >
    >
    > "on (release) {
    >
    > //load Movie Behavior
    > if(this.demo == Number(this.demo)){
    > loadMovieNum("demo.swf",this.demo, w);
    > this.demo
    > } else {
    > this.demo.loadMovie("demo.swf");
    >
    > }
    > //End Behavior
    >
    > }"
    >
    > Thanks
    >

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

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

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

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

  • Scripting external movies to buttons in main movie, help please?

    I'm building an entirely flash based website using Flash CS3 and ActionScript 2. I'm using external movies for the various pages, and putting buttons that control these movies in the main movie file. Normally, I'd simply put the script to control the buttons on the main movie file, not the external ones, but because there's more than two different pages and I'm fading each external clip in and out, I'm wondering if possible to put the script, for the buttons on the main movie, on the external movies.
    I hope I've explained it right, any help appreciated.
    Thanks.

    ok, i removed the trace from the main timeline and put that trace on the external portfolio movie, here's the output results.
    when testing the main movie i i got: _level0
    and when testing the external movie i got: undefined
    so, by the looks of the results it is tracing back to main movie from the external one, it's just not got a target in main movie. is that right? we've already made sure all the movie clips and buttons involved are referenced and instance names are correct, so how can it be undefined?

Maybe you are looking for

  • There's a logo that pops up on my ipod touch screen with the logo Itunes and the USB cord but is unable to connecct with iTunes...what should i do?

    There's a logo that pops up on my ipod touch screen with the logo Itunes and the USB cord but is unable to connecct with iTunes...what should i do?

  • Help required in writing the query

    I have the following level accounts 10000 11000 11100 11101 11200 11201 12000 12100 12101 12102 12103 20000 21000 21100 21101 22000 22101 21200 21201 I have to take the amount of the child account and sum it to the parent account as below: 11100 = 11

  • Can I make a custom sized movie us iMovie?

    What I am looking to create is a demonstration for an iPhone application for a situation where recording in the emulator is not feasible. I thought I'd capture a bunch of screen shots and drop them in to iMovie then use transitions so simulate the be

  • FCIP Peer in the same VLAN

    Hi, I will have 2 data centre connected with a 1gb possibly 2 x 1gb ethernet link. There will be some 802.q trunking between location and some traffic will be routed. I have the option of having my FCIP peer in the same vlan and carried in the trunk.

  • Pan Newsreader AUR Packages Confusion...

    Hi, not sure of this is the right group for this, but i just built a new Arch box and was installing my standard newsreader, Pan (v.0135) from files in the AUR, a process I've completed successfully a couple of times on other machines.  Odd thing was