Ways to Embedded assets in Flex4


 

Ways to Embedded assets in Flex4

There are three ways of embedding assets in your application.

There are three ways of embedding assets in your application.

Types of Embedded assests in Flex4:

There are three ways of embedding assets in your application.
Flex supports the following syntaxes:

1. [Embed(parameter1, paramater2, ...)] metadata tag: You will use this syntax in your Actionscript file or in <fx:Script> tag.

2. @Embed(parameter1, paramater2, ...) directive: You will use this syntax in MXML tag.

3. Embed(parameter1, paramater2, ...) directive: You will use this syntax in <fx:Style> block in an MXML file.

Ads