How do you load an swf into another FLA document

Well, the headline pretty much says it all. I have gotten some swf files from another designer. I need  to show them in my presentation. I am using Flash CS3 for mac. Any advice would be helpful.
Thanks,
Rich

I did find a tutorial on this. It was helpful. I am using Actionscript 3.0
Here is the code I used and it works. Except, I need to load another one after this one. Basically it is like a slide show of swf files. I need to play 3 swf files after another without any interaction by the user.
I am thinking I need to tell it to unload the first one and load the second one after the first one is finished and so on. I appreciate any advice.
Rich
var Xpos:Number=0;
var Ypos:Number=0;
var swf:MovieClip;
var loader:Loader=new Loader();
var defaultSWF:URLRequest=new URLRequest("swfs/dannon_1.swf");
loader.load(defaultSWF);
loader.x=Xpos;
loader.y=Ypos;
addChild(loader);

Similar Messages

  • How do you insert a picture into another picture?

    How do you insert a picture into another picture.  For example, one person is missing from family photo & I'd like to insert that person's face.

    By using an external editor:
    In order of price here are some suggestions:
    Seashore (free)
    The Gimp (free)
    Graphic Coverter ($45 approx)
    Acorn ($50 approx)
    Pixelmator ($50 approx)
    Photoshop Elements ($75 approx)
    There are many, many other options. Search on MacUpdate. You can set Photoshop (or any image editor) as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically. This is the only way that edits made in another application will be displayed in iPhoto.

  • How do you load artworks automatically into the indeisgn CS3

    Hi All,
    How do you load artworks automatically into the indeisgn CS3. Is it through a script or any other way.
    Thanks
    Devakanth

    "artworks" is a bit vague...can you expand?
    File > Place is the usual way, but there are times when cut and paste is fine or better.

  • How do you copy one page into another pages 5.2 doc

    Working in version 5.2 and want to add (copy) one page from one pages document into another pages document. (both documents are made w 5.2)
    Thanks!

    You could copy and paste pages from one document to another in Pages '09, but Apple removed this from Pages 5.
    Best you can do is copy the content.
    Peter

  • Preserve frame rate when loading one swf into another

    Is there a way to preserve the frame rate of a swf when
    loading it into another swf that plays at a higher frame rate. I'm
    loading some flash ads that mostly run at around 12-15 frames a
    second into a portfolio site that runs at around 40 frames per
    second. All my ads play too fast. The link is:
    www.dg8tal.com/portfolioidea.html
    Thanks!

    As far as I understand it, there is no option to override the
    frame rate designated by the main movie you are loading into. The
    SWF file you are loading always inherits the framerate of the SWF
    you are loading it into. Here are some suggested work-arounds that
    might help:
    1) Lower the frame rate of the main movie on the website that
    you are loading into.
    2) Expand the timelines of the advertisements just for use in
    your portfolio
    3) Put your menu and thumbnails in one HTML frame that can
    then load each item in another HTML frame above it. Since each SWF
    would load on its own, the framerate of your main swf would not
    matter. You would lose your nice resizing effect though unless you
    did some more complicated integration with javascript I imagine.
    I would recommend going with option 2, since that will take
    the smallest amount of work while preserving your overall design.
    However, with the faster framerate, your advertisements would have
    difference performance characteristics that you'll need to assess.
    I'm trying to think of more options, but these seem to be the
    first things that come to mind.

  • Problem loading one SWF into another in Flash AS3

    I am trying to load an SWF file in another SWF file. The child SWF file works fine when run standalone like if I set visibility of an item to true or false, it works fine. But when the SWF is loaded into a parent SWF, I am not able to execute such commands, neither I get any errors...

    are both swfs as3 swfs?
    is the code in the loaded swf and is that code referencing objects in the loaded swf?

  • How do you load from iPhoto into PS?, How do you load from iPhoto into PS?

    Hi, there:
    I tried to load a photo from iPhoto into PS and can't make it work.  Actually, I just uploaded all my snaps from my iPhone and wanted to use one to go through the tutorials, and the computer decided I wanted to go to iPhoto.
    How do I get a picture into PS?
    Thanks.

    Hi Amindthatsuits,
    Please follow the below instructions.
    In the Finder, navigate to your iPhoto package file. By default, it's located in /Users/[user name]/Pictures, and it's called iPhoto Library.   
    Control-click the iPhoto Library file and choose Show Package Contents.
    A Finder window opens that shows the contents of the package file. The Masters folder contains all of the photos that are in iPhoto. However, Photoshop cannot access this folder.
    Control-click the folder named Masters and choose Duplicate.   
    Drag the folder named "Masters copy" from the iPhoto Library Finder window to your Desktop. Now you can open images from the desktop in Photoshop.
    Thank you for posting on Adobe Forums.

  • HOW DO YOU LOAD A CD INTO A MAC BOOK LAP TOP

    trying to load turbotax cd into my macbook

    A [https://www.google.com/search?q=Mac+user+group&sourceid=mozilla-search&start=0&start=0&ie=utf-8&oe=utf-8num=100&gws_rd=ssl Mac Users Group] would be the place to ask that question, which isn't related to Firefox support. Thanks for your understanding.

  • How do you load external XML into a dataProvider?

    I have been looking through the docs and have found a couple
    of entries discussing how to load external XML. Unfortunately, that
    is where the example stops and there is no example of doing
    anything useful with that data.
    I have managed thus far to get my XML file loaded into
    actionscript/flex:
    function getExternalXML():void {
    request = new URLRequest('source.xml');
    loader = new URLLoader();
    loader.load(request);
    loader.addEventListener("complete", loadXML);
    function loadXML(e:Event):void {
    combo.dataProvider = loader.data;
    obviously, the above doesn't work at all. I don't know how to
    convert the loader.data into a format that the
    ComboBox.dataProvider understands. I can't believe I have to write
    a function to parse this XML. Surely there must be a way to simply
    convert the XML to an array or something???

    That link uses the flex beta 3 docs. You may want to use the
    current livedocs.
    Here
    is a direct link to the section I was talking about.
    Scroll down about halfway to the part that says "However,
    using a raw data object..."
    If you want the PDFs (easier to read IMO) you can get them
    here.
    Here
    is a direct link to the Developer's Guide:

  • How do you load new ringtones into Iphone4?

    I have downloaded and paid for Ringtones but I cannot make them appear in the selection list? Can anyone advise how to do this?

    If you purchased them on your computer, you have to connect your iPhone and make sure ringtone syncing is turned on in iTunes.

  • Loading external SWF into a FLA (help!!!)

    Hello,
    I'm building a website in AS2.  I have created a xml driven flash image gallery and am trying to get this into my website.  I'm totally new to flash.  
    In the website I'm building, I have a gallery button on the main page with this code:
    over3_btn.onRelease = function(){
        play();
        target="gallery";
    Which I understand that when you click it, it brings you to the gallery keyframe and play it's contents.  Then I found this code:
    var imageRequest:URLRequest = new URLRequest("my_gallery.swf");
    var imageLoader:Loader = new Loader();
    imageLoader.load(imageRequest);
    addChild(imageLoader);
    Which I pasted into the gallery keyframe, hoping that it will call up the gallery, however, this didn't work.
    Please help.  I've search far and wide and couldn't find anything that would work.
    Here is my the code to my gallery.  Maybe I'm coding it incorrectly?
    var myGalleryXML = new XML();
    myGalleryXML.ignoreWhite = true;
    myGalleryXML.load("gallery.xml");
    myGalleryXML.onLoad = function() {
    _root.gallery_x = myGalleryXML.firstChild.attributes.gallery_x;
    _root.gallery_y = myGalleryXML.firstChild.attributes.gallery_y;
    _root.gallery_width = myGalleryXML.firstChild.attributes.gallery_width;
    _root.gallery_height = myGalleryXML.firstChild.attributes.gallery_height;
    _root.myImages = myGalleryXML.firstChild.childNodes;
    _root.myImagesTotal = myImages.length;
    _root.thumb_height = myGalleryXML.firstChild.attributes.thumb_height;
    _root.thumb_width = myGalleryXML.firstChild.attributes.thumb_width;
    _root.full_x = myGalleryXML.firstChild.attributes.full_x;
    _root.full_y = myGalleryXML.firstChild.attributes.full_y;
    callThumbs();
    createMask();
    scrolling();
    function callThumbs() {
    _root.createEmptyMovieClip("container_mc",_root.getNextHighestDepth());
    container_mc._x = _root.gallery_x;
    container_mc._y = _root.gallery_y;
    var clipLoader = new MovieClipLoader();
    var preloader = new Object();
    clipLoader.addListener(preloader);
    for (i=0; i<_root.myImagesTotal; i++) {
    thumbURL = myImages[i].attributes.thumb_url;
    myThumb_mc = container_mc.createEmptyMovieClip(i, container_mc.getNextHighestDepth() );
    myThumb_mc._x = _root.thumb_width*i;
    clipLoader.loadClip("thumbs/"+thumbURL,myThumb_mc);
    preloader.onLoadStart = function(target) {
    target.createTextField("my_txt",target.getNextHighestDepth(),0,0,100,20);
    target.my_txt.selectable = false;
    preloader.onLoadProgress = function(target, loadedBytes, totalBytes) {
    target.my_txt.text = Math.floor((loadedBytes/totalBytes)*100);
    preloader.onLoadComplete=function(target){
    target.my_txt.removeTextField();
    target.onRelease=function(){
    callFullImage(this._name);
    function callFullImage(myNumber) {
    myURL = myImages[myNumber].attributes.full_url;
    myTitle = myImages[myNumber].attributes.title;
    _root.createEmptyMovieClip("fullImage_mc",_root.getNextHighestDepth());
    fullImage_mc._x = _root.full_x;
    fullImage_mc._y = _root.full_y;
    var fullClipLoader = new MovieClipLoader();
    var fullPreloader = new Object();
    fullClipLoader.addListener(fullPreloader);
    fullPreloader.onLoadStart = function(target) {
    target.createTextField("my_txt",target.getNextHighestDepth(),0,0,200,20);
    target.my_txt.selectable = false;
    fullPreloader.onLoadProgress = function(target, loadedBytes, totalBytes) {
    target.my_txt.text = Math.floor((loadedBytes/totalBytes)*100);
    fullPreloader.onLoadComplete = function(target) {
    target.my_txt.text = myTitle;
    fullClipLoader.loadClip("full_images/"+myURL,fullImage_mc);
    function createMask() {
    _root.createEmptyMovieClip("mask_mc",_root.getNextHighestDepth());
    mask_mc._x = _root.gallery_x;
    mask_mc._y = _root.gallery_y;
    mask_mc.beginFill(0x000000,100);
    mask_mc.lineTo(_root.gallery_width,0);
    mask_mc.lineTo(_root.gallery_width,_root.gallery_height);
    mask_mc.lineTo(0,_root.gallery_height);
    mask_mc.lineTo(0,0);
    container_mc.setMask(mask_mc);
    function scrolling() {
    _root.onEnterFrame = function() {
    container_mc._x += Math.cos(((mask_mc._xmouse)/mask_mc._width)*Math.PI)*15;
    if (container_mc._x>mask_mc._x) {
    container_mc._x = mask_mc._x;
    if (container_mc._x<(mask_mc._x-(container_mc._width-mask_mc._width))) {
    container_mc._x = mask_mc._x-(container_mc._width-mask_mc._width);
    Would really really appreciate any help I can get.  Thuy

    var imageRequest:URLRequest = new URLRequest("my_gallery.swf");
    var imageLoader:Loader = new Loader();
    imageLoader.load(imageRequest);
    addChild(imageLoader);
    is as3 code.  that won't work in your as2 project.
    here's the equivalent in as2:
    this.createEmptyMovieClip("targetMC",this.getNextHighestDepth());
    targetMC.loadMovie("my_gallery.swf");

  • How to add a flash animation into another flash presentation? Help!!!

    I made an animation and I am wanting to add it to a flash portfolio that I am now creating. I am creating the portfolio so I can send it to potential employers. I am new to Flash but not to Illustrator, Photoshop or InDesign. I am adding several different files from those other programs to the porfolio and want to add a few Flash creations also.So how can I easliy bring the Flash animations into the Presentation? I want the animation to play in the same timeline but I don't want to have to recreate the whole thing or recreate the portfolio. What type of file format does the animation need to be to play? Can this be done?

    In AS2 you can use loadmovie to load a .swf into another .swf.
    http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dic tionary423.html
    In AS3, something like this:
    http://www.kirupa.com/forum/showthread.php?t=269964
    Best wishes,
    Adninjastrator

  • How do you load an AS2 swf into AS3?

    I think this is the way around my dilemma. How do you load and AS2 .swf into an AS3 file?
    thanks again!
    Steve

    check that code in your last thread:
    What is the  code to load a .swf file in AS3 on the same layer?

  • How do you load exs. format files into EXS 24 sampler?

    How do you load EXS24 format files into the EXS24 sampler? the only format I can load directly is aiff and wav. can't find any posts addressing this question? please help

    You don't load them in, you need to put them in:
    *System/users/your user name/library/application support/logic/Sampler instruments*
    Restart Logic if it's running, they will then appear in the EXS library.

  • How to Load an SWF into the Parent SWF

    Hi all,
    I have 3 SWFs.
    X.SWF - Parent application. Contains an empty movie clip for
    loading external swfs using loadClip() method.
    B.SWF - Has some text and pics. Gets loaded into the empty
    movieclip on X.SWF. Also has a button saying 'Load A.SWF'.
    A.SWF - Similar to B.SWF with a button saying 'Load B.SWF'.
    When I start the main application (X.SWF) and load B.SWF into
    it all is fine.
    But would like to click on the 'Load A.SWF' button on B.SWF
    and load A.SWF into X.SWF. And visa-vesa.
    The problem is I'm not able to refer to the parent container
    (X) from these child (A and B) SWFs.
    Is there any way to do this?
    Thanks

    First if you use
    Button.onPress=function(){
    this._parent.loadMovie();
    the movie try to load swf into B.swf because "this" mean the
    button.Try with more ._parent or just if you X.swf is into the one
    MovieClip in 1st stage _level0.SWF.loadMovie();.Also if you want to
    load the A,B.swf into the stage simultaneously just create two
    movieclips into the X.swf mcA and mcB and the path has gone to
    _level0.SWF.mcA.loadMovie("A.swf"); :)

Maybe you are looking for

  • Not receiving group iMessages/texts

    First off - i know there have been lots of threads similar to this.  I've looked through those and tried the suggestions, but to no avail. I'm still left with the same issue. I've switched back and forth between my iPhone and Android phones for a cou

  • Mac mini with LCD?

    My brother has just purchased this TV ... http://www.swedx.se/productinfo.php?productsid=70 ... he was asking about buying a Mac and I was wondering if he would be able to use it with this screen!? I did try looking on the mac mini site to find any r

  • Db_keep_cache_size aging

    Database Version: 10.2.0.4 OS: RHEL 4 SGA_MAX_SIZE=25G SGA_TARGET=10G Database block size=8K I am trying to cache the most recent 20 or so partitions of an index. No objects in my database were using the buffer keep pool before now. I did the followi

  • BEA Weblogic performance issue

    Hi All, We are using bea weblogic 10.2. We have some performance issue in our production. We face the proble like 1. Our bea query takes maxixmum cpu utilization in the oracle databse. process are content upload, update, expiry and report fetching. 2

  • Need xmlp template builder plugin

    hey, just starting out using XMLP. I work with reports in the Oracle APPS environment and want to start creating report templates in Word. understand that i need xmlp template builder plugin to start to build templates. Do I need to download the whol