
Once I test this in the browser, I use the Project→Export Release
Build command (shown in Figure 8-1) to build the release build
of the slide show control.
Figure 8-1. Exporting the release build
I
then copy the exported slideshow.swf file into the same di-
rectory as the index.html file. The index.html file represents
another web page that would reference the slide show. The
index.html file is included in the source code download avail-
able on the O’Reilly website associated with this book.
Now I can test this out in my browser by just navigating to the
file. Figure 8-2 shows the result.
This certainly is a nice little widget to fit on the page. But it’s
actually not a little widget when it comes to download size. It
weighs in at 227 KB. Why? Because it’s merging the Flex API
code into the SWF. To reduce the size of the download we can
have the slideshow.swf file reference an RSL library that holds
Slide Show Widget | 111
Kommentare zu diesen Handbüchern