SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Member warwi3k's Avatar
    Join Date
    Sep 2004
    Location
    London
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Replacing swf's with gif's

    Hi,

    How, pray, do I code it such that a swf will automatically replace itself with a similar gif so archaic goobers without Flash installed on their pooters can still have some basic animation viewing pleasure?

    Much appreciated.

    W
    warwi3k - new media web designer london

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,226
    Mentioned
    194 Post(s)
    Tagged
    2 Thread(s)

    no swf

    You don't need javascript for this. Try
    <object .....>
    Stuff that will display (text, img tag etc) if object load fails
    </object>

  3. #3
    Is Still Alive silver trophybronze trophy RetroNetro's Avatar
    Join Date
    Jul 2003
    Location
    Texas
    Posts
    6,883
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Mittineague is correct. I recommend using swfObject to avoid the "click to activate" in IE.

  4. #4
    I'll take mine raw silver trophy MikeFoster's Avatar
    Join Date
    Dec 2002
    Location
    Alabama, USA
    Posts
    2,560
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So I'm an "archaic goober" because I won't let you bombard me with ads?

    I may be archaic... but a goober?

    Btw - Welcome to SPF!

  5. #5
    SitePoint Member warwi3k's Avatar
    Join Date
    Sep 2004
    Location
    London
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks gang.
    warwi3k - new media web designer london

  6. #6
    SitePoint Zealot
    Join Date
    Nov 2005
    Posts
    181
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Johnny Gulag View Post
    Mittineague is correct. I recommend using swfObject to avoid the "click to activate" in IE.
    Doesn't swfObject require javascript to work, making the flash movie unaccessible to those with JS turned off?

  7. #7
    SitePoint Guru
    Join Date
    Apr 2007
    Posts
    813
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    there is the only way, I guess if you are looking for accessibility, you shouldn't use flash at all Nowadays, it is pretty rare people turn javascript off and flash.


Bookmarks

Posting Permissions

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