Re: OOP and ancestor access

2001-08-17 Thread Pete Carss
Absolute concurrence here - I suppose the main requirement of the accessor methods is to supply/set the data required in such a way that the object can be perceived as a "black box". ie you should be able to change the implementation of the method without affecting any other objects th

Re: Re: script to output member names

2001-08-17 Thread Pete Carss
I thought that - originally there was no "me" - and normally that's true, but this was behaving very erratically... Pete On Friday, August 17, 2001, at 01:33 PM, Brian Romanko wrote: > Pete, > > Actually, this will work just fine as a movie script. You just need to > remove the parameter "me"

Re: script to output member names

2001-08-17 Thread Pete Carss
Solved it - I'd put the handler in a movie script rather than an object On Friday, August 17, 2001, at 12:16 PM, Pete Carss wrote: > I don't know if this is a bug but: > > I'm trying to output all the behaviour, parent script, movie > script, member names into

script to output member names

2001-08-17 Thread Pete Carss
I don't know if this is a bug but: I'm trying to output all the behaviour, parent script, movie script, member names into the message window so that I can prepare a spreadsheet of them. I thought I'd found a solution in: on spewNames me, whichcast put whichcast counter =

Re: OOP and ancestor access

2001-08-16 Thread Pete Carss
This sounds like the book I've been looking for, you don't have an ISBN for it do you? Pete On Thursday, August 16, 2001, at 12:58 AM, Mike Nardell wrote: > I would like to join in on this thread; in particular I would like to > know > if anyone has thought about using the patterns approach i

Re: timeout

2001-08-14 Thread Pete Carss
Well bugger me! I'm not a beginner - but I didn't know that. Just goes to show the power of this list... Pete On Tuesday, August 14, 2001, at 11:59 AM, Kerry Thompson wrote: > >>> on exitFrame me >>> go to the frame >>> if the timeoutLapsed>300 then >>> to to frame 2 >> >> I think you'll find

Re: timeout

2001-08-14 Thread Pete Carss
On Tuesday, August 14, 2001, at 10:28 AM, mirianam wrote: > on exitFrame me > go to the frame > if the timeoutLapsed>300 then > to to frame 2 I think you'll find that any code after the "go to the frame" is ignored, try swapping the statements. Pete [To remove yourself from this list, or to

Re: OOP and ancestor access

2001-08-13 Thread Pete Carss
> > interesting thread. I haven't really thought about some of these > baseline issues in a while. > I think OOP is only just coming of age - its only now that us "normal" programmers start hashing out the issues. This is a particularly interesting thread because Director isn't locked i

Re: OOP and ancestor access

2001-08-13 Thread Pete Carss
I've come from a smalltalk background (not that it is useful for anything anymore) which has to be one of the most anal OOP environments there is... in Al's example: "you have a behavior that moves a slider around that needs the current position data" ...Maybe your approach is still t

Re: QuickTime path names on Mac

2001-07-12 Thread Pete Carss
Just a thought: have you checked the status of "the safePlayer" you can play with this in Projectors and when Authoring. If you set it to TRUE, one of the things it disables is opening files outside of the DSWMedia folder. Pete On Wednesday, July 11, 2001, at 08:03 AM, Natalia Tjelum wrote:

Re: DATABASE.... (Complex Database)

2001-07-12 Thread Pete Carss
If you import the .txt file into a member you can then do operations on the .text of that member. if you set the itemdelimiter to "TAB" you will be able to use chunk expressions and everything between the TABS will be "items". The "RETURN" will signify each "line" in chunk terminoligy.

Re: is this OOP legal?

2001-06-29 Thread Pete Carss
It seems to me that Macromedia's implementation of OOP is quite vague/flexible (depending on your point of view). I use smalltalk, java and objective c - there is no reason why you can't implement any OOP technique, even protocols and categories. I've always thought of behaviours as a

Re: Shockwave/Multiuser on OSX?

2001-06-29 Thread Pete Carss
Out of curiosity:- I've been using Director under OSX since DP4 - I wonder how may others on the list are using OSX? I recall a beta Shockwave plugin in the Public Beta - dissappeared in 10.0.1 - was this my imagination? It didn't work very well, but it did work. Personally this

Re: Simultaneous getNetText

2001-06-28 Thread Pete Carss
If It's a shockwave project then then I believe the limit is down to the browser - we've found that if we go over 4 then problems start to occur. This is using IE and Netscape on a Mac - other combinations may differ. Shockwave seems particularly efficient on Windows... Pete On Thursday, June

Re: shockwave alert question

2001-06-25 Thread Pete Carss
I've found that using getNetText rather than postNetText will not bring this message if the script being called is at the same URL that the shockwave was served from... Pete On Saturday, June 23, 2001, at 03:06 AM, Brad Hile wrote: > Hello lingo-guru's > > I have written a shockwave app that

Re: tic tac toe

2001-06-25 Thread Pete Carss
I had to make a tic-tac-toe game as an AI project at university (Heuristics really) if you wish I can pass you on the code - might be a sledgehammer to crack a walnut - although it was unbeatable! Pete On Monday, June 25, 2001, at 12:57 PM, Rama krishnan wrote: > hai list > I wann to develop

Re: passing variables from behavior to behavior

