Re: movie stops running without apparent cause

2003-12-22 Thread Bruce Mitchener
Tab Julius wrote:
Does it die with a crash, or just stop responding?
For most of today and last night, Director was just fine afterwards. It 
responded okay, nothing crashed.

The problem is that Director acts like I (or someone) hit the "stop" 
button and stopped the movie while it was playing.  It is running, it 
gets through a couple of iterations of that frame and then it just stops.

If it dies, you can narrow it down by bracketing it until you find the 
place that is causing its death.

If it just stops responding, my guess is that you might have an infinite 
loop, which would be hard to further diagnose without the movie itself.
As above, it is just stopping.  A trace shows something that is like 
this in terms of things happening:

   * exitFrame on sprite X runs.
   * exitFrame on sprite X + 1 runs.
   * exitFrame on sprite X + 5 runs.
   * stopMovie runs.
After some other bug fixes and attempts to fix things, during the whole 
stopMovie process, it is closing down the 3D sprite, destroying lots of 
stuff, and in *that* process, I crash Director.  But I often crash 
Director while closing down a 3D sprite in development, so that's 
nothing atypical/unusual, and it wasn't crashing for last night or the 
vast majority of today.

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


Re: movie stops running without apparent cause

2003-12-22 Thread Tab Julius
Hi,

Does it die with a crash, or just stop responding?

If it dies, you can narrow it down by bracketing it until you find the 
place that is causing its death.

If it just stops responding, my guess is that you might have an infinite 
loop, which would be hard to further diagnose without the movie itself.

- Tab

At 07:36 PM 12/22/03, Bruce Mitchener wrote:
Hello all!

Our project is very heavy with LDMs, so I decided to start getting rid of 
some of them that didn't need to be LDMs any longer due to other changes 
in the project.

With a fairly straight forward conversion, I was able to get a major bit 
of functionality out of an LDM and running at the root/main movie 
level.  Well, almost run.  It starts to run. It initializes.  But after a 
couple of iterations on the frame in the score that houses the 
code/sprites, it suddenly stops running, along with Director as a 
whole.  It is as if I went and hit the 'Stop' button.  But I can assure 
that I did no such thing.

   * There is a frame script that does the usual 'go to frame'.
   * If I add code that starts doing a trace/traceLogFile/traceLoad
 combination, then I can see that it basically is doing this:
  * Run and appear to work.
  * Get to where it runs the exit frame handlers.
  * Runs my exit frame handlers.
  * Runs my stopMovie handler.
 Nothing is calling that stopMovie handler in my code.  If I put
 a breakpoint in, it is at the top of the call stack, which lends
 credence to my theory that Director is calling it and not my
 code.
   * I am not calling halt or quit in any code that is getting called.
   * The sprite that got the makeover from being an LDM to being
 not-an-LDM is a SW3D sprite if that matters at all.
   * Reverting the code to my old LDM-based stuff puts everything
 back into a working state.
And I thought that having a migraine last Thursday night through Saturday 
morning was bad.  This is far worse!

Is there anyone out there that could please help?  Even crackpot 
suggestions are welcome at this point as I've exhaused my crackpot ideas 
after running out of normal/sensible/reasonable ideas.

Cheers,

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


movie stops running without apparent cause

2003-12-22 Thread Bruce Mitchener
Hello all!

Our project is very heavy with LDMs, so I decided to start getting rid 
of some of them that didn't need to be LDMs any longer due to other 
changes in the project.

With a fairly straight forward conversion, I was able to get a major bit 
of functionality out of an LDM and running at the root/main movie level. 
 Well, almost run.  It starts to run. It initializes.  But after a 
couple of iterations on the frame in the score that houses the 
code/sprites, it suddenly stops running, along with Director as a whole. 
 It is as if I went and hit the 'Stop' button.  But I can assure that I 
