Icons in the tile List

hello all ,
I am trying to display images in the Tilelist component whose
path is given in the xml. The xml is located on the harddrive which
is loaded in my mxml application as follows :
import flash.events.*;
import flash.net.URLLoader;
import flash.net.URLLoaderDataFormat;
import flash.net.URLRequest;
public var myXML :XML;
var XML_URL:String = "templateList.xml"
var myXMLURL:URLRequest = new URLRequest(XML_URL);
var myLoader:URLLoader = new URLLoader(myXMLURL);
myLoader.addEventListener("complete", xmlLoaded);
function xmlLoaded(evtObj:Event):void{
myXML = XML(myLoader.data);
I am using this myXML object as the dataProvider for tileList
as follows :
<mx:TileList id="ListOfTemplates"
dataProvider="{myXML.template} " labelField="label"
iconField="icon" >
</mx:TileList>
the strucutre of the xml templateList.xml is :
<root>
<template>
<icon> sample1.jpg </icon>
<label>sample1</label>
</template>
<template>
<icon> sample1.jpg </icon>
<label>sample2</label>
</template>
</root>
Please help me.
Thanks in advance

Your image should be embeded. Something like this...
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
creationComplete="getXML.send()">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
[Bindable]
[Embed(source="1_r1_c1.gif")]
public var icon11:Class;
[Bindable]
[Embed(source="1_r1_c2.gif")]
public var icon12:Class;
[Bindable]
[Embed(source="1_r1_c3.gif")]
public var icon13:Class;
]]>
</mx:Script>
<mx:HTTPService id="getXML" url="LabelsNIcons.xml"
showBusyCursor="true"
result="myTileList.dataProvider=event.result.root.template;"
fault="Alert.show('Could not get Label and Icons!!!')" />
<mx:TileList id="myTileList" />
</mx:Application>
This HTTPService is getting a xml file LabelsNIcons.xml
containing:
<?xml version="1.0"?>
<root>
<template>
<label>flex1</label>
<icon>icon11</icon>
</template>
<template>
<label>flex2</label>
<icon>icon12</icon>
</template>
<template>
<label>flex3</label>
<icon>icon13</icon>
</template>
</root>
Hope this helps

