Home Tutorial Flex Flex4 Components Ways to Embedded assets in Flex4

 
 

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

Advertisement

Related Tags for Ways to Embedded assets in Flex4:


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: July 8, 2010

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com