did no such thing.

   * There is a frame script that does the usual 'go to frame'.
   * If I add code that starts doing a trace/traceLogFile/traceLoad
 combination, then I can see that it basically is doing this:
  * Run and appear to work.
  * Get to where it runs the exit frame handlers.
  * Runs my exit frame handlers.
  * Runs my stopMovie handler.
 Nothing is calling that stopMovie handler in my code.  If I put
 a breakpoint in, it is at the top of the call stack, which lends
 credence to my theory that Director is calling it and not my
 code.
   * I am not calling halt or quit in any code that is getting called.
   * The sprite that got the makeover from being an LDM to being
 not-an-LDM is a SW3D sprite if that matters at all.
   * Reverting the code to my old LDM-based stuff puts everything
 back into a working state.
And I thought that having a migraine last Thursday night through 
Saturday morning was bad.  This is far worse!

Is there anyone out there that could please help?  Even crackpot 
suggestions are welcome at this point as I've exhaused my crackpot ideas 
after running out of normal/sensible/reasonable ideas.

Cheers,

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


Re: A Polite Request to Those Leaving on Holiday

2003-12-22 Thread John R. Sweeney Jr
on 12/22/03 10:16 AM, Warren Ockrassa at [EMAIL PROTECTED] wrote:

> There are literally *thousands* of us who do not care you will be out
> of the office until January 2nd or whenever.

:)


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


AW: Shockwave 3D: positioning textures

2003-12-22 Thread Michael von Aichberger
Thanks Troy,

I have not yet but will follow your advice and get that piece.

If in the meantime someone should want to point me in the right direction,
please do!

Thanks again

Michael

