Default Card

Andres Martinez andres at bakno.com
Tue Sep 2 19:50:31 EDT 2008


Hi Phil

I tried that before and it does not work.

Regards,
Andres Martinez
www.baKno.com

On Sep 2, 2008, at 6:51 PM, Phil Davis wrote:

> Andres Martinez wrote:
>> Hello
>>
>> I have a simple script that refer to controls on the same card.
>>
>> For instance:
>> show image "car.jpg"
>> But larger and referring to several different objects.
>>
>> However, on the same script I open an external stack and copy some  
>> controls back to the original card, and
>> I close that external stack. And after this is executed all  
>> references do not work on that simple form.
>>
>> Instead, I need to change the code to...
>> show image "car.jpg" of card "X" of stack "Y"
>>
>> Is there a way to get the default card back to the original one?
>
> Hi Andres,
>
> The simplest way is to add this line:
>   go to stack "y"
> so it is executed immediately after you close the external stack.  
> Then your short references should work. (I assume card 'x' is the  
> current card of stack 'y'. If not, let your new line of code say "go  
> to cd 'x' of stack 'y')
>
> Phil Davis
>
>
>>
>> Thanks
>> Andres Martinez
>> baKno
>>
>> _______________________________________________
>> 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
>>
>
> -- 
> Phil Davis
>
> PDS Labs
> Professional Software Development
> http://pdslabs.net
>
> _______________________________________________
> 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




More information about the use-livecode mailing list