2001-06-22 Thread Pete Carss
tton, I add a behavior that has an "on mHit" > handler that does what I want to do when the Next button is hit. For > more details on this, see my article on DOUG at: > > http://www.director-online.com/accessArticle2.cfm?id=340 > > Irv > > > At 4:35 PM +0100

Re: passing variables from behavior to behavior

2001-06-22 Thread Pete Carss
Correct me if I'm wrong - I mean this - CORRECT me if I'm wrong - but in the case below wouldn't "spriteNum" hold a reference to the sprite that the behaviour was attached to - and in effect, the behaviour would be sending the message to itself? Pete On Friday, June 22, 2001, at 03:57 PM, Ir

Re: Serverscript?

2001-06-22 Thread Pete Carss
I severely missed the point here... server-side lingo? can anyone enlighten me? On Friday, June 22, 2001, at 03:45 PM, Terry R. Schussler wrote: > At 4:16 PM +0200 6/22/01, Andreas Zeitler wrote: >> Hi! >> >> I have got a little problem. How can I manage to access lets say the >> user-db >> f

Re: Serverscript?

2001-06-22 Thread Pete Carss
check out getNetText() and netTextResult() in combination with netDone() and netError(). I'm currently working on a project that makes extensive use of this. On Friday, June 22, 2001, at 03:16 PM, Andreas Zeitler wrote: > Hi! > > I have got a little problem. How can I manage to access lets sa

Re: passing variables from behavior to behavior

2001-06-22 Thread Pete Carss
try putting "me" into the behaviour: on checkRight me, whatNumber put whatNumber end On Friday, June 22, 2001, at 12:48 PM, Michael Nadel wrote: > Whenever I pass a command from one behavior to another with a variable, > the > variable turns up all messed up! For example, when I write in

Re: use of 'nothing' command

2001-06-21 Thread Pete Carss
I find it useful for putting a break-point in code where director doesn't want to let you put one. Pete On Thursday, June 21, 2001, at 05:37 AM, Luke Wigley wrote: > Howdy Listers, > > I was having a look through some lingo scripts provided by Macromedia > (relating to multiuser), and I notice

Re: mac having trouble dealing with script

2001-06-20 Thread Pete Carss
The only way I managed to reliably get round this is to create two stub projectors (one Mac and one PC) the first and only thing this projector does is to load a .dir with a name that you've decided upon. From then on you only ever create .dir(s) and get your projectors to load them.

Re: netdone() neterror()

2001-06-16 Thread Pete Carss
When running Director under Classic in Mac OSX i've found that any time you query the neterror() of a network operation it will return "OK" in all but the most obvious cases (ie a malformed URL still gives an error). While trying to simulate network problems by pulling the ethernet cable durin

Re: netdone() neterror()

2001-06-15 Thread Pete Carss
Just to let you all know - I sorted out my NetError() problem: Seems that running Director under OSX prevents you from being able to query the net work operation for errors - not a problem if you are fore-warned. Pete [To remove yourself from this list, or to change to digest mode, go to http:

Re: netdone() neterror()

2001-06-14 Thread Pete Carss
he end of the file's URL to > always force a fresh retrieval (ignore cached copy) or make sure to > clear your cache before testing after the cable has been pulled. > > Cheers, > Tom > >> -Original Message- >> From: Pete Carss [mailto:[EMAIL PROTECTED]]

netdone() neterror()

2001-06-14 Thread Pete Carss
Would any of you know why when using netError() to check the status of a network operation. It returns "OK" even if I would the ethernet cable out from the back of my computer. Code along the lines of: if (netDone(gProductLogicID) = true) and (NetError(gProductLogicID) = "OK") then --do lots o

netdone() neterror()

2001-06-14 Thread Pete Carss
Do any of you know why neterror() returns "OK" if I pull the ethernet cable out from my laptop (trying to create deliberate network errors - please tell me if you know of a better way!) Code as follows: if (netDone(gProductLogicID) = true) and (netError(gProductLogicID) = "OK") then --do somet

Re: shockwave 3d

2001-03-23 Thread pete carss
I managed to get them all to run on my PBG3 (with 2 monitors) - I don't think there's anything there you couldn't do with dave's 3d engine or 3d dreams - the dynamic content scaling is a nice feature. The main reason why it'll succeed is the seamlessness of the plugin. Ever tried getting Java3d ru

Re: Strange Sprite positions

2001-03-22 Thread pete carss
On 3/21/01 3:21 PM, "Irv Kalb" <[EMAIL PROTECTED]> wrote: > Two possible suggestions: > > 1) Are you sure you are trying to set the location during the > "startMovie" handler - rather than the "prepareMovie" handler? At > prepareMovie, the sprites havent been created yet, so trying to set > the

Strange Sprite positions

2001-03-21 Thread pete carss
Hello There - I hope someone can help - I have an object that is being birthed during the "startmovie" handler. As soon as it is birthed - it grabs 3 sprite channels and uses them to place graphics on the stage. The code all works faultlessly except: If you run the movie after firing up director o

designing an audio sequencer

2001-03-16 Thread pete carss
I made a genetic sequencer in my second year, I ended up using Beatnik, as I gives you accurate control over timimg - rather than re-inventing the wheel - use the score as a timimg mechanism its already a sequencer... Pete [To remove yourself from this list, or to change to digest mode, go to ht