24 Embedding Flash

In this chapter we look at how programmers using other languages can add Flash to their executable programs. By creating a specialized wrapper we can get all the dynamic animation facilities that Flash can provide together with the excellent development environment and we can extend it to use operating system features such as the file system and purpose-made non-rectangular skins. Flash operates as an ActiveX control in the Windows environment and as such is fairly easily embedded into Visual Basic, C# and C+—+ executables. We also look at communication between the parent program and Flash.

Embedding Flash into a Visual Basic program

On the CD you can find ‘Examples/Chapter24/VB/vbflash.vbp’, a Visual Basic 6 project file. ...

Get Flash MX 2004 Games now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.