Hello! I have attempted making a Online/Downloaded detector in one of my projects using an Obsolete block, with a lot of other topics saying this works. When viewing in Scratch, it shows being Downloaded, and when in JAVA player, it shows being online. That is because Scratch can "skip over" Obsolete blocks, while JAVA can't. BUT, the new online Flash Player can ALSO "skip over" Obsolete blocks, complicating everything. So, I ALREADY know how to detect if in JAVA and in Scratch, how do you detect Flash????
----------------------------------------------------------------------------------------------------------------------------
This is what I used for JAVA/Scratch detection:
[blocks]
<when green flag clicked>
<set{ Player }to( Online
Obsolete!
<set{ Player }to( Downloaded
[/blocks]
Last edited by IMBEEGUY (2011-07-18 20:34:47)
Offline
IMBEEGUY wrote:
Hello! I have attempted making a Online/Downloaded detector in one of my projects using an Obsolete block, with a lot of other topics saying this works. When viewing in Scratch, it shows being Downloaded, and when in JAVA player, it shows being online. That is because Scratch can "skip over" Obsolete blocks, while JAVA can't. BUT, the new online Flash Player can ALSO "skip over" Obsolete blocks, complicating everything. So, I ALREADY know how to detect if in JAVA and in Scratch, how do you detect Flash????
I would help but I can't use the flash player
Offline
I know BoltBait had a detector that worked in his Forum Tower Defense game, but it's a real doozy of a script. Here's the project if you want to look at it. The script is under the "TitlePage" sprite.
Offline