lingo-l mouseunderloc changing shader depending ???

2002-03-08 Thread Kevin Mccarthy
Hi all, I’m trying to build chess in 3D and I am detecting what’s under the mouse loc or not and in turn change it’s color, but am having difficulty in a small section: if (whichmodel.name) cone01 then I would like to say ‘or’ another model , so I can refer to more models that don’t need to

Re: lingo-l mouseunderloc changing shader depending ???

2002-03-08 Thread Irv Kalb
Try: if (whichModel.name cone01) and (whichModel.name cone02) then But if you want a general solution, then the list idea works well: listOfNames = ['cone01, cone02, someOtherName, yetAnothername, ...] where = getOne(listOfNames, whateeverYouWantToTestFor) if where 0 then

lingo-l xml file xml xtra - african swallows may be holding my file hostage

2002-03-08 Thread Evan Adelman
Hi list - I'm having a fun little problem -- an xml object holding on to an xml file w/ a death grip. It (either Director or the xml object) won't let it go until I quit director. Unfortunately, this poses a bit more of a problem than just an inconvience cause I'd like my projector to delete

lingo-l Parsing help PLEASE !

2002-03-08 Thread Jayp
Hi all, desperate for help. Ive got an email address combined with an extention .txt Ie: [EMAIL PROTECTED] how do I parse this to STIP the .TXT off. Thanx Ive been sat here hours.. JAYP [To remove yourself from this list, or to change to digest mode, go to

RE: lingo-l mouseunderloc changing shader depending ???

2002-03-08 Thread Jayp
Im going to attempt a similar game What sort of logic do u use for a game like this Do u build a list of say 1,1, 1,2, 1,3 Representing locationd... Are u using a tile. How do u handle all the possibilities?? Thanx Jayp -Original Message- From: [EMAIL PROTECTED]

RE: lingo-l xml file xml xtra - african swallows may be holding my file hostage

2002-03-08 Thread Stephane Comeau
-Original Message- From: Evan Adelman [mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 9:46 AM To: [EMAIL PROTECTED] Subject: lingo-l xml file xml xtra - african swallows may be holding my file hostage Hi list - I'm having a fun little problem -- an xml object

Re: lingo-l xml file xml xtra - african swallows may beholding my file hostage

2002-03-08 Thread Jakob Hede Madsen
At 10:46 -0700 2002_03_08, Evan Adelman wrote: Hi list - I'm having a fun little problem -- an xml object holding on to an xml file w/ a death grip Are you feeding the file into the xmlParser by parseURL? You could use fileIO to read the entire file, and use xmlObject.parseString() instead.

RE: lingo-l xml file xml xtra - african swallows may be holding my file hostage

2002-03-08 Thread Ken Prat
What about reading the file in with GetNetText and then parsing the xml string returned? I assume you are using parseURL. I'm having a fun little problem -- an xml object holding on to an xml file w/ a death grip. It (either Director or the xml object) won't let it go until I quit director.

Re: lingo-l xml file xml xtra - african swallows may be holdingmy file hostage

2002-03-08 Thread grimmwerks
Laden or unladen swallows? [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.

Re: lingo-l Parsing help PLEASE !

2002-03-08 Thread Evan Adelman
Hi all, desperate for help. Ive got an email address combined with an extention .txt Ie: [EMAIL PROTECTED] assuming this email addy is in a string? if so emailAddy = [EMAIL PROTECTED] emailAddy = emailAddy.char[1..emailAddy.char.count-4] --get rid of last .txt how do I parse this to

Re: lingo-l Parsing help PLEASE !

2002-03-08 Thread Buzz Kettles
on stripExten str all = str.length some = all-4 return str.char[1..some] end then use put stripExten([EMAIL PROTECTED]) -- [EMAIL PROTECTED] hth -Buzz At 6:02 PM + 3/8/02, you wrote: Hi all, desperate for help. Ive got an email address combined with an extention .txt Ie: [EMAIL

RE: lingo-l mouseunderloc changing shader depending ???

2002-03-08 Thread Kevin Mccarthy
Ok I have it working like this at the moment: On exitaction me, whichmodel if (whichmodel.name) cone01 then if (whichmodel.name) ROOKPLY1R then if (whichmodel.name) ROOKPLY1L then if (whichmodel.name) ROOKPLY2R then if (whichmodel.name) ROOKPLY2L then

RE: lingo-l mouseunderloc changing shader depending ???

2002-03-08 Thread Kevin Mccarthy
Can you explain this bit clearer please.. where = getOne(listOfNames, whateeverYouWantToTestFor) if where 0 then -- found it else -- not in the list end if for instance if I make the list in my on beginsprite: listOfNames = list(cone01, ROOKPLY1R,

RE: lingo-l mouseunderloc changing shader depending ???

2002-03-08 Thread Irv Kalb
GetOne returns where in a list it found a match of the thing you are looking for - or zero if it doesn't find it. So, here's what you do. Set up your list in a beginSprite handler, but save it in a property variable. Then, where you are doing your check, refer to this list: property

Re: lingo-l xml file xml xtra - bribery w/ coconuts workssuprisingly well

2002-03-08 Thread Howdy-Tzi
At 12:08 -0700 03/08/2002, Evan Adelman wrote: When initially defining variables in Lingo, is it a good idea to set them to VOID, or 0 prior to assigning the object (XML xtra, FileXtra3, any parent script)? It's not actually necessary, but it is *extremely* good practice, to set your vars to

lingo-l simple prop list question

2002-03-08 Thread Nmuta Jones
OK I have narrowed the problem down to its simplest form. where gturn is a variable for the turn of a current player, Director will recognize put ginventorylist[gturn].fish -- (fish is a property in the proplist) but it WONT do put ginventorylist[gturn].ganimal -- (ganimal is a variable that

RE: lingo-l mouseunderloc changing shader depending ???

2002-03-08 Thread Kevin Mccarthy
Thankyou! Thankyou! Thankyou! Thankyou! Thankyou! Thankyou! Thankyou! Thankyou! Thankyou! Thankyou! Thankyou! Thankyou! Thankyou! Thankyou! Thankyou! Thankyou! Thankyou! Thankyou! Thankyou! Thankyou! Thankyou! Thankyou! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

lingo-l disregard last message--i got it

2002-03-08 Thread Nmuta Jones
i got it. fyi, this works: global gconverter gConverter= value (# (ganimalname))--concatenates stuff put getprop(ginventorylist[gturn], gConverter)--extracts value that retrieves the value I want. sorry to bother. nj _ Chat

Re: lingo-l simple prop list question

2002-03-08 Thread Howdy-Tzi
At 20:35 + 03/08/2002, Nmuta Jones wrote: nMuta, are you aware you're CCing grimmwerks in your notes? That's probably not strictly required, as he's subscribed to Lingo-L already. ;) OK I have narrowed the problem down to its simplest form. where gturn is a variable for the turn of a

lingo-l On off button

2002-03-08 Thread Mercedes Rossetti
Hi alll: I am aware this sounds very simple to you but it's the Himalayas for me who's just starting. I need to have a button that will display text when clicked and hide it when clicked again. This is PC and Director 8. Thanks a lot for your help. Mercedes gegoo.com [To remove yourself from

Re: lingo-l On off button

2002-03-08 Thread Howdy-Tzi
At 18:59 -0300 03/08/2002, Mercedes Rossetti wrote: I am aware this sounds very simple to you but it's the Himalayas for me who's just starting. Welcome to the joys of lingo! I need to have a button that will display text when clicked and hide it when clicked again. This is PC and Director 8.

Re: lingo-l Microsoft Visual C++ Runtime Library

2002-03-08 Thread Jason Je
Hi... Any Xtra you are using for the project??? Just wondering... Jason _ Chat with friends online, try MSN Messenger: http://messenger.msn.com [To remove yourself from this list, or to change to digest mode, go to

lingo-l Re: HOW TO POST TO LINGO-L

2002-03-08 Thread Tony Bray
At 12:01 -0500 8/3/02, Tab Julius [EMAIL PROTECTED] wrote: To post to Lingo-L, messages must be sent in plain text - no special fonts, styles, formatting, html, or attachments. Your email program must be set to send in plain text only. The best bit of news since ?? Good one -- Regards

lingo-l (no subject)

2002-03-08 Thread mitesh gajjar
Hi friends, i got error of illegaloperation error in detail it shows Flashassets.x32 error i am using director 8.0 flash 5 so please give me solution.i download net flash assets form net used. how can i solve it fast help me i m in great trouble tention. sorry i m sending u mail at your