As you can now see, HTML components can contain and run standard SWF files. In fact, Flash content in the engine behaves exactly as it would inside a web page in the browser. This means that –
- Users must have the Flash plugin installed on their browser in order to see the content
- All the regular features you would use to develop a game are available
There are some issues to be aware of -
- Each browser window contains an independent instance of the component. This means that several open windows run several instances of the game.
- As of now, on Internet Explorer 8, each tab contains an independent instance of the component, which means that every time a user opens a new tab, a fresh new instance of the game appears.
- Mouse-Move events are detected also outside the flash area (much like in the standalone Flash player). In case you do not want these events to take affect outside the game, you should filter out manually events that occur outside the stage.