RE: Any way to test for the existence of a slot or attribute in a shared object referenced by Lingo?

2003-01-15 Thread Mark R. Jonkman
Hi James

The answer to your question is yes it is theoretically possible.. whether or
not its supported and whether it will continue to work is another story. The
following is an easy way of doing what you want without Lingo throwing a
script error but it is undocumented and unsupported by Macromedia. Put the
following into a movieScript or adjust for your behaviour:

on mCheckFlashObjectForProp(oFlashObject,symPropName)
  if not(objectP(oFlashObject)) then
return(false)
  end if
  return(oFlashObject.dbgPropList().getPos(symPropName) > 0)
end mListFlashObject

This will allow you to determine whether a property exists on a flash object
before you call it. It will only work "accurately" on flash objects that are
non movieclips and not associated with a movieClip. ie. It won't work with
objects/movieclip "hybrids" that are created with registerClass. It will
work on a movieClip but only to reveal the presence of core movieClip
properties. You can use it to check for the existance of a property on the
__proto__ property of the movieClip to get at a registerClass
movieClip/object hybrid but that does not reveal any undeclared properties
of the object class (to the best of my knowledge). The data revealed by
dbgPropList will give you the exact same data as that displayed by the
object inspector. If you can't see it in the object inspector then you won't
see it by dbgPropList.

For additional detail, dbgPropList gives you a list of all properties (and
in Flash all methods since methods are properties on an object).

for example:
lets say gTextSO is a sharedObject on the server (remote shared object). It
contains a data object which has a textValue and a code property.

gTextSO.Data.dbgPropList() will return:
[#textValue, #code]
as a linear lingo list which you can then perform lingo list manipulations
on as I did in the handler noted above.

For those interested, dbgPropList will work on more than just flash
objects.. but your mileage may vary and I have not tested beyond
flashobjects. For flashObjects, thus far it does work in Shockwave and it
does work in authoring and projector. No additional xtras or anything seem
to be required. This may not hold true for other object types. This seems to
be the only way I have come up with that seems to traverse the explosion of
property does not exist script errors. If someone has a better method that
is more supported then I'd gladly use it. The only other method that I can
think of would be to create a very small flash movie that contains a number
of accessory methods that might be useful, such as one that traverses any
flash object revealing its properties and so forth. Perhaps an encapsulating
function for typeof as that doesn't seem to work either.

But again dbgPropList is unsupported, undocumented Lingo that you are
advised to use at your own risk as it may disappear from future versions. If
they do make it disappear, I sure as heck hope they implement something that
allows us to get around the lingo script errors that you are seeing James.

I hope this helps you James and I hope I haven't broken any cardinal sins.

Sincerely
Mark R. Jonkman

[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.  Thanks!]



Re: A few questions about MX for Mac

2003-01-15 Thread Phil Gross
The Memory Inspector is only available on Windows. It was removed from the Mac version.

-Phil


"Chad Mefferd (Morris Publishing)" wrote:

> Hi List,
>
> It's been a while since I posted anything, but thanks to MX I have a few new
> questions that someone, by their good graces, might be able to help me with.
>
> First. How do you access the Memory Inspector in MX for Mac. I checked the
> help files for MX which direct me to the usual, which is to check under
> "Window". Problem is, it's not there. Any ideas on if there might have been
> a last minute removal of this feature or if it is dependent upon some other
> conditions to appear as an option?
>
> Second. Any ideas out there on whether it is possible to have a cd (using
> toast 5 or some other method) check which system you are opperating before
> performing an auto run to launch the appropraite "classic" or OS X version
> of a stub projector?
>
> Apple script was one idea for a work around. Have an apple script be the
> auto run target, check the system and then launch the appropriate stub
> projector.
>
> Any ideas out there would be greatly welcome.
>
> Thanks a bunch,
>
> Chad Mefferd
> Art Director/Multimedia Developer
> Morris Printing Group
>
> [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.  Thanks!]

[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.  Thanks!]



Re: Write a Text File to a Folder on the Web

2003-01-15 Thread Cole Tierney
I'm trying to figure out how to write a text file to a folder on our web site.
(from a projector, not Shockwave)


You might take a look the shockfiler xtra at updatestage.com (uses 
ftp) or use net lingo to post the text to a cgi on the server (uses 
http).

--
Cole
[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.  Thanks!]


Re: Write a Text File to a Folder on the Web

2003-01-15 Thread grimmwerks

Prop the easist way of doing it, is using a translator - like a webpage 
with php or asp - and sending a name/variable list to the webpage, exactly 
like a form does.



[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.  Thanks!]



Re: Write a Text File to a Folder on the Web

2003-01-15 Thread David Baynes
Hello

I'm trying to figure out how to write a text file to a folder on our web site.
(from a projector, not Shockwave)

Currently, I used BuddyAPI  to read & write test scores locally on the user's hard 
drive.
I would like to store that info online for the international tests.

Locally I would write:
set OK = baWriteIni( "Settings", "Neopost", "1", 
"c:\windows\TestData\UserData\Results.txt")

I was hoping this would work, but no:
set OK = baWriteIni( "Settings", "Neopost", "1", 
"http:\\www.neopost.ca\Text\Results.txt")

Can anyone point me in the right direction?

Dave

[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.  Thanks!]



A few questions about MX for Mac

2003-01-15 Thread Chad Mefferd (Morris Publishing)
Hi List, 

It's been a while since I posted anything, but thanks to MX I have a few new
questions that someone, by their good graces, might be able to help me with.

First. How do you access the Memory Inspector in MX for Mac. I checked the
help files for MX which direct me to the usual, which is to check under
"Window". Problem is, it's not there. Any ideas on if there might have been
a last minute removal of this feature or if it is dependent upon some other
conditions to appear as an option?

Second. Any ideas out there on whether it is possible to have a cd (using
toast 5 or some other method) check which system you are opperating before
performing an auto run to launch the appropraite "classic" or OS X version
of a stub projector?

Apple script was one idea for a work around. Have an apple script be the
auto run target, check the system and then launch the appropriate stub
projector. 

Any ideas out there would be greatly welcome.

Thanks a bunch,

Chad Mefferd
Art Director/Multimedia Developer
Morris Printing Group

[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.  Thanks!]



ANN: INM's Java Xtra for Director - Beta Release

2003-01-15 Thread Gabrielle Dara Krim
Integration New Media is happy to announce the beta 
release of our Java Xtra for Director, which allows 
Director to access Java objects through Lingo.

To find out what Java Xtra is:
http://www.IntegrationNewMedia.com/products/javaxtra/

We are now inviting the general public to participate in
the beta testing phase. As a member of the beta testing 
team, we would appreciate your feedback regarding the 
product's functionality, ease of use, wish list items, 
problems, etc.

To download Java Xtra Beta 1.1 and become a beta tester, 
click the link below.  After agreeing to the terms of the 
Non-disclosure Agreement, you will be permitted to enter 
the Java Xtra product site, where the Xtra package, 
User Manual and First Steps demo are available for download.  

http://www.IntegrationNewMedia.com/products/javaxtra/beta/

Once you enter the Beta download page, bookmark it, so you 
do not have to pass through the NDA on return visits.


WIN A FREE LICENSE:
The top three Beta-testers will receive a FREE license 
of Java Xtra (worth $499 US) and an INM T-shirt. 
Beta-testers will be judged based on a combination of 
quantity and relevance of feedback provided to INM.

Regards,
Gabrielle


Gabrielle Krim
Product Manager
Integration New Media, Inc.
[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.  Thanks!]



Director/Authorware/Other Question

2003-01-15 Thread Carl West

I'm writing an article for a graphics magazine that'll have a title something like: 
"How to make buttons that will keep your programmer happy". I know that the techniques 
I plan to describe work in Director, I'd like to find out how they'll play in 
Authorware or for that matter other multimedia authoring tools.

Director handles images with alpha channels and lets you set the Alpha Click Threshold.
What about Authorware? Other tools?

Off-list replies are probably appropriate. Up to you.

TIA.

-- 
Carl West   [EMAIL PROTECTED]   http://eisen.home.attbi.com

I have no superfluous leisure; my stay must be stolen out
of other affairs; but I will attend you awhile.
   - Isabella, Measure for Measure, Act 3 Scene 1
[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.  Thanks!]



Re: Any way to test for the existence of a slot or attribute in a shared object referenced by Lingo?

2003-01-15 Thread Daniel Plaenitz
At 13:21 15.01.2003 -0600, you wrote:

Thanks for the idea Daniel.  Tried it, and it appears that the #data element
of a Flash shared object is an object, not a property list.


Sorry, I must have missed the bit where you said that this was a Flash thing.
In that context what I wrote is not usefull, pardon.

Daniel Plaenitz


[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.  Thanks!]



Re: Any way to test for the existence of a slot or attribute in a shared object referenced by Lingo?

2003-01-15 Thread James Auld
Thanks for the idea Daniel.  Tried it, and it appears that the #data element
of a Flash shared object is an object, not a property list.  So:

tData = gsoConfig.getAprop(#data)

returns an object, which makes the next line not work:

if tData.ilk = #propList then
tConfigInfo = tData.getAprop(#configInfo)
else
 ..
endif

Only problem is, I don't know how to get the #data object to report whether
or not one of it's child objects exists...

Thanks again!

james


- Original Message -
From: "Daniel Plaenitz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 15, 2003 1:50 PM
Subject: Re:  Any way to test for the existence of a slot or
attribute in a shared object referenced by Lingo?


> At 10:43 15.01.2003 -0600, you wrote:
> >this, with the idea that
> >-- I would test the tConfigInfo variable to see if it is VOID or not:
> >
> >tConfigInfo = gsoConfig.data.configInfo
>
> tData = gsoConfig.getAprop(#data)
> if tData.ilk = #propList then
>tConfigInfo = tData.getAprop(#configInfo)
> else
> ..
> endif
>
> ...
>
> best regards
> Daniel Plaenitz
> [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.  Thanks!]

[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.  Thanks!]



Re: Any way to test for the existence of a slot or attribute in a shared object referenced by Lingo?

2003-01-15 Thread Daniel Plaenitz
At 10:43 15.01.2003 -0600, you wrote:

this, with the idea that
-- I would test the tConfigInfo variable to see if it is VOID or not:

tConfigInfo = gsoConfig.data.configInfo


tData = gsoConfig.getAprop(#data)
if tData.ilk = #propList then
  tConfigInfo = tData.getAprop(#configInfo)
else
..
endif

...

best regards
Daniel Plaenitz
[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.  Thanks!]



Re: Any way to test for the existence of a slot or attributein a shared object referenced by Lingo?

2003-01-15 Thread grimmwerks

Why not have a function like

tINfo  = sharedObject.getInfo()

and in that sharedobject function you just have it return a list of it's 
properties, ie

on getInfo me
return([#configinfo: configinfo, #color: ])
end

?

[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.  Thanks!]



Any way to test for the existence of a slot or attribute in a shared object referenced by Lingo?

2003-01-15 Thread James Auld
Hello and thanks in advance!

I am trying to find a way to determine whether or not a particular attribute
of a shared object exists, using Lingo.  Here's the sample code:

-- this part works fine
tSharedObject = newObject("SharedObject", FALSE)
gsoConfig = tSharedObject.getLocal("dfcookie")

-- here's where the problem begins.  To check whether or not
-- configInfo exists as a slot (or attribute) in the shared object, I tried
this, with the idea that
-- I would test the tConfigInfo variable to see if it is VOID or not:

tConfigInfo = gsoConfig.data.configInfo

-- but this syntax generates a script error in Lingo, if configInfo doesn't
exist.  So next, I tried the old bracket trick, like -- this:

tConfigInfo = gsoConfig.data[#configInfo]

-- but this always returns a null, even if configInfo actually exists.  So
this won't work either.  It appears that brackets don't  work with shared
objects referenced in Lingo.

So, is there a way to determine what the slots are in a Lingo-referenced
shared object?  Even a way to get a list of all the slots?  Or the number of
slots?

Thanks for your help!

James Auld

[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.  Thanks!]



FindingNotWantedFonts

2003-01-15 Thread Bruce Powell
Thanks all for the input. Turns out that I solved my own problem the same
day and posted it, but I didn't have my email set to plaintext so it didn't
get posted. I will modify the below code later with input you all provided.

This turns out to be a handy piece of code for sloppy typists like me.
First go to the computer that has the missing fonts. In this case my PC.
Add this code to the movie script and execute from the message window:

on FindFonts
repeat with i = 1 to the number of castmembers of castLib 4
  if the castType of cast i of castLib 4 = EMPTY then
nothing
  else 
if the castType of cast i of castLib 4 = #richText then
  put the memberNum of cast i of castLib 4  && Member(cast i of castLib
4).missingFonts
end if
  end if
end repeat
end

This saved me tons of work. I went into two of the members found and could
not manually find those fonts! However when I reselected the text and
changed to the correct fonts and resaved my problem was solved. Point being
that I would have never found the problem by going through each text member
manually. 

Bruce 

[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.  Thanks!]



Very long date...Buzz

2003-01-15 Thread ice
>I spent a lot of time trying to improve the Help entries while I was 
>at MACR, & I guess I reacted a bit.
>
>-Buzz
++

The help entries of Director has been a real helpsaved a lot of papers for 
my sake. And the Lingo-hunches are often slightly different from occassion to 
occasion as one forgets... One is slowly getting demented, I guess.
Hope new Lingo-girls and boys takes over this funny graphical/audio tool and 
form it to even more advanced stuff for Mediaterminalisation-future.

 Slingatj !



-
FREE E-MAIL IN 1 MINUTE!
 - [EMAIL PROTECTED] - http://www.pc.nu
[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.  Thanks!]



Basics ?

2003-01-15 Thread ice
>From: "David Burgoyne" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: Re:  Basic ?
>Date: Tue, 14 Jan 2003 15:05:54 -
>Reply-To: [EMAIL PROTECTED]

>Best way to do this is not to use a repeat loop as nothing will update
>while its running (I think)
>
>put loop stuff in enter/exitframe handler and use some form of counter
>to drive it
+++

Agree in full...David.
Repeaters' are locking stuff, pretty hard to get out of ..for the first 
mentioning to be said.
And is of no good - when using in multiple animations -.

Solution as menitioned by David here written, is as I've used for several in 
the same time running animations, using 'the time'. 
Say you put the time into a field, just for watching it run along with the 
animations. 
And then, setting the animations towards aiming some of the specific digits 
running. That is up to decide in what frequence the pictures shall drop in 
forwarding the series of bitmap pictures. 
One can do it on specific number per second characters (using the long time 
hh:mm:ss), or by higher numbers of second in 2digits...and so on. 
The learning in taking out charaters is needed, look up lingo syntax: 'chars'
and play with it for a while. 
Next syntax would be to sum all your characters in 'the number of chars..', for 
counting in how many charaters involved in a field. This to actually get that 
specific digit number x.

With this trick, you never get any probs if the CPU:s gets faster made in the 
future, the time-ticker is the same...allways. And the animations will follow 
same speed as allwaysnot any 'Charlie Chaplin'-animations. 
And the benefit also mentioned, is the possibility to toss in more stuff that 
is needed in the director movie..





-
FREE E-MAIL IN 1 MINUTE!
 - [EMAIL PROTECTED] - http://www.pc.nu
[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.  Thanks!]



Basic ? end a Loop

2003-01-15 Thread ice
>From: "Meiky -" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Date: Mon, 13 Jan 2003 17:01:08 +0700
>Subject:  Basic ?
>Reply-To: [EMAIL PROTECTED]
>hi,
>
>if my script looping forever, if there any shortcut to stop it?
>
>Thanks


Sure set a 'StartTimer' in a handle 'on beginSprite':

on beginSprite 
StartTimer
end beginSprite

on exitFrame
if the timer > 10 * 60 then
beep
go to movie "Move-on"
else
go to the frame
end if
end exitFrame



  Cold Basic Ice-Lingo

-
FREE E-MAIL IN 1 MINUTE!
 - [EMAIL PROTECTED] - http://www.pc.nu
[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.  Thanks!]



Re: re: 3d shockwave collision detection

2003-01-15 Thread Hedley Roberts
hi robin - be good to hear from you...

have a look at my example
http://mercury.tvu.ac.uk/igpd/sitefiles/examples/3dex2.zip

it's a reworking of gary rosenzweigs... a bit clunky but you get the idea...

havok is great but you still need to work out the interaction.

Hedley


- Original Message -
From: "Robin Pereira" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 15, 2003 11:42 AM
Subject: RE:  re: 3d shockwave collision detection


> Was just reading the post and would also like to achieve the same effect
> could I be included in the help/ demo/ data/
> file?[EMAIL PROTECTED]
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jeremy
> Sent: 14 January 2003 22:33
> To: [EMAIL PROTECTED]
> Subject: RE:  re: 3d shockwave collision detection
>
>
> The easiest way to do as you describe is to use the havok physics that
> is built into director. If you would like to email me I can send you a
> small dir file that is a very simple example of using havok. Or you can
> IM me ICQ:13463220 or AIM: whatshisnutz6979
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of JerryZ
> Sent: Sunday, January 13, 2002 9:08 PM
> To: [EMAIL PROTECTED]
> Subject:  re: 3d shockwave collision detection
>
>
>
>
> Hi everyone,  i have been suscribed to the email list for a week now
> and i have been reading all the answers and i am amazed at how bright
> everyone is on here. I am a newbie to lingo and hope i can become as
> great as most everyone here. I am a 3d artist who wants to create
> interactive 3d demonstrations with director. I created a house with
> several "3d rooms" in 3ds max and imported the scene to director.
>
> My goal is to have the camera navigate around the rooms with
> keyboard navigation using the arrow keys,  up is fwd , down is reverse,
> right and left pan the camera horizontally. i want to be able to click
> on an object in the scene to play a new movie and then when the user
> returns to the room from the new movie its the same spot they left
> originally.
>
> My problem is when i attach navigation with 3d behaviors my camera
> does everything fine except it goes through walls. I have been reading
> extensively on collision detection  such as creating a sphere around my
> camera and then adding the camera as a child of the sphere and attaching
> collision detection to both my walls and the sphere but my results are
> not working. Most examples ive come across deal with the mouse as source
> of navigational movement which is not what i want. I am reading the book
> director 8.5 3d shockwave macromedia training from the source and am
> half way through but its still soaking in my brain and i cant digest the
> whole book yet. Please someone help me with a simple solution to have my
> caamera
> not go through walls and be able to navigate with the arrow keys.
> Thank
> you all
>
>
> [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.  Thanks!]
>
>
> [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.  Thanks!]
>
> [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.  Thanks!]

[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.  Thanks!]



again with other subject: characters and interaction inenviroments

2003-01-15 Thread Rodrigo Peres
Hi,

I'd like to develop some characters and it's interactions with the
enviroment. I have a robot an a room full of furniture. What I want is when
my sprite moves around it's detects the furniture and turns around or avoid
to walk into a wall. Where I begin to learn this? I'd appreciate if someone
can send me url, or tutorials.
My goal is something like www.habbohotel.com


Thank's in advance

Rodrigo
-- 


[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.  Thanks!]



Re: buddy api lingo help

2003-01-15 Thread biju george

--- marcus brooke <[EMAIL PROTECTED]> wrote:
> Hi Guys I hope someone can help,
> 
> It was recommended that I get the Buddy Api xtra to
> launch word and excel 
> files from a Director exe. But can't for the life of
> me get my head round 
> the script.
> 
> The script on the help me file is
> set OK = baOpenFile(thepathName & "test.txt",
> "maximsied"
> 
> I get the script and what it does, but when I put in
> on a mouse event and 
> create a projector is throws up an error message
> "Script Error. Continue?"
> Does anyone know what I'm doing wrong?? Help Please.
> 
> I'm working in Director 8.0, PC, Windows 98.
> Thanks
> Marcus



Hi Marcus,

The error is due to the reason that you have not put
"budapi.x32" as a file inside the "xtras" folder in
the same level of the projector. ie., your ".exe"
file. Including the same inside projector won't go
with some platforms. Rest of the commands no problem.

Sometimes you have to include "budapi32.dll" too along
with the "budapi.x32" file in the "xtras" folder,
especially when dealing with special command strings.

Cordially,

Biju George.



__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
[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.  Thanks!]



RE: re: 3d shockwave collision detection

2003-01-15 Thread Robin Pereira
Was just reading the post and would also like to achieve the same effect
could I be included in the help/ demo/ data/
file?[EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jeremy
Sent: 14 January 2003 22:33
To: [EMAIL PROTECTED]
Subject: RE:  re: 3d shockwave collision detection


The easiest way to do as you describe is to use the havok physics that
is built into director. If you would like to email me I can send you a
small dir file that is a very simple example of using havok. Or you can
IM me ICQ:13463220 or AIM: whatshisnutz6979

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of JerryZ
Sent: Sunday, January 13, 2002 9:08 PM
To: [EMAIL PROTECTED]
Subject:  re: 3d shockwave collision detection




Hi everyone,  i have been suscribed to the email list for a week now
and i have been reading all the answers and i am amazed at how bright
everyone is on here. I am a newbie to lingo and hope i can become as
great as most everyone here. I am a 3d artist who wants to create
interactive 3d demonstrations with director. I created a house with
several "3d rooms" in 3ds max and imported the scene to director.

My goal is to have the camera navigate around the rooms with
keyboard navigation using the arrow keys,  up is fwd , down is reverse,
right and left pan the camera horizontally. i want to be able to click
on an object in the scene to play a new movie and then when the user
returns to the room from the new movie its the same spot they left
originally.

My problem is when i attach navigation with 3d behaviors my camera
does everything fine except it goes through walls. I have been reading
extensively on collision detection  such as creating a sphere around my
camera and then adding the camera as a child of the sphere and attaching
collision detection to both my walls and the sphere but my results are
not working. Most examples ive come across deal with the mouse as source
of navigational movement which is not what i want. I am reading the book
director 8.5 3d shockwave macromedia training from the source and am
half way through but its still soaking in my brain and i cant digest the
whole book yet. Please someone help me with a simple solution to have my
caamera
not go through walls and be able to navigate with the arrow keys.
Thank
you all


[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.  Thanks!]


[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.  Thanks!]

[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.  Thanks!]