...

View Full Version : How to shrink <object> code



BabyJack
05-03-2008, 11:56 AM
Hi. I think the Object code is too long. Does anyone know anyway to shorten it? The code I am using it this:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="158" height="60" id="musicon_com" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="menu" value="false" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><param name="movie" value="http://www.muzicons.com/musicon.swf"><param name="wmode" value="transparent"><param name="flashvars" value="icon_pic=0.png&music_file=AXICdkMN&bg_color=898989&type_of_clip=whith_bar&text_color=FFFFFF&text_message=Hmmmmm.."><embed src="http://www.muzicons.com/musicon.swf" width="158" height="60" menu="false" quality="high" name="musicon_com" align="middle" bgcolor="#ffffff" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" flashvars="icon_pic=0.png&music_file=AXICdkMN&bg_color=898989&type_of_clip=whith_bar&text_color=FFFFFF&text_message=Hmmmmm.." wmode="transparent"></embed></object>


Please help!
BabyJack :thumbsup:

Apostropartheid
05-03-2008, 03:21 PM
<object type="application/x-shockwave-flash"
data="http://www.muzicons.com/musicon.swf"
width="158" height="60">
<param name="movie"
value="http://www.muzicons.com/musicon.swf"/>
<param name="allowScriptAcess" value="sameDomain"/>
<param name="quality" value="best"/>
<param name="bgcolor" value="#FFFFFF"/>
<param name="FlashVars" value="icon_pic=0.png&music_file=AXICdkMN&bg_color=898989&type_of_clip=whith_bar&text_color=FFFFFF&text_message=Hmmmmm..."/>
</object>

BabyJack
05-03-2008, 03:28 PM
Thanks! :)

gnomeontherun
05-03-2008, 08:11 PM
I recommend using SWFObject 2.0 to place your flash documents. There is a thread in here about it, http://code.google.com/p/swfobject/

asakub11
05-03-2008, 09:33 PM
Answered at review post...



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum