Placing one group many times in the same card

Scott Rossi scott at tactilemedia.com
Wed Mar 30 13:14:38 EST 2005


Recently, Alejandro Tejada  wrote:

>> If I understand what you're trying to do,
>> you could place a button in the
>> group which references the source image
>> (offscreen or in a substack) as an
>> icon.  That way you could have 100+
>> references to the same image with
>> virtually no additional filesize.
> 
> Hi Scott,
> 
> Thanks a lot for your response! :-)
> 
> You are right, buttons are the free ticket
> to reference images in RR, but in my "animated"
> group, i've vector graphics too.
> 
> These vector graphics have scripts
> to start or stop the animation, or change ink effects
> with mouse over or mouse enter interaction.
> 
> Although i could resort to frontscripts or
> stackscript or cardscript to manage these handlers,
> still i'm left with many vector graphics that had to
> be recreated within each new instance of the
> "animated" group.

Could the vector graphics reside in their own group, which is then nested
within the image group?  That way you could reference all the controls once.

Also, I think front scripts or at least centralized stack scripts are the
way to go -- easier to maintain.


> Any ideas about how to copy the same group
> many times in the same card? is this possible
> at all?

I don't think this is possible but maybe restructuring your stack some way
might get you closer to a solution.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com



More information about the use-livecode mailing list