Search  

ANIMFLAG

Turn an image ( jpg, gif, png, swf ) or a Movieclip into a waving element (animated movieClip) dynamically.

Effect produced entirely with code, simply use your own image.

The Package includes the FLA with simple help.

Recent Files:

\ \ \ \

\ \ \

Posted 5 months ago

wow, very nice!

Posted 5 months ago

interesting…. :)

Posted 5 months ago

....... wow… i dont believe its done via Script. :: Good Work ::

Posted 5 months ago

Can you please explain how you can change the picture?

thanks

Posted 5 months ago

Change picture:

Placed image or movieClip in the library, No in stage.

Create a linkage name fot this. (right mouse in icon image library).

In linkage Propieties mark ActionScript Linkage and Export frame 1.

Place this name created in the inicial parameters in code.

Posted 5 months ago

Hi, great file. Instead of calling the movieclip from the library is there way way to reference the instance name of a movie clip on the stage and apply that animation to it? When I try replacing “mc0” with “this” it allows me to do that however I get the flag animation along with another image of the flag that does not move. Also it appears that parts of the flag get cut off when I try this.

I have an animation where the flag will animate onto the screen so I need to have this functionality flawless. There will be multiple flags on the screen .. however that shouldn’t make a difference.

Also, is it possible to make the flag a clickable element … such as a button

Posted 5 months ago

ok i got most of it working now. however it still duplicates the movie clip .. one is animating the other isnt ??? any ideas

Posted 5 months ago

Anyone know how to “fix” the top of the flag so that it does not move (as if it were attached to a horizontal flag pole) and make the flag wave from top to bottom instead of left to right?

I’d be very grateful for anyones help! Thanks.

Michael

Posted 5 months ago

braylark:

Each instance is independent, it is created for prototype. Calls can become multiple each join with parameter his different. The resulting movieClip is delivered with the same one name of origin and with the added _Fly: Image of origin: “myflag” Resulting Movieclip: myflag._Fly

Examples:

flyFlag(“spain”, 200, 5, 2, true); spain_Fly._x= 50; spain_Fly._y= 40; flyFlag(“australia”, 180, 7, 1.6, true); australia_Fly._x= 420; australia_Fly._y= 40; flyFlag(“flashDen”, 180, 4, 3); flashDen_Fly._x= 220; flashDen_Fly._y= 140;

That places 3 distinct flags and with different movements on the stage.

Posted 5 months ago

MichaelLesko:

I have responded to your questions with email.

Posted 5 months ago

very very nice.

Posted 4 months ago

Hi,

can I change the size of this movie? Making it the same size of one flag?

thanks

Posted 3 months ago