RE: Re: Property description Lists

2001-02-07 Thread Karina Steffens
Brennan, > It also gets executed twice (first time 'silently') when you > drop it on > a sprite. This only matters if you put code in there which > you expect to > be called once, such as a call to fileIO's displayOpen(). That explains a lot... I tried using fileIo when I was just getting start

Re: Property description Lists

2001-02-07 Thread Brennan Young
"Mark R. Jonkman" <[EMAIL PROTECTED]> wrote > The on getPropertyDescriptionList only executes once, when you drop the > behaviour onto a sprite, you can invoke it the dialogue after you have > dropped it on the sprite by locating the behaviour attached to the sprite > and choosing parameters from

RE: Property description Lists

2001-02-07 Thread Karina Steffens
> Hi Karina and all, Hi Sebastien :) > Another one which is geat is #color. At last you'll find the > utility of the D8 property inspector, where this property > prompt a color selector. (gpdl dialog still ask you for a string). > I loves this feature! I must be getting senile... I thought I m

RE: Property description Lists

2001-02-06 Thread Sébastien Portebois
Hi Karina and all, At 15:43 05/02/2001, you wrote: >2. The format can contain any data type that director can recognise,(...) > >gpdl[#pString] = [#comment:"This is a string", #format:#string, #Default: >"Hello World") Another one which is geat is #color. At last you'll find the utility of the

RE: Property description Lists

2001-02-05 Thread Kerry Thompson
>Are you base down under >in Aussie land, your emails always come in about this time. Nope--California. I just work too much :-) Cordially, Kerry Thompson Learning Network [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/lingo-l.cgi To post m

RE: Property description Lists

2001-02-05 Thread Merlin
: [EMAIL PROTECTED] Subject: RE: Property description Lists >To use the "addProp" function would it replace the value selected when >initially selecting a value through the behavior. Kinda. Like this? x=[:] put x -- [:] x.addprop(1,1) put x -- [1: 1] x.addprop(2,2) put x -- [1: 1, 2:

RE: Property description Lists

2001-02-05 Thread Karina Steffens
Just a couple of things to add to everything that's already been said on the subject: 1. There's a shorter dot syntax alternative to the addProp function. By using the syntax list[#prop] = "something" you can actually add new properties to a property list, as well as setting new values to propert

Re: Property description Lists

2001-02-05 Thread Florian Bogeschdorfer
gt; Jonathan > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Lists > Sent: 04 February 2001 21:01 > To: [EMAIL PROTECTED] > Subject: Re: Property description Lists > > On 2/5/01 4:51 AM, Merlin ([EMAIL PROTECTED]) sent: > >

Re: Property description Lists

2001-02-05 Thread Florian Bogeschdorfer
This creates a new property list, which is empty. Florian Merlin schrieb: > > Thank you all, those were great examples. > > I think I've got the idea now. > One final question though, what does this actually do " vPDList = [:] " ? > > Thanks > Jonathan > > [To remove yourself from this list,

RE: Property description Lists

2001-02-04 Thread Kerry Thompson
>To use the "addProp" function would it replace the value selected when >initially selecting a value through the behavior. Kinda. Like this? x=[:] put x -- [:] x.addprop(1,1) put x -- [1: 1] x.addprop(2,2) put x -- [1: 1, 2: 2] x.addprop(1,3) put x -- [1: 1, 2: 2, 1: 3] As you can see, it adds

RE: Property description Lists

2001-02-04 Thread Kerry Thompson
>To use the "addProp" function would it replace the value selected when >initially selecting a value through the behavior. By the way, I would strongly encourage you to make use of the message window to explore Lingo. You'll normally get answers more quickly than waiting for an answer from the

RE: Property description Lists

2001-02-04 Thread Mark R. Jonkman
Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Merlin > Sent: Monday, February 05, 2001 8:33 AM > To: [EMAIL PROTECTED] > Subject: RE: Property description Lists > > > To use the "addProp" function would it replace the

Re: Property description Lists

2001-02-04 Thread Jordan L. Chilcott
on 2/5/01 4:51 AM, Merlin at [EMAIL PROTECTED] wrote: > Thank you all, those were great examples. > > I think I've got the idea now. > One final question though, what does this actually do " vPDList = [:] " ? This creates an empty property list. Usually used to initialise or clear a property li

RE: Property description Lists

2001-02-04 Thread Merlin
ECTED]]On Behalf Of Lists Sent: 04 February 2001 21:01 To: [EMAIL PROTECTED] Subject: Re: Property description Lists On 2/5/01 4:51 AM, Merlin ([EMAIL PROTECTED]) sent: >One final question though, what does this actually do " vPDList = [:] " ? This simply creates an empty pro

Re: Property description Lists

2001-02-04 Thread Lists
On 2/5/01 4:51 AM, Merlin ([EMAIL PROTECTED]) sent: >One final question though, what does this actually do " vPDList = [:] " ? This simply creates an empty property list to allow you to use the "addProp" function to add to it later. Rich [To remove yourself from this list, or to change to di

Re: Property description Lists

2001-02-04 Thread Kerry Thompson
>One final question though, what does this actually do " vPDList = [:] " ? That initializes the variable to an empty property list. Without that, you couldn't add items to it. If it were a linear list, you would use vPDList=[]. The colon tells Director that it's a property list. Cordially, K

RE: Property description Lists

2001-02-04 Thread Mark R. Jonkman
PROTECTED] > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Merlin > Sent: Monday, February 05, 2001 4:52 AM > To: [EMAIL PROTECTED] > Subject: Property description Lists > > > Than

Property description Lists

2001-02-04 Thread Merlin
Thank you all, those were great examples. I think I've got the idea now. One final question though, what does this actually do " vPDList = [:] " ? Thanks Jonathan [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/lingo-l.cgi To post messages

RE: Property description Lists

2001-02-04 Thread Brian Ellertson
Here's a look at a behavior that would set the default blend of a sprite to 10,20,30, or 40. Behavior Start- -- using Director 8 syntax -- property pBlend, pSprite on beginSprite me pSprite = sprite (me.spritenum) pSprite.blend = pBlend end on getPropertyDescriptionList me retur

Re: Property description Lists

2001-02-04 Thread Kerry Thompson
>For exmple if >10 sprites each have a differnt value of either 10, 20, 30, 40. Here's another way of doing it if you want to limit the values to multiples of 10: on getPropertyDescriptionList description = [:] addProp description,#val, [#default:10, #format:#integer, #comme

RE: Property description Lists

2001-02-04 Thread Mark R. Jonkman
PROTECTED] > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Merlin > Sent: Monday, February 05, 2001 1:40 AM > To: Penworks Lingo List > Subject: Property description Lists > > > Hi I am trying to figure out how to create

Re: Property description Lists

2001-02-04 Thread Kerry Thompson
>Hi I am trying to figure out how to create behaviors with Property >description Lists. Possibly could somebody help me create one. For exmple if >10 sprites each have a differnt value of either 10, 20, 30, 40. This behvoir >would then be able to be drop an individual sprite to selec

Property description Lists

2001-02-04 Thread Merlin
Hi I am trying to figure out how to create behaviors with Property description Lists. Possibly could somebody help me create one. For exmple if 10 sprites each have a differnt value of either 10, 20, 30, 40. This behvoir would then be able to be drop an individual sprite to select one of the 4