RE: lingo-l File IO - how do I erase text in a file? SOLVED...

2001-08-10 Thread Steven Sacks
Gosh! Wouldn't it just be easier to delete the file and then rewriting to it rather than going through all those repeats and stuff? Easier? Maybe, but as much fun? I say thee nay! =) Deleting the file requires recreating the file and then writing to the file again. What's easier? Running

lingo-l File IO - how do I erase text in a file?

2001-08-09 Thread Steven Sacks
Hello, I have a problem with File IO I'm trying to solve. I am writing a list to a text file and the last item in the list is 3 numbers long, except in one case, it is 4 numbers long and the last one is 0. Well, when it writes to the file with a 3 number final item after it has written with

RE: lingo-l File IO - how do I erase text in a file?

2001-08-09 Thread Steven Sacks
I'm using Director 6 so I can't use dot syntax :( Allow me to get a little more detailed. FileIO obviously doesn't overwrite an entire text file when it writes to a file, it just writes from char a to char b. If there are more characters already in the text file beyond char b, they remain

RE: lingo-l File IO - how do I erase text in a file? SOLVED...

2001-08-09 Thread Steven Sacks
sorta... I figured out a workaround, clunky as it may be. --- set gTheWriteText = removeQuotes(gTheWriteText) if the last item of gTheWriteText = 3110 then nothing else put SPACE after gTheWriteText end if on removeQuotes dataString repeat with a = 1 to the number of

RE: lingo-l f5 and d8.5 - tell target functions?

2001-08-08 Thread Steven Sacks
2) I can't call FUNCTIONS in a flash sprite, ie even something like sprite(x).callframe(_root.buttondown.allbuttons.switchThem) - but that's really doing a telltarget...hmm Any ideas? You can create a controller movieclip called functions or something. Inside it, put all the functions,

RE: lingo-l CD Works in 98 but not in 2000/NT?!

2001-08-07 Thread Steven Sacks
really sounds like you have a path problem going to the secondary movie. maybe it's hard coded, maybe you have spaces in the file folder names, dunno. is the folder you have the secondary movie in directly under the stub is the path to it being properly called. put an alert in the calling

RE: lingo-l External casts?????

