Load Movie in AS3 for cd-rom output

I have a .project with multiple >SWF's, which links to many other flash movies...I want to open each of the movies
in it's own window, but not in a browser. (CD-rom output). The complete project is like a book with PREVIUS and NEXT buttons. Each one unloads the current  SWF and opens a new one.  .
I have used the following script in AS2 with great success. However I haven't found the way to achieve the same result in AS3. Here is my AS2 script.
on (release) {
loadMovie("CD09.swf", _root);
I know that this is very basic but I can not write a script to achieve the AS2 Result.
Your help is very appreciated.

I appreciate your input. Wrote the code as follows: (remove the "private" because the code is in the timelinI appreciate your input. Wrote the code as follows: (remove the "private" because the code is in the timeline)
//back_btn button function
back_btn. addEvent Listener(MouseEvent.CLICK,mouseClick);
function mouseClick(event:MouseEvent):void {
var _content:DisplayObject;
function loadContent(content:String):void {
     if(_content != null){
        removeChild(_content);
        _content = null;
      var loader:Loader = new Loader();
      loader.load(new URLRequest(content));
      _content = addChild(loader);
     loadContent("CD09.swf");
The parent file loads but when pressing the back_bth. button to load the new file NOTHING HAPPENS.
I have been trying to solve this issue for a long time and I am sure we are almost there. Your kindness is very appreciated!

Similar Messages

  • I can down load movies to my laptop

    i am using a mac book and the down load movies not working for me every time i try to watch or down load a movies its telling me plug in

    OS 10.6? 10.7? 10.8?
    What browser?
    Do you mean download or view?

  • Problem going to fullscreen after loading AS2 movie into AS3

    I've got a loader movie that is written in AS3, and
    fullscreen is enabled. I have a context-menu fullscreen trigger and
    a keypress fullscreen trigger built into the loader movie. When I
    load an AS3 movie or an AS1 movie through the loader movie, I can
    go to fullscreen without problems. When I load the AS2 movie, I
    cannot.
    Does anyone have an idea why this might be? I'm struggling.
    Thanks in advance.

    Thanks for your help, but as said ("But also using a
    separated second loader to load the second file is not working.")
    even when using a second loader (with a different name) the second
    file loaded will not work.
    I'm removing any EventListener from the first loader,
    unloading and then nulling it.
    But to me it seems, that the first content is not garbage
    collected and because of that, even when loaded with an other
    loader the first loaded swf-file interferes with the second.
    I came to this conclusion, because the first loaded swf-file
    is still working after trying to load the second file. And just
    more weird: the first loaded file is in the same state and also
    after closing the Flash-Player.
    You can see it for yourself: download the testcase. Start the
    testcase.swf. Load a contentfile. Skip a few pages. Quit the Flash
    Player. Start the testcase.swf again and load the same contentfile.
    You will see it's at the same position like before quiting the
    Player.
    And I can't help, but that seems like a bug to me...

  • Whenever I go to a site or click anything, I always have to move my mouse for the page to load, why is this happening? (When I go to a site full of images, I move my mouse a little bit at a time and it loads one image at a time)

    Whenever I go to a site or click anything, I always have to move my mouse for the page to load, why is this happening? (When I go to a site full of images, I move my mouse a little bit at a time and it loads one image at a time)

    Hi, Tom.
    FYI: You've not stated which of your listed Macs is having the problem. However, the following may help in any case:
    1. Did you install Front Row using the Front Row hack on a Mac that did not ship from the factory with Front Row installed? If so, See my "Uninstalling the Front Row hack" FAQ. This has been known to cause a variety of problems, including the menu bar (Clock, Spotlight) issues you noted.
    2. If you did not install the Front Row Hack, an incompatible or corrupted Startup or Login Item may be partly to blame for the problems with the menu bar. My "Troubleshooting Startup and Login Items" FAQ can help you pin that down if such an item is causing the problem.
    3. As a general check, run the procedure specified in my "Resolving Disk, Permission, and Cache Corruption" FAQ. Perform the steps therein in the order specified.
    4. Re: Safari and Mail, if not sorted by any of the above, see also:• "Safari: Blank icon after installing Security Update 2006-002 v1.0."
    • My my "Multiple applications quit unexpectedly or fail to launch" FAQ
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • Compress movie for CD-ROM

    I've been working on a video conversion project using the ADVC300 to import old VHS clips into iMovie 6.
    For the past two weeks I've read and experimented every which way to get a good quality representation of my video on the computer. The only good looking file that didn't give me black horizontal lines everywhere (MPEG-4 and H.264 tests) was the full quality setting. After much frustration with this I set it on the "Compress movie for CD-ROM" setting as a last resort, only to find this was exactly what I wanted. From my comparisons these files look as good as the .dv files at a MUCH smaller size.
    So, just out of curiosity, is there any way of finding out exactly what these CD-ROM settings are? How exactly is this stuff getting compressed?
    Thanks for your input.

    Great. I'll use those settings and experiment a little.
    Now, if I could only find some way of speeding up the process. I know, buy a new computer. One 12 minute clip took about 50 minutes to finalize last evening. This will be a long process, with about 2 boxes of VHS tapes to convert, but at least there's other things to be done in the house while the computer is churning away.
    Thanks!

  • My ATV keeps telling me...  "an error occured loading this content"  I have tried playing this movie i downladed for 2 days how long will it take?

    My ATV keeps telling me...  "an error occured loading this content"  I have tried playing this movie i downladed for 2 days how long will it take?  Why after resetting the ATV is it still not working...?

    Did you try unplugging the power cord for a few seconds, then plugging it back in? That usually fixes similar problems for me.

  • Loading XML in AS3

    OK, so I think I have the basics of loading XML in AS3. But I
    can't seem to access the info once it is loaded. I'm using the to
    load the .xml file:
    var myXML:XML = new XML();
    var XML_URL:String = "music.xml";
    var myXMLURL:URLRequest = new URLRequest(XML_URL);
    var myLoader:URLLoader = new URLLoader(myXMLURL);
    myLoader.addEventListener("complete", xmlLoaded);
    function xmlLoaded(event:Event):void
    myXML = XML(myLoader.data);
    trace("Data loaded.");
    But when I go to trace the .xml file with this:
    trace(myXML.toXMLString());
    I get nothing. However, if I place this trace inside the
    xmlLoaded function it traces it out. My problem is I want access to
    the info outside of that function. What am I doing wrong? Any
    advice or help would be greatly appreciated. Thanks.

    backpages,
    > But when I go to trace the .xml file with this:
    >
    > trace(myXML.toXMLString());
    >
    > I get nothing.
    This looks like a matter of timing. Your first five lines
    are
    encountered one after the other, starting with var myXML
    through
    myLoader.addEventListener(), which calls a function defined
    immediately
    below that. The function is called when the "complete" event
    is dispatched,
    which may take longer or shorter depending on the size of the
    XML document
    and network traffic. If you put a trace() statement
    immediately below that,
    Flash will execute that too -- and at the moment it does,
    your XML document
    hasn't loaded yet.
    > However, if I place this trace inside the xmlLoaded
    function it
    > traces it out. My problem is I want access to the info
    outside
    > of that function. What am I doing wrong?
    I copy/pasted your code exactly, then followed it with this:
    var t:Timer = new Timer(5000);
    t.addEventListener(
    TimerEvent.TIMER,
    function():void {
    trace(myXML);
    t.start();
    ... which waits five seconds, then runs that trace(). Sure
    enough, it
    outputs the XML contents.
    If you want to use the myXML variable elsewhere in your
    movie, you just
    have to make sure those other locations don't reference the
    variable until
    it has a value (or account for a lack of value in the logic
    they use). You
    might, for example, put a stop() action in frame one, along
    with the
    existing code (and instead of my timer), then have the
    "complete" event
    handler issue a play() action. In later frames, the myXML
    variable would
    have the data you need, because the playhead won't advance
    until the data
    have been loaded.
    David Stiller
    Co-author, Foundation Flash CS3 for Designers
    http://tinyurl.com/2k29mj
    "Luck is the residue of good design."

  • Creating exe projector linked to flv file for cd rom

    Hi! My Contact
    nha khoa
    I have a large flv video file that I want to create an exe
    projector file (a "click me to start" file for users) that is
    linked to and plays the flv video when you open the exe. These
    files would then be burned to a cd rom.
    Does anyone know how to create the link from the exe
    projector to open the flv file for cd rom distribution.
    thanks!

    Is it possible that you could advise me on the best settings
    to have when playing an FLV back from CD-Rom, I have a similar
    problem in that my FLVs playback ok on high-spec PCs/Macs, but when
    I launch in on an old PC/Mac there are serious staggers in the
    playback and some audio glitches.
    If anyone has any advice on how to combat this I would be
    very grateful.
    THE BASICS
    I am using flash to present 2 FLV files via a CD Rom.
    THE ISSUE
    The FLV files are quite large, 1x 40mb file and 1x 43mb file
    (dimensions 1024x576). Playback on a high end PC with 2GB Ram is
    great, no staggering in the playback. Testing this on a high-end
    Mac too yeilds no performance issues with playback.
    However, when the settings are reduced to a low-end PC/Mac,
    there are glitches in the audio and staggering in the visual
    playback as the lower spec machine tries to cope as best it can
    with the Hi-Res video.
    The flv files are externally loaded into a movie clip that is
    designed for FLV playback using a buffer speed 0.1.
    QUESTION:
    Does anyone have any tips/ advice on the best way to resolve
    the staggered playback, audio glitching.
    The obvious routes ahead of me are;
    Reduce the quality of the FLVs I am playing.
    Reduce the dimensions of each FLV.
    Cut the FLV into smaller pieces and link them together via
    the movie clip loader (NOT sure how to do that though?)
    Does anyone have any advice on my annoying problem?
    Thanks for reading.

  • Unable to load movie playlist?

    I'm really starting to regret Upgrading to Director 11. I
    didn't have any of these issues going from MX to MX 2004. All I'm
    trying to do is make a simple projector work on a Mac and it's one
    issue after another. Not to mention all this after updating a whole
    boat load of Xtras 11 requires.
    The new one is this;
    Unable to load movie playlist. Does the INI file exsist? It
    must contain a section '(Movies)' with an entry
    'Movies01=pathname.dir'.
    I've already read a couple of other forum post with the same
    error message going on with others but can't find certain files
    required to make the fix like the 'Projec32.skl',
    and I don't know how to read, let alone make an .INI file.
    I'll mention I got this error after updating to Shockwave 11
    EVEN though I was not publishing a Shockwave movie.
    I know I just need to include a certain file on my CD when I
    burn one because all works great on the desk top, but I'm throwing
    darts trying to figure out what the CD burn is missing.
    So to make a long story short does anyone know what I might
    be missing?
    I'm new to making director movies for the Mac, and even using
    a Mac so I might need it spelled out a little more for being a
    novice.
    Thanks in advance. :o)>
    PS I tried making a Mac Projector from my PC with no good
    results either.

    This is a very frustrating problem.  I have run into it as well, but can't tell you exactly how I solved it, its been a while since I've seen it.  It does have something to do with the length of the path to your projector when its published.  I would suggest moving your movie as close as possible to the root of the drive, you may even want to restart to ensure all the internal variables have been reset and then republish the movie.
    If you publish the movie from your authoring location and then copy the projector to a cd or the desktop the path length seems to be built into the projector at publishing. So that does not solve the problem.  It is fairly easy to get a long path name - c:/mylocaldrive/documents and settings/yourusername/yourprojectsfolder/yourprojectname.dir has a path name length of 100 characters!  I realize you are on a mac, but the same rules apply.
    I also might be mistaken with the maximum path length.  Perhaps its 128 characters?
    Has anyone else run into this error?
    Mike M

  • This message comes up "This computer is already associated with an Apple ID" trying to down load movies of another computer of ICloud how do I get By?

    This message comes up "This computer is already associated with an Apple ID" trying to down load movies of another computer of ICloud how do I get By?

    Hi Allan, thanks for that. I've already set up a log in for my wife and that is all working fine. The problem is that when she logs in and opens iTunes and trys to associate her library with her iTunes account she gets the error message "This computer is already associated with another iTunes account". Whilst this is true, the computer is associated with my iTunes account under my separate log in, which should have nothing to do with hers. If she transfers the association to her account it will lock me out of my content on my log in for 90 days - I'm trying to work out how to associate each of the log in accounts with a separate iTunes account so we can access our music independently of one another without locking each other out. Hope that makes sense!

  • Office Web Apps Load Balancing Configuration Issue for SharePoint 2013

    I have load balanced servers dedicated for Office Web Apps with name “md1xxxwfe1” and “md1xxxwfe2” 
    , both this servers are load balanced by CISCO Load balancer. And I have mapped Load Balancer Virutal IP with host name officeapps.jda.corp.local in the DNS records.
     Things are working fine if I add new farm by using New-OfficeWebAppsFarm
     with server name as internalurl in PowerShell console
     as like “  -internalurl http://
    md1xxxwfe1  but when I use –internalurl officeapps.jda.corp.local it is not working at all. I’m not getting what to do at this point.
    I have gone through following blogs but no luck.
    http://blogs.technet.com/b/meamcs/archive/2013/03/27/office-web-apps-2013-multi-servers-nlb-installation-and-deployment-for-sharepoint-2013-step-by-step-guide.aspx
    http://blogs.technet.com/b/office_resource_kit/archive/2012/09/11/introducing-office-web-apps-server.aspx
    http://davidlimsharepoint.blogspot.in/2013/02/installing-and-configuring-office-web.html 
    http://sps2013.blogspot.in/2013/09/office-web-apps-with-sharepoint-2013.html
    The output of the wfe1 server is attached with this. When I open http:// /hosting/discovery in wfe1 I’m getting following result (attached
    screenshot) but it should show hostname rather than server name.
    Please help me
    Thanks, Ram Ch

    Hi  Ram ,
    For  troubleshooting your issue, please take steps as below:
    Just about any load balancing solution will work, including a server that runs the Web Server (IIS) role running Application Request Routing (ARR):Install
    Application Request Routing
    Install the certificate on the load balancer as described under Securing Office Web Apps Server communications by using
    HTTPS.
    Make sure you have configured the cluster correctly for full internet name:
    Reference:
    http://technet.microsoft.com/en-us/library/jj219435.aspx#loadbalancer
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Eric Tao
    TechNet Community Support

  • Is there a movie size limit for iWeb published in MobileMe?

    I'm having trouble creating a movie page in iWeb. There's an error when I try to publish it to MobileMe.
    Is there a movie size limit? The video is 20 MB.

    I don't know what the limit is but iWeb often indicates 10MB or less is preferred. There are alternatives to adding larger movies to a web page that don't require the movie to load until the play button is selected. See this demo page for one method: Opening Item in a New, Precisely Sized Window. A demo page with 7 movie files using this method can see here: PhotoPresenter Animated Slideshow Themes.
    This second page has the other method. It is a little more involved but works nicely. Again, the move doesn't have to load until the play button is selected. It's the movie here: QT Movies via Export for Web in QT Player.
    OT

  • AS2 SWF loaded inside a AS3 SWF

    Hi,
    In a recent project I had to load a FlashPaper2 document
    inside a SWF implemented in AS3. I read a couple of articles about
    Darron
    Shcall's article and
    FlashInterface
    but none of them seemed to be useful in my case.
    I needed to load a FlashPaper SWF inside a AS3 and couldn't
    rely on ExternalInterface since they were not two separate SWF's.
    To be more clear, I was using the Loader class via a Sprite to load
    the FlashPaper SWF.
    Anyways, I created FlashPaperLoader.SWF implemented in AS2
    which was used to load the FlashPaper SWF. This loader was able to
    communicate with the FlashPaper APIs (AS2). As you can guess, the
    AS3 SWF was used to load the FlashPaperLoader.swf.
    What I don't understand is how come the FlashPaperLoader the
    FlashPaper document SWFs can communicate with each other thru AS2
    function calls when they are loaded inside a AS3 SWF, I thought
    that due to VM differences, no communication is possible!
    I hope I was clear, if I was, any guru insight is really
    appreciated.
    Cheers.

    Thanks kglad,
    But you still haven't answered my question. I am not looking
    for solutions, my own solution works. I wanted to understand more
    about the VM's.
    AS3
    var request:URLRequest = new
    URLRequest("./FlashPaperLoader.swf");
    var loader:Loader = new Loader();
    loader.load(request);
    AS2
    var loader:MovieClipLoader = new MovieClipLoader();
    loader.loadClip("./FlashPaperDoc.swf", fpContainer);
    // the loader SWF used IFlashPaper APIs to communicate with
    the FlashPaper SWF.
    Now, the first part (AS3), all that code is interpreted by
    VM2. Once an AS2 SWF is loaded a
    AVM1Movie
    is created and no direct communication between AS3 and AS2 is
    possible. I am curious to know how come the two AS2 SWFs can
    communicate with each other while inside the VM2 space.

  • Quicktime Pro Really Slow to Load Movies

    Hi,
    Anyone have any idea why after getting Quicktime pro it is so slow to load movies? I have an iMac with 2Gigs of Ram, less than a year old...
    I read about the disk permissions thing, but it doesn't seem to have helped...
    Thanks in advance!

    I don't know if this is still a problem for you, but I first noticed it when I upgraded to 7.2 in Tiger.
    It seems that QT is loading the whole movie into RAM before it starts playing. This is really annoying with long movies, the beachball just spins until QT has loaded all 350 megs into a buffer somewhere. I've started using VLC instead. No settings that I can find will alter this behaviour, and I've tried moving various third-party plug-ins around to no avail.
    Note: the behaviour persists with QT 7.3 in Tiger (10.4.10) but seems to have been fixed in Leopard (10.5). Since I'm slowly migrating to Leopard, I guess the problem is semi-solved.

  • After watching 25 mn, it stops "Could not load movie"

    I rented a movie on my iPad from iTunes Store.
    After 25 mn of watching it stops and it says "could not load movie” then it has been fully downloaded.
    The Apple assistance says "if your download was interrupted
    1/ From the Home screen, tap the iTunes app.
    2/ For iPad, tap Downloads."
    But I don’t have Downloads button ("More" give me only the kind of movie)
    If I go back on the icon of the movie on iTunes Store, it suggests me to "play" and the problem remains the same.
    I switch iPad off and on again, nothing better happen.
    I put 3 days to download in HD, so rental will expire before the end if I delete and I try to download it again.
    Any idea? Thank you.

    When I tried that I got a message that moving the rental HD movie back to the computer would delete it instead and I would have to re-rent (for an additional fee) the movie. 
    No word from Apple on how to solve this problem. 
    Does anyone here have a solution? 

Maybe you are looking for

  • I need help to draw in a frame, please

    Hi Im new to java and I need some help to draw a rainbow in a frame. I already made the frame , but i dont know how to draw inside the frame. here is my code so far: import java.awt.*; import javax.swing.*; public class Regnbue {      public static v

  • Unable to create IDOCs after client copy

    I'm unable to create IDOCs after a client copy.  I receive a SAPSQL_ARRAY_INSERT_DUPREC or insert of duplicate rows ABAP dump. Does anyone know what how to fix this.  Thank you in advance. Runtime Error          SAPSQL_ARRAY_INSERT_DUPREC Except.    

  • Std web shop behavior if a Wrong Product is input in the Sales Order page

    Hi Experts, In a B2B/BOB web shop, when a product is entered into the sales order screen manually, does the system run a standard validation as to check if the product exists in the product catalog ? Is there any documentation on this kind of standar

  • How to Determine Length of variable up to period (.)

    I have  a variable called my_var  in an ABAP and it is passed many #'s  and they may or may not have some text following these #'s --- these #'s can have a  Length of up to 13 and will always have 3 Decimal Places.  I need to find a way to return the

  • DNG files are too big

    I tried converting canon raw file to DNG but the dng files are 2 times at big as the canon raw files. What's up with that?