[SWFObject] SWFObject in Tables

Jeffery To jeffery.to at gmail.com
Tue May 2 01:11:12 PDT 2006


Hi Chris,

SWFObject doesn't actually look for DIVs. When you call
so.write("flashcontent"), it looks for an element with the id
"flashcontent" and replaces the element's content with an
object/embed. You can assign any table cell an id (e.g. <td
id="flash_content_goes_here">) and have SWFObject write Flash content
there (e.g. so.write("flash_content_goes_here")).

HTH,
Jeff


On 5/2/06, Chris Hahn <chris at kimosabe.net> wrote:
>
>
>
> Has anyone got SWFObject working with tables at all? I'm working on an
> elastic layout where the tables layout keeps itself centered as you resize
> the browser, but SWFObject is looking for Div tags and those are gone when I
> convert all of the DW layers to tables. Clues anyone?
>
>
>
> ::chris::
>
>
>
>
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com
>
>
>


--
Jeffery To
www.thingsthemselves.com



More information about the Swfobject mailing list