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

2001-08-09 Thread Mark R. Jonkman
Hi Kerry >I got a little lost in the part about the 4 > and the 3 and 0 and the 4th 0 of the third minor seventh. > > Cordially, > > Kerry Thompson That's the problem with you exBostonians.. you lose a little hair and you get totally befuddled by by the 4th 0 of the third minor seventh. you

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

2001-08-09 Thread Mark R. Jonkman
Hi Steven did you try to do the following set someFile = new( Xtra "FileIO") errorCode = openFile(someFile, FilePath, 0) errorCode = delete someFile errorCode = closeFile( someFile ) set someFile = 0 it might work just a wild stab in the dark Sincerely Mark R. Jonkman [To remove yourself

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

2001-08-09 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? Runnin

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

2001-08-09 Thread pranavn
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? Cordially, Pranav Negandhi New Media Applications. Learnet India Limited, Mumbai. Phone: 91-22-859 8042 Ext: 410 I figured out a workaround, clunky as it may be

RE: 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: File IO - how do I erase text in a file?

2001-08-09 Thread Sean Wilson
> 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 untouched. I've had the same problem. The only workaround I could come up with was to del

RE: 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 untou

Re: File IO - how do I erase text in a file?

2001-08-09 Thread Kerry Thompson
>Is there Some way to just delete >the last char of the text file each time it opens >it to save and then write to it How about: theText = readFile (theFile) delete theText.char[theText.length] writeString (theFile, theText) Does that do what you want? I got a little lost in the part about th

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 the

RE: Putting text into sprite not member

2001-08-09 Thread Kerry Thompson
>hasn't this question been asked and answered in the past few days here >or on Direct-L? Sure has. Check the header--the message was sent Monday. We're getting duplicates--I've seen a few others go drifting by in the stream. Cordially, Kerry Thompson [To remove yourself from this list, or

Re: volume up and down buttons

2001-08-09 Thread pranavn
You haven't declared 'vol' as a global in the scripts for the volume up and volume down. You can also shorten your scripts like so: For volume [+] on mouseUp me global vol vol = max(7, vol + 1) the soundLevel = vol end mouseUp me For volume [-] on mouseUp me global vol vol = min(0, vol -

RE: volume up and down buttons

2001-08-09 Thread Sean Wilson
> But I get error- > variable used before assigned a value You need to declare "global vol" at the top of each of your mouseUp handlers. Try: on startMovie global vol set vol to 4 set the soundLevel to vol end -- for volume [ + ] on mouseUp global vol if vol < 7 then set v

volume up and down buttons

2001-08-09 Thread mirianam
I am very new to Director and lingo especially so bear with me please. I have a volume icon and a plus and a minus sprite and i want to make the volume go up incrementally on clicking plus and doown clicking minus I've put these scripts in: on startMovie global vol set vol to 4 set t

volume

2001-08-09 Thread gregory david lewis
I'm an illustrator and not a programer. I am working on a director prodject that uses puppet sounds. The puppet sounds work ok but I would like to add a button that would controll the volume of my puppets? How do I do this? [To remove yourself from this list, or to change to digest mode, go to h

Downloading a file from CD-Rom

2001-08-09 Thread Sabrina Stokes
Good evening, This is my first day using this mailing list. So in advance I'm sorry if these questions have been asked... Within a CD-Rom we are developing, the end user is able to click and choice a destination (on their desktop) for the document ex) .doc. I'm not exactly sure how to go about do

Re: SV: collisions ?

2001-08-09 Thread Terry R. Schussler
At 2:07 PM -0300 8/9/01, Agustín María Rodríguez wrote: >I´ve modified this example from balls to boxes and some other things. I >hope it >solves your problem. [snip] Don't forget to set the collision.mode property to the desired collision processing method. >Movie script: > >on CallSpcript me

RE: Comunications between projectors

2001-08-09 Thread Terry R. Schussler
At 12:50 PM -0400 8/9/01, Al Hospers wrote: >> If I've two running projectors (proj_1 and proj_2) is there a >> way to pass >> parameters from proj_1 to proj_2 without writing to HD. > >1 - why no HD writing? getPref/setPref would work pretty well. This can create a crash in some circumstances an

Re: CurrentScript

2001-08-09 Thread Terry R. Schussler
At 3:51 PM +0200 8/9/01, Yariv Alter Fin wrote: >Dear List, > >At the finishing line of our soon-to-be-online project we are deep >into the phase of shockwave debugging. Using the alertHook handler, >all error messages are displayed in a text field, and the user is >requested to restart/reload. Pr

RE: Putting text into sprite not member

2001-08-09 Thread Al Hospers
hasn't this question been asked and answered in the past few days here or on Direct-L? Al Hospers CamberSoft, Inc. alcambersoftcom http://www.cambersoft.com A famous linguist once said: "There is no language wherein a double positive can form a negative." YEAH, RIGHT > -Original Message--

pulling folder and file names

2001-08-09 Thread Jeremy Thobe
I'm new to the list so I apologize if you've already dealt with this. What I need to do is be able to access and put(on screen) the names of all the sub-folders, and the files within them, sometimes four or five layers deep. I want to not only be able to display them, but the user has to be a

Re: flash 4 swf and QT direct to stage flickering

2001-08-09 Thread grimmwerks
You could've just set sprite(flashsprite).static = true [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

Re: flash 4 swf and QT direct to stage flickering

2001-08-09 Thread phid
on 8/10/01 6:34 AM, phillip louderback at [EMAIL PROTECTED] wrote: > hi all, > I'm trying to use a flash 4 interface as a background > and then play a quicktime direct to stage (director > projector, v8) but the video is flickering like mad. > if i use a bitmap as the background it runs fine. > c

QT video flashes between DTS and notDTS

2001-08-09 Thread phillip louderback
hi again, i'm toggling a quicktime between direct to stage and not DTS. when i turn it back on it becomes invisible and then flashes on. Is there a workaround? thanks phillip louderback __ Do You Yahoo!? Make international calls for as low as $.04/m

Fwd: test lingo filter

2001-08-09 Thread Kerry Thompson
Hey Tab-- This could be trouble. I've gotten spammed from this "I Hate Spam" alias before. It looks like he/she is testing to see if their mail gets through your spam filter. I have them filtered out in Eudora, but not coming through Lingo-L. Cordially, Kerry Thompson >X-Authentication-Warni

RE: MUI Xtra question

2001-08-09 Thread Tom Jacobs
On 8/9/01 at 2:12 PM, Robert Wingate shared the following: > > Either one is better than trying to code MUI...what a headache! > >Aw, come on. MUI is really straightforward, and it pretty much does what >you tell it to. The current shockwave-unsafety is the biggest headache! >This article makes i

Re: thanks flash 4 swf and QT direct to stage flickering

2001-08-09 Thread phillip louderback
thanks a million, toggling the static of the swf seems to be helping. phillip --- Kerry Thompson <[EMAIL PROTECTED]> wrote: > > >I'm trying to use a flash 4 interface as a > background > >and then play a quicktime direct to stage (director > >projector, v8) but the video is flickering like > mad

test lingo filter

2001-08-09 Thread I Hate Spam
test test [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. Thanks!]

RE: MUI Xtra question

2001-08-09 Thread Robert Wingate
> Either one is better than trying to code MUI...what a headache! Aw, come on. MUI is really straightforward, and it pretty much does what you tell it to. The current shockwave-unsafety is the biggest headache! This article makes it easy: http://www.director-online.com/accessArticle.cfm?id=888

Re: flash 4 swf and QT direct to stage flickering

2001-08-09 Thread ifmp
RE: -- >From: phillip louderback <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: flash 4 swf and QT direct to stage flickering >Date: Thu, Aug 9, 2001, 12:34 PM >I'm trying to use a flash 4 interface as a background >and then play a quicktime direct to stage (director >projector, v8

Re: flash 4 swf and QT direct to stage flickering

2001-08-09 Thread Kerry Thompson
>I'm trying to use a flash 4 interface as a background >and then play a quicktime direct to stage (director >projector, v8) but the video is flickering like mad. >if i use a bitmap as the background it runs fine. >can't qt and swfs coincide? any help would be >appreciated. If the swf isn't anima

Re: flash 4 swf and QT direct to stage flickering

2001-08-09 Thread Colin Holgate
>I'm trying to use a flash 4 interface as a background >and then play a quicktime direct to stage (director >projector, v8) but the video is flickering like mad. >if i use a bitmap as the background it runs fine. >can't qt and swfs coincide? any help would be >appreciated. If the Flash sprite is

Re: SV: collisions ?

2001-08-09 Thread Agustín María Rodríguez
I´ve modified this example from balls to boxes and some other things. I hope it solves your problem. Behavior attached to some sprite: on mouseUp me w=sprite(me.spriteNum).member w.resetWorld() box=w.newModelResource("box", #box) box.radius=1 box1=w.newModel("box1", box) box2=w.newMo

flash 4 swf and QT direct to stage flickering

2001-08-09 Thread phillip louderback
hi all, I'm trying to use a flash 4 interface as a background and then play a quicktime direct to stage (director projector, v8) but the video is flickering like mad. if i use a bitmap as the background it runs fine. can't qt and swfs coincide? any help would be appreciated. phillip louderback __

RE: CD playing using MCI command

2001-08-09 Thread Kerry Thompson
>while this is true, it has nothing to do with playing an audio CD >track, which was the original question and in fact was the subject of >the posting... Ah... good catch, Al. I zoned in on the part about casts and such, and missed the part about Red Book. Thanks for setting it straight :-)

RE: Comunications between projectors

2001-08-09 Thread Al Hospers
> If I've two running projectors (proj_1 and proj_2) is there a > way to pass > parameters from proj_1 to proj_2 without writing to HD. 1 - why no HD writing? getPref/setPref would work pretty well. 2 - are they running on the same machine? 3 - how about a peer to peer MultiUser Server? > Some

RE: CD playing using MCI command

2001-08-09 Thread Al Hospers
Peter: > I have complete documentation about MCI commands from > Microsoft, but (as other things) it does not work. hmmm. interesting statement. I have done a lot with MCI & once you get over some conceptual hurdles it worked quite well. while it is depricated, the support for MCI is still there

Comunications between projectors

2001-08-09 Thread Andrea Boratto
If I've two running projectors (proj_1 and proj_2) is there a way to pass parameters from proj_1 to proj_2 without writing to HD. Something like "tell (projector) to..." as with MIAW? Thanks, Andrea [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com

Re: CD playing using MCI command

2001-08-09 Thread Kerry Thompson
>Is it the good idea to play large sounds (songs) from >an audio track added to CD via MCI commands rather >then importing to cast and say puppetSound. ? MCI has been deprecated by Microsoft for several years, and has only legacy support. I'd stay away from MCI. You can use sound playFile,

RE: CD playing using MCI command

2001-08-09 Thread jayp
What os are u using.microsoft don't support mci any longer -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Peter Rosa Sent: 09 August 2001 15:56 To: [EMAIL PROTECTED] Subject: CD playing using MCI command Importance: High Hi all Director lovers,

CD playing using MCI command

2001-08-09 Thread Peter Rosa
Hi all Director lovers, how exactly should I use the mci() command in Director ? I have complete documentation about MCI commands from Microsoft, but (as other things) it does not work. I just try to play an Audio-CD track from Director. Is it the good idea to play large sounds (songs) from an a

Re: Giving focus to an editable text member

2001-08-09 Thread Yariv Alter Fin
Yes! It Works! and Thanks A Bunch. Yariv >Take a look at the keyboardFocusSprite > >florian > >Yariv Alter Fin wrote: >> >> Dear All, >> >> Just a little question: does anyone know how to give 'focus' to an >> editable text member, so that the cursor will already be blinking >> inside it wit

Re: Giving focus to an editable text member

2001-08-09 Thread LePhuronn
I think the comand you're after is "the keyboardFocusSprite" or words to that effect. [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: Giving focus to an editable text member

2001-08-09 Thread Florian Bogeschdorfer
Take a look at the keyboardFocusSprite florian Yariv Alter Fin wrote: > > Dear All, > > Just a little question: does anyone know how to give 'focus' to an > editable text member, so that the cursor will already be blinking > inside it without the user having to click the text area first...? >

CurrentScript

2001-08-09 Thread Yariv Alter Fin
Dear List, At the finishing line of our soon-to-be-online project we are deep into the phase of shockwave debugging. Using the alertHook handler, all error messages are displayed in a text field, and the user is requested to restart/reload. Problem is, that since the entire application happen

Giving focus to an editable text member

2001-08-09 Thread Yariv Alter Fin
Dear All, Just a little question: does anyone know how to give 'focus' to an editable text member, so that the cursor will already be blinking inside it without the user having to click the text area first...? Yours, Yariv [To remove yourself from this list, or to change to digest mode, go

Re: Archives

2001-08-09 Thread Cole Tierney
http://www.mail-archive.com/lingo-l@penworks.com/ >I know this has been asked and answered, but > >where are the archives for this list? I could have sworn I bookmarked them. > >Cordially, > >Kerry Thompson [To remove yourself from this list, or to change to digest mode, go to http://www.pe

RE: best mpg player: directMedia or mpegXtra?

2001-08-09 Thread jayp
There was a time when mpeg xtra was the best because it used MCI strings that winodws was famous for...however as the OS moved on the support for MCI declined and problems arose in the mpegxtra and it was just not a viable option anymore for Os systms higher than win95 Direct show replaced MCI whi

XP protection

2001-08-09 Thread Andrew Dempsey
You can also use the DirectOS Xtra from www.directxtras.com. I actually prefer it in many ways for most of my tasks. Andrew -- Andrew Dempsey Multimedia Developer and Consultant Cairo, Egypt Email: [EMAIL PROTECTED] Phone/Fax: (+202) 267-7691 Web: www.a

SV: collisions ?

2001-08-09 Thread Magnus Ewald
Hi List Im a 8.5 newbie and i am trying to get the collision detection working with a "setCollisionCallback()", but i cant get it to work. I have 2 models, "box" and "box2", how do I easyest ,to say, show an alert message when these collide ? thanx /magnus [To remove yourself from this list, or