node ninja
node ninja

Reputation: 32996

How to know if something is programmed in Flash or Javascript

I was looking for examples of Javascript games and I came across this. It looks like Flash. I tried looking at the source code, and all I see are a bunch of div tags, but not really any Javascript. I couldn't find the code that actually runs the game.

Is this Flash or Javascript? How can you tell?

Upvotes: 1

Views: 1147

Answers (3)

Engineer
Engineer

Reputation: 48793

You can try to disable the plugin of shockwave flash from browser's options. Then refresh page and see, whether 'target flash' disappears. If so then it was flash.

Upvotes: 1

Mc-
Mc-

Reputation: 4056

As far as I know is impossible to hide the typical secondary flash context menu telling the version, etc...

I found is using a core.js javascript

Hope it helps.

Upvotes: 1

Nicole
Nicole

Reputation: 33197

It's Javascript.

When you right click it gives you the native browser context menu. Right-clicking anything in Flash will give you a Flash context menu. The only time that method fails is when you get no context menu at all.

Also, highlight the text "Press enter". It uses native text highlighting.

Upvotes: 3

Related Questions