Removing Behaviors from 3D Cast Members

2002-06-26 Thread Robert Rycroft

Using the Library Palette I attached a behavior to a 3D cast member.  When the mouse 
enters the 3D cast member, the model automatically rotates.  It works fine.  Now I 
want to remove the behavior, and I cannot figure out how to do it.  Every other 
behavior I have ever used appears as a cast member.  This one doesn't and I don't know 
how to locate it.  Any ideas?

Thank you.

Robert S. Rycroft
Dept of Economics
Mary Washington College
Fredericksburg, VA 22401
540-654-1500



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



3D Modeling Software

2002-06-05 Thread Robert Rycroft

I am in the market for 3D modeling software.  I want to be able to import the models 
into Director and be able to manipulate them.  As I understand it Director can only 
import certain types of 3D models (with .w3d extender).  I have a budget of $850 and 
can buy at educational prices.  The models I want to build will not be especially 
sophisticated and I don't want to take forever to learn the software.  What do you 
recommend?

Thank you.

Robert S. Rycroft
Dept of Economics
Mary Washington College
Fredericksburg, VA 22401
540-654-1500



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



Message Window

2002-04-15 Thread Robert Rycroft

I apologize if this is not a "true" Lingo question.
I frequently use the Message window to debug programs.  I will run the program once 
and get a bunch of data in the Message Window.  If I then run the program again, the 
new data gets placed below the old data, but I often find it difficult to distinguish 
the new from the old data.  Is there a simple way to "clear" the Message window?

Thank you.

Robert S. Rycroft
Dept of Economics
Mary Washington College
Fredericksburg, VA 22401
540-654-1500



