Export SWF to have all animation in main timeline?

I have an animated logo (LOGO.SWF) and I have many instances of the same symbol that play outside the main timeline. I would like to export this SWF (LOGO.SWF) so that I can import it into another FLA (BANNERAD.FLA). But when I import it now into (BANNERAD.FLA) it does not play these symbols as they are not played in the Main Timeline of the original (LOGO.SWF). Is there a way to export the movie (LOGO.SWF) so that you can in a sense have all the animation be in the scene? Does that make sense?
This will be a flash banner ad, so I cannot have it linked through AS.

You should be able to make all the animations play the way you want by just switching from MC's to graphic symbols. Just make sure the parent timeline has enough frames to play all the frames in the graphic symbol.
You could also probably load the swf into a Loader and it should play just fine.

Similar Messages

  • Loaded swf with button , not communicating to main timeline

    my main stage/timeline has a UILoader "UILoaderOne" and
    another one "UIloaderTwo".
    i have some buttons on the main stage which pull up some
    images into the UILoaderOne.
    these work fine and look like this.
    //BEGIN BUTTONCODE\\
    //button to load image into loader "loaderOne" x01_btn and
    x01_ldr, thumb image is "x01.jpg and main image is p01.jpg\\
    //crop thumb image to size 50px tall by whatever wide and
    resize loaderButton if needed, main image will resize
    proportionatly\\
    x01_btn.addEventListener(MouseEvent.CLICK, onClick);
    function onClick(event:MouseEvent):void
    //import fl.containers.UILoader;
    import fl.controls.Label;
    import fl.controls.ProgressBar;
    var url:String = "assets/01.jpg";
    //var myUILoader:UILoader //= new UILoader();
    myUILoader.unload();
    myUILoader.autoLoad = false;
    myUILoader.source = url;
    //myUILoader.move(10, 10);
    myUILoader.scaleContent = true;
    myUILoader.load();
    var myProgressBar:ProgressBar = new ProgressBar();
    myProgressBar.source = myUILoader;
    myProgressBar.setSize(100, 10);
    myProgressBar.move(myUILoader.x+340, myUILoader.y+250)
    myProgressBar.addEventListener(ProgressEvent.PROGRESS,
    progressHandler);
    myProgressBar.addEventListener(Event.COMPLETE,
    completeHandler);
    addChild(myProgressBar)
    var myLabel:Label = new Label();
    myLabel.text = ". . . . . X . . . . . ";
    myLabel.autoSize = TextFieldAutoSize.LEFT;
    myLabel.move(myProgressBar.x, myProgressBar.y +
    myProgressBar.height);
    addChild(myLabel);
    function progressHandler(event:ProgressEvent):void {
    //trace("progress:", event.bytesLoaded, event.bytesTotal,
    int(event.currentTarget.percentComplete) + "%");
    //myLabel.text = event.bytesLoaded + " of " +
    event.bytesTotal + " bytes loaded.";
    myLabel.text = ("progress:", event.bytesLoaded,
    event.bytesTotal, int(event.currentTarget.percentComplete) + "%")
    //myLabel.text =
    Math.round((event.bytesLoaded/event.bytesTotal)*100) +"%";
    function completeHandler(event:Event):void {
    trace("complete:");
    myProgressBar.removeEventListener(ProgressEvent.PROGRESS,
    progressHandler);
    myProgressBar.removeEventListener(Event.COMPLETE,
    completeHandler);
    removeChild(myProgressBar);
    removeChild(myLabel);
    //addChild(myUILoader);
    //trace("typeMe");
    //end BUTTONCODE\\
    //end BUTTONCODE\\
    the second Loader "UILoaderTwo" auto loads another swf file
    with the INTENT to load from buttons, images into the ULLoader
    "UILoaderOne" which is on the main timeline.
    this part is failing
    the error i get in Output window is
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at sOne_fla::MainTimeline/onClickz()
    the swf that loads is sOne.swf
    and it has code of this
    z01_btn.addEventListener(MouseEvent.CLICK, onClickz);
    function onClickz(event:MouseEvent):void
    import fl.containers.UILoader;
    import fl.controls.Label;
    import fl.controls.ProgressBar;
    var url:String = "assets/xx.jpg";
    var myUILoader:UILoader //= new UILoader();
    myUILoader.unload();
    myUILoader.autoLoad = false;
    myUILoader.source = url;
    //myUILoader.move(10, 10);
    myUILoader.scaleContent = true;
    myUILoader.load();
    var myProgressBar:ProgressBar = new ProgressBar();
    myProgressBar.source = myUILoader;
    myProgressBar.setSize(100, 10);
    myProgressBar.move(myUILoader.x+340, myUILoader.y+250)
    myProgressBar.addEventListener(ProgressEvent.PROGRESS,
    progressHandler);
    myProgressBar.addEventListener(Event.COMPLETE,
    completeHandler);
    addChild(myProgressBar)
    var myLabel:Label = new Label();
    myLabel.text = ". . . . . X . . . . . ";
    myLabel.autoSize = TextFieldAutoSize.LEFT;
    myLabel.move(myProgressBar.x, myProgressBar.y +
    myProgressBar.height);
    addChild(myLabel);
    function progressHandler(event:ProgressEvent):void {
    //trace("progress:", event.bytesLoaded, event.bytesTotal,
    int(event.currentTarget.percentComplete) + "%");
    //myLabel.text = event.bytesLoaded + " of " +
    event.bytesTotal + " bytes loaded.";
    myLabel.text = ("progress:", event.bytesLoaded,
    event.bytesTotal, int(event.currentTarget.percentComplete) + "%")
    //myLabel.text =
    Math.round((event.bytesLoaded/event.bytesTotal)*100) +"%";
    function completeHandler(event:Event):void {
    trace("complete:");
    myProgressBar.removeEventListener(ProgressEvent.PROGRESS,
    progressHandler);
    myProgressBar.removeEventListener(Event.COMPLETE,
    completeHandler);
    removeChild(myProgressBar);
    removeChild(myLabel);
    //addChild(myUILoader);
    //trace("typeMe");
    //end BUTTONCODE\\
    //end BUTTONCODE\\

    well, I'm such a novice to begin with.
    the loader is actually placed on stage manually, and instance
    named manually so a lot of that code is may not be needed,
    i do a lot of trial and error technique
    it is all personal stuff
    one guess i have is to set up a listner as to when the sOne
    is loaded, and then get a way to communicate to each other?
    how?

  • Play animation on main timeline from within a mc

    this is probably the most basic question of the day, but how
    do you get the main timeline to play from within a mc?
    say I have a mc called jolly_mc and within it is an action on
    it's timeline at keyframe 10. That action needs to jump to a
    certain frame on the main timeline and play.
    I've tried
    _level0.gotoAndPlay(492);
    _root.gotoAndPlay(492);
    _level0.gotoAndPlay("animation");
    _root.gotoAndPlay("animation");
    and non of these work, can anyone clear the haze in my day :)
    thanks in advance.

    _root.mainText = "Obtain 0.2 grams of Ascorbic Acid using the
    Spattula.";
    This line is fine. It's fine to have full-stops inside a
    string. It doesn't effect the code.
    this._root.bkg.gotoAndStop(3);
    Your pathing is a little strange in this line. As you can't
    go any further up the hierarchical tree than _root, if you're
    referencing objects via the root, it should be the first object in
    the target. So if you want to refer to your target using an
    absolute reference(ie by using root) then your line should read:
    _root.bkg.gotoAndStop(3);
    alternatively, since your AS is in a movieclip inside bkg,
    you can refer to your target using a relative reference like so:
    this._parent.gotoAndStop(3);
    this._level0.bkg.power.powerOne.gotoAndStop(2);
    similar story here. _level0 is the highest up you can go, so
    putting this before it is a little strange. Fixing this using
    absolute referencing:
    _level0.bkg.power.powerOne.gotoAndStop(2);
    or:
    _root.bkg.power.powerOne.gotoAndStop(2);
    or relative referencing(assuming the movieclip where the AS
    is is not power):
    this._parent.power.powerOne.gotoAndStop(2);
    if it is power then you could have simply written:
    powerOne.gotoAndStop(2);
    yes, the syntax you suggested for trace is correct.
    but anyway, i don't think that any of this advice is helping
    you with your problem. sorry i can't see the solution with the
    information you've provided. maybe upload?
    how'd you go with sourcing a flash book?

  • Having problems when exporting .swf file as an animated gif

    Hi:
    I was wondering if anyone has ever had any issues exporting a
    flash file as an animated gif? When I do so, the image quality is
    very compromised and the animation is distorted. I know this is not
    very specific question, but I have never encountered this issue
    before, and I am trying to help a co-worker. I don't understand why
    it looks exactly the way we want it to look as an swf file, but not
    as an animated gif? Can anyone point me in the right direction as
    to what to look for as the potential source of this problem? I have
    the swf file, although this would not be very helpful as I don't
    have access to the flash file (but I can send it to you if that
    would help). We tried unchecking the feature to optimize the image,
    and changed the color pallete to adaptive, but this didn't solve
    the problem. I also tried removing any unnecessary layers prior to
    the export. Basically, I'm not sure as to how to proceed and what
    may be causing the problem. I also want to mention there is a
    placed image on the stage. Could the type of image placed be
    causing the problem when exporting to a gif file, but not as a
    .swf? If anyone could help, I would really appreciate it! Thanks.
    Sara

    I also wanted to mention that the swf file uses sound. I am
    reading an old book that I have on Flash and it's saying that Flash
    and Shockwave Flash enter a special mode when they encounter a
    stream sound in which the animation is forced to keep up with the
    sound track, if the animation frames can not be drawn quickly
    enough, some frames are skipped. I am also reading that the
    animated gif format does not support sound. Again, the only
    reference I have is for a very old version of flash, and I'm not
    sure it applies to CS3. I am now just thinking that the sound may
    be the issue.

  • Export Final Cut XML - All clips missing in timeline

    Dear All
    I'm trying to export a sequence from Premiere to import in Final Cut Pro.
    When importing in Final Cut, no clips are present in the Audio tracks and the timeline is only 12 minutes long - it's supposed to be 50 minutes long. I've checked that the whole timeline is selected in the work area bar in Premiere. The media in the project is offline BTW.
    I've used this method many times before without any issues, and can't figure out what's different with this project.
    Best regards, Christian

    Tom...thank you so much...I opened both the time machine and my finder at the same time. I deleted the old folder by moving it to trash then moved the time machine backup folder to the same place. I double clicked CurrentVersion in its restored state and VOILA, My Movie reappeared. There was a LOT of time involved in this. Thank you so much and may the Good Lord continue to bless you...
    WOOHOO!!!!!

  • Slider to control main timeline

    What code would I need to take the Slider Component and have it control the Main timeline? I have created a presentation with audio embedded and images coming up and moving as the person is talking about it. I need a way to scrub back and forth down the timeline.

    Help Please!
    I have used the slider successfully to move between frames 43 and 60 in an individual scene:
    stop()
    function moveAlong_ff(evt:Event):void {
    gotoAndStop(sl_ff.value);
    sl_ff.minimum = 43;
    sl_ff.maximum = 60;
    sl_ff.liveDragging = true;
    sl_ff.addEventListener(Event.CHANGE, moveAlong_ff);
    this.addEventListener("enterFrame",onEnterFrame_ff);
    function onEnterFrame_ff(e:Event) {
    sl_ff.value = this.currentFrame;
    And I have also managed to set up some buttons that navigate between scenes successfully:
    ff_btn2.addEventListener(MouseEvent.CLICK, jump11);
    function jump11(event:MouseEvent):void
              gotoAndPlay(1,"Scene2");
    fb_btn2.addEventListener(MouseEvent.CLICK, jump12);
    function jump12(event:MouseEvent):void
              gotoAndPlay(1,"Scene3");
    bs_btn2.addEventListener(MouseEvent.CLICK, jump13);
    function jump13(event:MouseEvent):void
              gotoAndPlay(1,"Scene4");
    However, when the above scripts are present together there seems to be some kind of conflict and I get the error:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
              at trailfresh_demo_19_fla::MainTimeline/onEnterFrame_ff()
    Can anyone help as I'd really like to be able to navigate between scenes using buttons and also have the slider work in individual scenes

  • My main PC with my Itunes Library just crashed.  I still have all my music on Apple TV, Ipod Touch (Gen 2), and Iphone 4 (verizon).  How can I get everything set up on a new PC and working ?

    My main PC with my Itunes Library just crashed.  I still have all my music on Apple TV, Ipod Touch (Gen 2), and Iphone 4 (verizon).  How can I get everything set up on a new PC and working ?

    I downloaded Itunes 10.2 on new desktop, ran sync with my ipod touch (Gen 2) and have all my music on new PC.  Just can't get it to sync with my Apple TV (Gen1).  I have made music purchases on Apple TV and cannot get them to Ipod/Iphone?  Help

  • HTML website, SWF do a load animation only once. Same file used on all pages?

    Hey all,
    Just going through some thinking here. My HTML website is
    going to using a flash header and navigation. Now I will be using
    the same swf's on all of the pages across the site. I would like to
    play a loading animation only on the first time the swfs are
    loaded. Is there a way to do this? Or because I am using the same
    swf's will it be okay to just tell my mc to go sit on a specific
    frame and because it is in the cache each page will be using the
    same file so the mc will still be at that frame or???
    And help would be nice...

    While Breqent is right that server side includes are the best way of doing this if you aren't up on
    server side coding then you can use Dreamweaver to manage you menu.
    You do this by simply ensuring you never edit the menu area on any individual page.
    It should therefore be identical on all page and as such you can just use find and replace across the entire site or folder to edit all occurances of your menu.
    I hope this helps.
    Andy
    Best Reception

  • Lightroom 5.6 - photos in one of my collections have all been corrupted - they all become resized after I exported them

    I have recently exported two photo collections. However, one of them seems to have been corrupted. All the photos have been resized after I exported them to lightroom.adobe.com. In fact, whenever I try to open any of the images in Lightroom again they have all been resized (or cropped). Is there anyway of recovering the original edits I made. I can re-adjust the images one by one but there are over 1000!
    Thanks
    Mike

    Hi dj-paige
    Thanks for replying.
    I guess "corrupted" isn't the correct term to use. The problem is that I have been editing photos in Lightroom (well over a 1,000) and then put them in two collections, one called Birds (300+ images) and the other Dragonflies (1000+ images). I then uploaded these collections to Adobe-Lightroom so that I can view them online. However, when I view the Dragonfly collection, either online or in Lightroom, they have all changed, having all been cropped beyond recognition. What I want to know is, 1) has anyone experienced this problem before and 2) is there a way of recovering the photos with all the edits that I have painstakingly made over the past few weeks. I can go through the photos one by one and change the crop so that they appear fine but there are over a 1,000 images and it would take several weeks to go through them again.
    Cheers
    Mike

  • Exported SWFs have reduced detail

    Hi there,
    We are having an issue with Flash Pro CC - one of several now - in that when we export out our SWFs for compositing, they do not have the same quality - so smoothlines are replaced by jagged lines, beautiflu curves are replaced by hard edges.
    When we export to PNGs or JPEGS everything is fine, but in our pipeline we need to use SWFs.
    Does anyone have the same issue and if so do they have a fix for these exported SWFs?
    Thank you

    I mentioned that we do this already in After Effects.
    The issue is not with AE, it's with the SWFs themselves when they run in Flash Player at full quality.
    The smoothed fills look jagged.
    I want to know if there is some kind of quality filter in Flash for exporting out the SWFs as at the moment it appears to be broken - I am assuming this is due to the constant inundation of X.x.x releases of CC rather than a solid point release with less bugs and more fixes.
    G

  • I can´t export any videos. All videos have only 2,3 Megabyte after export them. Can anybody Help?

    After export a video, they have all only 2,3 MB. I had check the export settings but all is okay.
    I use Final Cut Pro X 10.1.4
    Can anybody help?

    How long is your video?
    Make sure you select "Original or Optimised" in Playback Preferences before you export.
    When the window opens after you choose "Share", are you able to skim through most of the movie before you start the export? If you can't it suggests you have a "Range" selected. Make certain nothing is selected in the timeline before you export.
    Lastly, be sure to select the Project in the browser before you export.
    Andy

  • How can I reference the main timeline on a swf once it was loaded into another?

    I have an swf with some custon animation functions using actionscript 3. I'm refering to the main timeline with Movieclip(root) and it works just fine.
    However, this swf is going to be loaded inside another (a custom player), and when that happends, everything stops working.
    I think it's because the Movieclip(root) is now referencing to the loader swf and not the loaded anymore, but I just can't find any information on how to fix that.

    This is basically what I´m doing here:
    I'm placing this code on frame 1, and calling the function textAnimate() whenever I need to insert some text.
    // This is a variable I created for tracking the timeline
    var base:MovieClip = MovieClip(root);
    function textAnimate(movieName:String, espera:Number):void {
              //var espera:Number = 1; //Waiting time
              var objeto:MovieClip = base[movieName]; //Variable to select the object
              var posFinal:Number = objeto.x; // Object position
              var posEnter:String = "-160"; // Animation start (relative)
              var posExit:String = "+160"; // Animation end (relative)
              // enter animation
              TweenMax.from(objeto, 1, {x:posEnter, alpha:0, blurFilter:{blurX:40}, ease:Back.easeOut});
              //call exitAnimation() after X seconds
              TweenMax.delayedCall(espera,exitAnimation);
              //exit animation
              function exitAnimation() {
                        TweenMax.to(objeto, 1, {x:posExit, alpha:0, blurFilter:{blurX:40}, ease:Back.easeIn});
    The swf works fine, but once it´s loaded into the player, nothing works anymore. Unfortunately, I don't have the code for the player, and can't change anything about it... :/

  • How to set a loop on an .flv so that an exported .swf loops?

    hi there. i am using Flash CS4 and I would like to know how to set a loop in an flv file so that when it is exported to swf, the movie will loop. Basically i have taken an existing interactive flash movie and have decompiled it into its individual flv counterparts. what i intend to do is take out all the nonsense from each flv file and then reconstruct the flash movie, export each file to swf and then convert each swf to avi or some other video format. to do this i will be using sothink swf to avi converter which allows you to convert swf files to avi files. this program allows you to convert swf files that loop by looping the swf file for as long as you want until you stop it, in which a video file is created from "the recording"
    after i decompiled the original file, many of the existing flv files were already set to loop. i know this because when exported to swf the swf file would loop. now when i went ahead and went into each flv file to edit a couple things, when i went to export them to swf, the swf files wouldn't loop. mind you, some of them did loop, and some of them did not loop. the ones i have edited are all supposed to loop and i cannot figure out what it is thats preventing some of the flv or exported swf files to loop. all i did was take out a few unnecessary frames from the beginning of each flv and nothing more. i am pretty new to Flash and do not know anything about coding and know very little about flash settings.
    i figured that selecting the "loop playback" option in the control drop down menu might help seeing as the flv file does loop when played in the editor, but again when exported to swf the swf file does not loop. what confuses me the most is that some of the exported swf files do loop. ALL of the exported swf files need to loop and my guess is that in order to make that happen, something in the flv file needs to be set correctly.
    can someone please assist me with this issue? if there is a way to simply loop an existing swf file that does not loop, can someone tell me how to do that? any help with this problem is greatly appreciated and i appologize if something like this has been asked before.... i just couldnt stand looking through 22 pages of search results to find the exact solution to my problem
    thank you!!!

    Hi,
    You can use shortDesc property. Something like
    <af:commandToolbarButton text="Some Button"
          id="ctb1" shortDesc="This button does something.."/>-Arun

  • Why does my exported swf show more content than actually on frame?

    Why does my exported .swf show more content than actually on frame?
    My problem is relatively simple, though, I had some trouble finding a solution to it:
    When I play my exported animation using flash player in Google Chrome, if the window is bigger than the resolution flash document/frame, it shows content not meant to show up on the frame -- like parts of a huge background that aren't supposed to show up yet.
    In other words, how do I constraint the .swf to the white background/document resolution?

    Anyone? I'd appreciate it if someone replied soon -- I am done with my project once this issue is resolved, and I am excited to publish it.
    Please respond if you have any useful knowledge on the matter!
    Thanks!

  • Controlling a Movie Clip on the Main Timeline from a loaded SWF?

    Is it possible to control a MovieClip on the main timelne from another loaded clip?
    I see posts that control loaded clips, but most are all from the loader in the main timeline.  I have a moviclip on the main timeline that I want to make visible or invisible depending on what keyframe is playing in another loaded swf.
    If I try to call the movieClip from the loaded SWF I get "error #1119.  Access of possibly undefined property...." because it doesn't exist in the loaded SWF, just the main timeline. 
    The old AS2 way just used "_root".  Since "_root" doesn't exist any more, how do you control items on the main TimeLine from a loaded SWF?

    I am not clear what you mean because you are saying you are trying to target a movieclip that does not exist where you are trying to target it.
    Try using a trace to see what you are targeting when you you target the MovieClip(parent.parent)....
    trace(MovieClip(parent.parent));
    The other approach I mentioned earlier is the more OOP-correct approach if you would rather try that way.  Here's a rough outline of it...
    AS3 - Dispatch Event
    http://forums.adobe.com/thread/470135?tstart=120
    Example:
    Add something to trigger the event in the child (your loaded swf):
    dispatchEvent(new Event("eventTriggered")); (
    if dispatchEvent problem, see: http://www.kirupa.com/forum/showthread.php?p=1899603#post1899603)
    In your loading/parent swf, listen for the complete event on the Loader.contentLoaderInfo.  In the complete event handler, add a listener for the event on the loaded swf.
    // event handler triggered when external swf is loaded
    function loaderCompleteHandler(event:Event) {
        MovieClip(event.currentTarget.content).addEventListener("eventTriggered", eventHandler);
    function eventHandler(event:Event):void {
        trace("event dispatched in loaded swf");
       // this is where your main file can set the visible property of your movieclip

Maybe you are looking for

  • How do i add a video in a PDF from an URL

    My dilemma: Creating an Interactive PDF using java and I would like to add various streaming video's throughout the pdf from url.  I would like them to run within the pdf.  I would like people to be able to play them, and then play them again if they

  • Advance payment options..

    Hi Guru's, Do we have Advance Payment options  SAP Mm.... Any help will get be Assigned Points...Full Thanks and  Regards Adarsh

  • Sales and purchase journal - balance carry forward to next page

    Hi all, When we run sales and purchase journals in transaction S_ALR_87012357 (Belgium) and print it we want a summary per page and balance carry forward to next page. The paging is correct by selecting "statistical info not printed" in output contro

  • Difference in displaying RAW files, between Camera RAW 5.3 and default preview...

    Weird problem: when I import new RAW pics from my Canon (EOS 450D), they are previewed by the catalog viewer in very vivid and live colors. However when I try to edit them using Camera RAW 5.3, the INITIAL image that pops up is very dull... How come

  • Photos Received as win.dat File

    I have tried to e-mail photos to myself and in many cases they arrive as win.dat files and not jpeg files.  Other times they arrive OK.  Does anyone know why this is happening?  I'm assuming it is related to file size, but I'm not sure.  Is there a f