Tile List folder contents

I'm want to use the mx:TileList component to display the pictures in a folder. What would I put as the data provider? and what would I put in the item renderer?
Item Renderer:
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml"
horizontalAlign="center"
verticalAlign="middle">
<mx:Image source="" />
<mx:Label text="" />
</mx:VBox>

Hi,
Here are some links for displaying images in TileList. Hope this will help you
http://blog.flexexamples.com/2008/03/08/creating-a-simple-image-gallery-with-the-flex-tile list-control/
http://www.adobe.com/devnet/flash/quickstart/tilelist_component_as3.html
Thanks and Regards,
Pooja Kuber | [email protected] |http://www.infocepts.com

Similar Messages

  • Listing folder contents as alias list

    the list folder command returns a list of filenames,
    however I need something that returns a list of full fledged file references.
    This:
    [set foldercontents to contens of (choose folder)]
    works by returning a list of document files with full paths. It does seem like an alias list:
    get every document file of alias "HD:temp:"
    {"HD:temp:file1", "HD:temp:file2","HD:temp:file3"}
    But when I try to use it to concatenate another alias list, such as
    set mylist to {}
    repeat with ct from 1 to count of items in foldercontents
    if (something)
    set mylist to mylist & item ct of foldercontents
    end if
    end repeat
    the result is
    get document file "file1" of folder "temp" of startup disk
    "Finder got an error: Unknown object type."
    why?
    and how can this be circumvented?
    TIA
    Asu

    01. At least, on my MacOS X 10.4.4 based PowerMac ...
    tell application "Finder" to set my_List to contents of (choose folder)
    ,,, results with an alias path of the selected folder; not a list of the folder's contents. If possible, I will try the above code on other Macs.
    02. The following code ...
    set source_Folder to (path to desktop folder from user domain)
    tell application "Finder" to set my_List to every item of folder source_Folder
    ... or ...
    tell application "Finder" to set my_List to every item of (choose folder)
    ... will produce a list of all items in the selected folder. In a 'document file [or 'folder'] "..." of folder "..." of folder "..." ... of application "Finder"' format.
    03. For a list of the 'alias "..."' format, use either ...
    set nList to {}
    tell application "Finder" to set my_List to every item of (choose folder)
    repeat with i in my_List
    copy (i as alias) to end of nList
    end repeat
    my_List & return & return & "----------------" & return & return & nList
    ... or ...
    tell application "Finder" to set my_List to every item of (choose folder)
    repeat with i from 1 to (count my_List)
    set (item i of my_List) to ((item i of my_List) as alias)
    end repeat
    my_List
    ... For only 'file's use ...
    tell application "Finder" to set my_List to every file of (choose folder)
    repeat with i from 1 to (count my_List)
    set (item i of my_List) to ((item i of my_List) as alias)
    end repeat
    my_List
    04. To concatenate two (2) lists (of every item) ...
    tell application "Finder" to set folder01 to every item of (choose folder)
    tell application "Finder" to set folder02 to every item of (choose folder)
    set new_List to {}
    repeat with i from 1 to (count folder01)
    copy ((item i of folder01) as alias) to end of new_List
    end repeat
    repeat with i from 1 to (count folder02)
    copy ((item i of folder02) as alias) to end of new_List
    end repeat
    folder01 & return & return & "----------------" & return & return & folder02 & return & return & "----------------" & return & return & new_List
    05. To concatenate two (2) lists (of every file) ...
    tell application "Finder" to set folder01 to every file of (choose folder)
    tell application "Finder" to set folder02 to every file of (choose folder)
    set new_List to {}
    repeat with i from 1 to (count folder01)
    copy ((item i of folder01) as alias) to end of new_List
    end repeat
    repeat with i from 1 to (count folder02)
    copy ((item i of folder02) as alias) to end of new_List
    end repeat
    folder01 & return & return & "----------------" & return & return & folder02 & return & return & "----------------" & return & return & new_List
      Mac OS X (10.4.4)  

  • List folder content

    I want to list the files that are inside a specific folder.
    Is there a way of listing a folder content?
    Thanks

    The File class has a list() method that returns an array of strings naming the files and directories in the directory.

  • Bookmark drag down list difficulty-folder contents overlay folder list

    Previous Firefox versions: Bookmark folders drag down in column list, contents of each folder appear in column to right of the folder list, similar to arrangement of an outline page with each subcategory tabbed over.
    New version: Contents of folders appear as I scroll down through the folder column, preventing me from seeing the next folder in column. E.G. As I scroll down past "Business" to get to my "Travel" folder, contents of business folder open on top of the main folder column preventing me from dragging down further to Travel.

    I do agree. Mine is not *perfectly* fixed neither. When the folder’s contents list is wide and contains subfolders, the cursor needs to go completely above or below those subfolder’s contents to be released from displaying it. I can readily imagine how yours is not practical.
    But mine is decent enough that I am going to live with it for now, hoping that the prior functionality (which is normal behavior IMO) is restored in an upcoming release.
    Trying to describe this gives me a newfound appreciation for those who practice the craft of technial writing.

  • PRINTING A FOLDER CONTENTS LIST?

    I'm trying to print the contents list of a folder as we used to be able to do in system 9. I'm aware of dragging the folder onto my printer icon that I've placed in my menu bar. That works fine but only shows me the folders contained within the main folder. It will list the contents of any sub folders within the main folder even if I open these folders in the finder to reveal contents on the screen. Am I missing something or is doing a screengrab the only way to get a printed list of a folder's contents?
    Thanks,
    Bruce

    There's a free utility Print Window at versiontracker.com.
    Or, drop the folder on TextWrangler (also freeware) and print from there.

  • Folder Content Listed in Content Area

    I understand that this is an issue that was fixed from a previous version, but I will give it a shot anyway.
    I would like to direct the folder content to open in the "content" area NOT in the portlet when I select a folder, but apparently this was something that was fixed in 3.0.8. Does anyone know if there is a way to get it back the old way?

    Hi Dharam,
    This can be achieved by selecting the object types (eg Folders, Documents, Bookmarks, Notes etc) that you want to use in a collaboration.
    If you are a cFolders administrator, you can define which object types are to be used across the entire system on the General tab page under cFolders Administration.
    If you are not a cFolders administrator but have administration authorization for a collaboration, you can change this default setting for the relevant collaboration. To do this, proceed as follows:
    Go to the collaboration detail screen and choose Object Types. A list of all object types appears. By default, the objects that have been selected under cFolders Administration are already selected. You can select the objects that have not been selected under cFolders Administration as required.
    Change this selection if necessary. You can select exactly those object types that you want to be used in your collaboration. The system-wide default is not affected by this.
    Regards
    Deepak

  • Setting up to View Folder Contents in Browser

    I have placed 40 jpg images in a folder on my web site. How
    can I let visitors view the file names (folder contents) &
    select an image by name.
    I hate to have to make a page & enter all 40 image file
    names with links to the files. Is there a better way to do this?
    Thanks,
    Dennis

    On Tue, 25 Jul 2006 20:34:34 +0000 (UTC), "dvhughes"
    <[email protected]> wrote:
    >I have placed 40 jpg images in a folder on my web site.
    How can I let visitors
    >view the file names (folder contents) & select an
    image by name.
    >
    > I hate to have to make a page & enter all 40 image
    file names with links to
    >the files. Is there a better way to do this?
    You could enable directory browsing in the directory, but
    then you'll
    need to accept the rather ugly server default index page. If
    it were me,
    I'd write a short script that read the directory and
    displayed a more
    attractive listing. How you would go about that would depend
    on what
    server scripting language(s) you have available on the
    server.
    Gary

  • How to list the contents of an OSX directory, and output to text file?

    hello there any hints with any known program that does following
    I have recorded my music directory to DVD and now i would like to make an .txt file what the dvd contains...cos its way of hand to write all 100xx files by hand...
    How to list the contents of an OSX directory, and output to text file?
    any prog that does that? any hints?
    best regards

    This script makes a hierarchical file listing all files in a folder and subfolder:
    Click here to launch Script Editor.
    choose folder with prompt "Choose a folder to process..." returning theFolder
    set theName to name of (info for theFolder)
    set thepath to quoted form of POSIX path of theFolder
    set currentIndex to theFolder as string
    do shell script "ls -R " & thepath returning theDir
    set theDirList to every paragraph of theDir
    set newList to {"Contents of folder \"" & theName & "\"" & return & thepath & return & return}
    set theFilePrefix to ""
    repeat with i from 1 to count of theDirList
    set theLine to item i of theDirList
    set my text item delimiters to "/"
    set theMarker to count of text items of thepath
    set theCount to count of text items of theLine
    set currentFolder to text item -1 of theLine
    set theFolderPrefix to ""
    if theCount is greater than theMarker then
    set theNestIndex to theCount - theMarker
    set theTally to -1
    set theFilePrefix to ""
    set theSuffix to ""
    repeat theNestIndex times
    set theFolderPrefix to theFolderPrefix & tab
    set theFilePrefix to theFilePrefix & tab
    if theTally is -1 then
    set theSuffix to text item theTally of theLine & theSuffix
    else
    set theSuffix to text item theTally of theLine & ":" & theSuffix
    end if
    set currentIndex to "" & theFolder & theSuffix
    set theTally to theTally - 1
    end repeat
    end if
    set my text item delimiters to ""
    if theLine is not "" then
    if word 1 of theLine is "Volumes" then
    set end of newList to theFolderPrefix & "Folder: > " & currentFolder & return
    else
    try
    if not folder of (info for alias (currentIndex & theLine & ":")) then
    set end of newList to theFilePrefix & tab & tab & tab & "> " & theLine & return
    end if
    end try
    end if
    end if
    end repeat
    open for access file ((path to desktop as string) & "Contents of folder- " & theName & ".txt") ¬
    with write permission returning theFile
    write (newList as string) to theFile
    close access theFile

  • Archive's list of contents could not be created

    Just started having this problem today after running OS updates.
    When I select a folder and create archive (file menu and contextual menu) I receive this error: "Archive's list of contents could not be created" and the zip archive fails to be created.
    Tested empty folders, folders with various files, etc. and searched for answers here but couldn't find any similar posts.
    Any help would be most welcome.
    G5   Mac OS X (10.4.8)  

    Repair permissions with Disk Utility, restart, and see if the problem persists. If so, create another admin user account, log into it, and try to make an archive.

  • Sync error with Workspace "Data in this list references content type "", which is no longer in the list schema"

    Dear,
    I saved a document library containing folders and files as a template to use it as a template when I created a document library.  It contains a lot of folders and files.
    When I tried the document library to sync with workspace it gives an error "Data in this list references content type "", which is no longer in the list schema"
    I checked with this error and I found out that it has issue with onenote file, but my library does not contain any onenote file. 
    I wonder if there is any issue regarding the number of folders to sync at a time because when I tried to sync with document library similar to the big library but lesser folders and files. 
    Thanks

    This is caused by certain OneNote files.  I've filed a support ticket on this.  See my
    post on possible workarounds.  You might view the entire library in windows explorer or flatten the folder structure in a view to confirm that there are not any OneNote related files.
    Corey Roth blog: www.dotnetmafia.com twitter:
    @coreyroth

  • When I upload pictures to my Air, they end up in a Pictures folder but not in iPhoto? How can I make the folder contents automatically go to iphoto?

    I recently had to get a new hard drive installed on my Air.  Now the contents of the Pictures folder are not in iPhoto.  This never happened with my old hard drive.   What do I need to do so that my pictures automatically go to iphoto.   PLUS, there are now two Pictures folders....

    List the contents of the two Pictures Folders?
    Regards
    TD

  • Unable to Archive-list of contents cannot be created

    Hello all,
    I have a problem that I just noticed. I am attempting to create a .zip archive of a folder of pictures. I right-click the folder in the Finder and select "Create Archive of folder". This gives me a message with the header Copy that states "The archive's list of contents cannot be created." and an OK button.
    At first I thought that maybe the folder was too large. I tried the same steps on an individual text file and got the same error message. I tried copying the file to a different drive and still no joy. I created a new admin and normal user accounts and was unable to create any archives and received the same error message as above.
    Does anyone have any clue as to the steps I should follow to correct this issue?

    Charles, your post certainly pointed in a good direction. After posting my question, I went back and reviewed everything that I had changed or installed over the last few days. It turns out that the beta version of Little Snitch causes permission errors. Similar to the posts on MacOSXHints, my /tmp folder suddenly became visible and showed as being owned by the staff group that I was no longer a part of. Uninstalling the Little Snitch program and repairing permissions has re-enabled archiving within the Finder. I've also posted a bug report to the developers of Little Snitch to see if they could look into the issue.
    Thanks again for the advice.

  • Printing Finder (Folder) Contents

    I often have need to print the contents of a folder as it appears in the finder (i.e. print the finder window or some list of filenames in the folder). There is no "Print" command in the file menu when a window is open. I have been taking snapshots of various views, but sometimes end up with multipl snapshots.
    Is anyone aware of another way to do this?
    Thanks in advance!

    Just boot into OS9 it has the capability... J/K!
    OK, here's a few ways...
    http://www.macosxhints.com/article.php?story=20060720174103802
    http://www.macosxhints.com/article.php?story=2004020716455773
    http://mac.softpedia.com/progDownload/Print-Folder-Contents-Download-27645.html

  • Print screen/folder contents

    I would like to print a list of all the contents in a folder (not the documents themselves, just the list of contents). I do not have a print screen button on my keyboard. Is there a way to do this? Thank you.

    Resize the window and click triangles so that everything you want to print is visible on the screen, and then press the Shift, Command, and 4 keys simultaneously. Next, press the space bar, click in the window, open the newly created file on your desktop, which is a PNG by default in Tiger, and print it.
    (18238)

  • Distribution list folder, what table is it in?

    Hello all,
    I am creating a report that will list all of the distribution lists, along with the content of the list.  I've tracked down the name, description, and contents.  But I have been unable to find the name of the folder in which the distribution lists were created.  I started with tables SOID and SOOD.
    Can someone tell me how to determine the folder name?
    Thanks
    Bruce

    Bruce,
    Check SOOF  SAPoffice: object folder
    SOFD     SAPoffice: Object Definition
    SOFM     SAPoffice: Folder contents
    SOOD     SAPoffice: Object definition
    SOUD     SAPoffice: user definition
    K.Kiran.

Maybe you are looking for

  • Session state and item values

    Hi, Is it any possibility to bring the session state and an item value to a table? Thank you

  • Can two different itunes libraries share music on iPad

    My husband and I both have our own Itunes accounts and associated music libraries. Mine is on my home computer and his is at work. We just got an iPad for our family. Going forward, we will use his iTunes account to make any new purchases. However, w

  • Multiple Oracle home

    Hi , I have some doubt which needs to be cleared. If I will install multiple oracle home like ORACLE_HOME=/u01/app/oracle/product/10.1.0/asm ORACLE_HOME=/u01/app/oracle/product/9.2.0 ORACLE_HOME=/u01/app/oracle/product/10.2.0 ORACLE_HOME=/u01/app/ora

  • Why does Yosemite crash to logon after waking up (+ Safari crashes)

    Since Yosemite even a freshly installed OSX crashes to Logon on my MacBook Pro, mid 2010, 8Gig, Safari crashes all the time and in general the performance is sub par. Here's my etrecheck: Problem description: * after waking up, the system keeps crash

  • Which Iphone I should get, 5 or 4s

    Which Iphone should I get?