Share on Google+Share on Google+

Ways to Embedded assets in Flex4

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.

Advertisements

Posted on: July 8, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Share this Tutorial 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.