Enormous First Frame (348kbs) + preloader issues

Hi, all, and thanks for your help in advance.
I've created a pretty simple website that is now giving me fits, as every preloader I've used is still preceeded by a lengthy span of blank white screen. I researched to find out that meant my first frame was overloaded with components that were set to load BEFORE the preloader, which makes sense, but I cannot for the life of me figure out what components they are. I don't have the attach.movie components they mentioned, etc.
Would someone mind taking a looking at my .fla and telling me what the heck is causing my first frame to be so load heavy?  I did a bandwidth check, and sure enough, it's 348 kbs. I wouldn't ask this if I hadn't spent all night looking up tutorials and trying to solve my problem myself. Any ideas would be helpful, too.
You can download the .fla (it's under 5 gigs, but Adobe says the content type is not allowed, apparently) here:
[URL=http://depositfiles.com/files/jo67jzeru]http://depositfiles.com/files/jo67jzeru[/URL]
Thanks!
- Jennifer

There are three frames containing actionscript.
This is the very first frame of the preloader movie:
//Calculates the amount to load and how much is loaded
percentLoaded = Math.round(_root.getBytesLoaded() / _root.getBytesTotal() * 100);
//Sets the width of the bar
this.myWidth(this.loadBar, percentLoaded * 1.94);
this.myMove(this.mc_loadNum, percentLoaded * 1.9 -8);
mc_loadNum.loadNum.text = percentLoaded;
// FUNCTIONS
function myWidth(moveObj, newWidth) {
     moveObj.w = moveObj._width;
     moveObj.dwidth = newWidth-moveObj.w;
     moveObj.t = 0;
     NFRAMES = 6;
     moveObj.onEnterFrame = function() {
          if (moveObj.t++<NFRAMES) {
               moveObj._width = easeOutQuad(moveObj.t, moveObj.w, moveObj.dwidth, NFRAMES);
          } else {
               delete this.onEnterFrame;
function myMove(moveObj, newX) {
     moveObj.x = moveObj._x;
     moveObj.dx = newX-moveObj.x;
     moveObj.t = 0;
     NFRAMES = 6;
     moveObj.onEnterFrame = function() {
          if (moveObj.t++<NFRAMES) {
               moveObj._x = easeOutQuad(moveObj.t, moveObj.x, moveObj.dx, NFRAMES);
          } else {
               delete this.onEnterFrame;
easeOutQuad = function (time, beginX, changeX, durationX) {
     if ((time /= durationX/2)<1) {
          return changeX/2*time*time+beginX;
     return -changeX/2*((--time)*(time-2)-1)+beginX;
and then in the second:
if (percentLoaded < 100 ) {
     gotoAndPlay("loading");
and then in the last frame of the preloader video, following all loadbar tweens, etc., in it's own frame:
_root.gotoAndPlay(2);

Similar Messages

  • Graphic Symbol First Frame Issues with Tweening

    I'm working on some fairly detailed character animations, and accordingly have made most of the characters parts into graphic symbols. For instance, his hand is a graphic symbol which has multiple frames for each perspective or pose of the fingers, and I set the symbol to the proper frame in the characters main timeline.
    I've been having issues, however, when tweening these symbols. I noticed this first when I was working on a jump animation and I just wanted the hand, once its pose is in a state which will be used for the majority of its frames, to tween up and rotate with the arm and body. When I create this tween, however, it forces all other frames of that graphic symbol to be set to that same frame. The start and end frames of the tween are set to the same first frame, and even after trying to manually fix the subsequent frames of the symbol, it wont let me. I've triple checked all my symbol names, frame numbers and settings, and anything else I can think of and everything is in place, so I really have no clue why this is happening.
    Does anyone know how to fix this?? Thanks for any help!

    Are you using new motion tweens with CS4?  If so, then that's "expected" in that new motion does not (yet) support changing symbol frames - only one object and one frame per tween span. You will need to use classic tweens or split the motion span.

  • Flash CS5 AS3 Preloader Issues

    Hi.
    I'm a complete novice with Flash and at risk at looking like 'Dumbest Poster of the Year', I'm requesting help/advic over a couple of issues.
    My first concern is with a very simple preloader I've made for a movie. Here is the code (posted in first frame of movie; nothing else is in the frame except for the preloader itself):
    import flash.events.Event;
    stop();
    addEventListener(Event.ENTER_FRAME, loaderF);
    function loaderF(e:Event):void{
    var toLoad:Number = loaderInfo.bytesTotal;
    var loaded:Number = loaderInfo.bytesLoaded;
    var total:Number = loaded/toLoad;
    if(loaded == toLoad) {
      removeEventListener(Event.ENTER_FRAME, loaderF);
      gotoAndPlay(2);
    } else {
      PreLoader.PreLoaderFill.scaleX = total;
      PreLoader.PercentLoaded.text = Math.floor(total*100) + "%";
    When I simulate a download, the preloader works fine in all the settings except for 'T1'. On this setting, the movie loads to about 20% then the preloader stops, the movie begins and I receive the following error message in the output panel:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at FlashFront1_fla::MainTimeline/loaderF() .
    The movie itself plays fine on all settings, including 'T1'. Debug doesn't report any issues on preloader or movie.
    Can anybody give me any idea what the source of the issue is? Should I even be concerned about it givne that the movie plays without a problem?
    My second question relates to the 'Simulate Download' pre-settings in Flash. I know their are people out there still on 56K dial-up, or with 'broadband' running at 500 KBS (in the UK at least), but nevertheless, the download simulation settings seem like they are all geared to internet as it was in 1997 and are hardly reflective of the capacity of modern connections. Why is this?
    My movie is not large (about 320KB). Should I even be bothering with a preloader or am I wasting my time for a small minority audience (much like the web designers who still produce sites for the 12 people in the world still browsing in 800 x 600 res)?
    Thanks for any help/advice.

    Flash movies stream down and finish "loading" when the first frame and content that loads on the first frame is available, though frame 1001 might not be downloaded yet. You would think you'd be kinda safe with frame 2 on a T1, but I think the issue is things aren't updating in the right order  rather than things not really being downloaded. Heck, it could even just be the T1 simulation that's causing problems.
    Debug Movie probably isn't showing issues because it slows the timing enough to make everything ok. You could try trace statements too to see how far the code gets.
    Also, you might try a full scale AS3 loader like this one http://www.republicofcode.com/tutorials/flash/as3loader/
    I've found the Event.COMPLETE listener for the loader like this:
    my_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, finishLoading);
    to be pretty accurate so far in regards to content truly being loaded where as previous methods gave false positives for loading.

  • I used a code i got with my moive to download the itunes version and i was watching the itunes extras, but now when i click on "play itunes extras" it plays the audio but the only thing it displays is the first frame (the movie is catching fire)

    i used a code i got with my moive to download the itunes version and i was watching the itunes extras, but now when i click on "play itunes extras" it plays the audio but the only thing it displays is the first frame (the movie is catching fire) i deleted the movie and reinstalled from my icloud backup and it still does the same thing. The actual movie works fine, its just the itunes extras

    Hi there MickeyDresaj,
    You may find the troubleshooting steps in the article below helpful.
    Troubleshooting iTunes for Windows Vista or Windows 7 video playback performance issues
    http://support.apple.com/kb/ts1718
    -Griff W. 

  • AS3.0 Slider to slide timeline is duplicating first frame. Why?

    I have made a slider that I am having issues with. This slider is to control the timeline of a movie clip when dragged. My problem with this is that It seems to be duplicating the first frame. When I slide the slider to the right it will hit first tick and still display what is in frame 1 .. then on the next ticks it will continue with the rest of the timeline. Any Ideas how to prevent / over come my slider from doing this with the first frame? I have dificulty explaining so I have atached an example.
    Thanks In advance.

    I have tried to upload the .fla but server wont let me.
    here is the code I am using for the slider. It controls numbers_mc that contains frames 1-16 all numbered 1-16 These numbers will be replaced later with images. Thanks
    s.setSize(240,1);
    s.maximum=numbers_mc.totalFrames;
    s.liveDragging=true;
    s.addEventListener(Event.CHANGE,updatemc);
    function updatemc(e:Event)
        numbers_mc.gotoAndStop(s.value);

  • Exporting movies in iPhoto using 'Current' Setting, exports the first frame only

    Hi,
    When I export my iPhoto library into separate events using the 'Current' Setting, it exports all video / movie files as the original file type with a single frame in it. 
    I don't want to go through each event and drag and drop each video to the exported folder as that would be an enormous pain.  Does anyone have ideas to fix this?  I have edited some photos, so I don't want to export as 'original' if possible
    Thanks!
    iPhoto has the latest updates installed and the original videos play perfectly in iPhoto.

    Yeah, I have upgraded from previous iPhoto versions, some videos are a few years old (.MOV iPhone format) and some are only a few months old (Canon EOS .MOV format), both export only first frame.  I might have to recreate my iPhoto library and start fresh!  Currently I am exporting as 'Original' and 'Current' to two different folders, and just grabbing the videos from the original and replacing the videos in the 'Current' folder.
    LarryHN's solution works well, but when I add a second condition to select a specific event, I can't choose from a list of specific events (unlike albums).  Entering in the event title (in the Event condition) sometimes adds videos from silmilar titled events.

  • Ram preview not playing from first frame

    Anyone else having problems with Ram preview playing back from a different spot in the timeline OTHER than the first frame? I have seen this happening consistently since the latest update (2014.2). I checked my preferences, and made sure nothing is accidentally selected to play from the last keyframe or something odd. But no. I am on a Mac Pro, running Yosemite, I googled this, and haven't seen anything. I haven't trashed my preferences yet, because I'm not sure it's a preference issue, and god...if I have to rebuild my render setting one more time...
    So to give you more detail.
    - I hit "0" on my number pad to launch a ram preview
    - It LOOKS like it's rendering each frame in order
    - When I hit "0" again to playback, it starts from a random location usually about 2 - 5 seconds from the beginning of the timeline.
    - It will loop back and then play from the start of the timeline.
    It's not using the current time indicator line or anything that would make sense. It's random, but near the start. I suspect it's pulling keyframe information from a nested pre-comp and using that, but there is not a keyframe in the comp I'm previewing.
    I also do not have the "From Current Time" checked box in the Ram Preview options, and there are 0 skip frames in that setting as well.
    If anyone has any ideas what this may be...I'd appreciate it.

    Here's the page with the known Yosemite issues:
    After Effects with Mac OSX v10.10 (Yosemite)

  • Edit to Tape - First frame freezes for 2 frames

    Hi all, I'm new with a MacPro and I'm experiencing a little problem with an Edit to Tape.
    I have a PAL-DV-48Hz video in FCP6, which needs be put on a DVCAM tape. No problem if I use Firewire but when I use SDI (through an AJA IoHD) I see that the first frame of the video is repeated 3 times on the tape (two more than needed).
    Any of you have had the same problem ?
    Please let me know.
    TIA
    Best Michele

    Using a capture card no doubt, right?
    I've done this more than a few times. I can even insert edit when I need to. Didn't have an issue. Because the IN point in FCP is set, and the IN point on the tape is set. And the card handles the duration conversion.
    Darn reliable. I only had one hiccup in 24 outputs.
    Shane

  • Large First Frame???

    This is my first post so first of all, hi all...
    I am currently having a bit of a nightmare trying to optimize
    a flash file for use on the web. My first frame is currently about
    600kb in size even though the only thing on the timeline is the
    preloader, which is no where near this size.
    I have been using the attachmovie method A LOT, but have
    unchecked the export in first frame option for all movieclips that
    are attached in this way, and placed them on the stage in a later
    frame.(the correct way to get around this problem I believe?)
    I know importing classes is taking up about 100Kb of the
    first frame(because when i change the options in the publish
    settings to import them in frame 2 the size dips) but have no idea
    where the rest of this data is coming from, because it is not on
    the timeline. I can only assume that flash is importing something
    here, but I have no idea what it is.
    If anyone has any idea of why this is happening or has come
    across this problem before I would be so greatful because I feel
    like I have hit a brick wall.
    Thanks in advance,
    Ian

    I have used a combo box and button components but have
    definitely unchecked the export in first frame option.
    There is also a video play back in there but the linkage
    property is grayed out. Any way as far as I am aware this is not
    stirctly a component and even so would not be a couple of hundred
    kb right?
    Its very strange, I did think it may have something to do
    with the audio I am using but this is imported from an external
    source using the loadSound method on frame 3. Its getting to the
    point where I have totally run out of ideas, so thanks for any
    suggestions even if they just get me thinking along a different
    line.

  • Preloader issues...

    Hey guys!
    I'm new to this site and to the whole flash/scripting
    business. I finished a website using flash, and the final touch I
    need to add is a pre-loader.
    I used this tutorial to get me started:
    http://www.lukamaras.com/tutorials/p...preloader.html
    Now, at first I thought I incorrectly created the preloader.
    I then downloaded his pre-loading example, which works, and then
    tried preloading my *.swf instead of his. It produced the same
    problem that my code did! It wouldn't preload properly.
    The file I want to pre-load is about 5.2 megs. What's
    happening is, it starts to pre-load a small amount, and then jumps
    to the file I would like to have preloaded, and only most of it is
    missing. (menu buttons load etc., but no graphics loaded with it)
    My first assumption is that I am not specifying the proper amount
    of bytes or something in the code to be downloaded?
    So, if his pre-loader works, am I doing something wrong with
    my 5.2 meg swf? Do I have to export the swf with any particular
    settings applied to it?
    This is the code that is in the pre-loader, Action/Frame 1:
    siteLoader.loadMovie("MyHomePage4.swf");
    loadingBar._xscale = 1;
    loadingBar.onEnterFrame = function() {
    kBytesLoaded = this._parent.siteLoader.getBytesLoaded() /
    1024;
    kBytesTotal = this._parent.siteLoader.getBytesTotal() / 1024;
    percentage = Math.round(kBytesLoaded/kBytesTotal*100);
    this._xscale = percentage;
    if (percentage == 99) {
    delete this.onEnterFrame;
    Thanks for any help guys, I really would love to finish
    this..

    insert a keyframe to frame 2 of your loaded swf and move all
    content from frame 1 to frame 2. then add a stop() to the loaded
    swf's first frame.
    in showContent execute a play() method applied to your
    loader's content property (cast as a movieclip):
    MovieClip(myLoader.content).play();

  • First frame too large

    I'm creating a preloader to place in front of my movie files,
    but the first frame of the movie is so large that the preloader
    doesn't appear until the movie is 50% loaded. I have an flv
    playback component, which is the reason the movie is so large. How
    do I get around the large movie file in order to make the preloader
    appear at the beginning?

    you can look it up in the Flash help docs under
    MovieClipLoader. It is quite simple.. make a new FLA that is the
    same dimensions as your 'main' content SWF, same fps and bg color..
    open the actions panel and paste this in there. (Make sure and save
    this file as myPreloader(or something) in the same directory as
    your main SWF.
    this.createEmptyMovieClip("holder_mc",
    this.getNextHighestDepth());
    var myLoader:MovieClipLoader = new MovieClipLoader();
    var myListener:Object = new Object();
    myListener.onLoadProgress = function(bytesLoaded:Number,
    bytesTotal:Number):Void{
    //do some preloading stuff
    myListener.onLoadComplete = function():Void{
    //do something when it is done loading
    myLoader.addListener(myListener);
    myLoader.loadClip("main.swf", holder_mc); //replace main.swf
    with your SWFs name

  • Only first frame played with gotoAndPlay

    Hello,
    My issue is: I have a 120 frame movieclip with a stop(); action on the first frame.  I have AS (below) that tells the mc to 'gotoAndPlay(2); But it only goes to frame 2 and stops (no action on that frame) instead of continuing to frame 120.  Here an example of the code:
    my_mc.onEnterFrame=function(){
    if((mcText1 eq "Hit")){
    _root.other_mc.gotoAndPlay(2);
    else{
    _root.other_mc.gotoAndStop(1);
    Any ideas to make the mc play automatically when the function requirements are met???
    I should know this.
    Thank you

    Each frame (thanks to onEnterFrame ) the condition (mcText1 eq "Hit") is true or false then each frame go to the frame 1 or frame 2 EVER!!.
    When the movie is going to frame 3 again is sent to frame 2
    change onEnterFrame to onLoad or call the function only once when you need
    my_mc.onLoad=function(){
    if((mcText1 eq "Hit")){
    _root.other_mc.gotoAndPlay(2);
    else{
    _root.other_mc.gotoAndStop(1);

  • HOW TO DISPLAY VIDEO PODCAST ARTWORK NOT VIDEO FIRST FRAME

    How do I get the photo for my video podcast to display? Feed: http://drcraigjohnson.net/podcasts/video/podcast.xml I only see the first frame of the video in cover flow. Code validates. The image is 600 x 600 per iTune specs, but testing with 300 x 300 didn't help. Thank you!

    The coverflow art equals the album coverart. That art MUST be embedded to show. It doesn't matter if you are actually listed in the iTunes store or not. Now the picture that shows in the store along with website info, customer reviews, etc. is pulled from the iTunes image tags (<itunes:image href="http://yourpictureURL.jpg" /> within your podcast xml file.
    I found the following link within the podcast maker forum with more info from a forum moderator: http://homepage.mac.com/rfwilmut/notes/faq.html#coverart
    BTW when a picture is embedded (whether using iTunes to embed or something else), the actual image, NOT a link to the image is "built into" the file whether mp3 audio or m4v video. I did extensive tests embedding a 50k picture and saw the file's size increase substantially, though not exactly matching the photo size.
    Embedding solved my video coverflow picture issue too. Changing/uploading a new image to your server will NOT change the picture shown in album coverart. Thus your "channel" can have a changeable image (the one in the iTunes tag) but each episode can have its own logo/album art.

  • Binding in first frame?

    I'm trying to make a simple application with buttons to jump
    between frames and in each frame there are components such as
    comboboxes and checkboxes which values should come from .xml via
    xml connector.
    Now, when I try to bind for example a combobox to the xml
    connector, it says in the component inspector: "A Component
    instance must exist in the first frame to edit its bindings". ???
    How is it possible to make even a simplest application with
    navigation if all the components must be in the first frame??? Is
    there a solution for this?
    I tried to put the components and xml connector in a
    movieclip of their own so that the components would be in the first
    frame of THAT timeline, but then it don't even find the xml
    connector in the component inspector when I'm trying to bind it???
    Am I doing something wrong or are the components just so
    "infantile" that you can't create anything a bit more complex
    application with them?
    Please help :(

    Barney,
    > The syntax error in navigateToURL was preventing stop
    from
    > working (thistop(); is a typo ? it was stop();).
    stop(), alone, would certainly do it, but the expression
    this.stop() is
    also just fine. The key is to separate the terms "this" and
    "stop()" with a
    period. I also noticed a possible issue with another line. In
    this
    snippet:
    navigateToURL(new URLRequest(here.html),_self);
    ... the HTML page "here.html" needs to be in quotes when
    passed to the new
    URLRequest constructor.
    David Stiller
    Co-author, Foundation Flash CS3 for Designers
    http://tinyurl.com/2k29mj
    "Luck is the residue of good design."

  • Output clip, first frame does not match rest of clip

    If I take After Effects and create 30 seconds of red, that is r-255 g=0 b=0, then output this to tape in FCP the first frame does not look like the rest of the clip. I render out in AE using BlackMAGIC 8bit 1920x1080 size movie. Imports into FCP without complaint. Layoff to HDCAM-SR.
    If I take a solid green clip and do the same thing it also changes on the first frame layoff.
    If I take gray it does not change.
    If I change the FCP sequence to use RGB processing (to match AE) this does not change anything.
    This happens on more than one machine as well, and is restricted only to FCP.. The BlackMAGIC Deck Control software that they bundle with the cards does NOT exhibit this issue!
    FCP v6.0.4

    17 macs crankin out spots everyday.
    I would like to know if other people out there see the same prob.
    It looks like if something was digitized with FCP, it will output fine.
    If files come from another app, the above prob results.

Maybe you are looking for