Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3439964
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T08:22:31+00:00 2026-05-18T08:22:31+00:00

I have a custom file type that I’m reading from and writing to within

  • 0

I have a custom file type that I’m reading from and writing to within an AIR application. The file type is XML based but contains encoded data for an image. I’ve already defined the file type in my application manifest file using the tag which assigns a custom icon to the file.

What I’m trying to figure out is whether it’s possible to set the icon for each individual file to be a preview of the image contained within.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T08:22:31+00:00Added an answer on May 18, 2026 at 8:22 am

    there is nothing in the AIR sdk that will do this. it’s up the operating system of your file to handle the file icons. i mean, you might be able to assign dynamically generated icons to that file, but you would have to create the icon, write it to your applicationStorageDirectory (ideally) and let your app assign the icon from there, assuming you could find a good way to dynamically change your app.xml file to point to your new icon file, which i don’t believe is possible.

    however, if your operating system can change your file icon, you can call native process on the file to handle the change this way.

    for example, under Mac OS X, you can both automatically create and assign a new icon for an image file of the image contained in the file by writing the following command in Terminal:

    $ sips -i FILE_NAME
    

    therefore, if you deploy and AIR application for Mac OS X with a native installer, you can call that command on an image file using a Native Process.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a custom XML file format which can contain blocks of code within
I have defined a custom file type with these lines: syn region SubSubtitle start=+=+
We have a custom section in my app.config file related to our IoC container
I have custom errors configured in my web.config, but IIS 6.0 is returning the
I have a few models that need to have custom find conditions placed on
I have a custom built ajax [div] based dynamic dropdown. I have an [input]
I have a custom control that implements IPostBackEventHandler. Some client-side events invoke __doPostBack(controlID, eventArgs).
I have recently(today) began meddeling with my registry from within Delphi. :) all is
I have a custom data container object of type RowOfPlayerData. When I try to
I've created a custom content type: product This product has an image (cck file

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.