[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: How do I learn lingo scripting?

2002-04-10 Thread Robert Rycroft

"Lingo in a Nutshell" is a valuable book, but not for learning Lingo.  It is good if 
you are experienced and you want a handy reference book.  The best book I've seen is 
by Gary Rosenweig (forgot the title).  It was clearly-written, took things step by 
step and included lots of good examples.

The only way to learn Lingo is to write programs, as was mentioned in an eariler post. 
 Choose a simple problem and write a program.  Then complicate things.

Robert S. Rycroft
Dept of Economics
Mary Washington College
Fredericksburg, VA 22401
540-654-1500



>>> [EMAIL PROTECTED] 04/10/02 04:12PM >>>
Noelle,

If you can get it, "Lingo in a Nutshell" may be your best bet.

(You really need about 5 beginning to intermediate books: Lingo Sorcery, 
Director 8.5 Foundations, Director 8 Demystified, Lingo in a Nutshell, 
Director 8.5 Studio.)

Go through Brennan Young's "Invadirs" game tutorial. Stop when you get lost 
and finish the project as best you can. Revisit the tutorial very two to 
three months making a new game each time (noting your progress).

http://brennan.young.net/Edu/Lingvad.html 

Read the Director and Lingo List's in Digest form, this will give you an 
idea of what is possible with Lingo.

Use the Director Online "DOUG" database of articles. Come here when you just 
can't seem to understand why/how anyone would: use lists, create a hybrid 
CD...

http://director-online.com/ 

Finally allow for the learning cycle by closing the book when things stop 
making sense and try things on your own. Make simple games,  calculators, 
e-books...

I have been using Director for 9 months about 1-2 hrs. per day. What I have 
suggested you do has worked for me (learning style disclaimer).

Look in the Shockwave content area for some examples of my learning projects 
see if you can spot the early ones from the most recent:
http://edu.audiotap.com/mylife/index.htm 

Good Luck
Justin.


>Date: Wed, 10 Apr 2002 18:22:21 +0800
>To: [EMAIL PROTECTED] 
>From: noelle cheng <[EMAIL PROTECTED]>
>Subject:  How do I learn lingo scripting?
>Reply-To: [EMAIL PROTECTED] 
>
>
>Hi,
>
>I do not know whether this question has been asked before but how do I
>start learning lingo scripting?
>
>
>In Singapore where I live, a person is considered to be at intermediate
>level if he/she is able to use the library palette behaviors. But I think
>this is not how westerners view it.  All of you on this list are already
>programmers at this level.
>
>
>I was at the bookshop today during the lunch hour and found only two
>Director 8.5 books on sale:
>
>
>Macromedia Director 8.5 Shockwave Studio for 3D by Phil Gross (this cost
>about S$60) and
>
>Director 8.5 Shockwave Studio A Beginners' Guide by Warren Ockrassa (S$40).
>
>I was not able to find Gary Rosenzweig's Advanced Lingo for Games.
>
>Are these books considered a good introduction in the learning of lingo
>scripting?
>
>I realize that it was the author of the book 'A Beginners' Guide' who
>answered my questions (and maybe, its' technical editor too, I'm not sure -
>however the name appears to be the same) so it may be quite awkward to ask
>them.
>
>Will buying a book and studying it be useful? Or do you have any other
>suggestions?
>
>
>
>Noelle
>
>
>

_
Send and receive Hotmail on your mobile device: http://mobile.msn.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!]

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



Imaging Lingo

2002-04-03 Thread Robert Rycroft

Can someone recommend a good book to help learn Imaging Lingo?  Thank you.

Robert S. Rycroft
Dept of Economics
Mary Washington College
Fredericksburg, VA 22401
540-654-1500



[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: Dir 8.5 and Windows 95

2002-04-03 Thread Robert Rycroft

I have gotten them to run without any problem.  Of course, my programs were fairly 
small and unsophisticated.

Robert S. Rycroft
Dept of Economics
Mary Washington College
Fredericksburg, VA 22401
540-654-1500



>>> [EMAIL PROTECTED] 04/03/02 01:13PM >>>
Can someone tell me if projectors made from a Director 8.5.1 movie 
are supposed to able to run on Windows '95?

I'm in beta testing on a large project and we're getting reports of 
"Director player error, file not found" messages on one or more 
Window 95 systems.  I don't have a system running Windows 95 to test 
it on.

Thanks,

Irv
-- 

Lingo / Director / Shockwave development for all occasions.

   (Home-made Lingo cooked up fresh every day just for you.)
[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: Automatic Tabbing

2002-03-20 Thread Robert Rycroft

Thank you very much for that suggestion, but it did not do the trick.  I still have to 
hit the button twice to move the insertion point.

Robert S. Rycroft
Dept of Economics
Mary Washington College
Fredericksburg, VA 22401
540-654-1500





>>> [EMAIL PROTECTED] 03/20/02 01:17PM >>>
At 11:31 -0500 03/20/2002, Robert Rycroft wrote:

>What I find is that if I hit the button one time, the insertion 
>point does not change, but if I hit the button a second time, the 
>insertion point will change.

Try changing it to mouseUp instead of mouseDown.

-- 

  Warren Ockrassa | http://www.nightwares.com/ 
  Director help | Free files | Sample chapters | Freelance | Consulting
Author | Director 8.5 Shockwave Studio: A Beginner's Guide
Published by Osborne/McGraw-Hill
  http://www.osborne.com/indexes/beginners_guides.shtml 
[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: Automatic Tabbing

2002-03-20 Thread Robert Rycroft

Thank you very much for that suggestion.  In my original program the visible sprite 
was called "Green lowest" and was sprite 21.  The invisible sprite was called "Green 
second" and was sprite 22.  After entering a number in "Green lowest", the user hit a 
button.  The button's code was the following:

on mouseDown me
  if value(field("Green lowest")) = 5.8 then
member("Green lowest").backcolor = 224
sprite(22).visible = true 
  else
if field("Green lowest") = EMPTY then   
else  
  if value(field("Green lowest")) < 5.8 OR value(field("Green lowest")) > 5.8  then
alert "The value should be the Percent of Total Income of the Lowest quintile"
  else   
  end if
end if  
  end if
etc.

Your suggestion led me to place 
set the keyboardFocusSprite = 22
right after the
member("Green lowest").backcolor = 224
statement

What I find is that if I hit the button one time, the insertion point does not change, 
but if I hit the button a second time, the insertion point will change.  Any idea how 
to get the insertion point to change after the first hit?

I also discovered that the insertion point will change if you move to a new frame so I 
have one version of the program where after entering the correct number the movie is 
moved one frame forward and the insertion point moves to the next field.

Thank you.

Robert Rycroft

>>> [EMAIL PROTECTED] 03/19/02 04:34PM >>>
At 10:47 -0500 03/19/2002, Robert Rycroft wrote:

>Is there any way to move the insertion point automatically from the 
>first field to the second after the correct number is entered in the 
>second.?

Look up the keyboardFocusSprite.



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



Automatic Tabbing

2002-03-19 Thread Robert Rycroft

At one point in my movie I have two editable fields on the stage, one visible and one 
invisible.  Users are supposed to enter a number in the visible field.  If they enter 
the correct number, the second field becomes visible and they are required to enter a 
number in it.  As it currently stands, the user must manually hit the TAB key to move 
the insertion point from the first field to the second.  Is there any way to move the 
insertion point automatically from the first field to the second after the correct 
number is entered in the second.?  Thank you.

Robert S. Rycroft
Dept of Economics
Mary Washington College
Fredericksburg, VA 22401
540-654-1500



[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: calculating the point of intersection of twolines

2002-03-18 Thread Robert Rycroft

1. Calculate slope for line 1
set s1 = (y2-y1)/(x2-x1)
2. Calculate intercept for line 1
set i1 =  (y2-y1)/(x2-x1)*x2 - y2
. Calculate slope for line 2 similarly
4. Calculate intercept for line 2 similarly
5. Set equation for line 1 = equation for line 2 and solve for x
set x = i1 + s1*x2 - i2 - s2*x2
6. plug x in either equation to get value for y

(I have done this quickly so I may have made a few errors)


>>> [EMAIL PROTECTED] 03/17/02 08:23PM >>>
Hi list!

I have a mathematical problem that I am not able to solve on my own:

Suppose you have two straight lines, defined by two points:

Let's say

point(x1, y1) and point(x2, y2) for line 1

and

point(x3, y3) and point(x4, y4) for line 2.

What's the algorithm for calculating the point where these two lines
intersect?

Thanks for your help!

Michael von Aichberger

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



Lingo and Matrices

2002-02-15 Thread Robert Rycroft

Is there any way to use Lingo to work with a n x m matrix?  For example, let's say I 
have data that could be stored in a matrix with 100 rows and 2 columns.  I seem to 
recall reading about it somewhere.  Something about putting linear lists inside linear 
lists, but cannot find the source and cannot figure out how to access the specific 
elements of the matrix.  For example, how would I access the element in row 62, column 
2?

I am trying to use Lingo to write a simulation that was originally written in BASIC.  
In BASIC multi-dimensional matrices are easy to work with.

Thanks.

Robert Rycroft
[EMAIL PROTECTED]

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