Jumping to a scene in an external swf

hi
i have two fla files that i want to link together. say
part_1.swf and part_ 2.swf
from part_2.swf i want to have a button that take me to a
particular scene of part_1.swf
i use loadmovie on level 0 so that when it jumps to part 1 it
completely replace the part2.swf. but my problem is that i want to
reach a particular scene in part_1.swf
how can i achieve that. any help is appreciated.
thanks n regards
sandy

Sorry, but afaik this isn't possible. If you want to jump to
a scene, you have to use the global gotoAndPlay method. This will
always take the _root MC to the specified scene, so you can't use
it from another swf.
Scenes aren't very popular, it's often better to use frame
labels instead of scenes. In your case there's the additional issue
that you want to load into _level0, which means everything gets
replaced, even variables that could sign the loaded clip what to
play. I think it's only possible with the MCL class, not because
you need preloading code, but to define an action that gets
executed when the movie is loaded. When it's loaded, you can use
the global gotoAndPlay, but not before that, because it won't
address the right movie.
But as said before, it may be that the MCL object also gets
replaced by the loaded movie, so I'm not sure if that helps. Maybe
you could simply try it; I can't give a better suggestion than that
(except of not using scenes but frame labels).
cheers,
blemmo

Similar Messages

  • Tracing loaded external SWF bytes

    I have a file that loads 13 external Swfs into a shell. When
    they are all loaded, the shell plays the files in succession. That
    works fine, but I a trying to show the progress of the loading
    process, but the flash pretty much freezes until all of the files
    are loaded then jumps my progress bar all the way to the end.
    Basically, nothing is allowed to happen until the scenes are all
    loaded completely. I can't even put a revolving animation on the
    main timeline to display until the files are loaded. The animation
    just sits on frame one until all the files are loaded, then starts
    to play, which defeats the purpose. Is there anyway to pause the
    code until the first movie is loaded, hten move on to then next
    movie load or a way to concurrently display bytes loaded while the
    file is being loaded.
    var courseArray:Array= Array("Scene1.swf", "Scene2.swf",
    "Scene3.swf", "Scene4.swf", "Scene5.swf", "Scene6.swf",
    "Scene7.swf", "Scene8.swf", "Scene9.swf", "Scene10.swf",
    "Scene11.swf", "Scene12.swf", "Scene13.swf");
    startup = function() {
    this.createEmptyMovieClip("scene"+(i+1), (i+1));
    this["scene"+(i+1)].loadMovie(courseArray
    for (i=0; i<13; i++) {
    startup();
    //****Jumps progress bar 1/13th of the way each time the
    loading code happens****
    this.progressBar.gotoAndStop(_root.progressBar._currentframe+(int(100/13)));
    The code all seems to happen immediately because the
    progressBar jumps all the way to the end right away, but the flash
    freezes until the files are completely loaded. Can I pause this
    code until each individual file is finished loaded, then run the
    next loop?

    That is what I am asking. What would be the code? I already
    had code that counted the .getBytesLoaded(), and would move the
    progressBar based on what percent of the .getBytesTotal(). Like I
    said before. The progressBar would just sit at 0%, then jump to
    100% when the movie finished loading. The flash would just hang up,
    then jump all the way past when done loading. In the code I have
    below, it is supposed to jump the Progressbar 1/13th of the way
    (because I have 13 files being loaded) each time through the loop,
    but that doesn't work either. It just sits on 1 then jumps to 100
    when the files finish loading even though it should do it in
    progression through the loop.

  • How can I get a preloader to launch a main (external) swf file, and have the main file remove the preloader once it's fully loaded?

    Using Flash MX, ActionScript 2:
    I’ve been struggling for several weeks, trying to get a preloader to work on a large (~80 MB) photo portfolio file (using the method where the preloader is on frame 1 of the file, and when loading is completed, it jumps to the content).  I’ve done countless tutorials, and none seem to work on my presentation.  I even tried downloading a trial version of CS4 so I could export every one of the file’s library movie clips and images so that they load on Frame 2 (a feature MX doesn’t have).  It takes about 20 seconds for the .exe to load from a CD, and no matter which preloader construction I use, it always seems to appear in the last few seconds before the movie loads completely.  During the initial wait time, there’s no indication that anything is happening:  no hourglass on the mouse, and not even a blank screen. This is only true for the first time that the file is loaded from the CD; on subsequent loads, the file must already be in RAM, because it loads within a few seconds. 
    I decided that I’m going to try and make the file which the user clicks on (one named Windows_Portfolio.exe or another called Mac_Portfolio.hqx) the preloader so that it would be tiny, and would load instantly.  I want that file to launch the external huge portfolio file (renamed files.swf), keep track of its loading progress, and cycle through a slideshow (10 thumbnail images that transition into each other over 100 frames) proportionally, based upon the percentage of files.swf that had been loaded.
    I assume that there should be a loadMovie() or a loadMovieNum() command on the preloader’s timeline to launch files.swf, and that the initial code of files.swf should have some sort of this._parent._visible=false or other way of deleting the preloader on level0.  Can anyone explain the steps to me, or direct me to a good Flash MX tutorial that explains how to launch another external swf from a preloader .exe, keep track of its load progress, and delete the preloader .exe once the external swf had been loaded?
    Also, I’ve read that, using this construction on a CD, every file has to be in the same place, and that I can’t nest files.swf in a folder named “files,” and reference it with files/files.swf.  Is this true?
    Thanks for any assistance you can offer.

    If you know JavaScript (ECMA Script) then you might be able to get it done applying a for loop and a random function
    to the for loop if you know how to get a page-loaded request into JavaScript.
    But an easier solution, if you know ActionScript 3.0, and if your SWF's don't need to be recoded and can load into a "container" SWF would be to create a master FLA file that loads your SWF's in a random fashion using Math.random() as a multiplier, though you won't see much variation if you only have 2-3 SWF's to load--if you had more than that then you would begin to benefit from the random function's capabilities.  In ActionScript 3.0 use the load() method along with addChild() to load the SWF and add it to the stage.  You will be able to search for specifics on how to code the FLA properly by using Flash's Adobe Help tool and also using an internet search.
    -markerline
    P.S. Once you have the master FLA coded you can Publish it to an SWF and an HTML and if the container/master SWF needs to be in a page with other content you can simply copy and paste the object and embed tags for the container SWF from the published HTML into any place on your master HTML that you need it to reside.  You can then use CSS to control placement of the SWF object if it is in a div tag.

  • How to control timeline sound of external SWF

    Hi All,
    Basic Intro:
    I am new in Action Script and trying to create a video tutorial framwork. In this I have lots of animated SWF files in all the files I have multiple scenes as those are 5min. to 10 min. each and all the files have the relevent background and nurration voice place directly on the TIMELINE frame by frame to match lip syncing animated chreactors.
    My file structure :
    Login.swf with login box is embedded into the Index.html
    After logged in it will load another SWF which is Control panel.swf
    3. Controlpanel.swf has the controls to control the loaded external swf files i.e.: Chapter menu, Play, pause, replay, volume-bar, next and previous buttons.
    By Default Controlpanel.swf will open chapter1.swf as soon as user logged in so no one need to open 1st file.
    Here user can navigate to other chapter swf file through Chapter menu or Next and Previous buttons.
    All files are loading and playing properly, here I am trying to control the animation and Sound both at a same time with Pause, Play and Replay through relevant buttons.
    Problem:
    By pressing “Pause button” animation stops but not the sound. Sound remains playing, and if I replay the swf by “Replay button” than animation restarts but sound also restarts that overlaps already playing audio.
    Question: So could anybody help me finding out how to:
    1. Pause the sound with animation by the same click of Pause button, and
    2. Stop the sound with animation by the same click of Stop button, and
    3. On replay it should stop playing the previously running audio and restart it with the animation like fresh loaded file, it should not sound overlapping.
    Constraints:
    Here I am using the sound file on the same time line of each individual swf file which I cannot add into any single movie clip because all the chapter swf file are having multiple scenes in it.
    For my problem I have already done a lot of browsing online in various forums and didn't find the solution. So here I am sharing the complete information regarding the project and wishing to get some good solution out here but if I missed any helpful information please ask me anytime and please help me to quickly find out the solution.
    Thanks a lot to all of you in advance to help me.

    create one global sound variable
    you can write when you are pressing pause button
    globalsoundvariable.setVolume(0)
    to play
    globalsoundvariable.setVolume(100)

  • How to load External swf file in AIR

    I try this code its working in computer but when I publish this file in .apk or .ipa , my external swf file is not opening
    (I include my external file as well)
    places_btn.addEventListener(MouseEvent.MOUSE_DOWN, newvid);
    function newvid(event:MouseEvent) {
         trace("you clicked me");
         var loadit = new Loader();
         addChild(loadit);
         loadit.load(new URLRequest("scene02.swf"));

    thx boss its working great
    I have 3 scenes; load scene code is working great
    1. How can I unload the scene?
    2. Can I unload all scenes or one by one?
    can I unload some think like this
    Load scene 2 , unload scene 1 and scene 3
    Load scene 3, unload other all scene
    i try this
    load2.addEventListener(MouseEvent.MOUSE_DOWN, newvid);
    function newvid(event:MouseEvent) {
              trace("you clicked me");
              var loadit = new Loader();
              addChild(loadit);
        var _lc:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain, null);
        loadit.load(new URLRequest("scene02.swf"), _lc);
              loadit.unload();
    load3.addEventListener(MouseEvent.MOUSE_DOWN, newvid1);
    function newvid1(event:MouseEvent) {
              trace("you clicked me");
              var loadit = new Loader();
              addChild(loadit);
        var _lc:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain, null);
        loadit.load(new URLRequest("scene03.swf"), _lc);
              loadit.unload("scene01.swf scene02.swf");

  • Loading an external swf into my parent swf?

    Does anyone know how I can load an external .swf file into my
    parent file? I have tried to use loader actionscript but think I am
    using the incorrect script or putting it in the wrong place? If
    anyone can tell me the script and where to/how to use it that would
    be amazing? Thanks

    thanks GWD!
    I am using the unloadMovieNum(); command, i have loaded the
    child into level 5 of my parent swf. the parent has multiple scenes
    this one with a layer with a stop(); action and another layer with
    the loadMovieNum("portfolioone.swf", 5); script. it loads the child
    perfectly. The child has a number of pictures in it and a back
    button at the end. I have been adding the
    on (release) {
    unloadMovieNum(5);
    script to the button which unloads the child but stops
    because of the stop action in the first frame of the particular
    scene within the parent. I want to be able to add a script to this
    button which will take me back to a labeled frame in a particular
    scene of the parent, I tried the this.removeMovieClip(); but
    doesn't seem to be working for me, Thanks for the reply, hope you
    can help me further??

  • Button from External SWF to Play Movie in Main SWF

    Hi Guys,
    Ok I'm working in Flash 8, Action Script 2;
    I'm building a website, in which the 'Gallery Page' has a link to an external swf file, which is a scrolling clip of thumbnails.
    What I want to do, is create each thumbnail into a button, which will then play a Movie Clip from a frame located in the Main swf file.
    (So basically, each thumbnail button is a small photo, will play that photo in a large scale as a movie)
    eg.
    thumbnail1_btn  needs to go to main swf and play movieclip1.mc, frame 1
    thumbnail2_btn nends to go to main swf and play movieclip1.mc, frame 2
    I'm unsure of the code for this? Or if I've built this up wrong?
    If someone could help me out, that would be great!

    If you haven't set _lockroot on the loaded SWF, than a simple _root call from the loaded SWF will talk to the main SWF.
    IE:
    on(release){
    _root.gotoAndPlay(1);
    If you did set the lockroot, then call the level directly, via:
    on(release){
    _level0.gotoAndPlay(1);
    Once on the root level, you can access a movie clip as normal.
    So:
    on(release){
    _level0.movieClip1.gotoAndPlay(1);
    will call the movie clip "movieClip1" which resides on the timeline of _level0 (which is main.swf in your instance), and tell it to jump to the first frame and start playing.

  • Transition_Manager and unloading external swf problems

    Hi there
    I´m having a few problems with my project which i although it work it has some unpleasant bugs that i´m trying to solve for days.
    When i load external swf´s they show up on top of the Menu button.Maybe because the button i´m pressing is inside the same movieclip as the Menu.
    Explaining better here´s a little diagram of my site:
    con2 MC (Instance of Menu) ---> cont3 MC (Instance of subMenu) and mainButton MC (Instance of Main)
    Here´s the general code which is inside the Painel.as
    package {
        import com.greensock.TweenLite;
        import com.greensock.TweenMax;
        import com.greensock.*;
        import com.greensock.easing.*;
        import flash.display.*;
        import flash.events.*;
        import flash.display.MovieClip;
        import fl.transitions.*;
        import fl.transitions.easing.*;
        import flash.net.URLRequest;
        import flash.display.Loader;
        import flash.events.Event;
        import flash.events.ProgressEvent;
        public class Painel3 extends MovieClip
            private var inFocus:MovieClip;
            public function Painel3():void
                setupClips();
                addEventListener(Event.ENTER_FRAME, loop);
            private function setupClips():void
            con2.mainButton.addEventListener(MouseEvent.ROLL_OVER, onOver);
            con2.mainButton.addEventListener(MouseEvent.ROLL_OUT, onOut);
            con2.mainButton.addEventListener(MouseEvent.CLICK, onClick);
                var len:int = con2.cont3.numChildren;
                for(var i:int=0; i<len; i++)
                    var mc:MovieClip = MovieClip(con2.cont3.getChildAt(i));
                    mc.buttonMode = true;
                    mc.loc = [mc.x, mc.y];
                    mc.addEventListener(MouseEvent.CLICK, onClick);
                    con2.cont3.visible = false;
            private function onOver(e:MouseEvent):void
            private function onOut(e:MouseEvent):void
            private function onClick(e:MouseEvent):void
                con2.cont3.visible = true;
    TransitionManager.start(con2.cont3, {type:Wipe, direction:Transition.IN, duration:1, easing:None.easeNone, startPoint:5} );                       
            private function loop(e:Event):void
                var distx:Number = mouseX / 1400;
                var disty:Number = mouseY / 1400;
                TweenLite.to(con2, 2, {
                            rotationY:(-70 +(145*distx)),
                            rotationX:(70 -(145*disty)),
                            ease:Expo.easeOut
    And then inside the subMenu.as class for the movieclip subMenu i have the buttons that load the external swf´s:
    package  {
        import com.greensock.TweenLite;
        import com.greensock.TweenMax;
        import com.greensock.*;
        import com.greensock.easing.*;
        import flash.display.*;
        import flash.events.*;
        import flash.display.MovieClip;
        import flash.net.URLRequest;
        import flash.display.Loader;
        import flash.events.Event;
        import flash.events.ProgressEvent;
        import fl.transitions.*;
        import fl.transitions.easing.*;
        public class subMenu extends MovieClip {
            public function subMenu() {
                // constructor code
                menu1.buttonMode = true;
                menu2.buttonMode = true;
                menu3.buttonMode = true;
                menu4.buttonMode = true;
                 menu1.addEventListener(MouseEvent.CLICK,link1);
                 menu2.addEventListener(MouseEvent.CLICK,link2);
                 menu3.addEventListener(MouseEvent.CLICK,link3);
                 menu4.addEventListener(MouseEvent.CLICK,link4);
            function link1(e:MouseEvent) {
               function startLoad()
                var mLoader:Loader = new Loader();
                var mRequest:URLRequest = new URLRequest("AugmentedReality_v1.swf");
                mLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onCompleteHandler);
                mLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgressHandler);
                mLoader.load(mRequest);
    function onCompleteHandler(e:Event):void {
    var swf:DisplayObject = e.target.content;
    swf.x = -400;    
    swf.y = -300;    
    addChild(swf);
    function onProgressHandler(mProgress:ProgressEvent)
           var percent:Number = mProgress.bytesLoaded/mProgress.bytesTotal;
           trace(percent);
    startLoad();
            function link2(e:MouseEvent) {
                function startLoad()
                var mLoader:Loader = new Loader();
                var mRequest:URLRequest = new URLRequest("Fotos.swf");
                mLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onCompleteHandler);
                mLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgressHandler);
                mLoader.load(mRequest);
    function onCompleteHandler(e:Event):void {
    var swf:DisplayObject = e.target.content;
    swf.x = -400;    
    swf.y = -300;    
    addChild(swf);
    function onProgressHandler(mProgress:ProgressEvent)
           var percent:Number = mProgress.bytesLoaded/mProgress.bytesTotal;
           trace(percent);
    startLoad();
            function link3(e:MouseEvent) {
            function link4(e:MouseEvent){
                function startLoad()
                var mLoader:Loader = new Loader();
                var mRequest:URLRequest = new URLRequest("Texto.swf");
                mLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onCompleteHandler);
                mLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgressHandler);
                mLoader.load(mRequest);
    function onCompleteHandler(e:Event):void {
    var swf:DisplayObject = e.target.content;
    swf.x = -400;    
    swf.y = -300;    
    addChild(swf);
    function onProgressHandler(mProgress:ProgressEvent)
           var percent:Number = mProgress.bytesLoaded/mProgress.bytesTotal;
           trace(percent);
    startLoad();
    Like i said the swf´s show up on top of the Menu and i need it to dissapear.
    Also i want to unload the swf currently in scene so that when i load another one they don´t pile on top of each other.
    Pls help. Thanks

    Oh btw, i´m having an error 1069 Property TransitionManager not found in subMenu and there is no default value
    at fl.transitions::TransitionManager$/start()
        at Painel3/onClick()
    This doesn´t happen when i uncheck the Export for actionscript in the subMenu class but i can´t do that or else the buttons wont work.

  • External SWF problems

    i have a few SWF files loading into the main SWF. I am using
    a blank movie clip to load the external SWFs.
    loadMovie("photos-color.swf", "color");
    That is actionscript I use to load the external SWF into the
    main SWF.
    I go to one page on my site, download the external SWF, then
    go to another page and when I go back to the first page, it reloads
    the SWF again. Just a pain in the ***.
    What do I have to add to that to tell the file not to reload
    once it has already been loaded?
    I have been searching all over and asking around and haven't
    found any answers. I've looked into listeners, is that the right
    direction at least?
    Thanks in advance for any help.
    jesse

    ok so this is what i have.
    SCENES- (the dashed are the sub-categories)
    home
    design
    -graphic
    -web
    -type
    -drawings
    photos
    -color
    -b/w
    links
    in the COLOR scene, i have an animation that drops down and
    shows the area where the photos will load. in that movie clip of
    the dropdown area, i have the script that calls for the external
    SWF.
    loadMovie("photos-color.swf", "color");
    then it loads the movie and shows the clip of the pictures
    and works fine for what i want it to do.
    but if i click on B/W, then return to COLOR, the whole
    downloading starts again.
    i hope that explains it better.
    All i really want to have happen is to have the file download
    the first time and when revisited, just open up as if it were just
    placed there.
    I am hoping explaining the layout might help.

  • External swf troubles

    Here's the skinny. I created a VERY simple site, main page,
    one button, and a second page with samples. Each sample is an
    external .swf with a fade in and fade out for nice transitions
    between each sample.
    If I go to the samples page and click on a number the
    external .swf loads fine for each, but if I click 'home' then try
    the same process there is a failure and no external .swf's will
    load.
    Once I leave the samples page I cant go back without it
    failing.
    Im sure its something simple, but does anybody have any
    suggestions?
    Here's my code for loading the external .swf for each sample:
    stop();
    one.onRollOver = over;
    one.onRollOut = out;
    one.onRelease = goone;
    function over () {
    this.gotoAndPlay(2);
    function out () {
    this.gotoAndPlay(7);
    function goone () {
    if (_root.currMovie == undefined) {
    _root.currMovie = "sampleone";
    container.loadMovie("sampleone.swf");
    } else if (_root.currMovie != "sampleone") {
    if (container._currentframe >= container.midframe) {
    _root.currMovie = "sampleone";
    container.play();
    Thank you to anyone that can help!

    My main page has one button on it. 'photo retouching' . When
    clicked it takes you to a new frame that has 6 buttons on it, 1
    through 6. there is a blank mc in the upper left corner that is
    used as a container. when you click a button it loads the external
    swf, when you click a new button the current sample fades out, and
    a new one fades in. below there is a home button. if i click that I
    go back to the main page with the 'photo retouching' button on it.
    if i click that, regardless of what sample was the last to be
    viewed, it takes me to the samples page with a blank mc used as a
    container and 6 working buttons.
    so the jump from frame to frame is fine, but Is the last
    viewed sample supposed to stay loaded?
    (the container is only located on the single frame of my
    timeline that holds the samples page, does that matter at
    all?)

  • Get external swf width height

    Hi,
    I'm am trying to load an external swf file using a different swf that is on a different domain. I have noticed that it is possible to use addChild on the external swf, but when I try to get its contents width and height using contentLoaderInfo I get a security sandbox error.
    It seems it is possible to fix it by using  Security.allowDomain("*") and Security.allowInsecureDomain("*") in the external file.
    And now it's get tricky, the external swf file is a file that users upload to my site so I don't have control on the code so I can't add the "allowDomain" part.
    The second swf (the host file that loads the external file) is a file that I let others to embed on their site.
    The intresting thing is that when I share the host swf on facebook there is no problem, and I don't even need to add the code for "allowDomain" on the external file.
    I it makes a different, I use HTTPS protocol to access to the external swf.
    I tried to load the crossdomain.xml file, but it didn't help.
    What can I do? the only data I need to get on the external swf is its width and height to scale it to the host file.
    Thank you

    Thank you.
    Now it looks i am getting close but not exacly there.
    Everytime I get near something else doesn't work properly.
    Now I get the dimension after two things:
    I added 'secure="false"' to the https' crossdomain and added LoaderContext to when I load the external event:
    context.securityDomain = SecurityDomain.currentDomain;
    context.checkPolicyFile = true;
    Now you probably ask what's the problem.
    well I have no idea why, but it looks like the external swf file I load (which is as2, but I still didn't check if it matters) keeps on jumping between its first frame and second frame ( The swf has two frames). If you having hard time to imaging what I mean, lets  say this jumping between frames is really not recommended for people with Epilepsy.
    It has a stop() action, but sadly the player doesn't care.
    let me remind you that if I only addChild the Loader (without the context)  it looks fine, but I need the width and height to resize the swf.
    anyone knows what can cause this?
    and thx again martinjamesroberts1 for the link, it put me on the right track.

  • Runnng external swf Actionscript while in fullscreen mode

    I am using Flash 9.0 (CS3 Pro). I am coding in Actionscript
    3.0
    I have two swf files, both interactive. During playback of
    the, a mouse event launches the second. I also want the mouse event
    to trigger a switch to fullscreen mode. The second swf is
    non-linear and requires user input to jump to the appropriate frame
    of the timeline. Everything tests and runs perfectly during
    standard screen mode but whenever I try to load and play the
    external swf file in fullscreen mode, Flash recognizes the
    actionscript built into the original SWF but ignores all of the
    Actionscript (this.stop(), this.gotoAndPlay(), etc.) embedded in
    the second (external) swf file.
    How can I get external swf files to load with their scripted
    functionality in fullscreen mode?
    Thanks for the help.
    Aaron
    The code I am using is:
    // --- this is the code contained in the first swf file
    // function to launch second SWF file
    function movieLaunch(event:MouseEvent):void
    // Sets display mode to fullscreen. With this line present,
    Flash does not look at any Actionscript in ip.swf
    // If I comment the below line out, the second SWF plays
    correctly and has full functionality
    stage.displayState = "fullScreen";
    // load and launch second movie (ip.swf) which is located in
    the same directory
    var request:URLRequest = new URLRequest("ip.swf");
    var loader:Loader = new Loader();
    loader.load(request);
    addChild(loader);
    // Sets the listener for the button that will launch the
    second movie.
    launchMovieButton.addEventListener(MouseEvent.CLICK,
    movieLaunch);
    Text

    The keyboard is disabled in fullscreen mode. This may be
    causing the problem?

  • 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

  • External SWF file load problem

    I'm loading external SWF file which has motion tween.After
    the loading progress bar finished to load than calls SWF file.If I
    test the movie locally works fine but when simulate the download it
    seems it jumps end of the timeline.Is anyone could tell me why is
    this??
    Thanks

    k, never mind..... finally figured it all out.

  • HELP ASAP - external swf's

    HI, we have a situation which has done our heads in for two
    days non-stop,
    We have a pre-loader loading the area's and then have the
    loadmovienum to load in additional swf's now when we use the nav
    bar at the top of the page, it opens the right file but when it
    loads the page it moves onto the next load movie for some reason
    with out stopping, even though the stop command is in place....
    We have uploaded the dodgy version which you can test and see
    what problems we are having, the contact page is the same as the
    service page for the moment, but you will see the contact page
    display the "cloned" service page then it restarts the whole movie
    Here are the URL's to the zip file with all the swf's and
    fla's including the live what we have done so far online version.
    http://www.drsolutions.co.uk/premiere/wwwroot/
    http://www.drsolutions.co.uk/premiere/fla/premiere.zip
    Please reply asap thanks
    PS WE ARE USING FLASH 8

    Just to clarify,
    I am the author of the above flash project / files.. Travman
    is my collegue.
    Although this is not your style of flash shyaway, you did get
    my noodle ticking over the interval script,
    example:
    var id = setInterval(function(){play();clearInterval(id);},
    8000);
    this was to make a movie clip pause for 8000 miliseconds,
    then play the continued sequence to form a rotation of images, this
    code was used on 4 frames in the sequence..
    Following a closer look and removal of the code, the main
    flash movie with loaded external swf's plays fine.. the reason, i
    can only assume this code was causing an issue is due to the
    play(); command, making the whole main movie play instead of just
    the movie clip..
    Scene names do not usually cause and issue, however, keeping
    seperate names is always good from a logical sense
    I have now resolved the issue, but for any other readers with
    a similar problem, try searching for all play/stop commands that
    run sub to the main timeline.
    Andy - Web Designer/Developer /Programmer

Maybe you are looking for

  • Generating a manifest CLASSPATH using Ant

    I'm using Ant 1.5.4 to build my applications. When I create a JAR file to deploy I ask Ant to add a main class and CLASSPATH to the manifest, like this: <target name="deploy" depends="report" description="deploy the application">     <buildnumber />

  • JDialog best practice

    I am building a custom JDialog that includes a JPanel so that it's easier for me to customize (I'm using NetBeans). This is my first solo project as a developer so I want to make sure I follow best practice whenever possible. I have two questions in

  • Built-in templates for Legal Consolidation in SAP BPC

    Hi guys I am doing a demo for legal consolidation and was wondering if there are built-in input scehdules (templates) in SAP BPC to assign the consolidation methods to entities (to let the system know how an entity needs to be rolled up in a group)?

  • SWF Slideshow

    Hi Everyone, I've created a slideshow where SWFs load externally into the main file. When one SWF's animation is completed, next SWF gets loaded. Problem: If the animation in any particular SWF is created on Stage (ie. on main timeline) then we can e

  • Loading CS4 Illustrator onto New Imac

    I have recently upgraded my old Imac (5 years old) with a new Imac. I successfully transferred all files apps etc from the old mac to the new mac.   I uninstalled CS4 from my old mac and   tried to load CS4   to my new Imac and it will not launch???