Home Tutorial Flex Flex4 Components Ways to Embedded assets in Flex4

 
 

Ways to Embedded assets in Flex4
Posted on: July 8, 2010 at 12:00 AM
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.

Related Tags for Ways to Embedded assets in Flex4:


Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.