Log in

View Full Version : What's Better to use



crisssy101
03-05-2007, 02:33 AM
Which will more people be able to view? Dynamic Drive's Image Fade out Javascript.... or a flash file? Either way you get the same effect, I just want to maximize the most viewers who can see it.

thetestingsite
03-05-2007, 02:36 AM
Either way, it can be disabled. Flash can be disabled if the user does not have a flash player installed on their computer (or browser), and Javascript can be disabled using the browser (or by default in some browsers). Personally (spelling?) I would use Flash being as most users have somewhat "newer" computers and it would be more versatile.

Hope this helps.

Twey
03-05-2007, 02:51 AM
I would use the Javascript, with adequate static fallback. If there were some effect Flash could achieve here that Javascript couldn't, it would be worth using Flash and having the Javascript as a fallback to that, but since there isn't it would only be a waste of time and bandwidth.

BLiZZaRD
03-05-2007, 07:04 AM
Well.. it really is a moot point anymore. With EOLOAS going on like they did, you need to use javascript to embed Flash, so really users will need both.

But if you want to look for yourself

Flash Player Ubiquity (http://www.adobe.com/products/player_census/flashplayer/version_penetration.html) Which Flash Player 6 is currently at 98.3% of web based desktops worldwide.

and

JavaScript Ubiquity (http://www.thecounter.com/stats/2007/January/javas.php) with JS 1.2 at 95%

Pretty even I would guess...

Twey
03-05-2007, 08:11 AM
The difference is that Javascript is available for more machines, even if it's not enabled.
With EOLOAS going on like they did, you need to use javascript to embed Flash, so really users will need both.You don't -- embedding the object then simply changing the source with JS apparently works just as well.

mburt
03-05-2007, 11:19 AM
If JavaScript gets the job done right, in my opinion, you should use it. On the internet connection I'm on Flash movies take forever to load, so for me it would be better to use JS.

BLiZZaRD
03-05-2007, 02:39 PM
embedding the object then simply changing the source with JS apparently works just as well.

Okay, with the specifics even , you still use both to accomplish one task, so if a user as one and not the other they still don't always see it :p

Twey
03-05-2007, 05:51 PM
Well, if it were necessary to use Flash to obtain some effect or other, the optimal setup would be to have Flash using Javascript to avoid the "click here to activate" unpleasantness, falling back on a pure Javascript version, falling back on a static HTML version.

If the user has both Flash and Javascript, they get the Flash version, without click-to-activate.
If the user doesn't have Flash, they get the Javascript version.
If the user doesn't have Javascript, they get the Flash version (although still with possible click-to-activate nonsense).
If the user doesn't have Javascript or Flash, they get the static version.

Dynamic content is displayed to the widest possible range of users.

BLiZZaRD
03-05-2007, 06:33 PM
Agreed.

Hasn't EOLAS taken the fun out of everything.... :rolleyes: