3 Replies Latest reply on Oct 28, 2011 11:36 AM by Shongrunden

    icons show in ADL but not on iphone/android

    Corey Osman

      For some reason my icons show up under the ADL simulator but not after I perform a release build and run on iphone/android.


      This is just a simple list with the icon field populated with PNG images.  I don't know why the don't show up when using targeted device. 


      I have attached code snippets from my AC menu that populates the list along with the associated renderer.


      [Binding] private var moremenu:ArrayCollection = new ArrayCollection();


      moremenu.addItem({name:"Certificates", icon:"assets/icons/certificate32.png"});

        moremenu.addItem({name:"Profiles", icon:"assets/icons/profiles32.png"});

        moremenu.addItem({name:"Groups", icon:"assets/icons/groupsicon32.png"});

        moremenu.addItem({name:"Info", icon:"assets/icons/info32.png"});


      <s:List id="moregrid" left="0" top="0"  right="0" bottom="0" visible.Normal="true" styleName="MultiDPIFont"

        visible.Loading="false" change="moregrid_changeHandler(event)"

        dataProvider="{moremenu}" itemRenderer="com.lmc.Renderers.StandardIconRenderer/>



      <s:IconItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"

        xmlns:s="library://ns.adobe.com/flex/spark" labelField="name" cacheAsBitmap="true"

        iconField="icon" decorator="{new Chevron()}" iconDelay="0" >



        import assets.Chevron;




        <!-- Place non-visual elements (e.g., services, value objects) here -->