On 19/6/01 6:21 pm, Craig Spooner <[EMAIL PROTECTED]> wrote:

> I'm sorry to post this again, but I got no reponse the first time and
> wonder if anyone has ever tried to do something like this.  Any ideas
> would be welcome!

It should be possible to do this, but it won't be straightforward.  You need
to figure out where in the file the icon is stored.  Could might get
somewhere by checking out the standalone builders scripts to see if they
provide some help with this.  The other way to go about it is to set an
application icon of some app to an .ico file using an icons editor, then
search for that binary file in the standalone.  You'll definately be able to
solve this problem, it will just take a bit of digging.

Next up you need to display the icon.  Unfortunately, .ico is not a format
supported by Quicktime or the MC engine, so you'll need to write a decoder
to do that.  I expect you should be able to script it using the new
imageData property in 2.4 (given you're only displaying an icon performance
should be OK), but you'll need to find a document or someone who understands
how the file works.

Good luck!

Regards,

Kevin

Kevin Miller <[EMAIL PROTECTED]> <http://www.runrev.com/>
Runtime Revolution Limited - Power to the Developer!
Tel: +44 (0)131 718 4333.  Fax: +44 (0)1639 830 707.


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to