Background behavior
Robert Brenstein
rjb at robelko.com
Thu Jun 2 12:13:58 EDT 2005
>On 6/2/05 1:00 AM, "Pat Trendler" <ptrendler at bigpond.com> wrote:
>
>> Use place background. (see place in dictionary)
>
>Thanks, now the question is, is this the same thing as if it would be done
>on the first card and then added new cards ?
>Hershel Fisch
>>
>> Make the group on the first card you want it to appear.
>> Set its background behaviour to true.
>> Then something like:
>>
>> repeat with x = 2 to 5
>> go to card x
>> place background "mygroup" onto this card
>> end repeat
>>
>> Any new card made directly after card 5 (in this example) will also have the
>> new group.
>>
>> HTH
>> Pat
> > patrend at bigpond.com
It does not really matter on which card you do it, although the above
script will work correctly only if done on the first card. To make it
work from any card change the
get (the number of cards)-1
repeat it times
go next cd
place ...
end repeat
go next cd -- to end up where we started
You probably also want to set the level of this group on each card,
so it is behind other objects.
New cards will have this group placed automatically.
Robert
More information about the use-livecode
mailing list