Building Flash-based websites using Flex

Lesson 10 – Deploying Flex Application




                 Alex Goh
           ...
Agenda

●   Runtime Shared Library (RSL)

●   Export release

●   SEO for Flash

●   Module decomposition
Runtime Shared Library

● Everytime a Flex application is compiled, a bunch of Flex libraries is
“embedded” into the appli...
Export Release

● By default, a “debug” version of SWF file is created everytime a Flex
application is compiled.

● A debu...
Module Decomposition

● To decrease the initial load time, decompose the application into sub-parts
(modules).

●When the ...
SEO for Flash

●   Include metadata (keyword and description) in the HTML wrapper:




●   Include a simple HTML version w...
The End : )
Upcoming SlideShare
Loading in...5
×

Building Flash-based websites using Adobe Flex - Lesson 10/10

910

Published on

Building Flash-based websites using Flex
Lesson 10 – Deploying Flex Application

by Alex goh, associate trainer @ LAB School ( http://lab.edu.sg/ ), Adobe Authorized Training Centre, Singapore

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
910
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Building Flash-based websites using Adobe Flex - Lesson 10/10

  1. 1. Building Flash-based websites using Flex Lesson 10 – Deploying Flex Application Alex Goh info@alekkus.com
  2. 2. Agenda ● Runtime Shared Library (RSL) ● Export release ● SEO for Flash ● Module decomposition
  3. 3. Runtime Shared Library ● Everytime a Flex application is compiled, a bunch of Flex libraries is “embedded” into the application, hence increasing the SWF file size. ● Most of these “embedded” libraries are common among different Flex applications. ● Instead of always embedding it into an application, Runtime Shared Library (RSL) embed all the libraries into one, and when loaded into the Flash player, sits permanently there. ●With RSL, a Flex application no longer needs to embed Flex libraries as they are already in the user's Flash player, hence reducing the SWF file size ● To compile a Flex application to use RSL in Flex Builder: ● Right-click on the project > Properties > Flex Build Path > Library Path > select RSL in the Framework linkage combo box
  4. 4. Export Release ● By default, a “debug” version of SWF file is created everytime a Flex application is compiled. ● A debug version of the SWF allows developers to access the debugging features available in Flex. ● When the application is ready to set live, a release version of the SWF should be created. ●Release version takes out all the debugging features, hence reducing the SWF file size. ● To export an application to a release version: ● In the menu bar in Flex Builder, select Project > Export Release Build > a bin-release folder will be created; an release version of the application will reside in this folder.
  5. 5. Module Decomposition ● To decrease the initial load time, decompose the application into sub-parts (modules). ●When the main application loads up (first page shown), load the other modules. ● For each module, a separate SWF file is created. ● Total file size of the application (adding up file size of all modules) may increase but loading time is decreased. ● Ensure the module is optimized for the main application: ●Right-click on the project > Properties > Flex Modules > make sure each module SWF file is listed and optimized for the main application
  6. 6. SEO for Flash ● Include metadata (keyword and description) in the HTML wrapper: ● Include a simple HTML version within <noscript> tag in the HTML wrapper.
  7. 7. The End : )
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×