Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder BabyJack's Avatar
    Join Date
    Apr 2008
    Location
    Somewhere.
    Posts
    602
    Thanks
    43
    Thanked 6 Times in 6 Posts

    How to shrink <object> code

    Hi. I think the Object code is too long. Does anyone know anyway to shorten it? The code I am using it this:
    Code:
    <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
    Last edited by BabyJack; 05-03-2008 at 12:00 PM.
    Enlightenment in Coding
    Validate before Posting | Google is your friend for PC Problems | Make sure you have a doctype

  • #2
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    Code:
    <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>

  • Users who have thanked Apostropartheid for this post:

    BabyJack (05-03-2008)

  • #3
    Regular Coder BabyJack's Avatar
    Join Date
    Apr 2008
    Location
    Somewhere.
    Posts
    602
    Thanks
    43
    Thanked 6 Times in 6 Posts
    Thanks!
    Enlightenment in Coding
    Validate before Posting | Google is your friend for PC Problems | Make sure you have a doctype

  • #4
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    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/

  • #5
    New Coder
    Join Date
    May 2008
    Posts
    10
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Answered at review post...
    Last edited by asakub11; 05-03-2008 at 09:46 PM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •