flex4.5 - FLEX AIR project directory structure for storing LOW and HIGH resolution images -


any idea directory structure should 1 follow flex air projects in there need store both low , high resolution images low-res images used when app loaded in mobile , hi-res image used when loading app in tablet.

here how it:

<fx:declarations>     <s:multidpibitmapsource id="back"         source160dpi="@embed('assets/icons/low-res/back.png')"         source240dpi="@embed('assets/icons/mid-res/back.png')"         source320dpi="@embed('assets/icons/high-res/back.png')"/> </fx:declarations>  <s:states>     <s:state name="portrait"/>     <s:state name="landscape"/> </s:states>   <s:navigationcontent>     <s:button icon="{back}" label.landscape="back" click="navigator.popview()"/> </s:navigationcontent> 

see doc support multiple screen sizes , dpi values in mobile application


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -