Hi all,
Im trying to build chess in 3D and I am detecting whats under the
mouse loc or not and in turn change its 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 dont need to
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
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
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
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]
-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
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.
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.
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.
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
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
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
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,
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
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
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
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
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
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
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
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.
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
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
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
24 matches
Mail list logo