PDA

View Full Version : Easy video for Swish (or Flash)


Shane
10-19-2002, 08:41 PM
Video is a pain to add to your website, Flash MX makes this easy (basically drag & drop but needs your site visitor to have Flash 6 Player installed, alot will have, (Flix is one other program that does this easily) as its uptake is rising fast but you need to own Flash MX (or have downloaded the free trial) to create the video/avi to a .swf file.

This method uses a quick and easy way to add video to your website.

I imported an avi movie into Flash MX and exported it frame by frame as individual jpeg's. I used Flash MX, but you could do same with other software such as Flix or others. It could be done also by playing the video on your computer and doing pause>frame>screengrabs.

Video make big file sizes, whichever way you go. You can batch compress your series of jpegs in Fireworks or Photoshop easily....not sure about other progs, but must be possible...this will reduce your eventual 'movie' size considerably.

I then inserted the series of jpegs into Swish. Image1 >>frame one 'place' frame two 'remove'>>Image2 frame two 'place' frame three 'remove' etc (see .swi in surfsup2.zip for examples. Converted this series of place/remove images to a sprite & named the sprite (movie clips in Flash) so it's easy to control the movie via some buttons. (see the .swi for details).

In Flash4 & up just use keyframes on each jpeg.

Warning these are biggish files on dial up. :shocked:

Fred & Helen: if too big I'll delete them :D

The zip containing the .swi, .swf, html files:

http://ideabank.rightstuffhosting.com/shane/surf.zip

The zip containing the .fla and .avi files:

http://ideabank.rightstuffhosting.com/shane/surffla.zip

Online example:

(this is deliberately running a bit slow at 15 fps just to show you can't see where one image starts and the other stops)

http://ideabank.rightstuffhosting.com/shane/surfsup2.html

Helen
10-20-2002, 01:30 PM
That's incredible! :shock:

For future reference, it is listed on the Webmasters Idea Bank page.

Don't worry about the size of anything y'all want to put on this web space for folks to see and/or download... I know where there's more space if we need it. :D

:toast: You guys are off to a great start! Thanks! :dance: