I'm working on an Adobe Air Desktop App ATM.
My question is how to get the icon for a given file extension, but without actually loading up a file of such type.
I had the idea to just create a blank file for the extension and then delete it once i have the bitmap for its icon, but that seemed like too much trouble and kinda inefficient.
So for example i want to get the icon associated with a .txt file, or .html file. Is their any way of doing such without having to directly reference and existing file , or create a temporary one as mentioned above?