Instead of cloning the card, which has it's own nuances, I would simply trap
the newCard message in the stack script and create the image object, set it's
script, size and position it, then send a mouseUp to it. That way your
background group will work as expected.
Bob
On Dec 11, 2010, at 4:
OK yes, in your case, the image should reside outside the group, and the
sharedText property should be disabled for the field/s. Cloning the card
should work fine. Again a strong reason to use groups is because you need
one instance of something across multiple cards, which will work for the
fiel
I was unaware of the group behavior that if I changed the image on one
card, I would change the image on all cards containing that group. To
answer your question, I am after multiple images across multiple cards.
The user experience I'm after is for the user to click a button "Create
New card
On Dec 10, 2010, at 11:28 PM, Scott Pepperdine wrote:
The image script is:
on mouseup
answer file "Select your file:"
if it is empty exit to top
set the filename of image "image" to it
end mouseup
The group script is as follows ( just to prove to me this what was
happening:
on mouseu
cripts associated with the other fields in the group, so it would
>>> be best if the script can be associated with the image.
>>>
>>> Thanks for the reply.
>>>
>>> On 12/10/2010 5:51 PM, jonathandly...@gmail.com wrote:
>>>
>>>&
Recently, Scott Pepperdine wrote:
> The image script is:
> on mouseup
> answer file "Select your file:"
> if it is empty exit to top
> set the filename of image "image" to it
> end mouseup
>
> The group script is as follows ( just to prove to me this what was
> happening:
> on mouseu
s it need to
be in the image?
--Original Message--
From: Scott Pepperdine
Sender: use-livecode-boun...@lists.runrev.com
To: How to use Revolution
ReplyTo: How to use LiveCode
Subject: How to select image object instead of group
Sent: Dec 10, 2010 6:36 PM
I have an image object that is par
on Wireless BlackBerry
>
> -Original Message-
> From: Scott Rossi
> Sender: use-livecode-boun...@lists.runrev.com
> Date: Fri, 10 Dec 2010 17:19:03
> To: How to use LiveCode
> Reply-To: How to use LiveCode
> Subject: Re: How to select image object instead of gro
On 12/10/10 6:53 PM, Scott Pepperdine wrote:
I have scripts associated with the other fields in the group, so it
would be best if the script can be associated with the image.
I can't reproduce it. I grouped an image with a button and field, put a
script in the image, and clicking it triggers t
17:19:03
To: How to use LiveCode
Reply-To: How to use LiveCode
Subject: Re: How to select image object instead of group
What's being triggered in the group: a mouseDown or mouseUp handler, or
something similar? It must be something common to both the image and the fields.
If I understand
:
>> I have had this happen, and I just put the script in the group. Does it need
>> to be in the image?
>>
>> --Original Message--
>> From: Scott Pepperdine
>> Sender: use-livecode-boun...@lists.runrev.com
>> To: How to use Revolution
>> ReplyT
roup. Does it
>> need to be in the image?
>>
>> --Original Message--
>> From: Scott Pepperdine
>> Sender: use-livecode-boun...@lists.runrev.com
>> To: How to use Revolution
>> ReplyTo: How to use LiveCode
>> Subject: How to select image object instead of group
the image?
--Original Message--
From: Scott Pepperdine
Sender: use-livecode-boun...@lists.runrev.com
To: How to use Revolution
ReplyTo: How to use LiveCode
Subject: How to select image object instead of group
Sent: Dec 10, 2010 6:36 PM
I have an image object that is part of a background
I have had this happen, and I just put the script in the group. Does it need to
be in the image?
--Original Message--
From: Scott Pepperdine
Sender: use-livecode-boun...@lists.runrev.com
To: How to use Revolution
ReplyTo: How to use LiveCode
Subject: How to select image object instead of
I have an image object that is part of a background group, so when I
create a new card, there it is along with a number of other fields.
But when I click the image object, its script is not activated, but
rather the script of the group it belongs to.
What do I need to study to make the image sel
15 matches
Mail list logo