Stackrunner

Devin Asay devin_asay at byu.edu
Wed Nov 17 14:49:58 EST 2010


On Nov 17, 2010, at 12:36 PM, Peter Haworth wrote:

> I'm not 100% sure how to do this.  I guess it means finding where the  
> image library stack is then issuing a command of some sort when my app  
> starts up to bring that stack into my stack file?

That's the general idea. You find the stack that contains the images you are using as button icons, make a copy of it, then include it with your mainstack. You could even make it a substack of your mainstack to keep it in the same stack file. Then, in the stack that uses the images, include the statement, probably in a preOpenStack handler:

  start using stack "myIconStack" --or whatever it's called.

Once you do that all images in the used stack are available to be used in the calling stack.

Devin


> On Nov 17, 2010, at 11:24 AM, Devin Asay wrote:
> 
>> 
>> On Nov 17, 2010, at 12:22 PM, Peter Haworth wrote:
>> 
>>> Thanks.  It will be a huge amount of work for me to change icon
>>> numbers everywhere so I guess Stackrunner won't work for me.  Oh  
>>> well!
>> 
>> Pete,
>> 
>> You could include the Image Library stack with your stack and start  
>> using it when it's opened by Stack Runner.
>> 
>> Devin
>> 
>> 
>>> 
>>> Pete Haworth
>>> 
>>> On Nov 17, 2010, at 11:02 AM, J. Landman Gay wrote:
>>> 
>>>> On 11/17/10 11:45 AM, Peter Haworth wrote:
>>>>> Just started using this and very happy but have come across a  
>>>>> problem
>>>>> regarding button icons. I imported a set of icons into the image
>>>>> library
>>>>> in the IDE and refer to the icon numbers within the Image Library
>>>>> when
>>>>> specifying icons for buttons. All works fine in the IDE and
>>>>> standalone
>>>>> but in Stackrunner the icons are not displayed and the buttons are
>>>>> invisible. I can click on them OK (if I guess where they are!). Any
>>>>> ideas as to why this might be happening?
>>>> 
>>>> The IDE and the standalones it builds know about the image library,
>>>> but StackRunner does not. The best way to make your images always
>>>> available is to import them directly into your stack (the IDs will
>>>> change) and refer to the embedded image IDs as your icons. Those
>>>> will work anywhere.
>>>> 
>>>> -- 
>>>> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
>>>> HyperActive Software           |     http://www.hyperactivesw.com
>>>> _______________________________________________
>>>> use-revolution mailing list
>>>> use-revolution at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>>> 
>>> 
>>> _______________________________________________
>>> use-revolution mailing list
>>> use-revolution at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your  
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>> 
>> Devin Asay
>> Humanities Technology and Research Support Center
>> Brigham Young University
>> 
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your  
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University




More information about the use-livecode mailing list