Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: moock no-script detection: the saga continues
From: Colin Moock
Date: Wed, 28 Jul 1999 02:41:25 +0100

in software development they tell you every fix to a bug creates a different
bug. i'm beginning to believe that ;)

the last time i updated the flash 4 no-script detection everyone here
reported no problems, but i since discovered that the fix for flash 4 users
caused a problem for flash 3 users.

the short version is that i've fixed the movie yet again, and have tested it
on mac, pc, all browsers from 3 up and all versions of flash from 2 up. so if
you've already implemented the technique, you should now upgrade to the
latest version (1.3 for those following along). if you're not using the
technique, but you have some free time, it'd be great if you could test the
latest version out by visiting:
http://www.moock.org/webdesign/flash/detection/flash4noscript/
(mac, modem, & flash 2/3 users wanted). report bugs/problems to
colin_moockaticeinc [dot] com

....now here's the long version for those who missed the original thread or
are interested in the details:

captain's log...stardate etc etc
july 14, 1999: no-script detector posted. consists of 3 simple actions: get
url as an expression leading to flash 4 content, get url in a movie clip
leading to flash 3 content, and plain get url on main timeline leading to
flash 2 content.

july 14, 1999: added a few frames to the beginning of the movie because it
was getting skipped in some cases under netscape.

july 22, 1999 a: added a preloader to the movie so all the frames would be
guaranteed to be present before the movie started to play. the get url
actions were still getting skipped on slower connections.

july 22, 1999 b: later that day. added version-specific stop actions after
the flash 4 and 3 get urls because on slow connections, the movie continued
playing and executed all three get urls, meaning that flash 4 users on modems
tended to get either the flash 3 or flash 2 upgrade page.

july 27, 1999: i noticed that the flash 3 player was now stalling before the
flash 3 get url was being executed. on investigation, i found that the way
flash 3 ignores actionscript is to actually execute the last action within an
if statement. this was causing the stop action i added on july 22nd(b) to
prevent the flash 3 player from continuing. i've adjusted the actionscript so
it now issues a play command as the last statement if the f4 variable
evaluates to anything other than "true".

tia for bug reports. it really looks like this may be the last little
problem, but i guess i've said that before :)

colin

--
-

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]