2001-08-06 Thread Steven Sacks
in shared casts that have ever needed to be Adjusted (even once!). Cheers, Steven Sacks [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

RE: lingo-l FileXtra 3 - can't create folder across network in NT but can in 98

2001-08-03 Thread Steven Sacks
No, this needs to be all done from inside Director without any interaction from the end user. They can't even create the folder path on the network drive because they say it is too much effort. This network drive is a local drive to each store across the nation, but it is managed from one

RE: lingo-l FileXtra 3 - can't create folder across network in NT but can in 98

2001-08-03 Thread Steven Sacks
How would I use Buddy API in this case? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kerry Thompson Sent: Friday, August 03, 2001 6:39 PM To: [EMAIL PROTECTED] Subject: RE: lingo-l FileXtra 3 - can't create folder across network in NT but can

RE: lingo-l tracking time elapsed using the short time

2001-08-02 Thread Steven Sacks
How about this: gStartTime = the short time put gStartTime -- 3:55 PM gEndTime = the short time put gEndTime -- 5:23 PM set the item delimiter = : set sHour = value(item 1 of gStartTime) set sMin = value(item 2 of gStartTime) set eHour = value(item 1 of gEndTime) set eMin = value(item 2 of

RE: lingo-l tracking time elapsed using the short time

2001-08-02 Thread Steven Sacks
Steve, Can you use the ticks?? This is a running count and can only (I think) be reset by re-booting the computer. This seems easier: on startMovie gStartTime = the ticks end on stopMovie gEndTime = the ticks gTotalTime = gEndTime - gStartTime tHours = gTotalTime/60/60/60 tMins

RE: lingo-l tracking time elapsed using the short time

2001-08-02 Thread Steven Sacks
PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Steven Sacks Sent: Thursday, August 02, 2001 1:57 PM To: [EMAIL PROTECTED] Subject: lingo-l tracking time elapsed using the short time Hello, Director 6.5, Win NT I'm developing a program for Windows NT and I need to write a script

lingo-l tracking time elapsed using the short time

2001-08-02 Thread Steven Sacks
to the short time for 12/24 clocks -- turn it into a string that looks like HH:MM end on stopMovie global gStartTime, gTotalTime set gStopTime = the short time set gTotalTime = gStopTime - gStartTime -- Can you do direct math on the short time like that? end Thanks in advance, Steven Sacks

RE: lingo-l tracking time elapsed using the short time

2001-08-02 Thread Steven Sacks
1:49:56 In ticks, that's 395760. Add 23:28. In ticks, that's 84480. If we add the time code we get 2:12:24. If we add the ticks we get 480240. Convert 480240 to time code and we get: 2:13:24 We gained a minute, though I don't see where. If anything, though, since I'm not using seconds, it

RE: lingo-l Controlling Flash Buttons?

2001-07-24 Thread Steven Sacks
I'd like to learn Flash too, but right now I can't afford to. See the .sig below. It is of the highest importance, therefore, not to have useless facts elbowing out the useful ones Flash is cake. I remember everything about Director, and, if anything, programming in Flash has improved my

RE: lingo-l Re: HELP! - Network: find server by name and map to local drive

2001-07-19 Thread Steven Sacks
based on the user information. Any help would be much appreciated. All of this needs to go on in the background with no user interaction. Thanks in advance, Steven Sacks [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/lingo-l.cgi To post

RE: lingo-l Re: HELP! - Network: find server by name and map to local drive

2001-07-19 Thread Steven Sacks
IMNSHO if you don't want the user to know about it then I personally wouldn't writer it on the Desktop... I only want the user not knowing about it insomuch as they don't see any prompts or Director losing focus. I just want it to take place in the background without requiring any interaction.

lingo-l HELP! - Network: find server by name and map to local drive

2001-07-18 Thread Steven Sacks
Hello, I've been asked to find a server across a network by the name of the server (not drive number) and then map it to a local drive (not even sure what all that means). This is to save a simple comma delineated list in a text file that needs to be saved into a specific folder on a named

RE: lingo-l HELP! - Network: find server by name and map to local drive

2001-07-18 Thread Steven Sacks
Sorry, this is for D6.5 on Windows NT 4. Thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Steven Sacks Sent: Wednesday, July 18, 2001 4:22 PM To: [EMAIL PROTECTED] Subject: lingo-l HELP! - Network: find server by name and map to local

RE: lingo-l Having sprites check a list to see if blendshould be changed

2001-06-11 Thread Steven Sacks
property myRedBoxDate, mySprite, spriteNum on beginSprite me myRedBoxDate = whatever date mySprite = sprite(spriteNum) if myRedBoxDate startDate and myRedBoxDate endDate then mySprite.blend = 60 end if end That may require a little touch up, but that's the concept right?

RE: lingo-l FSCommand and lingo

2001-06-04 Thread Steven Sacks
Be aware - FS Command does not work on Mac in the IE browser. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Diana Robson Sent: Monday, June 04, 2001 4:42 PM To: [EMAIL PROTECTED] Subject: lingo-l FSCommand and lingo I'm working on a director

lingo-l capturing key events for F keys and specialty keys

2001-06-02 Thread Steven Sacks
Hello, I have a unique situation where I need to capture keyboard events off of a specialty keyboard. I tried to capture the key and keycodes but it returns a square for the key and 16 for the keycode for all of those (just like an F key). What can I do to get a unique key code from each of

RE: lingo-l Is there a way for filmloop to play once?

2001-05-12 Thread Steven Sacks
sure! select the film loop in the cast, click on the i and check the box for Play Once. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mel Kloscheim Sent: Saturday, May 12, 2001 4:14 PM To: [EMAIL PROTECTED] Subject: lingo-l Is there a way for

RE: lingo-l I SEARCHED ARCHIVES AND COULD FIND NOTHING

2001-05-10 Thread Steven Sacks
What is HTH ? Hope That Helps [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 helping with programming Lingo.

RE: lingo-l multiuser game - approach?

2001-05-09 Thread Steven Sacks
The MU server ... runs only on Mac and PC if that's an issue. As opposed to...a Commodore? ;) I think you mean Mac OS and Microsoft Windows. AFAIK, you can run Unix, BeOS, etc. on either Mac or PC. [To remove yourself from this list, or to change to digest mode, go to

RE: lingo-l what is mazeRect + pRectList?!

2001-04-16 Thread Steven Sacks
Yes, plagiarism is a dead clever way to pass the first year of your degree. ;) Without actually seeing the code, you probably need to declare pRectList as a property at the top of the script property pRectList Cheers, Steven -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: lingo-l what is mazeRect + pRectList?!

2001-04-16 Thread Steven Sacks
what are you going to do when the teacher asks you how the code works? "how's [being clever] working out for you?" - Tyler Durden (paraphrased) from Fight Club [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

RE: lingo-l Flash Problem in Director

2001-03-07 Thread Steven Sacks
i had the same exact problem with a presentation i built. hmmnobody had a response before. mine didn't do it every minute, but it did it often enough to render my kiosk program a nightmare. macromedia has no technotes on this that i can find. i'm watching closely. i hope somebody knows

RE: lingo-l Moving the Cursor

2001-03-07 Thread Steven Sacks
somebody made an xtra awhile back (D5, I think) that let you put the cursor anywhere you wanted on the screen. forgot the name. somebody here must know it. so the answer is, you can. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tab Julius Sent:

lingo-l RE:

2001-02-23 Thread Steven Sacks
sprite(x).constraint = sprite(y). make a constraint sprite and put it on the stage and make it invisible. a white on white square shape set to background transparent should help. steven -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL

RE: lingo-l Flash sending Lingo to Director

2001-02-08 Thread Steven Sacks
You could make two film loops, with one being the fade-out animation. Then, when you click it, simply swap out the cast member with the fade out film loop. I missed the original post, so I'm sorry if this idea isn't in line with what you are doing. Steven -Original Message- From:

RE: lingo-l arrrghhh go lesson' isn't working....

2001-01-25 Thread Steven Sacks
does NOT go to "lesson"; but label("lesson") DOES put the frame number of "lesson". if this works put label("lesson") but this doesn't go frame "lesson" then try this variation x = label("lesson") go frame x Have you

RE: lingo-l Flash question urgent

2001-01-19 Thread Steven Sacks
a two frame loop that sets those variables to whatever variables you are trying to track) may help solve your problems. Good luck, Steven Sacks [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

RE: lingo-l Flash question urgent

2001-01-19 Thread Steven Sacks
heh, what does this have to with the thread "Flash question urgent"?? heheh. =) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jason [JZway.com] Sent: Friday, January 19, 2001 6:34 AM To: [EMAIL PROTECTED] Subject: RE: lingo-l Flash question

RE: lingo-l EASY QUESTION !!!!

2001-01-11 Thread Steven Sacks
These all do the same thing: go the frame go to the frame go frame 10 go to frame 10 go 10 Which do you like more? go to the frame is easier to read for some, while go the frame is easier to read for others. Personally, I prefer go the frame and go frame 10 because it is a happy medium of

RE: lingo-l lingo equivalent to Wait for X seconds

2001-01-03 Thread Steven Sacks
er by hard coding waitTime in on beginSprite. on beginSprite me waitTime = 5.5 end where 5.5 is the number of seconds. HTH, Steven Sacks [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Slava Paperno Sent: Wednesday, January 03, 20

RE: lingo-l Double click tell stage ...

2000-12-26 Thread Steven Sacks
Heh, I was being a little sarcastic there, though I appreciate your testing tips. As far as markers being read as numbers, I did some tests and looked up the command in the Dictionary... put marker("this") -- 15 x = "this" put marker(x) -- 15 From the lingo dictionary: Function; returns the

RE: lingo-l Code for pacman

2000-12-26 Thread Steven Sacks
Not the answer to your problem, but a related funny quote: "Computer games don't affect kids. I mean, if pac man affected us as kids we'd all be running around in darkened rooms, munching pills and listening to repetitive music." Uh...huh... :-) -Original Message- From:

RE: lingo-l Double click tell stage ...

2000-12-22 Thread Steven Sacks
an Mark R. Jonkman Consulting ADDRESS: 20 Windermere Crt., Guelph, ON, CANADA N1E 3L4 PHONE: 519-837-8509 EMAIL: [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Steven Sacks Sent: Fri

RE: lingo-l Double click tell stage ...

2000-12-21 Thread Steven Sacks
i think the trouble is with go to marker. tell the stage to go frame "xx" HTH, Steven Sacks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Vanden Broeck, Daniel Sent: Friday, December 22, 2000 2:34 AM To: '[EMAIL PROTECTED]' Subjec

RE: lingo-l Re: rollovers and enterFrame

2000-12-05 Thread Steven Sacks
, and will perform much better. There are many better and easier ways to accomplish what you are doing. Also, I recommend not doing your puppetsprite x, FALSE on startMovie, but instead do it on the first frame of the movie on prepareFrame. HTH, Steven Sacks [To remove yourself from this list

RE: lingo-l RE: Lingo-L Digest V1 #1717

2000-11-21 Thread Steven Sacks
You keep resetting your list everytime, which is why it isn't adding correctly. Perhaps a property list is best here so you only need one list to keep track of every marker. First, initialize countList in your movie script on startMovie global countList countList = [:] end Then, put this

RE: lingo-l RE: Lingo-L Digest V1 #1715

2000-11-19 Thread Steven Sacks
OOPS! change this line if imgCount = (imgList.count() + 1) then imgCount = 1 sorry steven -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Steven Sacks Sent: Sunday, November 19, 2000 7:28 PM To: [EMAIL PROTECTED] Subject: RE: lingo-l RE: Lingo

RE: lingo-l Sound problems

2000-11-09 Thread Steven Sacks
A Stinkpad? Oh no! Heh, I had to develop a multimedia presentation on a Stinkpad once a few years ago. Not for one, on one. Ack! Those things cost so much and are terrible at multimedia. I heard the newer ones aren't as bad, though. My 2 cents. -Original Message- From: [EMAIL

lingo-l Time computation based on frame - Solved

2000-11-08 Thread Steven Sacks
Thanks to everyone who helped. Here is the solution. I'm not sure if it can get anymore succinct or elegant, but it works. on putTime cFrame, tFrames ttsec = integer(tFrames-(10*integer(tFrames/10))) twsec =

RE: lingo-l Time computation based on frame - Solved

2000-11-08 Thread Steven Sacks
Heh, well, the truth was I was making it for Flash, but I was figuring out the script in Director b/c Director is a heck of a lot easier to script and test in, even with the new syntax in Flash 5. The only thing I can do to hasten the process, is instead of making three duplicate sets of

RE: lingo-l OT: Broken Threads

2000-11-08 Thread Steven Sacks
For some reason, when I try to reply to Lingo-L threads, it sometimes emails ME instead of penworks. I don't understand why that is, so I have to reply to a different thread, copy and paste the subject, and send it that way. I didn't know it would cause a problem. I'm using Outlook (ugh, i

RE: lingo-l flash audio in director

2000-11-07 Thread Steven Sacks
set the sound to stream is one option. puppeting all the sound channels 1-8 to 0 might help. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tim Koster Sent: Tuesday, November 07, 2000 8:56 AM To: [EMAIL PROTECTED] Subject: lingo-l flash audio in

RE: lingo-l loosing flash sounds....

2000-11-06 Thread Steven Sacks
the QT movies. Just to let you know, but I had that exact problem. HTH, Steven Sacks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Nick Youmans Sent: Monday, November 06, 2000 11:13 AM To: Penworks Lingo Mailing List Subject: lingo-l loosing fl

RE: lingo-l Difference?

2000-10-26 Thread Steven Sacks
Navigation is a tool, interaction is using it. =) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mahmood Akhtar Sent: Thursday, October 26, 2000 2:26 AM To: Lingo-l Subject: lingo-l Difference? Hi Lingo Gurus! What is the difference

RE: lingo-l Difference?

2000-10-26 Thread Steven Sacks
What would that make clients?? the full service attendants who fill your car with gas while lowering the air in your tires. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of John Aquilina Sent: Thursday, October 26, 2000 2:57 AM To: lingo-l

RE: lingo-l forcing Updatestage ALL AT ONCE?

2000-10-25 Thread Steven Sacks
A simple solution would be to put a big black (white?) box in the highest sprite channel all the way through your movie that covers the stage entirely, or, even better, a loading image that covers the stage. When you are done rendering you can move it off the stage, or alter its member or

RE: lingo-l Q: cue points and lingo

2000-10-20 Thread Steven Sacks
Hmm...I've never had any problems with using cue points in AIFF files, whether I use the tempo channel to wait for cue, or if I use lingo isPastCuePoint() or on cuePassed. I'm wondering what you mean by throwing off the animation. Are you saying that the animation halts while it waits for the

RE: lingo-l Behaviour Script me

2000-10-19 Thread Steven Sacks
(hence, me). me.spriteNum is the spriteNum associated with the behavior, the sprite that the behavior is attached to. Check out this article for more on OOP, me, and dot syntax: http://www.mcli.dist.maricopa.edu/director/tips/oops/035.html and http://www.zeusprod.com/nutshell/dotsyntax.html HTH, St