R: Re: export icons..

baccheschi at tin.it baccheschi at tin.it
Fri Dec 31 09:02:02 EST 2010





----Messaggio originale----
Da: jacque at hyperactivesw.com
Data: 30-dic-2010 20.07
A: "How to use LiveCode"<use-livecode at lists.runrev.com>
Ogg: Re: export icons..

On 12/30/10 10:15 AM, Richard Gaskin wrote:
> baccheschi wrote:
>
>  > may tell me, please, if and how is it possible to export from
>  > a stack to another the icons..?I am trying to rewrite an old
>  > stack of HyperCard and i would use its icons..Thanksmario
>
> HC icons are stored as resources in the legacy Mac OS resource fork.
>
> Good news: You can use LiveCode's built-in getResources function to
> obtain a list of resources in a file, and use the getResource function
> to obtain the actual image data for the icon.
>
> Bad news: I have no idea how to translate that bitmap data into a form
> that will work well in a LiveCode image object.
>
> Anyone here know how do to that?

I extracted the HC icons and saved them to a stack quite a while ago. I 
just uploaded it to RevOnline. Anyone who needs the original HC icons 
can search there for a stack called "HC Icons".

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Many thanks for "HC icons"..
I need to learn how use the  getResources function...because the HypCardstack i would use has many icons  different from HC greetings
mario 


More information about the Use-livecode mailing list