dbclix

Thursday, August 4, 2011

How to insert (embed) a flash animation of objects on a website or blog

Object embedding flash animation (swf format) to the web can make our website look more beautiful (and heavier, of course). This of course caused flash animation on the object, which can be moved (of course, his name is also animated).
Indeed for some people, the object of a particular flash could be allergic because of the size of the flash file is relatively large, leading to the increasing burden the web.
But it's very relative. Many people who disregard the weight, and prefer the love its web appearance.
So for them here, the tutorials include flash object into your web or blog is created.
The first thing you need to consider is the location where would you put the flash object.

Go directly to the scene:

1. On a post or page
2. On the theme (eg the header)

Inserting a flash object (swf) on a post

Upload .swf file on your hosting. (or the free hosting providers). Then note the location of the swf file.
For example swf file that I have demonstrated at the address:
http://game.funny-games.ws/game_0002/funny/zeldaflash5.swf

Create a new post as usual, then go into HTML mode. Then enter the following code:

<object width="100%" height="400">
<param name="movie" value="zeldaflash5.swf">
<embed src="http://game.funny-games.ws/game_0002/funny/zeldaflash5.swf" width="100%" height="400">
</embed>
</object>

 (Code red above must match you with the name of your swf file. While the code blue on top, you change the location of your swf files on hosting. You can also adjust the height and width of this flash object).
So the result is roughly as follows:




Done :)
And now, by inserting objects flash animation on your website or blog, you will understand, that adds to the weight could also mean adding beauty.

(Sorry if the tutorial is too short)


Installing Flash in Gadget:

Login to Blogger

Continue to Design and Page Elements

Add a Gadget with a kind of HTML / JavaSripts

Enter this code:
<embed src="http://game.funny-games.ws/game_0002/funny/zeldaflash5.swf" quality="high" bgcolor="white" width="320" height="240" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi? P1_Prod_Version=ShockwaveFlash"></embed>

Good Luck.


0 comments:

Post a Comment