How to insert animation before and after this animation template??

I'm using the file from the online template below, but am going to replace the flag with a man's tie that's going to be "flapping in the wind" momentarily.
BUT I need to add a small amount of animation before this "flapping" animation begins, as well as after it, and I only want the flapping to last about 1.5 seconds or so - not continually looping.
http://www.senocular.com/flash/source.php?id=0.188
I don't know how to even begin to add the animation I need before/after, and to edit the time down on the looping. Any help is GREATLY appreciated!!

change the flag to your tie and change the onEnterFrame loop:
use
loopI = setInterval(loopF,40);
to start the waving and use:
clearInterval(loopI);
to stop the waving.
function loopF(){
    // move the matrix by speed along x to shift the noise
    shift.translate(speed, 0);
    // drawing in the perlin movie clip,
    // create a rectangle with the perlin noise
    // drawn in it with an offset supplied by the
    // shift matrix
    with (displace_mc.perlin){
        clear();
        beginBitmapFill(noiseBitmap, shift);
        moveTo(0,0);
        lineTo(ramp._width, 0);
        lineTo(ramp._width, ramp._height);
        lineTo(0, ramp._height);
        lineTo(0, 0);
        endFill();
    // draw the displacement movie clip in the
    // displaceBitmap (used in displaceFilter)
    displaceBitmap.draw(displace_mc);
    // apply displaceFilter to the flag
    flag_mc.filters = [displaceFilter];
updateAfterEvent();

Similar Messages

  • How to make an before and after effects?

    So, I want to make a video that show the audience this is before and after the edit. And i want to make it look like this YouTube Rewind 2014: Behind the Scenes - YouTube
    How to make it?
    Thanks:)

    Really? You take footage of you shooting the video with another camera then you edit it together with shots of the finished project. If you want to show before and after shots of an effect you just put the original footage on top and animate a mask or opacity to reveal the rendered effect below.
    If you can't figure out how to make a before and after then you will have a very difficult time doing any effects using AE because there is absolutely nothing in this before and after but very basic editing and masking.

  • How much is iPhone before and after taxes?

    how much is iPhone before and after taxes? I am from the Philippines and I am just wondering buying it online with my credit card. i know that it costs $399 for 8GB and $499 for 16GB.

    I bought mine day one, so the pricing isn't the same anymore.
    As for the one your Aunt buys, she will pay either $399 or $499, depending on model, plus applicable CA sales tax, which I do not know.
    Keep in mind that you will not be able to activate your phone in the Philippines in its virgin state. Keep in mind as well that currently there isn't a good way to "devirginize" a 1.1.3 iphone.

  • How to compare value before and after

    hi,
    one of the queried Values ​​is the number of defective frames.Here, this value is compared with a previously sampled value
    If now (after 10 s) this value is bigger than previous one ,then It saves new value otherwise loop will be continue.If again after (10s) the new value is bigger than  previous  new value then again saves this new point.how can i comapre value before and after?thanks.
    Tadhika

    Do you know what a shift register is? It preserves a value from one loop iteration to the next. Please read the LabVIEW Help on shift registers. There's is also a simple example that ships with LabVIEW that will give you the basic idea (Help -> Find Examples).
    You can also use a Feedback Node in lieu of a shift register. Same concept, different implementation.

  • How to validate performance before and after turn on Trace Flag 2371

    Hi Friends
    I have 5 TB DB for AX.
    What homework I am supposed to follow to collect some evidence of performance improvement after I turn on -T2371
    Regards,
    Anjan

    Once you have
    turned on the traces, you’re probably going to want to determine whether the trace is actually running. To do this, you can issue the
    DBCC TRACESTATUS command. One method to issue the command is to interrogate whether a given trace is running:
    DBCC TRACESTATUS (3604)
    If you want to see all traces that apply to the connection, run the command with the -1 parameter:
    DBCC TRACESTATUS (-1)
    DBCC execution completed. If DBCC printed error messages, contact your system administrator. Your instance of SQL Server
    should not have trace flags turned on indefinitely, unless you have been instructed by Microsoft Product Support to do so.
    I hope this might help you a bit.

  • How to set spacing before and after paragraphs in IOS Pages

    Is there a way to do this in Pages for iPad?

    Hi ghn!
    I believe you are asking about paragraph margins. If so, here is an article that will help you adjust this in Pages for iOS:
    Pages for iOS (iPad): Set tab stops, align text, and adjust paragraph margins
    http://support.apple.com/kb/PH3548
    Thanks for being a part of the Apple Support Communities!
    Cheers,
    Braden

  • How do I do a before and after split photo?

    I am brand new to photoshop and can't figure out how to do a before and after split photo. Can anyone help please?

    Put your before photo at the bottom of the layer stack.
    Put your after photo above it.
    Use the Rectangular Marquee tool to make a selection (on that "After" layer) of the part you want to show.
    Use the "Mask" icon at the bottom of the Layers Palette to create a mask for that "After" layer.  The mask will automatically use your selection.
    Ken

  • Before and after

    In PSE 9 how can I see before and after
    images in full edit mode?

    I don't know how familiar you are with PS. So please apologize if my proposal may sound improper or confusing.
    In PS there may be of course lots of "befores" and "afters". Therefore, I would recommend you to use the "History" panel enabling you to easily switch between different states of your editing procedure. Also within the History panel there should be a "Snapshot" feature (I know there is in PS - not sure if this is valid also for PSE) which makes it even easier to name and identify a "before" (or "after") state.
    Some users prefer to create a duplicate of the original file first to avoid undesired changes and to be able to compare original and duplicate.
    A 3rd option (which I use very often) is to just duplicate the background layer. You then simply apply your tweaks to the resulting "background copy" layer and can switch this layer "on" and "off" (just by clicking on the eye symbol) within the layer panel.
    I hope that may be helpful. Please excuse if I misunderstood and you know all these features already.

  • Before and After insert or update rowcount

    Hi
    I have several extract objects procs which are calling various build objects procs which in turn are inserting or updating the tables...now when i run these objects sometimes i get no errors and everything seems to be running perfectly but the tables do not get updated ? now what i am trying to achieve here is get some kind of summary where i can see the before and after rowcount..for that i have created a table of every extract object proc and another table with the coressponding tables being updated by tht proc...can anyone pls tell me how should i look into these procs and how do i get the rowcount for a particular table before and after the procedure was run ?
    Thanks a lot in advance

    Hi,
    On which version of RDBMS are you working , because if you're on 10g then just enable auditing or even FGA on the tables were you want to see the changes,
    Then query the DBA-AUDIT (not sure of the name anymore) view.
    If not then create a audit package yourself.
    something like
    create or replace package pck$audit as
    procedure prc$check_tablecount(p_tablename IN VARCHAR2, p_status IN VARCHAR2);
    end;
    create or replace package body pck$audit as
    procedure prc$check_tablecount(p_tablename IN VARCHAR2,p_status IN VARCHAR2) IS
    sqlstr VARCHAR2(100);
    v_count NUMBER;
    begin
    sqlstr := 'SELECT COUNT(*) FROM '||p_tablename;
    EXECUTE IMMEDIATE sqlstr into v_count; --could by 'using v_count' check syntax for this
    INSERT INTO audit_table(table_name,total_count,status,time_stamp)
    VALUES(p_tablename,v_count,p_status,SYSTIMESTAMP);
    COMMIT;
    end;
    end;
    you can elaborate on this creating additional procedure checking differences in total_count on same table at same time.
    Now call this procedure before starting your insert-delete- on your table make sure you put the parameters correct eg p_status => 'begin procedure'
    and call it again after your commit in your procedure.
    Hope this helps you out
    Erwin

  • How do I add a before and after transition to a standalone clip in the second or other than primary stack?

    New to FCPX on a project this weekend. I have gotten reasonably comfortable with the basic features but one thing that I CANNOT figure out, is how (what used to be) selecting a track in the timeline to activate it to apply a transition.  I need to select a video clip which stands alone in the stack which is positioned above the primary track and add a blend transition before and after the clip. I have set the opacity to blend with the images in the primary track below but the beginning and end of the clip in the second stack do not fall at the transition points in the lower track which should not matter anyway.  I can’t find it in Help or the third party tutorials that I purchased and completed.  Thanks for your help!

    Tom gave you the answer.  As a follow-on you can then use the Cross Dissolve transition on your newly converted connected clip.  This transition will allow it to dissolve smoothly into the video below it.  Note that the Fade to Black transition will take both that clip and the video below it to black which would probably be undesirable. Use Cross Dissolve instead.  Best wishes.
    stephen

  • GREP: How can I place a (for example) "*" before and after bold text with GREP?

    Hi there.
    I have a string of text as such:
    I want to use GREP to insert a "*" (asterisk) before and after each bold part. Can I do that with GREP?
    (if asterisk is a problem, I can use a different character)
    Any help would be appreciated.

    Hi Schmaltzkopf,
    try this:
    Have fun

  • How do I create a form that will give a report that summarises before and after data on the same graph?

    I have a number questions that I want to know the average of all the before and after data to compare them, how do I set this up in a form in FormsCentral?  Here is an example of what I want to do - the green bar is "before" and blue is "after"

    This isn't something that you can set up in FormsCentral. It's possible to something similar with a form you create in Acrobat and use with FormsCentral, but there is no sort of built-in graphing control. The bar graph could be implemented with some JavaScript that controls annotations or fields (buttons) and perhaps some text fields.

  • How to use Time Machine before and after installing a new hard drive

    So basically I'm buying a new hard drive for my Macbook pro and I have a lot of files on my computer that I would like to save. I have never used Time Machine before so I need help on how to set it up before AND after installing the harddrive so my files get transferred onto the new hard drive. Thanks in advance

    wjosten wrote:
    Me, I would never use Time Machine to do this. What I'd suggest you do is get an exterior enclosure for your new drive. Then use either Carbon Copy Cloner or SuperDuper to clone your existing drive to your new drive. Once done, verify your clone is bootable & all of your data present. Then swap drives & use your old drive for Time Machine backups(after erasing it). Then get another drive & exterior enclosure to regularly clone your new drive to.
    Unless he was swapping for a lower capacity HDD or to a lower capacity SSD, then the old drive would make a lousy Time Machine disk.  However, whenever I swap out a disk I do exactly what you do.  CCC to get the ol drive onto a new one.  Test by starting up to the new (but still external drive).  Then replace the internal drive.
    I usually just sell the old drive on eBay.  My Time Machine backup is always 2X the size of the internal drive, which I believe is a bit above recommendations, but works for me.  The price of large external drives is almost the same as smaller internal ones.

  • How can I control the space before and after text in a table

    Hello
    I have a series of icons with descriptions, these are lined up with icons on the top row and description text in the bottom row. Each icon and description is divided by a stapled line.
    The text is of varying width, therefore the column width must also wary. However I would like to make the space before and after the text equal in all instances (See image).
    If there is anyone that can tell me how to do this with tables or any other tools I would be very thankful.

    The only way I can think of to maintain equla spacing between the text ov vartying lengths and the vertical lines is to put each icon/text pair in it's own frame fitted to content, make each vertical line a separate object, then select them all and distribute the spacing.

  • How to create a loop to run total of records for before and after unconstant date

    Post Author: Ann2
    CA Forum: Formula
    Here is the data sample:
    ID period code date
    1  00  I    01/01/1999
    1 00   Z   01/02/1999
    1 00  G   12/05/1999
    1 00  M   01/01/2000
    There are many students with many periods and many codes. I need to save a date when code = 'G' and count separateley records per student/period 2 times - before and equal that date and after that date, so in the end for period 00 I will have 2 values: 3 (before) and 1(after).
    There are periods from 00 to 08. I am counting students abscencies before and after warning letter was sent (code G).
    The result data should look : 00 01 02 03 04 05 06  07  08              00 01 02 03 04 05 06  07  08     Total
                                                3  0   0   0   0   0   0   0   0                 1 0    0   0   0   0   0   0   0        4
    Please help me.
    Thank you.
    Ann2

    Post Author: Ann2
    CA Forum: Formula
    Thank you for your answer, but I do care about the date the 'G' happened, because I need to reset count.
    The logic behind is this:if a student absent for more than 8 times per period - the letter will be sent out to the parents , that will be code 'G' with period '-1' (it may happen that there will never be code 'G' , but I need to track all absencies). Once the letter is sent, the count starts over (the count starts over the next day after code 'G'). The absencies which happened before or the date the letter sent should count toward 'previous'  abscenices, all other - absenices after the letter.
    So basically I need total per period and total per period before or the day with code 'G'.  Running total with reset with formula code = 'G' does not work.
    I created a formula field which has global date (when code 'G' happenned) and it says if globaldate >= periodDate then date (1900,01,01) else (2100,01,01) and that formula is ok, but I can not use it in running total or can not create group on it and insert total.
    Please help me with this. Thank you.
    Ann2

Maybe you are looking for

  • TS3280 How can i enable both paired bluetooth and ios keyboard input at the same time?

    How can i enable both paired bluetooth and ios keyboard input at the same time? This is needed for the app im working on. Need some user input via keypad as well as scanner input via a paired bluetooth scanner.

  • BI-Purchasing reports help

    Hello, I am tasked on implementing standard BI reports for Purchasing in SAP.  Can anyone in the forum provide me details of any standard BI report that are relevant to Purchasing? Any links, documents and guides that will help me on implementing thi

  • No of Target systems to One source system via TDMS

    Hello, Wondering if any one in this group have worked on a scenario, where there is 1 source / ECC, and 5-6 target systems/clients. The reason for asking this question : I have an RFC connection set between the source and target 1, and there is anoth

  • Photoshop CS6 - Unexpected and Unrecoverable error on launch

    When launching Photoshop CS6 I'm getting the following error message "An unecpected and unrecoverable problem has occored. Photoshop will now exit." this only happens to normal users logged into the machine, but not to the admin account. Other adobe

  • Problems while storing a BLOB

    Hi I need to store a blob in a MS Access db while receiving a mail, but I can't arrive! This is my code, could anyone help me? Many thanks in advance.                          Blob blob = null;                          PreparedStatement pst2 = con.pr