A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: SWF as a table's background?

  1. #1
    Polak Maly ant_Z's Avatar
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    440

    SWF as a table's background?

    Hi, is there any possibility to set swf as a table's background? Ive tried to search this forum but i didnt find anything interesting...

  2. #2
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    really a CSS question. Not sure but look for the answer in CSS forums. Off the top of my head I'd say no not directly but you could maybe simlulate it with positioning and Z-order

  3. #3
    Polak Maly ant_Z's Avatar
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    440
    The problem is that the cells of table are dynamiccly generted by PHP script. Table has got constant dimensions: 800px x 933px. Ive tried to put swf on a layer below the table, but it didnt work in Opera and FF.

  4. #4
    Polak Maly ant_Z's Avatar
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    440
    lol i havent even thought about so quick answer :] faster than a bot :]
    as i said before, z-positioning doesnt work in Opera and FF.

  5. #5
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    I think it's an issue with flash not supporting the z-index. FF does indeed support it. You could try putting the flash in an Iframe and sending it behind the table.

  6. #6
    Polak Maly ant_Z's Avatar
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    440
    Quote Originally Posted by blanius
    You could try putting the flash in an Iframe and sending it behind the table.
    yeah, that's an idea. Ill try this.

  7. #7
    up to my .as in code Chris_Seahorn's Avatar
    Join Date
    Dec 2004
    Posts
    4,389
    Although I understand users may personally prefer FF over IE, with IE still maintaining such a large following of users it's suicide to box that browser out IMHO.

    Using controls that specifically render in FF but not IE is as good as saying "IE users will suffer". If that is your goal or acceptable, continue. If not...rethink the layout and welcome IE users like any other or you cut off your toes to spite your feet.

  8. #8
    Polak Maly ant_Z's Avatar
    Join Date
    Jul 2006
    Location
    Poland
    Posts
    440
    youre right, but i dont understand the most of your post :] im not so good in english, but (if youre talking about the same thing im thinking) i can do 2 sites and use JS, which will redirect to page designed for browser.
    The next thing, are you saying that is impossible? Ive rethought the layout, ive used png as a background and ive put with wmode transparent (no probles with ff... so far), and in Opera ive got - green background... so how can i erase this damn background in Opera? (IE and FF are OK)

  9. #9
    up to my .as in code Chris_Seahorn's Avatar
    Join Date
    Dec 2004
    Posts
    4,389
    i can do 2 sites and use JS, which will redirect to page designed for browser.
    Although that makes more work for you, it would be the preferred method since you could accomodate both browsers (IE and FF).

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center