Similar Messages

  • What is the meaning, or significance, of the greyed out word "installed" next to the iBooks app icon in the iTunes list of apps on my new iPhone6, or slightly older iPad mini, retina display?

    What is the meaning, or significance, of the greyed out word “installed” next to the iBooks app icon in the iTunes lists of apps on my new iPhone6, or slightly older iPad mini, retina display?  Both devices have iOS8.0.2 installed.  Both are having problems downloading some books that had been purchased previously for other devices.  And, before installing iOS8, the full list of had been downloaded to the iPad mini with iOS7.
      Finding out what the greyed outness means may help me figure out how to get all my books loaded on both devices.  Any suggestions how to do that also would be appreciated.

    Thank you.  Your explanation of why the word "installed" is greyed out makes sense.  But that raises the further question of why then is it shown at all.  There are other apps on both devices that can not be removed,and they are just not shown.  This is the only app that has the greyed out "install" notation.  All of the other apps shown are either identified by "remove" meaning it is installed and can be removed; "install" meaning it is not installed but can be; or "update" meaning it has been replaced by a more current version which can be installed.
    All of the books that I want to install have been on an iPhone4 that was replaced by the iPhone6, and were on the iPad Mini with iOS7 before iOS8 was installed.  Installation of iOS8 on the iPad removed all of the books and only a few of them were later added by syncing with iTunes.  Since most of the books I am interested in are free or of small cost, I would be happy to delete all of them from iTunes and then reinstall the ones I want directly on the devices.  But I have not been able to delete them and when I try to install them on a device I am told that they already have been downloaded.  Very frustrating.

  • How do you remove the very badly-placed 'delete message' icon from the Message List pane in Outlook 2013?

    One of the worst bits of Usability Design I've come across in a very long time is the 'x' delete message icon in Outlook 2013, which deletes an email message with one click (no confirmation).
    It's placed conveniently next to the right-hand scrollbar, and on Numerous occasions when using the scrollbar, you drift a few mm to the left and *accidentally* delete email messages at random.   I'm pretty sure many people will have
    unwittingly been doing this, but not noticed.
    Question is : How do you switch off this feature?  It's not listed in the 'view' as a column you can configure.
    Thanks (in advance).
    --jim mccumesty

    Hi,
    As far as I know, the delete button is hard-coded and we cannot hide it through built-in function.
    I have received some reports that some users complain that the Quick Delete button is often touched and delete the message mistaken whatever in PC or Surface device.
    There is no official update for this so far. Hope it can be improved in next service pack release.
    Regards.
    Steve Fan
    TechNet Community Support

  • Where is the New Tab icon along the tab list?

    I am using Firefox 4. In the previous versions there was a mini-tab with a plus-sign all the way to the right that, when pressed, would add a new tab. Can't find it. Sorry.

    If the menu bar is hidden then press the F10 key or hold down the Alt key, that should make the menu bar appear.
    * Go to "View > Toolbars" and check-mark "Menu Bar" with a click if you want to make that permanent
    See [[Menu bar is missing]])
    Make sure that the "Navigation Toolbar" and the "Bookmarks Toolbar" are visible: "View > Toolbars"
    * If items are missing then open the Customize window via "View > Toolbars > Customize" or via "Firefox > Options > Toolbar Layout"
    * If a missing item is in the toolbar palette then drag it back from the Customize window on the toolbar
    * If you do not see an item on a toolbar and in the toolbar palette then click the "Restore Default Set" button to restore the default toolbar set up.
    See also:
    * http://kb.mozillazine.org/Toolbar_customization
    * http://kb.mozillazine.org/Corrupt_localstore.rdf

  • My voicemail doesn't notify me, or allow me to click on the voicemail icon on the "recent" list. I have to take the step of clicking on another screen saying Voicemail. Why that extra step???

    Why does my iPhone not alert me now to voicemail? I have to check the phone for recent calls, see "voicemail", but am required to check on the next screen "voicemail". Why is this extra step now included when it wasn'y before?

    You can modify the pref <b>keyword.URL</b> on the <b>about:config</b> page to use Google's "I'm Feeling Lucky" or Google's "Browse By Name".
    * Google "I'm Feeling Lucky": http://www.google.com/search?btnI=I%27m+Feeling+Lucky&ie=UTF-8&oe=UTF-8&q=
    * Google "Browse by Name": http://www.google.com/search?ie=UTF-8&sourceid=navclient&gfns=1&q=
    * http://kb.mozillazine.org/keyword.URL
    * http://kb.mozillazine.org/Location_Bar_search

  • Tile list - clicking on the images to change get different movies to play

    I am buiding an application where I just got the tile list working with images loaded in.  My question is there a way to click on the images that are loaded in to get them to do things, such as change a video, in my video player?
    Thanks!

    Using the 'adjust date and time' setting is the best way to syncronise the photos from all your cameras. However as you say this merely puts them all in the correct order chronologically.
    If there are photos that you feel would be best somewhere else in an album other than in date order, it may depend on how many as to which is the best option for you. If it's only a few you may wish to adjust the date/time on these few manually so they fit in with the rest where you want them.
    If you have a lot of photos you want in a different order to the order by date, or you really don't care about what date/time is used and just want them in the order you want them in, then 'batch change' is the best option.
    From the view menu, select 'sort photos - manually', drag the photos around until they are in the order you want, select all of them. Now select the batch change option and choose 'Date' from the 'set' options, type in a date and time for the first photo, it can be anything but it's probably a good idea to choose something close to the original date, then check the box 'Add'. You can keep the value set at 1 minute or enter any value you want, it may be more realistic to divide the length of your holiday by the number of photos you have to calculate a value, but it really isn't necessary. Clicking OK will adjust all the dates without affecting the title or description and the photos will now show on the Apple TV in that order.
    Just to be sure iTunes is updated, you may want to go to the advanced menu/choose photos to share in iTunes and deselect the album, apply, reselect the album and apply again.

  • Tile List selection after pressing embedded Image button

    Hi;
    I am working on SAP Work Manager 6.0 customizing using Agentry 6.1.3. I have this tile list that contains items. At the bottom of this tile list, I have a button that targets the selected item on the tile list. This button has an action which changes the icon  of the selected item when pressed and also executes an edit transaction that prints/changes the selected item property values based on rules. After selecting a particular item from the tile list and clicking on this button, the selected item's image changes to the image that I want, but the selection highlighter toggles and always moves to the first item on the tile list. I have tried implementing a list selection but it somehow always ignores this and always toggles back to the first item on the tile list. I would like it to stay on the selected item, whose image has just been changed. How would I go about having the selection highlighter stay on the same item before and after pressing the button?
    Your help is greatly appreciated!
    Thanks in advance!
    Sizo Ndlovu

    Hi Jason;
    Thank you for the prompt response.I'm using the .NET client to test on the development machine and the application is deployed onto an Android 4.0.4 device. I have tried implementing this as shown below:
    The action steps:
    The Navigation step:
    The List Selection step:
    The List Selection rule:
    I have also tried implementing this using the navigation only or the list selection only, with no success.
    Thanks and Regards;
    Sizo Ndlovu

  • Tile List: stops refreshing after 'x' minutes on MAC os

    Hi All,
    I am new to flex and have built an Agent monitoring system. It basically Polls an xml file for a status update for an agent every second. And based on the xml file displays an icon associated with that status. The tile itself includes and icon and the agents name. Simple enough. I deployed this applicaition as an Adobe Air Application. The applicaitons runs great on windows. The prolbem I am facing that 2 fold.
    1)  When the applicaiton first loads, the applicaiton does not seem to have focus, and when the autoupdater tries to update it just flashes and the update window disappears. A work around has been to click inside to force the focus so the update will catch it. This one is strange to me.
    2) The tile list will not refresh if the applicaiton loses focus for a varrying amount of time. The tilelist seems to stop refeshing the icons and the events associated with each tile do not fire. I have tested the services to ensure that the applicaiton is not losing connection to the server. It seems to be localized to the MAC OS as i can run the applicaiton for an 8 hour work day and the applicaition workd fine on a windows based system, but stops working on the MAC side.
    For issue one I have tried setting the focus to an element within the a form in the application, but alas this does not fix the autoupdater. I am at a loss on issue 2. Unless there is a way to force the applicaiton redraw the tile list when focu is regained. Any help is appreciated.
    And i apologize if this is in the wrong forums. As this applicaiton is 99% flex and 1% air i thought this was the most appropiate.
    Thanks
    Asg.

    Add some diagnostic code to see what kinds of activate/deactivate events you
    are getting and check how often you get Event.ENTER_FRAME.  In Flex 4, if
    the AIR window is deactivated we slow the frame rate.

  • How do I get rid of the calendars in the source list?

    I don't want Iphoto automatically organizing my photos by year, and I don't want to see the last four years depicted as calendar icons in the source list, and I don't want an item called "early photos' in my source list. How do I get rid of these unwanted items/features?
    Many of the photos I'm importing have, over the years, been edited and their original photo dates are no longer valid in GetInfo, so iphoto's automated feature causes chaos upon importing.

    Hello autochthon,
    The side bar which contains some of iPhoto's built in organizational tools like "Last Import" "Last 12 Months" "Early Photos" is part of the iPhoto program and cannot be removed.
    The items you mention appear under the sub-category "Recent". You can click on the disclosure triangle to hide those features from view.
    By default iPhoto arranges all images in a chronological fashion, however you can sort your photos in your events in a variety of other ways: http://docs.info.apple.com/article.html?path=iPhoto/8.0/en/6291.html.
    For those that don't like any of the sorting options available, putting images into Albums is often a good route to go. Once you put your pictures in an album you can then drag them into whatever order meets your needs within that Album.
    Hope that helps.

  • Photos tab is not selectable in the source list iPod nano

    Dear all,
    Could you please help me out? I want to import photos on my iPod nano (3rd generation). I want to do this by dragging a folder to the iPod in the sources list in iTunes, but I do not succeed.
    The 'photos' tab does not appear when I collapse the 'iPod' in the source list in iTunes. What is wrong?
    Thank you for your answer (in advance.)

    *I want to do this by dragging a folder to the iPod in the sources list in iTunes, but I do not succeed.*
    You can't add photos the same way as you add music, you have to choose the folder in the photos tab.
    The 'photos' tab does not appear when I collapse the 'iPod' in the source list in iTunes. What is wrong?
    The photos tab isn't in the source list, it's one of the preference tabs that appear in the main window when you click on the iPod icon in the source list.
    Here's a simple "How To" on downloading photos from a folder on your hard disk to an iPod:
    1 Create a folder on your hard drive to hold the photos you want on your iPod. Call it iPod Photos for example
    2 Drag the photos you want from your usual picture folder into the folder you just created
    2 Open iTunes, select your iPod in the iTunes Source list.
    3 Click the Photos tab and select “Synch photos from.”
    4 Choose “Choose Folder” from the pop-up menu and select the iPod photos folder you created.
    On a small device like the 2GB Nano I would tend to leave the "Include Full Resolution photos" box unchecked as these will take up a lot of space on the iPod and are only useful if you want to copy photos from one computer to another. iTunes will add "optimised", small TV quality versions of the photos to the iPod for you to view.
    iTunes will add "optimised", small TV quality versions of the photos to the iPod for you to view. if you want to include full size photos so you can move them from one computer to another check the "Include Full Resolution photos" box. When you want to change the photos on the iPod you simply add or remove the photos you want from your iPod Photos folder and sync the iPod.
    You can also have a look at the tutorial: iTunes 7 Windows - Loading Photos onto iPod

  • I've lost my iDisk icon from the sidebar in Finder!  How do I get it back?

    I wanted to put the icon into the dock (or at least on my desktop) But when I dragged it over, it disappeared in a cloud and "poof" it was gone!
    Later, when I checked under Devices in the Finder, the iDisk is no longer there. *HOW CAN I GET IT BACK?*
    As far as I know, I can sync to the iDisk, but without the icon, I can no longer drag-and-drop my files to it.
    Anyone have any solutions on how I can return the iDisk icon to the Devices list on the Finder? or at least still be able to drag-and-drop my files to it?

    Templeton Peck... Whew!
    Thanks for answering so soon! and thank goodness for "Discussions.'
    Have a fantastic new year!

  • Setting main object property initial values before loading tile list - Agentry

    Hi;
    I am working on SAP Work Manager 6.0 customising using Agentry 6.1.3. I have 2 properties on the Main object, which are WeekStart and WeekEnd, these properties have their initial values set using a rule on the transaction property level. I am using these two properties in a tile list include rule, to only display items per week, that is if the item date is between WeekStart and WeekEnd. Now my issue is when the tile list initially loads items, the action containing the transaction to set values for WeekStart and WeekEnd has not been executed yet, and hence at this point the tile list is empty. At what point could I run this action to set the initial values of WeekStart and WeekEnd? Currently when the tile list loads, nothing is displayed because the dates sitting in WeekStart and WeekEnd are invalid yet, they have not been set by the transaction. My current include rule is as follows:
    Your help is very much appreciated!
    Thanks and Regards;
    Sizo Ndlovu

    Hi;
    I really thought that putting the action on "Succesful Login Action" would deal with this issue, please see screenshot below:
    But I see that this does not get executed on the initial load?!
    Any suggestions would be appreciated!
    Thanks and Regards;
    Sizo Ndlovu

  • How do I close the reading list in Safari?

    I opened my reading list and it is now using about 1/4 of my monitor screen.  How do I close it? 

    Exactly as dominic23 states, I followed  the step and lo and behold ... it was gone!
    First open Safari, then choose Preferences from the drop-down menu.
    Click on Bookmarks, then place check on Include Reading List -- the eyeglass icon then appears in the Bookmarks Bar at the top of the page.
    Left click on the Eyeglass icon, and the Reading List column will disappear.
    Hope this works.

  • Multiple icons/images in detailed List view?

    How can I view multiple icons in the detailed list view?
    Forte rel 3.0.F.2
    Nikola Filipovic, DMC Inc
    @ Nesbitt Burns Inc
    Tel. 416.359.7447

    https://bugs.archlinux.org/task/32369
    Please Google before you seek help.

  • The apple tv doesn't or shows up in the devices list if...

    I have to enter my network password everytime in the apple tv to see the apple tv icon in the devices list. But when I click on the apple tv icon in the devices list, about 20 sec later it disapper (the apple tv disconnect from the network) from the devices list. Any help.

    http://support.apple.com/kb/TS1453?viewlocale=en_US

Maybe you are looking for