Re: the "do" command

2001-08-24 Thread Christian Wach
ataList - therefore no need to generate runtime variables, and therefore no need for 'do', which is very slow, and should be avoided if at all possible. hope this goes some way to helping you. Christian Christian Wach [EMAIL PROTECTED] -

Re: the "do" command

2001-08-24 Thread Christian Wach
command. can you give more details about the goal? Christian Christian Wach [EMAIL PROTECTED] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list, email [

Re: tight situation>>PLEASE HELP

2001-08-20 Thread Christian Wach
ect... it's a longwinded process, but does avoid the flickering. Christian ---- Christian Wach [EMAIL PROTECTED] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/lingo-l.cgi To post mess

Re: OOP and ancestor access

2001-08-14 Thread Christian Wach
round... Anyway, I ended up unable to decide how to put the 'code family tree' together as a result... which should inherit which? Is this a common problem? Christian Christian Wach [EMAIL PROTECTED] [To remove yourself f

Re: OOP and ancestor access

2001-08-13 Thread Christian Wach
and properties of the monitoring object, then surely there's no need for the global... and no need to do the registration. Christian ---- Christian Wach [EMAIL PROTECTED] [To remove yourself from this list, or to change to digest mode, go to ht

Re: MIAW.forget() error: object expected?

2001-08-13 Thread Christian Wach
s fine. add > on exitFrame > if gCloseMiaw then > gOpenMiaw.close() > gOpenMiaw.forget() gCloseMiaw = 0 > end if > go the frame > end after the forget command, otherwise you'll be forever trying to close and forget the window. Christian ---

Re: File IO

2001-07-28 Thread Christian Wach
I think Kerry was concatenating all his scripts into one text file. um, not true: Kerry Thompson wrote: > I wrote a little utility to copy the script text out to text files regards, Christian Christian Wach [EMAIL PROTECTED] [T

Re: File IO

2001-07-28 Thread Christian Wach
y to create a file with a name > that's too long, Director simply crashes. It doesn't even return an error. > Bad, bad. interesting... thanks for posting your solution - one to watch out for. am I right in thinking that ".ls" is the usual suffix for external lingo scripts?

Re: File IO

2001-07-27 Thread Christian Wach
teration... try moving the xtra instantiation code before the loop starts, and set theFile = 0 after the loop finishes, so that only a single instance of the xtra is used for all operations. might also be worth errorchecking each operation with status(theFile) before moving on to the next regards, Chr

Re: Does how you crop affect performance? Croppingutilities..

2001-07-26 Thread Christian Wach
Kendall Anderson wrote: > 'crop a pure > rectangle' method (AutoCropper) took 1.28s, and using the 'return an > image with only the different pixels and lots of white space' method > took 0.42s. not quite clear about the context here, but are they huge images? I ran a quick test using a 1024x51

Re: Retrieving HTML parameters from URL

2001-07-21 Thread Christian Wach
ur.dcr" pluginspage="<A HREF="http://www.macromedia.com/shockwave/download/"">http://www.macromedia.com/shockwave/download/"</A>; width="320" height="240" sw1="' + nav_loc + '"><\/EMBED><\/OBJECT>');

Re: hilite line on text member

2001-06-26 Thread Christian Wach
ian ---- Christian Wach [EMAIL PROTECTED] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]) Lingo-L is for learning and help

Re: Re: close MIAW

2001-06-12 Thread Christian Wach
et command, it must forget itself, but if it has done so, what is it forgetting... etc etc. I recommend using the same strategy for objects too. regards, Christian -------- Christian Wach [EMAIL PROTECTED] [To remove yourself from this list, or to ch

Re: Re: MIAW stops sound

2001-06-12 Thread Christian Wach
ffstage until you are certain that it is no longer needed? Christian Christian Wach [EMAIL PROTECTED] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (P

Re: variable variables in lingo?

2001-05-24 Thread Christian Wach
sing it (at the time or writing) for setting callbacks, and it seems to work fine... you had me concerned that there were issues with it I wasn't aware of. Christian Christian Wach [EMAIL PROTECTED] [To remove yourself from this list

Re: variable variables in lingo?

2001-05-24 Thread Christian Wach
t; set abcxyz = "hello" > > Gosh, please don't do do in your code. forgive my ignorance... but what makes you say this Terry? I have used the do command for ages in numerous situations with no apparent difficulties. regards, Christian Christi

Re: stepFrame and enterFrame... whats the real score?

2001-04-27 Thread Christian Wach
Jakob Hede Madsen wrote: > You can teach your objects to leave the actorList in a polite way, > where they relay the stepFrame event to the next object: sweet... you're a gent! Christian ---- Christian Wach [EMAIL PROTECTED]

Re: stepFrame and enterFrame... whats the real score?

2001-04-27 Thread Christian Wach
o with all those (the actorList).deleteOne(me)s... still on D7, so no timeOut objects to migrate to. Guess I'll have build an event object. been meaning to for ages for those tempo-independent movies. I guess I have the reason to do this now. thanks Jakob, Christian --

Re: stepFrame and enterFrame... whats the real score?

2001-04-26 Thread Christian Wach
ot a test movie for this? regards, Christian Christian Wach [EMAIL PROTECTED] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list, email [EMAIL

Re: find path

2001-04-18 Thread Christian Wach
e found the most consistent way of opening documents is to use BuddyAPI with: baOpenFile(pathToYourFile, "") this mimics double-clicking the file's icon, and therefore works when folks have (for example) custom WinNT systems, or other unusual setups. Christian -------

Re: NetDone - MacOS

2001-04-10 Thread Christian Wach
ed that gNetID is being set to void every frame... on exitFrame if not(voidP(gNetID)) then if netDone(gNetID) then serverString = netTextResult(gNetID) parsePacket(serverString) gNetID = void end if end if go the frame end may work better Christian -

Re: NetDone - MacOS

2001-04-10 Thread Christian Wach
t the manual says: "If no net ID is specified, netTextResult returns the result of the last network operation." maybe you've got multiple operations in progress... I tend to specify the netID... serverString = netTextResult(gNetID) ...with no problems. Christian --

Re: RE: Memory Leak

2001-03-27 Thread Christian Wach
the pictures. > 3) Using a single frame with a single bitmap member and > using member(x).filename to swap the pictures. > > All give me the same type of memory leak! have you tried issuing 'unload' and/or 'unloadMember' commands either before or after the sw

Re: closing miaw windows

2001-03-23 Thread Christian Wach
tage's movie script, that closes that window? in my experience, it is still an unstable way to close a MIAW. Likewise, one cannot void an object from within itself. Since MIAWs are a kind of object, the same logic applies. Tab's method is the most reliable. regards, Christian

Re: Shockwave lingo

2001-03-21 Thread Christian Wach
ch can easily be read in Director using something like on getParamFromHTML whichParam if externalParamName(whichParam) = whichParam then --alert (whichParam && externalParamValue(whichParam)) return externalParamValue(whichParam) else alert "No '" & which

Re: Lingo to attach behaviours

2001-03-20 Thread Christian Wach
heck out the scriptInstanceList property regards, Christian ---- Christian Wach [EMAIL PROTECTED] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list, email [EMA

Re: return a value from a child object?

2001-03-19 Thread Christian Wach
steve wrote: > How do a return a value from a child object? put parentScriptName.childName.someHandler() regards, Christian ---- Christian Wach [EMAIL PROTECTED] [To remove yourself from this list, or to change to digest mode, go to h

Re: How do i ? : QT

2001-03-19 Thread Christian Wach
ng + 1 if pPlaying > pEDL.count then exit pSprite.member.filename = pEDL[pPlaying] end if end hth, Christian Christian Wach [EMAIL PROTECTED] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/

Re: using recursion to sweep harddrive(s) for file

2001-03-07 Thread Christian Wach
ou can filter this by checking extensions, or filetypes, or whatever, before appending the path to the list. instantiate the object, and call: completeFileList = myObj.getFileStructure(rootFolderPath) good luck, Christian Christian Wach m: +44 (0) 7980 549 556

Re: Save dialog (WAS : File Dialog?)

2001-02-28 Thread Christian Wach
g(defaultFolderPath, thisFilename, dialogPrompt) end if return thisPathAndFilename end hth, Christian Christian Wach [EMAIL PROTECTED] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