106 posts
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 2 years
  • Made it to the Authors' Hall of Fame
  • Has sold $1,000+ on Envato Market
+3 more
KurtBilisim says

Normally Flash outputs 2 object tags in the HTML when you publish a project. One is supposed to be for IE while one is for non-IE browsers. Now I tried erasing the IE part and just left this. And it seems to be working in FF, Chrome and IE6 . Does anybody know if using this shorter version is OK? Why do we normally have 2 objects tags?

            <object data="a.swf" type="application/x-shockwave-flash" height="400" width="550">
                <param name="movie" value="a.swf" />
                <param name="quality" value="high" />
                <param name="bgcolor" value="#ffffff" />
                <param name="play" value="true" />
                <param name="loop" value="true" />
                <param name="wmode" value="window" />
                <param name="scale" value="showall" />
                <param name="menu" value="true" />
                <param name="devicefont" value="false" />
                <param name="salign" value="" />
                <param name="allowScriptAccess" value="sameDomain" />
                <a href="http://www.adobe.com/go/getflash">
                    <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
                </a>
            </object>
1677 posts Envato Elite Author
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+6 more
Tean says
106 posts
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 2 years
  • Made it to the Authors' Hall of Fame
  • Has sold $1,000+ on Envato Market
+3 more
KurtBilisim says

Thanks. So it says it is OK right? (as long as you have a little preloader for IE to start playing without waiting dowload to complete. For large, single SWF projects it may not look good on IE) Of course you can get rid of unnecessary param tags as well. But I think leaving adobe getFlash link would be in order.

1955 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 10+ members
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+3 more
Emroni says

Why not use SWFObject?

8234 posts Community Moderator
  • Has referred 10+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Attended one of our Meetups around the world
+9 more
MSFX Volunteer moderator says
Emroni said
Why not use SWFObject?

+1!

106 posts
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 2 years
  • Made it to the Authors' Hall of Fame
  • Has sold $1,000+ on Envato Market
+3 more
KurtBilisim says

Yeah but, why use extra JS code if same outcome can be achieved with much shorter code? :D

If you need to place multiple SWFs on a page JS can make things shorter but when you want 1-2 SWFs on a page I don’t like extra JS.

4140 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Located in Brazil
+3 more
tsafi says
KurtBilisim said
Yeah but, why use extra JS code if same outcome can be achieved with much shorter code? :D

If that’s the case….keep struggling with no browser unity on all…. what do we care :P

106 posts
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 2 years
  • Made it to the Authors' Hall of Fame
  • Has sold $1,000+ on Envato Market
+3 more
KurtBilisim says

That’s what I wanted to learn, that shorter version seems to be working on all browsers without the need for JS. (except for IE you need a low size preloader which I usually use anyway)

1550 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 100+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+3 more
dSKY says

SwfObject deals with a lot of various browser quirks.
It’s a standard for embedding flash content, and it is recommended by Adobe.

by
by
by
by
by
by