SWF header duration reduced to 2 frames after using a Motion Preset

It seems that after you apply a Motion Preset the header of an exported SWF reports an incorrect duration of 2 frames even though its much longer. Also, after removing the elements that are related to the Motion Preset, the SWF still reports 2 frames, even though the timeline is longer.
This has been replicated on multiple systems. I tested it by created a SWF with a main timeline of 175 frames, reading the correct duration, then adding a random motion preset and reading only 2 frames.
I believe that the updated SWF spec shows no changes to the header. Anyone know why this happens and if there's a way to get the correct duration in the SWF file header?
Flash CS5 on Windows 7, 64-bit

Looks like he has fireFX instance on the timeline. Most probably this instances symbol base class is com.gskinner.effects.FireFX
You just need to create a directory structure that reflects his package:
com/gskinner/effects/
where you place his FireFX.as
Or, alternatively, you can remove package path from the class header and place FireFx where all you classes (or your application) are:
package com.gskinner.effects {
to
package {
Then you will just need to instantiate the class.

Similar Messages

  • Swf doesn't go to next frame after publishing??

    Hopefully a very simple fix here. I test my movie in Flash, even open it directly with the browser, and all is well. The gotoAndPlay works, and my animations look fine.
    However, when I publish the movie, and then test in the website, it stops after the first frame! What gives?
    Any help is greatly appreciated. Thanks

    Are you using some sort of actionscript comments like stop(); in the frame which might stop it playing once been loaded? If you want the gotoAndPlay to go to any specific frame you normally have to give them the frame number so something like gotoAndPlay (5); This tells it to go to frame 5 on the timeline.

  • Interlaced frames after using Apple directions for Canon HV30 24p

    I have an Canon HV30 HDV video camera and clips that have been recorded using its 24p mode. I'm using the instruction Apple has given to remedy this type of footage in Compressor and output to Pro Res:
    http://support.apple.com/kb/HT2410?viewlocale=en_US
    I've tried this method a couple of times and carefully also. Everything seems to work well other than the fact that I am getting interlaced frames on the last one or two frames of each clip. Sometimes it's the beginning of the clips. As they are supposed to, clips are changing to 24p and when I step through a clip frame by frame everything looks fine, except for those last couple frames. Other methods, like using JES Deinterlacer, do not produce these distorted interlaced frames. However I would prefer to use Compressor. Could it be that I changed some setting or preference in Compressor a while back that is affecting these clips right now?
    Please help!
    Once again, using Final Cut Studio 2 and a Canon HV30 with 24p clips.

    Hello,
    I experienced the same thing. But I feel that the first second or two of any clip is not useable, when
    editing I have never needed every last frame.
    This is not much of a help to you. I think it has to do with the mysteries of HDV, Long GOP, and 2 t0 3 pulldown and the complex post processing that must happen to yield 24 full frames.
    Good luck, Tom

  • File size in SWF header

    Hi All,
    Is there some way to avoid adding the uncompressed file
    length to the SWF header? (the 4 byte integer after the 3 byte
    signature and the 1 byte version number)
    Can I write some default value instead of the exact one?
    Any help would be highly appereciated,
    Yeeeev

    The file size field value is 5f030000, but the byte order is little endian and needs to be inverted. The inverted bytes are 00 00 03 5f (0x35f) (863).
    Here's a utility function to invert an unsigned int:
    function invertUint(value:uint):uint
        var result:uint=0;
        try{
             var ba:ByteArray=new ByteArray();
             ba.writeUnsignedInt(value);
             ba.position=0;
             ba.endian = Endian.LITTLE_ENDIAN;
             result = ba.readUnsignedInt();
        catch(err){}
        return result;

  • Accessing children on frames after gotoAndStop

    Hi
    I have an SWF file where I want to access symbol instances on
    frame 2.
    I have noticed that after I call gotoAndStop(2); it takes a
    little while before the symbol instances are instantiated.
    I get null ref exceptions if I immediately access the
    children on a frame after calling gotoAndStop, but if I wait a bit
    it works, because it seems as if the children have had time to be
    instantiated, see examples below.
    I prefer not to rely on delaying my code, but would rather
    prefer to listen for an event that could notify me when a frame is
    properly "initialised", that is, when all symbol instances have
    been instantiated. Is there such an event and if not, is there
    another solution ?
    Examples:
    mc2 is a movieclip.
    1) This gives null exceptions because the child of frame 2 is
    null when accessed.
    mc2.gotoAndStop(2);
    for(var i:int = 0; i < mc2.numChildren; ++i)
    var child:DisplayObject = mc2.getChildAt(i)
    trace(child.name);
    trace("done");
    But it works if I wait a bit, because apparently I have
    waited enough to allow the child to become instantiated:
    mc2.gotoAndStop(2);
    var intervalId:int = setInterval(callback,100);
    function callback():void
    clearInterval(intervalId);
    for(var i:int = 0; i < mc2.numChildren; ++i)
    var child:DisplayObject = mc2.getChildAt(i)
    trace(child.name);
    trace("callback done");
    trace("done");
    Is there an event that can be used instead of relying on some
    delay ?
    Best regards Stig Nielsson

    My guess is that you are waiting for the timeline to advance
    to frame 2, which doesn't happen instantly, it follows the frames
    per second rate you establish for the file. If the frame 2 clips
    don't exist in frame 1 but that's where your code (which does act
    instantly) starts looking for them, then it was probably looking at
    frame 1 when it ran the code.

  • How do I go frame to frame after a few seconds?

    Hello,
    I'm new here so forgive any mistakes or lack of knowledge.
    (Brief history: I have programmed in Pascal before, currently learning Java and Flash)
    So my question is i want to be able to move from frame to frame after X amount of seconds. I have searched online for coding on how to do this with the action script and managed to get the first frame working. The problem occurs with my 5th frame as frame 1 goes to frame 5 in 5 seconds but when i want frame 5 to go to frame 10 in 10 seconds it decides not to work.
    Below is the code i used in order to accomplish the first frame:
    stop();
    var myTimer:Timer = new Timer(5000, 1);
              myTimer.start();
        myTimer.addEventListener(TimerEvent.TIMER_COMPLETE, function(e:TimerEvent)
            play();
    If there is a problem with the code or if there is an alternative way for better practice please do let me know.
    My 5th frame code:
    stop();
    var myTimer2:Timer = new Timer(5000, 1);
      myTimer2.start();
        myTimer2.addEventListener(TimerEvent.TIMER_COMPLETE, function(e:TimerEvent)
            play();
    Thanks in advance. If anyone is struggling to understand my question, apologies because i am really bad when it comes to structuring sentences.

    You should not have to create more than one timer for this.  Also, you should not be building the event handler function into the listener, keep it as a separate function.
    In frame 1 you could have...
         stop();
         var myTimer:Timer = new Timer(5000, 1);
         myTimer.start();
         myTimer.addEventListener(TimerEvent.TIMER_COMPLETE, moveOn);
         function moveOn(e:TimerEvent):void {
               play();
    and all you would need in frame 5 would be....
         stop();
         myTimer.start();

  • Images load really slow after using Reduce File Size...

    After using the "Reduce File Size..." feature in Acrobat 9 on Windows Vista, some of the images load really slow as I page through the document. Is there some kind of compression setting that I should look for to prevent the images from be affected by this?
    For some of my documents it will take 30 to 60 seconds to load an image. Sometimes I can't do anything with the document until the graphic loads entirely.

    Can you post an example of a file that has this issue? Personally, I recommend using the PDF optimizer, it gives better control of the final pdf file.

  • Why can't I change the duration of a still frame?

    I am running Final Cut Express 3.5.1
    When I try to change the duration of a still frame it generally snaps back to the existing duration rather than changing. Occasionally it will change but never to the duration I select which is ususlly :20 to :50 of a second. It sticks on a variety of durations between 1:20 and :05. I have tried both altering and rewriting the duration.I have tried restarting as well as all of the following methods:
    1 Changing the duration in the User Preferences > Editing, still duration field.
    2 Ammending the browser duration column .
    3 Double clicking on the still to open it in the viewer and changing the duration field.
    4 Draging the still into the timeline, control clicking and changing the duration in the drop down menu.
    5 I also clicked on the still in the browser > edit > item properties but there was no timing tab available to select (as suggested on another posting.)
    1.25GHz Power PC G4 1MB L3 cache   Mac OS X (10.4.9)   80GHz hard drive 1.5 GHz Ram plus Firewire 400 250 GHz la Cie external hard dri
    1.25GHz Power PC G4 1MB L3 cache   Mac OS X (10.4.9)   80GHz hard drive 1.5 GHz Ram plus Firewire 400 250 GHz la Cie external hard dri
    1.25GHz Power PC G4 1MB L3 cache   Mac OS X (10.4.9)   80GHz hard drive 1.5 GHz Ram plus Firewire 400 250 GHz la Cie external hard dri
    1.25GHz Power PC G4 1MB L3 cache   Mac OS X (10.4.9)   80GHz hard drive 1.5 GHz Ram plus Firewire 400 250 GHz la Cie external hard dri

    This project is just a short animation so every time I import the stills they are of the wrong duration so I try changing the duration by the other methods described previously, fail to be able to do that, erase everything from the project, restart and start again, initially with the preferences. So there's nothing for the still frames to conflict with. It's not the fact that there is a batch of stills that is the problem either as I keep experimenting with with single or small groups of stills in that context. I've also tried importing a variety of still formats into other projects. This is fairly new software. Could this be an incurable fault?
    1.25GHz Power PC G4 1MB L3 cache   Mac OS X (10.4.9)   80GHz hard drive 1.5 GHz Ram plus Firewire 400 250 GHz la Cie external hard dri

  • How to set textfield.text on frame after goto

    This seems a little ridiculous to be asking this question coz
    it seems like it should be so simple but here goes anyway.
    STEPS TO RECREATE:
    Step 1 - create a class called simpleButt(see attached)
    Step 2 - create a MovieClip with two frame labels on
    different keyframes- ROLLOVER and ROLLOUT. on these different
    keyframes place a dynamic textfield with instance name -
    'buttonTitle'. give it different styling attributes on the ROLLOVER
    frame such as text colour, bold or even a glow filter.
    Step 3 - In the movie clip's linkage properties, give it the
    'simpleButt' class.
    Step 4 - With nothing on the stage, add the following two
    lines to frame actions:
    var newButt:simpleButt=new simpleButt("hello");
    this.addChild(newButt);
    Step 5 - compile!
    this should add a simple button to the stage and set the
    button's textfield's text property.
    However, after going to another frame on rollover, we lose
    the dynamic text - i assume because we have another instance of the
    textfield on a different keyframe because it has new styling
    properties on rollover. but if i try to set the text after going to
    the new frame, it doesn't seem to recognise the textfield yet.
    (uncomment lines in simpleButt to see what i mean)
    through trial and error i've found that if i wait two
    ENTERFRAMEs, the textfield object becomes available, but by this
    time the textfield flickers. is there an event i'm missing or
    function i could override where i could set the properties of an
    object on a frame after a gotoAndStop before it is rendered?
    cheers
    Craig

    STEP 2(where the textfield was created) is all done manually
    within the authoring environment - no actionscript. This is usually
    done by the design team here so to save time i'm trying to avoid
    replicating every style change they've made in code.

  • IHC errors valid clearing partner not found and no header details found while idoc creation after f110

    IHC errors :valid clearing partner not found and no header details found while idoc creation after f110
    Please let me know where the config is missing for ihc automatic payment program.in we02 status is not 53.
    Please help

    Hi
    Please share the error message in the IDOC.
    If the error message is IHC204 "No valid clearing partner was found", it may be due to the missing correct configuration in Set Up Creation of Payment Requests for Inbound IDoc in FI, which links the clearing partner, ALE logical system partner type and IHC account number.
    Cheers
    taro

  • Does the duration of the video change after putting a slow motion effect?

    Hi, I'm new with this After Effect software, and through researches and youtube videos, i learned how to make a slow motion clip, but i found a problem just after i was so happy to learn something new. Because I was so excited to try it out, i took a quick 3secs clip and edited it, after all the successful application of the slow motions, the clip suddenly stop without finishing the whole video, the duration of the clip remains 3 seconds after i applied the slow motion, i was hoping that the duration would go over 3 seconds because the slow motioned part was only at 5% the original speed.
    So my question is, is the duration really supposed to stay the same after the slow motion is applied or should it expand finishing the whole video.? Then what should I do if the duration doesn't expand?
    Pls give me a respond, thx.:))

    Nah, that's just not how it works. AE will only extend layers if you use the native time-stretch/ time-remapping. If you use the Timewarp, you will have to pre-compose the source clip to a comp with longer duration and then apply the slow motion.
    Mylenium

  • Is there a solution for iphone 4 too like iphone5, It doesnt have tab Cellular. How to check call duration for total dialled calls (after resting) on a particular day?

    How to check call duration for total dialled calls (after resting) on a particular day in iphone 4?
    Is there a solution like iphone 5, i.e.Settings > Cellular.

    if the device is unlocked cellular is called mobile

  • Strange Problem- Timeline plays empty frames after last keyframe?

    Once again, thank you all for being so supportive for this newbie!
    So I have this weird problem going on. Why is it that on my timeline (and in preview), my animation still plays after my last keyframe?
    In other words, my animation ends at frame 410 and there is nothing after that, but for some reason it still continues playing up to almost from 695?
    This causes my image to disappear in the frames after 410 when I intended for it to stay still after that (with no looping).
    How can I accomplish just making it stay still after frame 410? Basically it is just 3 roses blooming. I just want it to bloom when the viewer enters the webpage and stop after that. The last frame will make the image stay still (with the roses fully bloomed). Looping the bloom would be tacky and highly unnecessary.
    Thanks!

    I figured it out.
    Turns out it was a BUG.
    So I noticed that when I click one of the folders I put my layers in, it shows that it is 695 frames long. So weird because there is absolutely nothing after frame 410 when I check the layers in the folder individually.
    So what I did was I deleted one of the layers in the folder to see if that would remove the 695 frames. I just deleted it and then undid the delete. And VOILA! It became 410 frames and works fine now. It was definitely a bug as I did not do any other editing to fix it. Just temporarily deleted it and putting that layer back by undoing the delete.

  • Pixelated frames after preview render

    Hello -
    In Premiere Pro CS6 I’m encountering a problem after rendering preview files from H.264 source footage: every 25 frames or so becomes very pixelated in PrPro. The source footage plays fine in QuickTime. At first I thought it might be caused by the way PrPro is interpreting the frame rate; it insists that it is at 25 fps, but the footage is actually 23.97 fps. I thought I could solve this by selecting the clip and going into “Modify Clip” >  “Interpret Footage” > “Assume this frame rate: 23.97 fps”. I also changed the Sequence Settings to match the Clip Settings when prompted to do so, but after completing another render, the pixelation still shows up. I’m on a 15” MacBook Pro Retina, Mavericks, OS X 10.9.5.
    Any help would be much appreciated.
    The image appears steady before pixelation pops into the next couple of frames, then goes
    steady again. The pattern repeats every 25 frames or so.
    My Sequence Settings.

    Okay, I think I have things figured out. Just to give a little background of the process, my original source media is in .mkv format, which I’ve discovered doesn’t work in Premiere Pro, so I converted that media to H.264 and tried to edit with that. Well, after doing a little research, I’ve discovered that sometimes H.264 is not the ideal format in which to edit, and maybe this is why I’ve experienced bad frames after performing preview renders?
    Anyway, the solution that works for me is to just transcode all my original .mkv files into Avid DNxHD files. I tried MPEG Streamclip to convert, but with 98 minutes of 1920 x 1080p footage, it proved to be excruciatingly slow on my MacBook Pro, especially while trying to maintain 100% quality. I also tried VLC, but it doesn’t seem to support the DNxHD codec (unless I’ve overlooked something). The software I ended up using was Wondershare Video Converter Ultimate. Sure, I had to plunk down $59, but so far it has been money well-spent! Super-fast conversions, and it really helps that it can make use of the CUDA GPU
    For all you seasoned video editors reading and laughing, forgive my novice discoveries in all this - video editing is still new for me.

  • Resize of Frame after frame is created

    Hi,
    I have a tabbed pane inside a Frame. When I press one of the tabs I want to resize the Frame.
    Since the tabbed pane is inside the frame I use the following code:
    this.getParent().setSize(640,480); // This does not resize the frame
    this.getParent().resize(640,480); // This does not resize the frame
    I am using Swing.
    What could be wrong or how do I resize the frame after the frame has been created?
    Thanks.

    Hi,
    I guees I might have not told every detail.
    I have a class called TabbedPane that extends JPanel.
    This class then contains a JTabbedPane.
    I then have a JMainFrame that extends Frame that in turn creates a TabbedPane.
    Inside my TabbedPane class I listen to which Tab the user has selected, depending on which Tab I have to resize the Frame. Here is where I can't get it to work.
    if(index == 1) {
    Dimension d = new Dimension(640,480);
    setPreferredSize(d);
    updateUI(); // DOES not work.                              
    } else {
    Dimension d = new Dimension(400,400);
    setPreferredSize(d);
    updateUI();
    Please help :)
    Thanks

Maybe you are looking for

  • How to create a report to bring all data from two different Info providers

    Hi All, I have a peculier problem while creating a report. I have two custom info providers one DSO and another Cube. There are only two common fields between these two Info providers . I need to create a report such that the report displays all the

  • Itunes identifying music in an external hard drive

    Hi. I am having difficulty getting ITunes to pull in music that is stored on an external hard drive. Let me explain. Sometime back I moved all my music onto an external firewire drive I keep connected to my laptop. I used the standard instructions av

  • Change Directory Structure Created in MPZIP file

    I'm trying to standardize my Multisim projects for inclusion in our documentation control system. As I build my project, I have a directory structure that I'm using. When I include the files in the project, the directory structure is remembered in th

  • Why doesn't iPhoto backup as easily as iTunes?

    iTunes will span across several DVDs while backing up my data. But iPhoto, from what I understand, does not support a feature like this. Don't I have to go into my iPhoto library and actually copy the folder? Or am I missing something in how iPhoto b

  • FM for Material Price Unit Conversion

    Hi Can anybody pls let me the FM for converting the price unit of a material. From any given "Order Price Unit" to any "Base Price Unit" Ex: from Order Proce unit is "KG" and Base price unit is "CS"