How do i get an externally loaded movie clip to inherit the playhead position of the main timeline?

Hi Flash experts, i'm hoping that someone can help me with this annoying problem.....
I have been approached to design a configurator for a new television product. The Application will let users specify the colours of certain parts of the product and also attach addons, which then updates a cost total.
In the main interface i have a looping animation of the product slowly rotating around 360 degrees that i rendered in 3ds max. When a user clicks a button on the interface i need to load an external movieclip on top of the main animation so it looks as though a certain part has changed colour, this i have acheived. The problem is that when i load the external clip over the original, the loaded clip starts playing from frame 1 and i need it to inherit the playhead position of the main animation so the two layered pieces look as though they are rotating as one. I'm sure this must be possible, unless i need to approach the problem in a different way?
I hope this makes sense,
Any help on this subject would be hugely appreciated.
Many Thanks
Matt

Hi again Ned,
I've almost got it i think, my code now looks like this....
on (release) {
         var loader:MovieClipLoader = new MovieClipLoader();
         loader.loadClip("Bezel/Bezel_Red/Bezel_Red.swf",Empty_MC);
         var loadListener:Object = new Object();
         loader.addListener(loadListener);
         loadListener.onLoadComplete = function() {
         Empty_MC.gotoAndPlay(_root._currentframe);
This code loads the external clip fine and i know the onLoadComplete listener is working because if i change the last line to: Empty_MC.gotoAndStop(1);
it works. I think its just that last line: Empty_MC.gotoAndPlay(_root._currentframe); that is causing the problem?
Many Thanks for all your help, it is greatly appreciated
Matt

Similar Messages

  • Controll the ROOT timeline from externally loaded movie clip?

    does anyone know how to controll the root timeline from an
    externally loaded movie clip?
    I have loaded a movie clip, which has buttons on it that I
    would like to controll the main original website timeline with.
    something like this.parent.parent?
    thanks a lot
    harky

    feedmeapples <[email protected]> wrote:
    > does anyone know how to controll the root timeline from
    an externally
    > loaded movie clip?
    >
    > I have loaded a movie clip, which has buttons on it that
    I would like
    > to controll the main original website timeline with.
    >
    > something like this.parent.parent?
    _root.doStuff;
    Freundliche Grüße,
    Franz Marksteiner

  • Seamless transitions between externally loaded movie clips

    I'm building a flash player that loads various movie clips in succession  depending on user input. The player should continue to play seamlessly  when one clip ends and another starts playing, however there is always a  slight noticeable delay between the COMPLETE event for one clip and the  actual playing of the next clip. I am using the FLVPlayback component to  load the video clips, with successive clips loaded in different players in the component.
    I've tried playing the next video a short duration before the current video finishes by adding a cue point just before the end of the currently running clip (about 200 - 300 ms before the end). This improves matters somewhat, but it is not a reliable method as the timings are different for different browsers and computer specs.
    I was wondering if anyone here has any experience with smooth  transitions between external video clips and could suggest possible  optimizations I could use to improve the transitions.

    Thank you for replying.
    The video clips basically continues the same shot only with different directions, so I can't fade out between transitions. It needs to appear as though it's playing a single video clip in that respect (a one-shot scene).
    Another major issue is that there is music playing for each video which should continue playing without interuptions. Even a small gap is noticeable with audio. I thought about separating the audio and video streams but that could mean they could go out of sync as the more transitions occur.

  • How can I get by external hard drive to be seen by other computers on the Airport Extreme Network

    I purchased and installed an Airport Extreme yesterday.  I finally got my computers to find it, but I cannot get my wireless laptop to connect to the external hard drive that is connected to the AE using a Cat5 cable.  I have already verified that the Cat5 cable IS good so please don't advise me to change the cable.  I am 36 hours into my purchase of the AE and ready to take it back to the store because it is NO WHERE as good as the sales rep reported it to be. 

    An ethernet connected drive is actually not part of the AE setup.
    It is merely a client on the network.
    So the first chore is to find it.
    I saw in your other post it is iomega device..
    http://www.iomega.com/support/manuals/800mseries/trblshoot_conf.html
    A few questions..
    Other computers can access the network hard disk??
    What OS is on the computer that is having access difficulty?
    Can you please ping the hard disk.. on a Mac open the terminal and type ping followed by the address.
    Or on a PC open the windows command and type the same thing.
    Does the hard disk respond to ping?
    Try mounting it directly in Mac by using Finder, go, connect to server.
    SMB://IPaddress
    Or CIFS://IPaddress or AFP://IPaddress
    In windows type the address directly into the windows explorer address bar
    \\IPaddress

  • Getting a Newly loaded movie to start at Label

    How do i get a newly loaded movie start at a specific Label?
    All i want to do is to load movie and play either a label or
    frame?
    How would i modify the syntax below to accomplish this....
    its simple i know, its just been a long time since i've had to use
    this approach.
    on (release)
    loadMovieNum("newmovie.swf", 0);
    gotoAndPlay("Newstart");
    Will this approach work?
    Any one?... anyone?

    It would appear that installing quicktime solved my issue.

  • My iphoto doesn't work, it just keeps loading and never works. what is wrong and how do i get it to load?

    my iphoto doesn't work, it just keeps loading and never works. what is wrong and how do i get it to load?

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • How can I make my external loaded .SWF file smoothly disappear after 15 seconds?

    Hi,
    How can I make my external loaded .SWF file smoothly disappear after 15 seconds? The following is the code to load an external .SWF file:
    var K:Loader=new Loader();
    addChild(K);
    K.load(new URLRequest("clock.swf"));
    K.x = 165;
    K.y = 247;
    K.contentLoaderInfo.addEventListener(Event.INIT, growLoader);
    function growLoader(evt:Event):void {
         K.width = 130;
         K.height = 130;
    I want to make clock.swf file disappear from the page after 15 seconds using some smooth disappear effect.
    Please help.
    Thanks.

    Something even better:
    http://www.greensock.com/
    Check out TimelineMax I LOVE it...
    The guy that made this (and gives it away for free!) is a saint.

  • HT203167 I ordered and paid for a movie without being on wifi or connected to my laptop.  I have not been able to down load the movie that I paid for so how do I get it down loaded?

    I have a couple of questions.  I down loaded a movie when I was not hooked up to wifi or connected to my laptop.  I was charged for the movie but I have not been able to down load it or find it anywhere in my account. 
    Question:
    1.  Where do I find this movie and how do I get it down loaded to my I Pad?
    When I signed in to ask this question I had to go through a lot of sign in problems and also create a user name that is completely different that any of the sing in information that I have used previously.   Which create a lot of questions:
    1.  Why did I have to create a user name that I never had to do before?
    2.  Will this change the sign in process in the future?
    I will appreciate the answers to these questions
    Thank you very much.

    yes it could well do if your bank thinks there is something going on that is not from you they will block it. I have had this problem before, I would of thought they would of phoned me but they don't do that.
    If I was you I would go to my bank make sure they are not doing anything like that. If they say it's all fine then i would phone up apple them self or go into my local apple store, as they should be able to look at what there servers are saying why it's not working.

  • Please Help - Get an external loaded file to dissapear

    How do I position a .swf or .jpg I load through a
    movieClipLoader Instance? Als, how do I get the loaded movie to
    dissapear once I have moved on on my timeline, and how do I load
    different .swfs on different positions on my timeline? This is the
    code I have so far.
    Also: How do I size an external loaded .jpg or .swf?
    var holder_mc = this.createEmptyMovieClip("holder_mc",
    this.getNextHighestDepth());
    var mcLoader:MovieClipLoader = new MovieClipLoader();
    var myListener:Object = new Object();
    myListener.onLoadProgress = function(target:MovieClip,
    bytesLoaded:Number, bytesTotal:Number) {
    /* add some preloading things here
    EX:*/
    totalPercent = Math.round(bytesLoaded/bytesTotal*100);
    my_txt.text = totalPercent + "%";
    myListener.onLoadComplete = function(target:MovieClip){
    my_txt._visible = false;
    myListener.onLoadInit = function(target:MovieClip) {
    trace("initted!");
    removeListener(myListener);
    mcLoader.loadClip("pathtoSWF.swf", holder_mc);

    Thank you. Found the answers for the x&y question and the
    size of .jpgs question. Is it possible to help me with this two?
    How do I get the loaded movie to dissapear once I have moved on on
    my timeline, and how do I load different .swfs on different
    positions on my timeline? I am sure question one will answer
    question two. Thank you so much, do appreciate it!

  • How do I get DVD,s loaded on to my iPadmini

    How do I get DVD,s loaded on to my iPadmini?

    If you're talking about commercially made dvd's, then you can't, not without breaking the CSS encoding, otherwise known as copy protection. Since doing that is against the rules of this forum, none of us can help you with that.
    If you're talking about home made family movies, etc, then you need to get that DVD file to mp4 format. Google and you'll find several converters you can use.

  • I downloaded an album on itunes using my new itouch; but it's only allowing me to put three songs at any one time into the music app...how can i get it to just move them all in there?

    i downloaded an album on itunes using my new itouch; but it's only allowing me to put three songs at any one time into the music app...how can i get it to just move them all in there?

    hi philly, thanks for getting back to me, especially on such a busy day.
    I don't think that's quite the issue though. I bought an album and it appears in 'my purchases' within the itunes app. Yet, in order to listen to the music, i must use the 'music' app and in this application, there are only three tracks displayed at any one time from my downloaded album.
    I can 'download all' from the 'my purchases' section but that still doesn't help, it just keeps the last three tracks downloaded in the music app.
    I have the 'icloud' enabled and wondered if it had anything to do with that.
    i have successfully downloaded another full album totally into the music app, but this first album is causing me problems.

  • How do I get 2 layers to move at the same time?

    How do you get 2 layers to move at the same time?

    Thanks for the help folks, sorry I've been away.
    I'd love help with the problem of why I only one track seems to accept clips to play. When I drag them to other tracks or create a track by dragging the clips are grayed out and won't play, but if I drag them to the one track where they're blue they play.

  • When I try using Airplay to stream from Amazon Prime it tries to use Apple TV music.  How can I get it it stream movies from Amazon Prime?

    When I try using Airplay to stream from Amazon Prime it tries to use Apple TV music.  How can I get it it stream movies from Amazon Prime?

    Welcome to the Apple Community.
    Try the following steps, check whether things are working after each step where appropriate, before trying the next.
    Restart the Apple TV (Settings > General > Restart).
    Restart the Apple TV by removing ALL the cables for 30 seconds.
    Restart your router.
    Reset the Apple TV (Settings > General > Reset > Reset all settings)
    Restore the Apple TV (Settings > General > Reset > Restore)

  • The Apps panel of my Creative Cloud does not load. How can I get it to load?

    I recently downloaded Creative Cloud to try Dreamweaver, however, the Apps panel of my Creative Cloud does not load.  I've tried restarting the laptop, opening and closing the application, etc. How can I get it to load? I use a MacBook Pro OS X Version 10.9.5.

    Computer died need code can you please post a screen shot of the error message.  The current released version is 1.8.0.447.  The release notes for the Creative Cloud Desktop application can be found at Creative Cloud Help | Creative Cloud app for desktop | Release Notes.

  • How can I get an external microphone to work on an iphone?

    How can I get an external microphone to work on an iphone?

    Japib is correct.
    WHAT happens? Exactly.
    Also helpful would be to tell what event preceded this behavior - added App, update iOS, etc.
    Quoted from  Apple's "How to write a good question"
       To help other members answer your question, give as many details as you can.
    Include your product name and specs such as processor speed, memory, and storage capacity. Please do not include your Serial Number, IMEI, MEID, or other personal information.
    Provide the version numbers of your operating system and relevant applications, for example "iOS 6.0.3" or "iPhoto 9.1.2".
    Describe the problem, and include any details about what seems to cause it.
    List any troubleshooting steps you've already tried, or temporary fixes you've discovered.
    ÇÇÇ

Maybe you are looking for

  • On first startup each day my tool bars revert to the default setting instead of my customized setting. Why? How do I stop it from happening.

    This happens on both of my computers. After I close down Firefox and then start it up again it sometimes comes to my customized set of tool bars. At other times it does not. Usually the first time I start Firefox it reverts to the default Toolbars. M

  • Itunes 10.5 and iOS4 issues... (Calendar)

    Before I had itunes 10.5, my mac and iPhone's iCals were being synced perfectly. Now, I upgraded my MBP and MP to Lion, which means I'm now using itunes 10.5. I noticed that the calendar is no longer syncing to my iPhone!!  my iPhone's iCal is comple

  • Programing code question

    Hi Gurus, I want to create additional field in the report, where I want to do multiplication with (-1); how to append a new deffined field ZDMBTR to INT internal table? Code is displayed below. Thanks. data: int like ZFI_GET_COMM_ITE occurs 0 with he

  • Best Practice Moving to iPrint Appliance

    I'm working with a site that has some old NDPS printing on NetWare 6.5 and some OES based iPrinting. We are moving to the iPrint appliance. While you can migrate/import printers from the old system into the appliance, I haven't figured out the best w

  • Error making Foreign Keys

    Hi, I get an error trying to create foreign keys. The message reads "Parent keys not found". I have the primary keys in my parent table. Any thoughts what it could be? Thanks,