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 10 of 10

Thread: object flash

  1. #1
    Regular Coder
    Join Date
    Dec 2002
    Location
    France
    Posts
    522
    Thanks
    0
    Thanked 0 Times in 0 Posts

    object flash

    this OBJECT tag is not xhtml valid

    <OBJECT classid='clsid27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0' ID='fl' WIDTH='64' HEIGHT='64'>
    <PARAM NAME='movie' VALUE='fl.swf' />
    <PARAM NAME='wmode' VALUE='transparent' />
    <PARAM NAME='align' VALUE='default' />
    <PARAM NAME='loop' VALUE='false' />
    <PARAM NAME='quality' VALUE='best' />
    <PARAM NAME='scale' VALUE='exactfit' />
    <PARAM NAME='bgcolor' VALUE='#FFFFFF' />
    <EMBED src='ys.swf' loop='false' quality='best' wmode='transparent' align='default' scale='exactfit' bgcolor='#FFFFFF' WIDTH='64' HEIGHT='64' TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'>
    </EMBED></OBJECT>

    what do you use for flash and xhtml ?

    thank you !

  • #2
    Master Coder
    Join Date
    Feb 2003
    Location
    UmeŚ, Sweden
    Posts
    5,575
    Thanks
    0
    Thanked 83 Times in 74 Posts
    In xhtml, tags and attribute names are case sensitive, and the xhtml is all lowercase. Change "OBJECT" to "object" and lowercase all attributes, and it should work just fine. Embed on the other hand isn't even in the html4 specs, not to speak of the xhtml specs.
    liorean <[lio@wg]>
    Articles: RegEx evolt wsabstract , Named Arguments
    Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
    Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards

  • #3
    Regular Coder
    Join Date
    Dec 2002
    Location
    France
    Posts
    522
    Thanks
    0
    Thanked 0 Times in 0 Posts

    lowercase

    ok lowercase .....

    thank you

  • #4
    Regular Coder
    Join Date
    Dec 2002
    Location
    France
    Posts
    522
    Thanks
    0
    Thanked 0 Times in 0 Posts

    transparency and netscape

    with

    ----------------

    <object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0' id='ys' width='64' height='64'>
    <param name='movie' value='fl.swf' />
    <param name='wmode' value='transparent' />
    <param name='align' value='default' />
    <param name='loop' value='false' />
    <param name='quality' value='high' />
    <param name='scale' value='exactfit' />
    <param name='bgcolor' value='' />
    <embed src='fl.swf' loop='false' quality='high' wmode='transparent' align='default' scale='exactfit' bgcolor='' width='64' height='64' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash'>
    </embed>
    </object>

    -------------------------------

    I get a background color transparent for IE
    but for Mozilla netscape or Opera the background is white !!!


    I have tried : param name='bgcolor' value=''transparent"

    !!! it becomes green

    do you know how to get background transparency for other browsers ?

    thank you !

  • #5
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    netscape 6 doesn't support the transparency, but netscape 7 / recent moz builds should be okay.

    Check out http://www.macromedia.com/support/fl...ents/wmode.htm

    btw - did you pick up on liorean's <embed> point - your page won't validate while you have that.
    "Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark

  • #6
    Regular Coder
    Join Date
    Dec 2002
    Location
    France
    Posts
    522
    Thanks
    0
    Thanked 0 Times in 0 Posts

    thank you for the link

    do you know where is the list of all parameters possible for a flash object ?

  • #7
    Regular Coder
    Join Date
    Dec 2002
    Location
    France
    Posts
    522
    Thanks
    0
    Thanked 0 Times in 0 Posts

    wmode

    <param name='wmode' value='transparent' />

    and

    <embed src='fl.swf' loop='false' quality='high' wmode='transparent'

    are set like macromedia recommendations for transparency !

    and I don't get it in opera 7 or Mozilla 1.3

    I really don't know why ....

  • #8
    Master Coder
    Join Date
    Feb 2003
    Location
    UmeŚ, Sweden
    Posts
    5,575
    Thanks
    0
    Thanked 83 Times in 74 Posts
    Angiras, what flash plugin do you use in Moz? The 6.0 r65 should handle it. Also remember that if you have QT installed, that plugin might take over the flash rendering - which you probably don't want.

    The embed tag is not allowed in either html or xhtml. It was a Netscape invention, and nowadays you only need it for nn4. Drop it if you want your code to validate.
    liorean <[lio@wg]>
    Articles: RegEx evolt wsabstract , Named Arguments
    Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
    Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards

  • #9
    Regular Coder
    Join Date
    Dec 2002
    Location
    France
    Posts
    522
    Thanks
    0
    Thanked 0 Times in 0 Posts

    QT

    I don't know what is QT, and how to remove it

    the flash version I have in Mozilla is 6.0 r47
    and I have nerver find in mozilla or Opera how to get new plugins and where they read it in my computer

    for IE I have the last one

    ok I drop at once the embed tag..

    thank you again liorean :-)

  • #10
    Master Coder
    Join Date
    Feb 2003
    Location
    UmeŚ, Sweden
    Posts
    5,575
    Thanks
    0
    Thanked 83 Times in 74 Posts
    QT= Apple QuickTime

    For plugins, have a look at <http://plugindoc.mozdev.org/>.
    liorean <[lio@wg]>
    Articles: RegEx evolt wsabstract , Named Arguments
    Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
    Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards


  •  

    Posting Permissions

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