Results 1 to 3 of 3

Thread: Default Pic in Flash?

  1. #1
    Join Date
    Jan 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Default Pic in Flash?

    Is there a way to place a picture underneath a swf so that if a user doesn't have flash or shockwave installed on their computer then they'd still be able to see a static version of that image?

    (I'm sorry if this has come up before by the way. I did a quick search, but didn't see anything.)

    The idea is that we have a site where the logo is animated. ( http://www.harlotofthearts.org ), but not everyone submitting to that journal would be technologically inclined, so it wouldn't be as likely that they'd have flash players and all that. So, if there was a way to display the static logo for those people and display the animated logo for those with the capabilities without building two different sites, then that'd be the best of both possible worlds. Ideas?

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    When you publish the swf select jpg or png as an option to publish as well. In the HTML tab select the "detect Flash version" option. Then in the html that is output you will see a spot where you can include standard HTML if the Flash does not load or play, here, you would link to the jog or png image to show in it's place.

    Once you have that done, copy that section, and when you embed the Flash correctly paste that snippet over.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  3. #3
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Or, you can use SWFObject (http://blog.deconcept.com/swfobject/).

    This does two things for you: get rid of that annoying click to play thing in IE and also easily allows you to place replacement content.

    Or a surefire backup...add that picture as a background to whatever div you have the flash in and set a fixed height/width to the div.

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
  •