Game Development Reference
In-Depth Information
6.
We need to tell the Flash Builder to use the Pulse libraries for this project. In
the Flash world, the library files come with an extension .swc , which stands
for shockwave component. Once you make it available to your project, you
can start using the classes and functions that are exposed from within the
library. In order to do so, choose the Library Path tab view and click on the
Add SWC… button; navigate to the lib folder within the Pulse installation
folder and choose Pulse.swc and once again do the same procedure for
PulseUI.swc . Click on the Finish button.
As a final step, before attempting to run the sample, we also need to set the stage
size to 800 (width) by 600 (height). The PulseUI requires the stage size to be
exactly this size. We may also set the background color of our choice as shown in
the following screenshot:
 
Search WWH ::




Custom Search