Attaching an external Movie clip on cue point

I have about 10 different SWFs that I need to attach and play
during a certain part of an FLV in my Video Player. I have been
slaving over this topic for some time and can't seem to solve it.
Please help.
Thank you in advance.
Here is the code

Hey worked it out guys!
var myLoader:Loader = new Loader();                     // create a new instance of the Loader class
var url:URLRequest = new URLRequest("whatever.swf"); // in this case both SWFs are in the same folder
myLoader.load(url);                                     // load the SWF file
addChild(myLoader);                                     // add that instance to the display list, adding it to the Stage at 0,0
But now I need to know.. How do I unload it?
Cheers
sub

Similar Messages

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

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

  • Attaching an embedded movie clip to an empty one

    HI,
    I am new to Flash and would like some help about the
    following. A have an embeded movie clip in my library that i want
    to attach to an empty movie clip I am creating with ActionScript. I
    want to fix the size of the empty movie clip, that I will use as a
    container to for my embedded movie clip. It turns out that when I
    fix the size of the empty movie clip container and I use
    attachMovie to load the embedded movie clip to it, the image
    doesn't show, I can hear the sound but not the image.
    So the question is , if I have a movie clip container of a
    different size than the movie clipse I want to load into it, what
    do I need to do to make sure the movie clip will fit into the empty
    container.
    thanks
    -malena

    Thanks for the answer, but what I would like to do is to have
    a FIXED size empty clip on the stage and be able to load new clips
    into that empty clip and have the loaded clips resize to fit into
    the empty clip.
    For example the FLVPlayback component does that
    automatically. I can't use the FLVPlayback component because I want
    to be able to control which frame number I want to displaly on the
    screen, and it looks like I can only have that type of frame level
    control wiht a Movie clip component but not with the FLVPlayback
    component.
    -malena

  • Edit attached audio with movie clip

    I made a project by combining movie from one camera (with audio muted), plus audio only from a second camera as an attached audio track. The two cameras were recording the same scene, so the (better quality) attached audio can be put in sync with the video from the other camera.
    How then can I delete a section of the video AND the corresponding section from the attached audio channel, so the remaining audio remains in sync?
    "Split Clip" splits the movie but not the attached audio. Is there a way round this?

    Sorry I never posted back about this. I got sidetracked with putting together a different vacation video and forgot all about it.
    Anyway, what I posted before totally worked. I exported the movie as an mp4 at full quality (I'm not sure if there was any loss of quality, as the footage I started with was not very high resolution. There was no discernible loss of quality, though). Then I took that newly created mp4 and re-imported it into iMovie.
    iMovie treated the audio that had previously been pinned as embedded audio, so now when I cut a clip, it cuts the audio with it.
    Kind of a pain to do the extra step (especially since importing all of my raw, unedited footage and re-importing it took a while, but working with it now is soooo much easier.
    Hope this helps anyone who may stumble onto this thread in the future.

  • Loading an external movie clip

    Hi team,
      Last time I wanted to load an external clip I could do it like this
    on (release) {
              unloadMovieNum(1);
              loadMovieNum("whatever.swf",1);
    So now I want to achieve exactly the same thing in AS3,
    I have been looking at examples on the web but am getting all sorts of errors and basically don't know what I am doing.  I also want to know how to navigate to .swf files in a file structure, as I have to build an old school fscommand file structure for a cd-rom.
    Any and all help greatly appreciated.
    Cheers,
    Sub

    Hey worked it out guys!
    var myLoader:Loader = new Loader();                     // create a new instance of the Loader class
    var url:URLRequest = new URLRequest("whatever.swf"); // in this case both SWFs are in the same folder
    myLoader.load(url);                                     // load the SWF file
    addChild(myLoader);                                     // add that instance to the display list, adding it to the Stage at 0,0
    But now I need to know.. How do I unload it?
    Cheers
    sub

  • Cue point event to display text link in movie

    HI -- This may be a fairly mundane question but I am having a
    hard time figuring it out. I have a movie with several cue point
    events. I would like a text link to be added to the right of the
    movie when a certain cue point is hit. I would like the link to
    stay in place and each time a new cue point is hit, a new link is
    added below the last link.
    I am stuck and can't seem to get this to work. Having a hard
    time figuring out the action script. Any suggestions? I have
    already followed the macromedia tutorials on this subject and am
    just floundering.
    thanks!

    Since you are storing the number as an 'int' and then converting that int to a String for display, then you shouldn't expect 0's to be added on if the number is currently 0:
    1) curnum = 0
    2) 0 key is pressed
    3) curnum = curnum * 10 + 0 = 0 * 10 + 0 = 0
    A real calculator wouldn't keep appending 0's... at least, not a simple calculator comparable to the one you are writing. If you want to append 0's, try this:
    - Keep a count of the number of 0's pressed.
    - If curnum is changed to 0 (by pressing clear, for example, or turning on the calculator), reset the zero count to 1.
    - Each time the '0' key is pressed, if curnum is 0, then increment the '0' count.
    - When you update your display, use the following logic: if curnum is 0, then display the number of 0's specified in the zero count, otherwise just display the value of curnum.
    Jason

  • Using external XML to add and set parameters for AS cue points.

    Hi there. I am trying to use external xml to set cue point
    times (for video), titles, and other parameters. I have everything
    set up, except getting the proper data from the xml file to set the
    parameters for my cue points. I am researching hard and learning
    quickly - at this point, I need help. Thanks!

    Anyone?
    Still working on this if anyone has advice. Still haven't
    been able to figure out how to put xml data in the right place:
    addASCuePoint(//data from xml here to set name and time of
    cue point - HOW??//);
    Thanks!

  • Control slide advance via video cue points

    Hi Folks I would like to have a video clip control the advance of an external slideshow by using cue points set in the video. Idealy I would have 2 swfs (video.swf and slides.swf) embeded in a web page side by side and as the video reaches a certain cuepoints it advances the slides in the slideshow swf. It would also be good to fullscreen either one or the other as required.
    Any help appreciated.
    Dave.

    Hi Folks I would like to have a video clip control the advance of an external slideshow by using cue points set in the video.
    The videos do not need to be live streamed and can be prepared with keyframes at the key positions for slide advance
    So is it keyframes or cuepoints? I didn`t say sth. of Livestream either.
    Streaming means simply the process where a video can already start even if its not already completely loaded. This is consideres not only good but standard practice nowadays.
    Embedding videos on the timeline is a bad idea. Using Keyframes in this case is an even worse idea.

  • Play multiple movie clips - with sound

    Hello Forum members,
    I am a total new comer in terms of flash and action script,
    self-educated and Adobe forum and internet educated. I can now
    click a button and stop and start a movie clip, use attachMovie,
    and even mute sound in a movie clip (not video). I am currently
    using Flash 8, and waiting for CS3 (downloaded a trial, and like it
    better than Flash 8).
    Enough history - now to my question - I have an application
    that had 3 scenes. I read in some Adobe article
    "Flash Best Practices" that it was not a good idea to use
    scenes in an application. I converted my Scene 2 and Scene 3 into
    movie clips.
    I figured I could either put each movie clip on a separate
    layer in my timeline (mc_scene2, mc_scene3)
    and play them, one after the other (did not quite work, more
    later). Or...
    copy the timelines from the scenes, and add those frames to
    my Scene 1, making a application with both scenes staggered one
    after the other in the main timeline. Or...
    Keep Scene 1 and at the end of scene 1,
    attacheMovie("mc_scene2", etc) and when scene 2 was done play and
    or attach the final movie clip (mc_scene3).
    I could not figure out how to tell when mc_scene2 was done
    using the attacheMovie method, so I could then attach mc_scene3,
    etc.
    How would I be able to tell when one attached or loaded movie
    clip is finished, and then start the next one?
    Or what is the suggested way to use actionscript to load a
    movie, play it, and when the clip is done, load and play the next,
    etc.
    Thanks for a good forum,
    eholz1

    Hello Again - I guess there is much that I do not understand.
    I followed the tip above - or so I thought.
    I have "buttons" on my movie clips that play the clip when
    clicked.
    I have placed stop actions in frame 1 of each movie clip.
    I tried placing mc_scene2 and mc_scene3 on their own layer
    in the timeline,
    and put the code above in my actions layer (Scene 1).
    it seems that nothing really works - the _visible property
    seems not to work,
    etc - I must be doing something wrong. What layer should the
    two mc's be
    placed?
    Thanks for the info
    Eholz1

  • Importing a movie clip.  having some issues

    I am making a flash movie that has buttons on it. i have the
    buttons set to load an external movie clip. the clip that i am
    loading has animations on it and it plays fine, but when i navigate
    to that movie clip by clicking on the corresponding button
    everything turns white expect for the black colors on some strokes
    and text in the animation. the animation is the only thing that is
    now on the screen, the buttons are gone and the background colors
    are gone as well. i have other buttons that navigate the exact same
    way but i have no troubles with them, only this one button. does
    anybody know what is going wrong? If you have any input, i am
    pretty new to flash so if you have any explanations i would really
    appreciate it if you could step me through. thanks!

    try loading one of your working-correctly swfs with the
    problematic button. if all works well, you know the problem is in
    your external swf. if it fails, you know the problem is your
    button's code.

  • Load movie clip

    Whenever I load a movie clip into the target and test my
    movie, the loaded movie clip always loads in the bottom right. I
    think this is a registration error but I am not sure how to fix it.
    My target is 835px by 635px, same as the movie clip I want to load.
    Any help would be much appreciated.

    Position the blank movie clip in the top left corner where
    you want to have
    the external movie clip loaded.
    Note that if the external movie clip has dynamic content
    creation via AS or
    different content size on higher numbered frames you may find
    it will show
    content to the left and top of the blank movie clip because
    initial size is
    not detectable. In particular if you are loading Flash movie
    that you
    created that you used a third party tool such as xCelsius. In
    this case you
    need to MovieClipLoader and once the onLoadInit event fires,
    manually
    position the blank movie clip which is passed as an argument
    for coding
    convenience.
    Lon Hosford
    www.lonhosford.com
    May many happy bits flow your way!
    "northstar_86" <[email protected]> wrote in
    message
    news:e27cer$5i2$[email protected]..
    Whenever I load a movie clip into the target and test my
    movie, the loaded
    movie clip always loads in the bottom right. I think this is
    a registration
    error but I am not sure how to fix it. My target is 835px by
    635px, same as
    the
    movie clip I want to load. Any help would be much
    appreciated.

  • Movie Clip / motion guide

    :music; I'd like to say if Action Script would be used in a
    movie clip lied on a motion guide?
    e.g. : Slowing down a movie clip during the elapsed whole
    time onto the motion guide. When I used code like mclip_x -= 50;
    It didn't affect the speed of the clip. The tool in the
    properties dialog box didn't match with my will.
    Thanks for your support.

    josh23gb,
    > Is it possible to attache a movie clip from the library
    to
    > a motion guide and then animate it along that path you
    > set up?
    No. But you can attach an empty movie clip to a motion guide
    by hand,
    then attach your Library asset to the empty clip.
    David
    stiller (at) quip (dot) net
    Dev essays:
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Help - Using Cue Points to Play Movie Clips

    I have a FLV, into which I have placed about 8 cue points. I
    want a movie clip to play - (each movie clip is simply a snippet of
    supporting text for the video) - when a cue point is "hit". I am
    really quite baffled by most of the documentation that I have read
    so far.
    How can I do this? Many, many thanks for any support you can
    give.
    tommy53

    You can build out a menu by reading the cuePoints array in
    the NetStream.onMetadata handler, or by using the MetadataEvent
    with the FLVPlayback component (AS3). The simple thing for me to
    say is to refer to Chapter 9 of my new Flash Video book. :) (see
    link in my signature below.)

  • Using cue points to acrivate movie clips

    I'm trying to write a simple piece of ActionScript that I can
    adapt and re-use easily. (I'm not very good at programming and I've
    been finding the "help" information very confusing.) I've devised
    quite an elegant solution, if only I could get it to work!.
    I'm using a single frame loop with an onEnterFrame
    construction that deletes itself when the flv has finished playing.
    I've set up a movie clip with various start points for animations
    to be activated at cue points. I'm testing for the cue points in
    the same frame, storing previous cue point names so that each cue
    point triggers the corresponding animation once only. I know the
    main logic works because I've tested it with trace statements to
    prove that the cue points are actually being reached. The problem
    is that the goToAndPlay instructions don't seem to activate the
    movie clip as intended.
    My best guess is that the stop action on the self-looping
    frame is also stopping the movie clip as soon as it starts. Even if
    that is true, I don't know how to solve the problem. And I'm sure
    one of you much more clever people will know better. Here's the
    code. Any suggestions?

    You can build out a menu by reading the cuePoints array in
    the NetStream.onMetadata handler, or by using the MetadataEvent
    with the FLVPlayback component (AS3). The simple thing for me to
    say is to refer to Chapter 9 of my new Flash Video book. :) (see
    link in my signature below.)

Maybe you are looking for

  • Battery explosion, magsafe issues.

    Hello, Firstly, I would like to say that the quality of the magsafe adapters is terrible. I bought my second after my first went 'pop'. This cost me £60, and within a few months the cord has become loose, exposing bare wiring. I understand this is st

  • Re: Why can't BT sort out a complaint properly

    I have just had a NIGHTMARE trying to get a phone line and broadband package ordered from BT. I have complained twice online and both complaints have been completely ignored. I have phoned, but spoken to foreign call centre staff who seem to have no

  • Login from remote web site

    Is it possible to have someone log into my web site from a remote site? I would like to offer my service for other design companies and would like them to have the login process on their own web site and have it query my database and log into the pro

  • Oracle 10g express edition was working fine for months now stopped working

    hi all, I was working with oracle 10g expree edition fine for months via the front end provided. Created several databases and tables. But suddenly for some weeks it is not starting and the URL http://127.0.0.1:8080/apex is not working and also I am

  • Datasocket buffering

    I have application1 and application2. Application1 is suppose to send data to application2 through dstp. Application1 acquires data from a NI-DAQ device at 20Hz (20samples/sec). The data is wired to the DataSocket Write. In application2, Data from Da