[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: os x command line

2003-12-22 Thread Brennan
On Fri, 19 Dec 2003 02:17:11 +, thor
<[EMAIL PROTECTED]> wrote:

> 
> Hi there guys !
> 
> I need to start a Java server which I use to
> communicate between Director and a sound application.
> 
> I usually start it up by using the Terminal, but if I
> want to distribute the application, then I'd rather
> have this automatic, i.e. the user should not have to
> start up the terminal and do some messy stuff there.
> 
> Is it possible to call Java classes from Director?
> 
> There might be an xtra, but I'd rather not have to buy
> one.
> 
> Would you recommend AppleScript for this perhaps?
> 
> Any tips?

Applescript will work, and actually you can call the shell without even
opening the terminal. Check the dictionary for 'standard additions' under
'miscellaneous commands'

do shell script: execute a shell script or command using the âshâ shell
 do shell script  plain text  -- the command or shell script to execute.
Examples are âlsâ or â/bin/ps -auxwwwâ
  [administrator privileges  boolean]  -- execute the command as the
administrator
  [password  plain text]  -- use this administrator password to avoid a
password dialog
  [altering line endings  boolean]  -- change all line endings to
Mac-style and trim a trailing one (default true)
 [Result:   plain text]  -- the command output

The only thing is that you'll have to make the applescript as an
application and launch it with Director's 'open' command, but this is
hardly a big deal I think.

One gotcha is that Applescript uses 'sh', but the terminal uses 'tcsh'.
There are some differences, but you probably wont encounter them in this
case.

I'm wondering why you want to go this way round - if you're going to
launch an app, why not just lauch your server directly?

[So, when is someone going to make a 'do shell script' xtra for OSX?]

Brennan

[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: Shockwave 3D: positioning textures

2003-12-22 Thread Troy Rollins
On Monday, December 22, 2003, at 03:54 PM, Michael von Aichberger wrote:

Does anybody of those of you, who have already bought all presents and
finished decorating the Christmas tree, know, how to do this?
Let me start by asking if you have licensed 3DPI?

If you haven't, and are working with SW3D, you *really* ought to. It 
will answer many of your questions before you have to ask them.

--
Troy
RPSystems, Ltd.
http://www.rpsystems.net
[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!]


Shockwave 3D: positioning textures

2003-12-22 Thread Michael von Aichberger
Hi List,

I hope there's still someone around to help me doing my first steps in 3D
Lingo.

So I have this cylinder primitive and I have an image for a texture. The
image is the scanned label of a wine bottle, the cylinder - as you might
have guessed - represents a portion of a wine bottle.

When applying the image to the texture and that texture to the shader of the
cylinder, then would have expected the original wine bottle label to appear
on my cylinder in a way that resembles the original.

But no, is doesn't. It is sqeezed and repeated in all senses and I have no
idea, where to edit what numbers to fine-tune the appearance of the label.

In all books about 3D Lingo I find something on how to apply a texture to a
model, but nothing about how to position and/or scale that texture.

Does anybody of those of you, who have already bought all presents and
finished decorating the Christmas tree, know, how to do this?

As always, I'd greatly appreciate any help!

Michael

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


Inspecting the object inspector.

2003-12-22 Thread grimmwerks
As I think Allen stated recently - the object inspector is worth it's ...ugh
well weight won't work. Anyway it's neat. Couldn't live without it.

However, it looks like I'm going to have to if I don't upgrade MX, as
everyone knows (to quote Mr. Cohen) it's busted in Panther.

I'm not bitching, I'm not complaining. I'm asking. Nicely. ...

Could the mothership please think about a nice little fix for this issue?
Please?

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


Autoreply: A Polite Request to Those Leaving on Holiday

2003-12-22 Thread DirectXtras
Hello,

Due to the increased volume of SPAM this mailbox has been closed.

Please contact us via http://www.directxtras.com/ContactUS.asp

We apology for the inconvenience.

Best Regards,
--
The DirectXtras Team
-
DirectXtras - Xtra Power for Director and Authorware -
  http://www.directxtras.com
Sites with something to say - http://www.SpeaksForItself.com
-


Your message reads:

Received: from mail2.fcgnetworks.net (unverified [208.210.86.12]) by 
mail2.intermedia.net
 (Rockliffe SMTPRA 4.5.6) with ESMTP id <[EMAIL PROTECTED]>;
 Mon, 22 Dec 2003 08:21:17 -0800
Received: from mail2.fcgnetworks.net (localhost.localdomain [127.0.0.1])
by mail2.fcgnetworks.net (8.12.10/8.12.10) with ESMTP id hBMGH3pe005922;
Mon, 22 Dec 2003 11:17:03 -0500
Received: from behemoth4.host4u.net (behemoth4.host4u.net [216.71.64.134])
by mail2.fcgnetworks.net (8.12.10/8.12.10) with ESMTP id hBMGGXpe005821
for <[EMAIL PROTECTED]>; Mon, 22 Dec 2003 11:16:33 -0500
Received: from [10.0.1.2] (nwblwi-nrp3-l10-a889.nwblwi.tds.net [69.11.131.127])
by behemoth4.host4u.net (8.11.6/8.11.6) with ESMTP id hBMGGPD18813
for <[EMAIL PROTECTED]>; Mon, 22 Dec 2003 10:16:26 -0600
Mime-Version: 1.0 (Apple Message framework v609)
Content-Transfer-Encoding: 7bit
Message-Id: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed
To: [EMAIL PROTECTED]
From: Warren Ockrassa <[EMAIL PROTECTED]>
X-Mailer: Apple Mail (2.609)
Subject:  A Polite Request to Those Leaving on Holiday
Sender: [EMAIL PROTECTED]
Errors-To: [EMAIL PROTECTED]
X-BeenThere: [EMAIL PROTECTED]
X-Mailman-Version: 2.0.7
Precedence: bulk
Reply-To: [EMAIL PROTECTED]
List-Help: 
List-Post: 
List-Subscribe: ,

List-Id: Lingo programming discussion list 
List-Unsubscribe: ,

List-Archive: 
Date: Mon, 22 Dec 2003 10:16:25 -0600

DO NOT forget to UNSUBSCRIBE from this list (and all the others you're 
on) BEFORE TURNING ON YOUR AUTORESPONDERS.

There are literally *thousands* of us who do not care you will be out 
of the office until January 2nd or whenever.


Warren Ockrassa | President,  nightwares LLC  [EMAIL PROTECTED]
  nightwares LLC | Consulting  Programming http://www.nightwares.com/
  Author | Director 8.5 Shockwave Studio: A Beginner's Guide
Chapter samples | http://www.nightwares.com/director_beginners_guide/

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


A Polite Request to Those Leaving on Holiday

2003-12-22 Thread Warren Ockrassa
DO NOT forget to UNSUBSCRIBE from this list (and all the others you're 
on) BEFORE TURNING ON YOUR AUTORESPONDERS.

There are literally *thousands* of us who do not care you will be out 
of the office until January 2nd or whenever.

Warren Ockrassa | President,  nightwares LLC  [EMAIL PROTECTED]
 nightwares LLC | Consulting  Programming http://www.nightwares.com/
 Author | Director 8.5 Shockwave Studio: A Beginner's Guide
Chapter samples | http://www.nightwares.com/director_beginners_guide/
[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!]


Autoreply: DVD-ROM: hiding Windows files from Mac OS X ANSWERED

2003-12-22 Thread DirectXtras
Hello,

Due to the increased volume of SPAM this mailbox has been closed.

Please contact us via http://www.directxtras.com/ContactUS.asp

We apology for the inconvenience.

Best Regards,
--
The DirectXtras Team
-
DirectXtras - Xtra Power for Director and Authorware -
  http://www.directxtras.com
Sites with something to say - http://www.SpeaksForItself.com
-


Your message reads:

Received: from mail2.fcgnetworks.net (unverified [208.210.86.12]) by 
mail2.intermedia.net
 (Rockliffe SMTPRA 4.5.6) with ESMTP id <[EMAIL PROTECTED]>;
 Sun, 21 Dec 2003 23:57:52 -0800
Received: from mail2.fcgnetworks.net (localhost.localdomain [127.0.0.1])
by mail2.fcgnetworks.net (8.12.10/8.12.10) with ESMTP id hBM7m3pe013867;
Mon, 22 Dec 2003 02:48:03 -0500
Received: from mx1-out.worlddesign.com (mx1.worlddesign.com [208.31.37.8])
by mail2.fcgnetworks.net (8.12.10/8.12.10) with ESMTP id hBM7lApe013741
for <[EMAIL PROTECTED]>; Mon, 22 Dec 2003 02:47:10 -0500
Received: from 24.58.121.236 [24.58.121.236] (EHLO hitachi.cornell.edu)
by mail1a.worlddesign.com (inFusion Mail Server Professional v2.4.3) with 
ESMTP id 5434A9305A206B4BAE3D762931548823
for <[EMAIL PROTECTED]>; Mon, 22 Dec 2003 02:47:08 -0500
Message-Id: <[EMAIL PROTECTED]>
X-Mailer: QUALCOMM Windows Eudora Version 5.2.1
To: [EMAIL PROTECTED]
From: Slava Paperno <[EMAIL PROTECTED]>
Subject:  DVD-ROM: hiding Windows files from Mac OS X ANSWERED
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: [EMAIL PROTECTED]
Errors-To: [EMAIL PROTECTED]
X-BeenThere: [EMAIL PROTECTED]
X-Mailman-Version: 2.0.7
Precedence: bulk
Reply-To: [EMAIL PROTECTED]
List-Help: 
List-Post: 
List-Subscribe: ,

List-Id: Lingo programming discussion list 
List-Unsubscribe: ,

List-Archive: 
Date: Mon, 22 Dec 2003 02:47:02 -0500

Dear Valentin,

You were 100% right. Toast 5.1.3 doesn't care if your hybrid CD-ROM is a 
DVD. In fact, Toast doesn't even say "hybrid CD-ROM" in its list, it says 
"hybrid disk". But you do have to lie a little and when selecting an ISO 
disc format, select "CD-ROM." Which simply gives your DVD an ISO 9660 file 
system, like you said. Anyway, I went through exactly the same steps that I 
use when making a hybrid CD-ROM, only I used a DVD-size partition/volume on 
the Mac, and everything worked great. Now on the same DVD-ROM, I have a Mac 
OS X bundle that is not visible when the DVD is inserted in a PC, and 
WIndows projector and other files that are not visible under Mac OS.

Thank you,

Slava

At 01:42 PM 12/21/03 +0100, Valentin Schmidt wrote:
>yes, I'm almost sure that's possible, but not with UDF file system, but
>with ISO. A DVD-ROM can have an ISO filesystem instead of UDF, and I
>think the computer doesn't care if it's a 700MB or a 4,7 GB volume, it
>just cares for the filesystem, so if it can read a hybrid cd-rom, it can
>read a hybrid dvd-rom as well. I could emulate creating such a
>hybrid-ISO dvd-rom with
>WinOnCd 6 without any problems, so I guess it should work with toast as
>well.
>
>valentin
>
>
>Slava Paperno wrote:
> > Is there a way to produce a DVD-ROM that shows only the Mac files > 
> when used > under Mac OS X, and only Windows files when used under 
> Windows? In > other > words, is there such a thing as a hybrid 
> DVD-ROM? > > I know how to make a cross-platform DVD-ROM (the UDF file 
> system is > itself > cross-platform), and I have made a DVD-ROM using 
> Toast 5.1.3 under > Mac OS X > that has both OS X and Windows projectors, 
> and they run fine from > this DVD, > each under its own OS. I know I 
> could place them in separate folders > and > call them Mac and Windows. 
> But it would be even nicer for the end > user if > the files for the 
> other OS were not visible, as on a hybrid CD-ROM.

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


DVD-ROM: hiding Windows files from Mac OS X ANSWERED

2003-12-22 Thread Slava Paperno
Dear Valentin,

You were 100% right. Toast 5.1.3 doesn't care if your hybrid CD-ROM is a 
DVD. In fact, Toast doesn't even say "hybrid CD-ROM" in its list, it says 
"hybrid disk". But you do have to lie a little and when selecting an ISO 
disc format, select "CD-ROM." Which simply gives your DVD an ISO 9660 file 
system, like you said. Anyway, I went through exactly the same steps that I 
use when making a hybrid CD-ROM, only I used a DVD-size partition/volume on 
the Mac, and everything worked great. Now on the same DVD-ROM, I have a Mac 
OS X bundle that is not visible when the DVD is inserted in a PC, and 
WIndows projector and other files that are not visible under Mac OS.

Thank you,

Slava

At 01:42 PM 12/21/03 +0100, Valentin Schmidt wrote:
yes, I'm almost sure that's possible, but not with UDF file system, but
with ISO. A DVD-ROM can have an ISO filesystem instead of UDF, and I
think the computer doesn't care if it's a 700MB or a 4,7 GB volume, it
just cares for the filesystem, so if it can read a hybrid cd-rom, it can
read a hybrid dvd-rom as well. I could emulate creating such a
hybrid-ISO dvd-rom with
WinOnCd 6 without any problems, so I guess it should work with toast as
well.
valentin

Slava Paperno wrote:
> Is there a way to produce a DVD-ROM that shows only the Mac files > 
when used > under Mac OS X, and only Windows files when used under 
Windows? In > other > words, is there such a thing as a hybrid 
DVD-ROM? > > I know how to make a cross-platform DVD-ROM (the UDF file 
system is > itself > cross-platform), and I have made a DVD-ROM using 
Toast 5.1.3 under > Mac OS X > that has both OS X and Windows projectors, 
and they run fine from > this DVD, > each under its own OS. I know I 
could place them in separate folders > and > call them Mac and Windows. 
But it would be even nicer for the end > user if > the files for the 
other OS were not visible, as on a hybrid CD-ROM.
[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!]