Re: RE: Way OFF: Look MA: I'm on TV
>> I Rock, back-and-forth when I am concentrating heavily. >> Strange habit I picked up as a kid :) > >> so does Bill Gates... are you two related? > > Hu - I suspect this is a good thing? > Strange nervous tick suffering programmers: UNITE!!! > > [wow, that aught to provoke a ton of responses ;)] > Please - no photos, as I have yet to eat lunch... Please - calling Bill Gates a programmer is like calling your janitor a hygenic technician. -Kurt [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: the "do" command
> I parse an xml file and for every child i generate a > sprite at runtime. Each child in my xml file has > further subchildren with data about the child. I need > to store this data about the child in a list which > corresponds to the number of the sprite such as list 1 > list2 and so on. > Finally I store all these small lists in one main list > so that when i click the sprite on stage i can display > the data about it..but to do this when i click it i > get the sprite number and from that number i need to > retrieve the corresponding data list. > for which i need to dynamically generate the name of > the list by adding "list" with spritenumber. > > I hope it was not too complicated to undertand > Thanx so much for your kind interest in this > problem... Make your main list a property list, use the sprite number as the property, and the list of corresponding data as the value. -Kurt [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: Way OFF: Look MA: I'm on TV
> Multimedia Producers Rock! Ah, so that's what they do. I've been wondering for years now. ;) -Kurt [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: OT: Giving away your lingo
> NEVER GIVE AWAY YOUR SOURCE CODE THAT SMALL MEDIA DEPARTMENT TODAY WILL > BECOME A BIG ONE TOMMORROW AND REUSE YOUR LINGO TEMPLATE AS BASIS FOR OTHER > PROJECTS. YOU MIGHT BE ABLE TO SELL THE CODE TO THEM, BUT REMEMBER THEY WILL > STILL IT. I HAVE SEEN IT HAPPEN BEFORE AHEM! LOL. Get over yourself, dude, no need to shout. As Al said, just make sure that you have a contract which clarifies your rights to your code. If that means that they have the right to repurpose your code, so be it, as long as you retain the right to write the same code again for a different client (right/write... I apologize for the rhymes). Give them the code. What are they going to do with it? 1. Hire some other dir developer who is equal to or beyond you in ability, and will likely just toss your code in the dumpster while replicating the functionality in his own style. 2. Is not as good of a coder, and will struggle to understand why his modifications cause crashes. I don't think you gain a thing from keeping your Dir source code. If you've written a better Quake engine, then you might want to hold on to it. But, if you're simply writing Dir code, then your ability to quickly produce code that meets the client's requirements is what sets you apart from the shlubs. If you feel threatened by shlubs, go and study hard. As long as I retain my right to write similar code for a different client, I don't care who has rights to my current project. I will do it better and faster the next time, largely because I share that code with smarter people than myself. The subject of the thread amuses me - we constantly give away our lingo to the members of this list. 2 cents, Kurt [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: RE: OOP and ancestor access
Jakob made a lot of good points, and boiled it all down to: > Suddenly it seems so cloudy again... can you wipe away the clouds? This is where I usually end up whenever I try to adhere religiously to pure OOP standards in Director. I just get the feeling that the hybrid procedural/oop environment that is Director tends to encourage somewhat hybrid coding. However, this has been an enjoyable thread to follow - I stayed out of it until now, simply because others voiced my POV. For myself, I won't necessarily stop using accessor methods - but when I do, I will certainly pause and reconsider what each object is doing. I may decide to retain the accessors, and if that means that I'm not really writing OOP code, well, so be it - if you don't break a rule (for a logical reason) once in a while, you never come up with a new system. 2 cents, Kurt [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: RE: xtra problem
> Well, you still have to invoke budapi as well... Instantiate? No, you don't - you can do it, but it's a waste of time. Because buddy's functions are global, the "ba" prefix is there to help differentiate the xtra's functions from lingo functions. Same goes for the audio xtra v. 4 (which is a significant change from version 3). -Kurt [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: RE: mouseLoc or?
> You can use BuddyAPI to restrict the movement of the cursor... > > RestrictCursor > > Description:baRestrictCursor restricts the cursor to a specified part of > the screen. > > Usage:baRestrictCursor( Left, Top, Right, Bottom ) That raises an interesting question, though - how do you exclude the cursor from a rect, not contain it within a rect, as in this case, where the cursor needs to stay outside of a QT? It seems to me that baPlaceCursor() might be a better fit (FWIW, restrictCursor() is not available on the Mac side, anyway) in this case. Either way, though, you're going to need to do some polling of the mouseLoc. Try this (attach to the Quicktime sprite): - - property pMySprite property pMyRect property pLastLoc - on beginSprite me pMySprite = sprite(me.spritenum) pMyRect = pMySprite.rect end - on exitFrame me currentCursorLoc = the mouseLoc if inside(currentCursorLoc, pMyRect) then baPlaceCursor(pLastLoc.locH, pLastLoc.locV) else pLastLoc = currentCursorLoc + point(the stageLeft, the stageTop) end if end - - [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: QTs not playing on net
> But my new and far more serious problem is now getting the sounds to play > over the internet. When I publish my project, everything works great locally > on my computer and in my browser. However, when I copy the files to the > internet and try from http://... everything works except for the sound. And > the QuickTime slider comes on and is just stuck there. The audio file was > only 60K. These are QTs that play within director, yes? Have you included the QT3Asset xtra and marked it for download in your shockwave? -Kurt [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: I SEARCHED THE archives...
> Does anyone happen to know if, after using imaging lingo to create a new > bitmap, I can save it to an external file/cast? Yes. For a cast, in addition to what Buzz said, you need to leave the external cast unprotected and make sure the cst file is not read-only (the movies can be protected). Then, I believe you need to call "save castLib" with the path of your external cast (check the lingo dictionary for an example) for the changes to be retained between sessions. For a file, you have some options - the MUS 3 will do it if you need a web-based solution (there are several image formats supported), and there are the xtras that Al mentioned. Several methods of passing image data as a string have been posted here in the past, as well. > also, is it possible to script a sprite to span 1000 frames? or does there > already have to exist a sprite with that span? That, I don't know. -kurt [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: Re: editable text fields
> characters that can be entered, and i think it's a little weird just to > check for correct when they have the right number of letters, as opposed > to a submit button. I'd have to agree with Bhakti on that one. What if the user types "who" when the correct answer is "whom"? Nothing happens when the user types what he/she assumes is correct, and that's a bit odd. 2 cents, Kurt [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: mouse over which sprite?
Date: Thu, 2 Aug 2001 21:03:05 +0200 From: "Natalia Tjelum" <[EMAIL PROTECTED]> Subject: mouse over which sprite? >Ok, this is plain silly, but I can't remember the function that returns the >spritenumber of the sprite the mouse is currently over... >I remember the mousemember and the rollover() functions, but those returns >any sprite, and I only want it to return the spritenumber, if the sprite >contains a script, I have done this before, but I just can't remember! >Please help my poor memory >- -Natalia Is there any chance that you mean 'the clickon' Natalia? This does only return the spritenumber if there is a script on the sprite.It works only on a mouseclick although. Kurt * Belgium btw: Here's a script that returns the spritenumber only when there is also an other script on the same sprite: on mouseenter me if sprite(me.spriteNum).scriptInstanceList.count > 1 then return sprite(me.spriteNum).spritenum end if end [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: ALERT
You don't need DirectOS or BuddyAPI Xtra like someone said before... There's an Xtra in Director included for this ; MUI Xtra. This will do EXACTLY what you need. You can download a pdf file on how to use it from Macromedia's site. Kurt * Belgium - -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Roman Pekarek Sent: Wednesday, August 01, 2001 10:37 AM To: [EMAIL PROTECTED] Subject: ALERT I want to create an "system-like" prompt .. Something like lingo command alert("message") , but its only with OK button .. I need OK and Cancel. How to create in Director ? Is there any lingo command ? Pytkin [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: how to change video source while playing?
> Can someone telle me how I can change the source of an videocastmember while > the video is playing? > I have a video playing in sprite a, and with a skip-button I'd like the the > sprite to stop, load another file into the memeber and start playing again. > > I now use this: > > property pCurrent -- video currently playing > property pItemList > property pVideoSprite > property pVideoCount -- total of video's available > > on skipForward > sprite(pVideoSprite).movieRate = 0 > pCurrent = pCurrent + 1 > -- read the next filename from a list in a global > member("PFplaceHolder").filename = pItemList.folder & "\video" & > pItemList.video[pCurrent] > sprite(pVideoSprite).movieRate = 1 > end > > only the first video plays, script doesn't return errors. > I have the feeling that I have to "disable" the sprite in a way. > > any suggestions?? Yes, your pathnames are probably off. A member's fileName won't change if the file does not exist at the path you supply. Thus, the fileName remains the first movie. -Kurt [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: RE: Tab's New Book (was: South Africa or something)
>>> whatever you do, please don't loose that approach. >> >> Gee, and Karina was so postive about the book... > > ;p ;p ;p ;p ;p ;p ;p > > I meant lose :) > > It took me a while to see what you meant, and did I ever mention that > English may not be my native tongue? :P > > And BTW, it's "positive" ;> No offence meant... I just thought it was a humorous typo. -Kurt [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: Tab's New Book (was: South Africa or something)
> whatever you do, please don't loose that approach. Gee, and Karina was so postive about the book... :) Kurt [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: RE: Best way to post graphic to web?
>> I've got postNetText() working to put text in a net >> directory, but how do I >> send a graphic to the web? I'm not talking about emailing it, >> I just want to >> use Director to send a graphic from my desktop to a folder on >> my web site. > > there is no native way to do this. you need an FTP Xtra like DirectFTP > from Direct Xtras or XtraNet from HumanCode (no longer supported). Or the MUS. -Kurt [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: Does how you crop affect performance? Croppingutilities..
> It would seem to me that many using the other technique still put their > sprites on stage using an ink other than copy - is their some specific > reason for this? Shockwave and 56k modems. I happily trade fractions of a second in performance (though I tend to use imaging for animations... don't know what you were testing) for large gains in file size. Lots of white space is lots less download time. -Kurt [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: Re: mac stub dir 8.5
> Don't get too hot under the collar, Kerry. You do have good logic, but > this whole issue was a little new to me, since MACR used to have stubs > available on their site, and MACR people used to post that it was OK on > Direct-L. MACR's policy has changed, it makes sense, but don't take it too > personally when people wonder about other methods. > > Sure, you can make someone else a "product" that's just a stub...assuming > you comply with the MACR licensing agreement and include a 4 second MACR > logo in your stub. No, I don't think that's accurate. I distinctly remember this as an item in the license agreement. > Most of us who've done any development realize you NEED the other platform > copy to debug and work on that platform...I suspect that many people > looking for a mac-stub probably don't even have a Mac computer. Perhaps, but that's not a good legal argument. Few courts accept "ignorance" defenses. > And finally, I've just changed jobs, and for the first time in my 5+ years > of MACR programming, I have legitimate copies of all the software on my > machine and none of them are being "stretched" between multiple > machines. Director, the OS, Photoshop, Illustrator, Premiere, etc. http://www.bsa.org/ - if you work for a company that is reluctant to comply, then you really are morally obligated to try to change their thinking. If an individual or organization is making money from the use of software products, then they absolutely should be paying for the tools. By explaining to the management that one disgruntled employee notifying the BSA will probably exterminate the business (the fines are, shall we say, steep), you might make a point. > The last job I had, in the US, the salesguy said "get the sound from > Eye4U.com". > I said "I tried, but they haven't responded to my email." > "No, I think and just want you to capture it." said > . > "Uh...you can't do that!" quoth I. > "Sure you canjust hold the microphone up to the speaker," said . > "You can't do that" I said. > "Oh yeah, the soundcard won't play and record. Here, let me help push this > computer closer so you can capture from a second computer." > > I ended up holding out and the client ended up buying music for the project > (or reusing music they already had the rights to (but who knows if they had > unlimited rights?)). Eventually I convinced this company to buy A copy of > SOME of the software everyone was using, and now, almost all the employees > are working under valid work-visas. Then you are doing your part. I think it's healthier to put a little pressure on, internally, than to "bust" a company. If we all work towards compliance, it will be far more effective than what the BSA could cover on their own. > I'm certainly not saying it's right, just realize what some people running > shoddy companies that are uncomfortable to work for are doing. Coming > across with a little more legal, educational rant would probably help more > than just the moral or group-altruism rant. "It's the only legal way, > now." not "You're a bad person and you're endangering our > livelihood." Trust me, fired the accountant out of the blue and > caused the secretary to quit by asking her to not share the financial > numbers with the guy who bought the company...he really doesn't care a lot > about whether MACR's existence is solid to make your paycheck stable. Don't really know what your point is. Are you saying that it's acceptable to ensure your paycheck by working on illegal copies of your tools? In the end, Kerry's absolutely right. You can justify it all you want, but using illegal copies of software is wrong. You know it's wrong. Whether or not that makes you a "bad" person, I don't know - you decide for yourself. But the issue is not gray, it's pretty black and white - accept the license agreement, or don't use the software. If the company is "uncomfortable" to work for, then you have to ask yourself whether it's worth getting tainted by their filth. An aside, for Buzz and the other good folks who bring us Director. When I went looking for my software license agreement in order to verify that my memory of "no stubs" was accurate, I couldn't find it. There's nothing in my Dir app folder, and several searches of the MACR site turned up nada. I didn't feel like reinstalling Dir just to print the license agreement (especially since I'm a longtime Dir user, and just LOVE having to enter two serial numbers both in the installer and then when I launch the app for th
Re: Re: baXCopy progress
> worse comes to worse, you can always display text asking the user to > wait, and remove it when the copying is over. > it can even be a film loop or animated gif so that there's some motion, > even if it's just a simple repetitive animation... > but whatever you do, riki, don't lose that number. > > - -bhakti, groaning right along with all of you Yes, I am groaning (thanks, Bhakti)... is that number 867-5309? Just want to add that you've set things up well by using the exitframe. That should allow you to do *something* while the copying goes on. You might consider changing the cursor to an hourglass, as well. 2 cents, Kurt [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: Re: cropping images based on a common background
> I'm sure we'd all like to see it Kurt. Can you upload it someplace? > Puh-leeez? > > Regards, > Pranav Okay, it's up. http://www.squidfight.com It requires Buddy (for the drive searching functions), and is not thoroughly debugged (especially on Windows - I don't remember if I got around to making it fully x-platform). Feel free to use any of its code for your own purposes. -Kurt [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: Re: Re: cropping images based on a common background
Much faster. I haven't worked on it for a few months, but I seem to remember it was about a second per image. I'll be posting it later for anyone who's interested (have to run to a meeting now). >> I missed this thread because I've been away, but (with a lot of help from >> Colin, actually - and Werner Sharp as well), I made a Dir utility that does >> this kind of thing through imaging lingo. It's not fully tested, but should >> at least get you on the right track. If you still need help with that, let >> me know. > > I just glanced back in time, and your early version of the routine > took 30 seconds per 800 x 600 bitmap. What is the timing like with > the imaging lingo version? -Kurt [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: RE: referring to the hard drive on a Mac
>> whether or not the app is installed on the same hard drive is >> irrelevant. the getOSDireectory() returns the path to the system >> folder which is on the primary hard drive on the user's system. by >> parsing that you will get the name, or letter if on an Inter system, >> of that hard drive. > > Now I don't remember the original post--if he's looking for the drive with > the system installed on it, you're right--getOSDirectory() will do it. > > If he's looking for a file and he's not certain it is on the boot drive, he > needs to do some finagling. I'm sure you've had to deal with users who have > multiple hard drives and multiple CD-ROM drives installed. > > But I don't want to get into a pissing contest with you, Al :-) Let's just > agree that we've both contributed to the discussion, and Kelly can glean > the necessary info from our posts. Kerry, Kerry... you just assumed the poster was male, you chauvanist (could be true, but there's no empirical evidence). I'm rather disappointed in you, since occasionally poeple seem to think you are female... perhaps that's why you assume the opposite. :) Hmmm... Kerry/Kelly... Kelly/Kerry... What would Freud say? Kurt [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: Re: cropping images based on a common background
>> I want to crop my images based on a common background, I mean I >> have a series of images with a common background, on which only a >> few things change, for eg. only the text changes, I want to know >> whether is there an xtra or a s/w which will crop my images based on >> the changes alone i.e. the resultant images should have only the >> changes, yanking out the common background. Thanks in advance. > > There's a feature in Debabelizer just for handling this situation (I > know, because I requested the feature). Given two images, the > background, and the one with the changes on it, Debab will save out > each changed area as a separate picture. The feature is called > Islands, which was my name for it, because when you look at the parts > that have changed, they are little islands of information. There are > settings in there that will let you specify how far away something > has to be to be considered an island. That helps solve the problem of > rogue pixels that are separated by a pixel or two from the main group. > > You can manually solve the problem in Director too. Do this: > > take a copy of the version with the changes, and paste it onto a copy > of the background, with Reverse ink > > lasso select what you now have, and Fill in black (click on the > bucket in the tools area at the top of the paint window > > choose the select tool, set the No Shrink > > select an area of the picture that is bigger than the area of the > original picture, making sure the ink is set to Normal while you do > this > > copy > > go to a copy of the full picture, and paste the image onto it, with > the ink set to Lightest > > What you should have by this stage is the islands of areas that are > different between the two pictures. Just duplicate that and manually > delete the parts of each that you don't need. I missed this thread because I've been away, but (with a lot of help from Colin, actually - and Werner Sharp as well), I made a Dir utility that does this kind of thing through imaging lingo. It's not fully tested, but should at least get you on the right track. If you still need help with that, let me know. -Kurt [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: Saving bitmaps to the server from shockwave
> I want to make a shockwave movie that allows the user to draw a picture (a > bitmap) and then save that picture to the web server as a GIF image. A > separate gallery page will then display all the drawings. > > There are a couple of bitmap export Xtras around, but they are all aimed at > use with projectors and can only save images to the client, not the server. > > So the only solution I can think of is to read the bitmap pixel by pixel > (using getPixel) and post the data back to an ASP script on the server > (using postNetText). Then I can use server side scripting to generate the > GIF file on the server. The problem with this solution is that reading the > image pixel by pixel and posting the data to the server is slow. > > Has anyone done this kind of thing before? Or can anyone see a better way to > do it, or problems with my solution? > > Any help anyone could give would be greatly appreciated. Multiuser server 3 is one solution. It ships with D8.5, and the function you're describing is built in. -kurt [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: Re: Message window
> use an .ini file > > named the same as your projector. plus the dot inny of course. > > comment out the following line; > > MessageWindow=1 > > that should do it. > you can set the rect if you want, but you don't have to. > > - -bhakti I find that [Lingo] DisplayFullLingoErrorText=1 is also rather helpful. The fact that this is not the default is really annoying. -Kurt [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: Re: Finding If a _huge_ float is divisible by anumber
So, if you don't want the rounded number, subtract .5 from the float before the mod function. > I am afraid that I do not think so. > > myFloat = 7.5 > put ilk(myFloat) > - -- #float > if not (myFloat mod 2) then put "even" > - -- "even" > > The mod function seems to round a float number before evaluation. > _ > Buzz Kettles wrote: >> >> Did you try the mod function? It can accept floats as well as integers. >> (it throws away the non-integer part & then evaluates) >> >> i.e. >> myFloat = 7.3 >> put ilk(myFloat) >> -- #float >> if (myFloat mod 2) then put "not even" >> -- "not even" -- ( 7 is an odd number ) [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!]
[OT] Protect a cast on the fly
Hi, Does anybody know of a way to protect a cast on the fly? I'm working on a system of web-based shockwave builders. The user inputs content in a shockwave, the data is transferred to server-side data base, and then sent to an "engine" shockwave, which stores it in an external cast. Now, before delivery, we can certainly protect that cast manually. Does anyone know of an xtra or a utility that can protect a cast? Of course, these casts have no scripts, just media, so I don't really feel they need protecting (as we all know, "protected" doesn't really apply to media). But I'm looking for a way to fully automate the process. -Kurt [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: RE: PROJECTORS
> mmm...I beg to differ. > > Quoting Director's help: > > "This is a very simple command for opening an application or > a document within an application. For more control, lookt at options > available in third-party Xtras." > > The projector is an executable that has no host app. You will need > to use s DirectOs or MasterApp or BuddyAPI to do this. Additionally, you > probably would > want to do some error checking i.e. see if the app (projector) actually > launched. > Best bet is to go with the Xtra. Open works just fine for this. Try it. -Kurt [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: loading + Re: Fwd: Cruelty Untold--Are we reallyhuman!!
> Come on... That's obviously a hoax... do you really think that if that was > true, the guys wouldn't be in big troubles already?! PETA's been trying to shut the site down for a long time (funny how these "liberal" activists are so ready to toss the first amendment in the trash), they even brought the FBI into it. I'm happy to see that the site continues to succeed despite the best efforts of humorless knee-jerk reactionaries. > Anyway, back to Lingo, I have a nifty question that have been bothering me > since ages... is it possible to customize the loading screen of a shockwave > file?! Just wondering... Absolutely. Check out the "publish settings" in the file menu. There's a lot you can customize - try the different options, and then check out the html that is generated when you publish the dcr. Then, roll your own html. -kurt [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: handler/button/getPropertyDescriptionList
> Hello List, > I hope someone may advise me here. > I've tried to make a button behavior which includes in the > getPropertyDescriptionList: > > pList[#pHandler] = [? > #comment: "calls this handler", ? > #format: #string, ? > #default: "myAlert"] > > > and then: > > on mouseUp > put value(pHandler) > put "value(pHandler) = " & value(pHandler) > value(pHandler) > end mouseUp > replace the "value"s above with "do"s. -Kurt [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: RE: ...a little question...
Buddy's baOpenFile() opens a file in the appropriate app (it finds the app for you). All you need is a path and a file type. One function, therefore, free. -Kurt [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: RE: Re: password masking
>> At least Al didn't try to sell you an xtra that masks keystrokes > (just >> keeping you honest, Al... I'm still waiting to hear how masterApp > does >> something buddy can't) :) > > 1 - and I am an honest person, always - every day. True enough. Bad use of a common phrase on my part. That was simply me getting tired of what I see as sales pitches on an informational list. > 2 - whether it can or cannot is really irrelevant. In this case, perhaps. Maybe you just think it's helpful to pitch masterApp every time someone asks a question about controlling things outside of Director. But I'm a little tired of newbies getting the pitch for a $300 xtra to do something they can accomplish with Buddy for free (or, if they need more capability, a semi-capable liscense for $75, fully liscensed Buddy for $150). Lists like these are about information sharing (which you do your share of, and you do help people find solutions to their coding problems with most of your posts... I just think you cross a line from time to time) - not about sales. I don't want to be antagonistic here, but I do take exception to sales pitches in this forum. I don't think you're serving the list membership in those cases, unless you also state that Buddy has a similar function, if it does. If you don't reference the competing product, then you are selling, and selling shouldn't be a purpose of this list. So, I put the question again... what makes masterApp worth twice the price? Lots of people endorse Buddy on this list. Because we use it, it's easy, and it's stable. None of of have financial ties to it. We just like it. And we would like to hear if a competitor can outdo it. So, sell to us, the experienced... don't push your product on someone who doesn't know any better, unless you can point out the advantage of your product over the competitor's. 2 cents, Kurt [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: Dir8.5 3D Background
> Hi All, > I use Dir8.5 create alot of object and do some programme on it already. > However, I wold like to add an 2D backgroung at the back, except create a > box at behind and map a texture on it, is there any simple way to add a 2D > background to the 3D environment? I haven't delved into the 3d capabilities of 8.5 yet, so I can't help you. Check out the dir-3d list at trevimedia. http://www.trevimedia.com/mailinglists/ While many of the people on that list are also here, you might find it a better resource for 3d-specific questions. -Kurt [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: Re: password masking
> yep .. got it .. DOH ! > I hate it when that happens - oh well such is life > >> isn't there a behaviour for this in the behavior library? >> >> Al Hospers wrote: >>> >>>> would anyone know of a script or have a script that masks a >>>> password Field ? >>>> I have a User Detail screen that pulls their details from a >>> database, >>>> however I would like to be able to mask out the password Field like >>>> >>>> ** for example. >>> >>> this comes up often here & on Direct-L. I suggest a search of the >>> archives of both for one of several solutions: >>> >>> http://www.mcli.dist.maricopa.edu/director/digest/index.html >>> >>> or >>> >>> http://www.mail-archive.com/lingo-l@penworks.com/ At least Al didn't try to sell you an xtra that masks keystrokes (just keeping you honest, Al... I'm still waiting to hear how masterApp does something buddy can't) :) -Kurt [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: Spreadsheet like forms in Director
> Hi List, > Does anyone know of a way to create spreadsheets (like Access) in Director? > The only way I have found so far is with the use of an Xtra such as > TableMaker. If anyone knows another way to do so, please let me know. Well, you can emulate a lot of things in Director. It only depends on how much work you want to put into it. Do you need to directly access a spreadsheet, read it into Dir, then simulate the spreadsheet program, and save out a modified doc (that, I have not been able to do, and I guess would require an xtra). Or do you mean, can I emulate a spreadsheet program in director? I think there's more behind your question than "create spreadsheets (like Access) in Director?" - create, you can certainly do. Throw a bunch of editable fields on stage, give them "cell" behaviors, they act like a spreadsheet. What functions those cell behaviors perform is up to you... you can hardcode them, softcode them, or leave it to the user to decide (if you're willing to put the time into making behaviors that handle every possible mathematical user need). Do you want to save out the user's mods? If so, what is the end destination? Do you need it be readable by something like Access? Help us out... detail the project a bit more. -Kurt [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: Re: UNSUBSCRIBE>
>> UNSUBSCRIBE > > Just trying to keep an even keel here--I've been sending these guys polite > off-list messages with polite instructions on how to politely GET THEIR > *#@^&*# ACT TOGETHER. > > There. Now I feel better. Kerry is such a mellow guy, not to mention sensitive to those for whom english is a second language and might not pick up on the footers. I guess you just can't reach some people, huh, Kerry? -kurt [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: Re: Let me try again (was emulate END key)
Selection is a text member property, not a field's. perhaps set the selstart and selend to the last char + 1 (just a guess)... or maybe put a return after the last char, and then do the above (again, a guess) > i thought selStart and selEnd were replaced by the selection in d8.x > maybe try it with that. > > - --bh > > John Hart wrote: >> >> Let me try again: >> My objective is to have a blinking cursor appear on the last line of a field >> sprite that may or may not contain any text. Usually, sprite(x).editable >> works for me. But I can't get that to produce a blinking cursor in this >> particular "notes" field because it has text in it already. Using the selEnd >> in combo with selStart doesn't work for me 'cuz I'm just not getting it. >> What happens is selEnd = the last char of field "mynotes" produces a hilite >> of the last char. Don't want that. Want blinking cursor. My kingdom for >> blinking cursor. Index in Dir. 8.5 manual under "blinking cursor" >> says..."ask Al or Tab, or other pro on lingo list." >> >> Back to you... -K [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: Re: Re: avi file has no sound in director
> I have a question? > We used MacroMix when we were authoring in Director 7.0 > - example-set the soundDevice = "MacroMix" > > So do we still need it in Director 8? > or should I movie to > - ---example- > if the soundDeviceList.getPos("directSound") = 0 then > the soundDevice = "MacroMix" Well, Colin pointed out a better method. But the point is, use the best available sound device (directsound) if you can, the next best (qt3mix) if the directsound is not available, and macromix when all else is unavailable. Don't force machines that have the capability of using directsound into using macromix. -Kurt [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: Re: avi file has no sound in director
> Some systems are incapable of using direct sound. It is machine dependent. > > try this: > > on startMovie > set the soundDevice = "MacroMix" > end on startMovie > > You might want to read more in the Director 8 manuals about the innate > "Macromix" function. Software drive channels as opposed to hardware. Never throw out the baby with the bath water. You only need to use macromix on machines that don't support direct sound, and it's certainly preferable to use direct sound if available. on startMovie if the soundDeviceList.getPos("directSound") = 0 then the soundDevice = "MacroMix" end if end -Kurt [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: Re: find and compare
>> There's a way to create a autocomplete feature, the user begin type and see >> grayed the possible matchs for that word (something like the auto complete >> xtra) and when they stop to type or the word is finished, the translation >> for that word appear in other window?? > The point is that you're likely to have a pretty big database, and very > seldom will the user be able to type a word and get an automatic > translation--he/she will usually need to select from a list of words. Some > words that have very specific meanings will work ok, like "penguin." Check > out the word "run," though, and you will find a couple dozen different > meanings. > > It can be done, but I question whether Director is really the right > environment. It sounds more like a C++ project. From your description, it > doesn't sound like you're really planning to utilize Director's multimedia > features very much. If that's true, it's probably not the right tool. Actually. I just did that for a project (english/spanish, spanish/english dictionary). The code isn't too complex, but not exactly simple, either. I use a xml-ish tagging system rather than a database. 3,500 words on either side, takes perhaps .4 seconds to auto-complete a word and show the definition. Now, as Kerry said, when you have two identically spelled words with different definitions, the auto-complete will never allow you to get to the second definition. We solved that by simply combining the definitions. So, if what you are after is simply a searchable dictionary that auto-completes an entry, I can help you out. Hell, I'll share the guts of that with whomever wants to examine them (if anyone wants to look, just email me off-list). If you are after a babelfish written in Dir, however, I'm not bright enough for that. -Kurt [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: Re: Locking someone out
>> What I was meaning (in some way) was that if you make a .zip, anyone can >> delete it. > > Fred didn't say why he wanted to keep people out of his files, but I > suspect it is for security. Look at his sig--he works for a casino. Those > folk have to be as careful about security as banks. I know--I've watched > "The Sopranos." > >> Hidding Folders and/or files is a safe solution. > > Not really. I can find your hidden files in the time it takes you to get a > cup of coffee. Mac or PC. > > Another suggestion would be to store his code on a secure network drive--a > competent administrator can give him a directory that nobody else can even > see. > > So, how about a hidden password-protected zip file on a removable hard > drive on a server that only Fred can access? I think removable HD is the key... take the suckers with you, throw 'em in a safe, whatever. There are plenty of drives that slide right out of a dock. -Kurt [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: Help with modifying this code to "Search Again"
Untested: - property pStartLine on beginSprite me pStartLine = 1 end on new me pStartLine = 1 return me end > on keyUp > searchStr = member("searchFor").text > pMember = member "ZoneMastText" repeat with i = pStartLine to member("ZoneMastText").line.count > set lineNumber = lineNumber + 1 > if member("ZoneMastText").line[i] contains searchStr then > if lineNumber = 1 then > startChar = 1 > else > startChar = (pMember.text.line[1..lineNumber - 1]).length + 2 > end if > endChar = (pMember.text.line[1..lineNumber]).length + 1 > hilite char startChar to endChar of field pMember > member("ZoneMastText").scrollTop = 0 > scrollByLine member "ZoneMastText", lineNumber - 10 pStartLine = lineNumber + 1 if pStartLine > member("ZoneMastText").line.count then --Start over pStartLine = 1 end if > exit repeat > end if > end repeat > end [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: Re: hilite line on text member
> Roberto Molari wrote: > >> is there a beahvior that hilite the mouseline of a text member? > > would changing: > member(myTextMember).line[myParagraph].foreColor > do the trick? > > failing that, you could use selStart and selEnd to > highlight the relevant line... Actually, with text members it's the selection property: member("textMember").selection = [4,18] - the two list items are equivalent to the selstart and selend of fields. You would need to calculate the first and last chars of the line, and I believe the text member needs to be editable for the hiliting to display. [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: SOS...question of sound 'wav'
> i have a problem to read the sound 'wav' well. > the sound is changing and is'not continuous. > i don't know exactly why... > i wonder that all of sound piste is busy. > when the flash animation is playing, 3 or 2 sound pistes are begining in > minium. > > if anybody knows something, help me I don't really understand your problem. Perhaps it's because you're having trouble translating it into English. Please post again in your native language, and be specific - there are many multi-lingual people here. I think all of us encourage a multi-lingual list. Though English is the dominant language here, language should not be a barrier to writing better Lingo. Even if you don't get an answer from someone who speaks your native language, there's probably somebody here who could translate the problem, thus giving you access to a lot of expertise. I would encourage everyone on this list for whom English is a second language to post in your native language if you don't get the answer you need. By posting in English, you reach a larger audience, but you might not get the answer you need. If you have trouble translating the problem into English, then write it in English and then your native language - really, we don't mind. And if anyone feels comfortable with translating a post, please do so. dos pesos, Kurt [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: its very urgent
> i have a problem in one project. which i had created in director 7. The > project has external movies also so when i protect the files and cut the > cd after that in cd it gives "director player error" and some places it > gives "out of memory". > > so please give me the proper solution. Well, we might be able to help you, but you have to help us. The art of debugging starts with narrowing down the possible origins of the bug. What is the director player error that you get? If you get nothing but a DPE, try creating an INI file, of the same name as the projector, with the lines: [Lingo] DisplayFullLingoErrorText=1 That may give you some more info (why this is not a default, I have no idea... gotta ask MACR about that one). Since none of us have any idea of what lingo your Dir movies are using, we can't help you debug until you start to isolate the problem. Debugging is an art - it's just as creative as programming can be. So, let us know some more details about your program, and we'll try to help. -Kurt [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: RE: Sending a large group params
> repeat loops lock out everything else. I prefer to avoid them wherever > possible. Except for those times when locking out everything else is preferable. 2 cents -Kurt [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: inverse cosine
> Is there an inverse cosine function in lingo? > I've looked and didn't find it. > > Anyone enough of a mathwiz to tell me how to calculate it if there's no such > function available? Danny Kodicek posted this to the dir-GameL list a while back... > asin(x)=atan(x/sqrt(1-x*x)) > acos(x)=atan(sqrt(1-x*x)/x) -Kurt [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: Re: Project created in Director 8 not running inWindows NT
> i have created a project in Director 8 which is not running in > Windows NT. can anyone suggest me. Well, you can't get much more vague than that. What exactly happens when you try to launch your projector? -K [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: Re: Subscripts and superscripts and Lingo
on keyDown me member("someText").text = member("someText").text & the key currentChar = member("someText").char.count if the commandDown then member("someText").char[currentChar].size = member("someText").char[currentChar].size - 2 if the shiftDown then member("someText").char[currentChar].fontstyle = [#superscript] else member("someText").char[currentChar].fontstyle = [#subscript] end if end if end > you could try fonts: > bookshelf symbol 1 for super, and > bookshelf symbol 2 for sub > > that was my solutionthey come default with win 9x(i think) > > > At 11:45 AM 06/13/2001 -0700, you wrote: >> I want the users of one of my Shockwave movies to be able to type text with >> a mixture of normal characters, subscripts, and superscripts. I'd like them >> to be able to do that with keyboard commands. For example, I'd like them to >> be able to type something like the following to input a chemical formula for >> something like dihydrogen phosphate, H2PO4- (with the 2 and 4 as subscripts, >> the minus as a superscript, and the letters as normal characters. >> >> H Ctrl-2 PO Ctrl-4 Ctrl-Shift--with the last "-" for a typed hyphen >> >> What's the best way of making this happen? [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: Re: Imaging Lingo
Take a look at the paintbox behaviors in the library palette as well, if you need some working examples. -Kurt > Thanks Kerry, will do! > Vic >>> Can anyone make any suggestions how I can create a paint fill option for > an >>> easy to use kids program. What I need to be able to do is flood an area >>> with a specified colour, or a texture (from a bitmap). >> >> Hi Victor-- >> >> Take a look at the fill(), copyPixels(), image(), and draw() functions. >> Also check out the image, rect, and quad properties. >> >> And come back again--you'll probably have more specific questions after >> reading up on these. [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: XTRA QUESTION
> Can anyone recommend a printing xtra that is supported by Director 8+. > > I am picking up a job midstream, the former programmer had been trying to > use Print-O-Matic but apparently had a conflict with Director 8. Yeah? Was the former programmer competent? What's the conflict, and have you followed it up with Electronic Ink? I suppose it depends on what exactly you are trying to print, but I've had 4 big D8 products in the past year using POM, and there were no conflicts. But, I guess that's the point - unless you specify the conflict, nobody can tell you what xtra does not have the conflict. -Kurt [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: Re: Imaging Lingo Weirdness
>> What is the centerregpoint setting for the bitmap? > > The sprite member's centerregpoint is 0. > > This sounds on point--what should it be? You might still have to set the regpoint again. (Assuming that the duplicate image is a screen artifact - I don't know what that might be). FWIW, I tend to set all of my dynamic images' regpoints to point(0,0) (especially when constructing something to use in conjunction with text sprites, for obvious reasons). Try dropping: pDotSprite.member.regpoint = point(0,0) right after the line that sets the member's image. -Kurt [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: Re: director 8.5 serial >:-E
> i think it's more like handing out the keys to the BMW car that you > already bought... Actually, it's more like handing the keys out the keys to the BMW car that you already bought to someone that you know is a fugitive. If you know full well that your action is leading to a crime (and if you can think of another use for a serial number other than software piracy, do tell), you are as guilty as the perpetrator. -Kurt [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: Problem with lists
> global graw, gbiglist, gblist > > on assemble > gbiglist = [] > gblist = [:] > repeat with i = 1 to the number of lines in filed("netTextResult") > graw = member("netTextResult").line[i] > graw = value(graw) > if not(field("netTextResult").line[i] = empty) then > gblist.setaProp(#shape,member(graw[1])) > gblist.setaProp(#hspeed,graw[2]) > gblist.setaProp(#vspeed,graw[3]) > gblist.setaProp(#rspeed,graw[4]) > gblist.setaProp(#red,graw[5]) > gblist.setaProp(#green,graw[6]) > gblist.setaProp(#blue,graw[7]) > gblist.setaProp(#name,graw[8]) > end if > gbiglist.add(gblist) > --updatestage > end repeat > > end > at this point the problem is that gbiglist reads: > > put gbiglist > - -- [[#shape: (member 10 of castLib 2), #hspeed: -4, #vspeed: 0, #rspeed: 4, > #red: 158, #green: 128, #blue: 109, #name: "test_05"], [#shape: (member 10 > of castLib 2), #hspeed: -4, #vspeed: 0, #rspeed: 4, #red: 158, #green: 128, > #blue: 109, #name: "test_05"], [#shape: (member 10 of castLib 2), #hspeed: > - -4, #vspeed: 0, #rspeed: 4, #red: 158, #green: 128, #blue: 109, #name: > "test_05"], [#shape: (member 10 of castLib 2), #hspeed: -4, #vspeed: 0, > #rspeed: 4, #red: 158, #green: 128, #blue: 109, #name: "test_05"]] > > only the last property list repeated 4 times. That's because you assign gblist = [] outside of the repeat loop. So, you are adding gblist to gbiglist four times, and updating the contents of that list... thus, the last update is what you'll have in all four cases. Put the gblist = [] inside the repeat loop, and you'll create a fresh list every time through the loop. 4 different lists, instead of four copies of 1 list. > then I have 100 empty sprites channels 20 to 120 > with the following behaviour attached.. > > global gbiglist > property my ,phspeed, pvspeed, prspeed, pname > > on beginsprite me > > my = sprite(me.spriteNum) > x = me.spritenum -19 > my.member = gbiglist[x].shape > my.color = rgb(gbiglist[x].red,gbiglist[x].green,gbiglist[x].blue) > phspeed = gbiglist[x].hspeed > pvspeed = gbiglist[x].vspeed > prspeed = gbiglist[x].rspeed > pname = gbiglist[x].name > my.locH = random(600) > my.locV = random(500) > end if > > end > > on exitframe me > goh me > my.rotation = my.rotation + prspeed > end > on goh me > my.locH = my.locH + phspeed > if my.locH > 700 then > my.locH = -10 > end if > if my.locH < -20 then > my.locH = 700 > end if > end > > the error here reads my.member = gbiglist[x].shape index out of range... Yes, it would. Once x reaches 5, you are beyond the range of gbiglist (it only has 4 items). Try moving the property setting method out of the begin sprite - I'd create another behavior with an exitFrame script that assigns the values (or just use a loop in a startmovie or something to set them all at once). counter = 1 range = gBigList.count mySprite = 19 repeat with x = 20 to 120 mySprite = mySprite + 1 sendSprite(mySprite, #mSetProperties, gbiglist[counter].shape,\ rgb(gbiglist[counter].red,gbiglist[counter].green,gbiglist[counter].blue),\ gbiglist[counter].hspeed,\ gbiglist[counter].vspeed,\ gbiglist[counter].rspeed,\ gbiglist[counter].name) if counter < range then counter = counter + 1 else counter = 1 end if end That way, you stay within the limits of gBigList. -Kurt [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: RE: Password entry fields
> As I said in my original message, this was not my idea - I just > thought it was very clever. I certainly can write my own behavior > (in fact I did one on a project a few years back). I just wanted to > save an hour or two. So again, if the person who posted this > approach earlier is listening, I'd like to know if I can get a copy > of your font to be embedded in my movie. > > (As Al pointed out, Wingdings isn't "right" since it gives you > different characters for each letter. I just want a single character > for all keystrokes.) How about this - just embed any old font, choose "partial set" when inserting it, put some obscure upper ascii char in the "other" field... maybe not as pretty as having a field full of asterisks, but the "unknown char" box should do the trick. -Kurt [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: storing file and foldernames
> can someone clue on how to efficiently save the contents (files & folders) > of a folder to a castmember or file. > In such a way that I can "browse" the folder and its contents "offline" > (without physically reading the folder). I've written several "drive-browsers" using buddy API. You'd have to work your way through the directory structures, storing file and folder info along the way (I'd suggest an object for that), with two functions - baFileList() and baFolderList(). As for efficiency, I'm not sure that cataloguing the host 'puter is very efficient, but if you are targeting a single folder, it would be pretty quick. If you want to see the "browsing" code, just ask. -Kurt [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: target casts for member.duplicate() and member.move()
> Is there a way to control in which cast these commands create the new member? > > I'm trying to store user's work in a "storage" cast by creating a new cast > member for every chunk of user's work (a paragraph of formatted text). When > the user wants to save the work to disk, I let him save the cast to a cst > file, for opening it in a later session. > > If there's no way to control which cast the new members go, then this isn't > a good strategy. What are the alternatives? Should I save member.rtf in a > variable/list instead? Mark and Tab already threw in a few (5, 6?) cents on this, but I would like to add a few centavos. Is it necessary to use cast members and saving the cast, when you're really dealing with strings? If it's a matter of losing the formatting, then you could write a parser that drops html-style tags in at appropriate points, and writes to a txt file (file-IO). And the reverse on import. Perhaps more work at first, but if you write the methods right, they're highly reusable. Sure, there's a bit of a speed hit, but you get the benefit of flexibility. And the speed hit on import can be minimized by parsing large files in stages. dos centavos, Kurt [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: Sending a image to the server
> I need send a bitmap or a crop of stage to a server using Post method. Any > suggestion? > > I´m trying to use vector shapes images to send vertexList and another > properties to the server, but if I can use bitmaps will be very easy. > > In vector shape my problem is draw (I need create a complete tool do draw), > in the bitmap the problem is transmite the information... > > Please, if you can help me with any suggestion, I´d appreciate. Check out the new version of MUS 3 that ships with Dir 8.5 - according to the docs, you can send it the image of a member, and write an image file (such as a jpeg) to the server. I haven't tried it yet myself, but that functionality certainly caught my eye. -Kurt [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: RE: Win2000 and Win98 file path question
> First off, you have this: > > set sourcefile=app_Path & "\" & "Qbase.txt" > > and if you put the applicationPath in the message window you will see it > already has the trailing path separator. I'm surprised it works on 2000 > either. > > Also, it probably doesn't matter but since you're using BuddyAPI anyway you > might use baSysFolder("windows") instead of getOSDirectory() as the returned > path also includes the path separator while getOSDirectory() doesn't. That answers your main question, but in regards to the other question: >> can anyone suggest a way >> to detect the OS and have a case statement to include the appropriate code >> for each OS. Buddy has a function that will get you the system version, baVersion(versionType). VersionType can be several things, "os" being the one you would use to get the system version. This certainly has its uses, so I thought it worth posting. -kurt [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: Paint Window (was "streaming video")
> i want to know how would you create a custom paint window > through lingo script, with all the functions of paint window > that is inbuilt in director.. > please if any body can help me... Well, the first thing you can do is make the subject of your post relate to the content of the post. Check out the paintbox behaviors in the library palette. As for "all the functions of paint window that is inbuilt in director", well, that will take some effort to recreate. But the basic functions are covered by the paintbox behaviors. -Kurt [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: Re: Appologies to all
> Blocked before it made it to the list. Be glad you didn't get > it. Multiple 500k files. It didn't get past me. Says Tab, blowing on the tip of his finger and then making a holstering motion with that hand. [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: RE: Don't Need help with a RAM hog on Windowsanymore
>> nevermind > > is the issue resolved and is there something we could all make use of in the > resolution? > > Al Hospers Guess you skipped the rest of that thread, huh, Al? :) -Kurt [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: RE: What's wrong with this image?
There's an article on DOUG right now called "creating a branching menu". That should be a good starting point for what you're doing. -Kurt [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: RE: lowering the volume while the buttonis being presse d down
> Thanks for the tip, but when I tried this it made the sound seem like it > just turned off right away without any sort of gradual fade. How would I > make the volume sort of lower when I press the button but not just > completely turn off? As Bhakti said, an updatestage is probably the answer. But, for what it's worth, I tend to use a slider instead of a button for this kind of functionality. The volume button pops up a slide bar and thumb over the button on mouseDown, and the thumb of the slider moves up and down with the mouse. Meanwhile, the volume is calculated as thumb.locV/sliderRange. Similar to the way the volume button on a QuickTime movie works. In other words, the ratio of thumb to slider range determines the volume in relation to the maximum system volume. I don't have the code handy, but I'll post it tomorrow when I'm in the office, if you still need it. -Kurt [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: Re: Multiple cd-roms
> I am programming a cd-rom where the total size is around 800 mb. How can i > go ahead so that it fits on 2 cd-roms. I have 3 quicktime files each of > 100mb and they need to be fit into the interface. Any clues how to go ahead > and how to read multiple cd-roms. Doing a multiple CD project is not that simple. The approach I take is to use an installer (if you are ambitious, you can write one in Director with a little help from Buddy, or use a commercial one such as VISE or WISE) that puts my main projector and a CD-switcher movie on the hard drive. When the projector runs, it simply searches out the CD and does a go movie to a main dir movie on the CD - but, first it stores a path to its directory on the hard drive in some global fashion. Everything else branches from that dir movie, and lives on the CD. Now, when there's a link to something on the other CD (Usually, I split my CDs according to a main menu, so that there's only one place that you can branch off to a second CD from), I do a go movie to the CD-switcher app. I know the path, because the projector stored it before going to the CD. The switcher app simply ejects the CD (only necessary on the Mac when in full screen mode), and does a periodic search of the CD drive until the correct CD is inserted. Then it will branch to that CD. Naturally, this involves a decent amount of code. You need to be able to find the CD drive, make sure you have the correct CD in the CD drive, etc. Buddy is not necessarily essential to do this stuff (fileXtra, masterApp, maybe others can do the same) but it is very good at these things. If you need an example, ask. But be warned - this isn't as simple as an object or two. The manner in which you structure your program comes into play in a big way. -Kurt [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: Re: helping yourself
>> if I can't find anything THEN, and only THEN, I post a >> question. > > You must have seen my flippant reply to the "fatal error" query this > morning :-) (Tab showed much more patience than I did) > > I'd like to add (join in the chorus if you already know the song): > > - - Please post specific questions > - - Give us as much relevant info as you can > (Platform, OS, Dir version, etc.) > - - Try to keep it Lingo-related > - - Reply to the List, not the individual, unless you have good reason > - - By and large, don't e-mail List members with your specific problem. Post > it. Specifically, don't e-mail List members asking for free private > consulting. > - - Live long and prosper Cheers, Al and Kerry. I'd also like to add that I, for one, usually ignore any post that begins with "URGENT" or a similar word. The exception is the "URGENT - I'm suddenly getting a new error in a program I've been developing for some time, and it's due tomorrow" post. But an "URGENT- I need to code a searchable dictionary by tomorrow" post is one I'm happy to skip past. 2 cents, Kurt [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: Cursor Change with Shockwave
> I'm having trouble with my cursor changes in shockwave. I'm using the same > script on a few different objects but the changes will only work on a couple > of them. I have the sprites in the same sprite channel and I can't > understand why it will work for one but not the other. Is this a common > occurence? Is there anything I should be looking out for? How exactly are you "changing the cursor"? sprite(x).cursor = aCursor or something like: on mouseEnter me cursor(-1) end If you could be a bit more specific, it would help us to understand the problem more clearly. -Kurt [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: Re: returning to dir: making a grid with an array
> I think I'll have to go the "loads of sprites" way, but is there a way of > duplicating the one sprite to form the grid? Whoa, there, don't give up so easily. Imaging lingo is not that difficult to grasp. Check out Colin's suggestions, they're good ones. Frankly, to do it the "lots o' sprites" way is the same amount of work, and far less efficient. The methods you employ to change certain pixels in a bitmap are probably very similar to the methods you already use to dynamically drop a bunch of sprites on stage. The fact that you're already storing some info in an array makes it that much easier... store a rect in each cell, and you're all set to manipulate the bitmap. 2 cents, Kurt [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: Re: Finding an application (was ARGGGGHHH!......pls help!)
>> How to check whether a specific application is installed on a users system. > > I think you need another Xtra, MasterApp, for that. I haven't used it much, > though, so I can't give you any example code. Check the archives, > though--there was a thread about that within the last month. That's also in buddy's scope (what isn't?). baFindApp() returns an empty string if the app is not installed, and the full path to the app if it is installed. -Kurt [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: Re: Save text file
> Oh thanks but i don't know that script so if u have then tell me. Type the following in the message window: put interface(xtra "fileIO") That will show you all of fileIO's commands. Here is a basic "save text" script (the "bones" of this came from LIAN a long, long time ago... Thanks, Bruce): --- --Parameters: --stringToSave: The string to write into the external file --saveFileName: The name for the file when it's saved --saveFilePath: Optional. If you supply a path, the file will -- be saved to that directory. Otherwise, the save -- dialogue will be used to get a path from the user. on saveText stringToSave, saveFileName, savefilePath resultflag = -1 --instantiate an instance of the fileIO xtra filextra = new(xtra "FileIO") if not objectP(fileXtra) then alert "FileIO not installed." return resultFlag end if if the platform contains "Windows" then setFilterMask (filextra, "All Files, *.*") else setFilterMask (filextra, Empty) end if --If no save path is passed in, then open the dialogue box --and ask the user for a directory to save to if voidP(savefilePath) then savefilePath = displaySave(filextra, saveFileName, saveFileName & ".txt") end if --Create the file to write to createfile (filextra, saveFilePath) case (status(filextra)) of 0: --All is well nothing -122: --The file exists, so open and delete it, then try to create it anew openfile (filextra, saveFilePath, 0) delete (filextra) createfile (filextra, saveFilePath) if status (filextra) <> 0 then put "Error:" && error (filextra, status(filextra)) return resultFlag end if otherwise: --Another type of error. Put the error to the message window for --debugging put "Error:" && error (filextra, status(filextra)) return resultFlag end case --Open up the file so that it can be written to openfile (filextra, saveFilePath, 0) if status (filextra) = 0 then --Write to the file writestring (filextra, stringToSave) --Set the file resources setFinderInfo (filextra, "TEXT ttxt") closeFile (filextra) return 1 else put "Error:" && error (filextra, status(filextra)) return resultFlag end if end -- I suggest that you study the above carefully, rather than simply using it without understanding it. -Kurt [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: Re: Re: checking volume label
> Here's a situation, though. I have a client who wants to use this as a kind > of poor man's copy protection--if the CD isn't in the drive, he doesn't > want the game to run. What's to prevent somebody from simply copying the > name file to their hard drive? I think the average gamer could find an > invisible file in about 10 seconds. My system is similar to mare's. But, once I've got a drive name, I check it to make sure it's a CD... DriveIsCDROM() is the filextra command. -Kurt [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: Plug-ins folder in Macintosh systems.
> I need to know where does the shockwave plug-in folder get created when a > user downloads a copy of the shockwave player from the Net. I know where > does it get created in Windows systems, but no clue abt Mac. systems. In a folder called "Macromedia" in the extensions folder. [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: OT: Director to Web ... flash, shockwave, realMedia... ??
> I've developed a series of CDs on Public Health using Director 7 ... the > client now wants them to go on their website as well ... what are the > pros and cons of using RealMedia, Shockwave, or Flash? What are the > development implications as well as the lingo implications of doing > this? Should I expect to "redevelop" them or can it be a simple process? Well, obviously creating the same functionality in Flash or Real is going to be a redo. Director movies made for CD can be a redo as well, depending on how much functionality is involved, and whether any thought was given to an eventual shockwave delivery. The main question is: what do your dir assets consist of? How much functionality do you have to recreate if you port them? How simple a process it will eventually be is entirely dependent on what it is you're trying to port. -Kurt [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: exporting a shockwave3d file from director
> How can I save a shockwave3D file that I created in real time > using lingo?? Wait patiently. I believe there's some xtra development going on for that kind of thing - at least, it's been discussed. [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: Re: SV: which sound xtra should I choose ?
>> thats lots of interesting info, i cant believe how helpful people can be,... >> your not charging me anything right ;-) > > Not yet. You will be billed in the form of questions that _you_ will answer > at a future time. Um... 42? -Kurt [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: Vertical Barchart from a List
> I need to make a vertical barchart that will automatically change depending > on numbers in a list. It is necesaary that the numbers in this list can be > changed so that the barchart will change because of that. Well, two approaches come to mind. Either drop some rect shape instances on stage as the "bars" and adjust their rects according to your list. Or, use Imaging Lingo to create the bars in a bitmap member - then you can do some other stuff, like adding units and axes, through the same imaging methods. Here's the hard-coded, bare bones version of the imaging approach (parent script): --- property pDataList on new me return me end on mUpdateData me, listIn pDataList = listIn end on mBuildGraph me myRange = pDataList.count myHeight = max(pDataList) myWidth = 30*myRange graphImage = image(myWidth, myHeight, 16) tempH = 0 repeat with i = 1 to myRange graphImage.fill(tempH, myHeight - pDataList[i], tempH + 20, myHeight, rgb(200,200,0)) tempH = tempH + 30 end repeat member("graph").image = graphImage member("graph").regpoint = point(0,0) end --- HTH, Kurt [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!]
OT: Re: RE: find path
> Price: $299.00 $299.00? For twice the price of the full version of Buddy, I hope it makes coffee, too. -Kurt [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: Re: Pliz help me.... I'm stuck
>>> >>> Script: >>> Put member("textmember").word[2].forecolor >>> >>> It return error... It says Property not found !!! Why...?? Anybody can >>> help me... >>> > > > Actually I found it easier to do something like: > > TempRef = member("textmember").word[2].ref > TempRef.color = rgb(0,250,0) Except, it was stated that this was written to change the color of a field's word. "ref" is a text member property. -Kurt [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!]
OT: Developers in Florence
This is WAY OT, and 8 months ahead, so apologies to most of the list. I'm planning to travel to Florence over Christmas, and would be interested in contacting any developers there. I know there are more than a few lingo-l members from Italy, and it would be nice to meet a few people who have a completely different perspective on multimedia production. If there is anyone out there who does Director work in the Florence area, and wouldn't mind getting together for a few hours to discuss lingo around Christmas time, please let me know (off-list, of course). [EMAIL PROTECTED] Thanks, Kurt [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: Re: question for wallpaper
>> .. how to save the image file directly to be a wallpaper > > Result = baSetWallpaper( FileName , Tile ) Jakob forgot to mention that you need Buddy API for this, but he probably just assumed that you had it - because all Director developers really should have it (notice I said "Director" - if your delivery is Shockwave, then you can't use Buddy - it will never be Shockwave-safe). Even if you don't pay for the registered version, take advantage of the extremely generous "2 functions for free" offer. Someone posted, not too long ago, that this list was "Buddy-Happy", but functions like this one should help to explain why a lot of us go to Buddy API first when looking for some functionality that is not available in Lingo. 2 cents, kurt [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: Re: New Error On Script for Scaling Graphic
> David, > > You are getting this specific error message because the keyword > "sprite" only takes one parameter - the spriteNumber. The question > is, what are you trying to say when you keep referencing: > > sprite(1, "pictures") ??? > > sprite(1)refers to whatever cast member is in channel 1 in the score. Not to bust Irv's chops, but actually, "sprite(1).member" refers to whatever cast member is in channel 1. sprite(1) has a lot of other, non-member, properties that can be referenced through dot syntax. Al may seem impatient, but it's just because the mistakes you're making are pretty basic syntax errors, not logic errors - I think he's suggesting that you study up on the syntax of Lingo before attempting to write the code. Try to absorb more from the do-it-yourself Director help outlets - the documentation certainly is not as good as it could be, but it does an adequate job with basic syntax. Then there are the examples in the "learning" folder installed with Director, the on-line help, the tech notes on Macromedia's site, and all of the links to 3rd party sites that can be found on Macromedia's site... if you are really stumped on something, then by all means post here. But I think you could have answered all of the questions you posted by yourself, with a little bit of legwork - and in less time than it takes to get a response from one of us on a weekend. Learning about debugging will help you immensely as well - those error messages usually point you toward the problem code (usually... ;)). I believe there are a few articles on DOUG related to that subject. 2 cents, Kurt [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: RE: Neterror text?
>> Thanks Al; I just thought there'd be a built in thing rather >> than typing out >> all that...but at least you did it FOR me! > > you're welcome. you're right that it would be nice if there was a verbose > setting for the error codes tho. Yeah, thanks for that, Al... the first thing I did when I got the latest version of the audio xtra was to convert their error table into a handler. It seems like that's a common issue. -Kurt Oh, and if anyone wants that audio xtra error handler, just contact me off list. [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: RE: Survey of Lowest system developed for...
> Are any of you doing educational development? Or is all commercial and > private developing? I get the sense from the subject line that you're really asking "Do you have to deal with the antiquated minimal system requirements that are imposed on the educational market by the fact that schools seem to have a large number of old machines hanging around, especially community colleges?" The answer is both yes and no. If you haven't guessed, yes, we do educational software. Right now, we will still do projects in D7 if the minimum spec (Mac) is OS 7.5, but most of our work is in D8. So, our minimum systems are Win 95, MacOS 8.1. We would probably consider bidding on a project with a lower spec, but most clients are willing to trade off for functionality. 2 cents, Kurt [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: stubborn hilite in editable text
> Thanks for the suggestions, but... the problem persists. > I think someone suggested: member("myText").selection = [0,0] Try this instead: member("myText").selection = [-1,0] 2 cents, Kurt [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: shockwave external data storage/retrieval
> I'm creating a quick Shockwave calendar using text boxes etc for a Intranet > site. It's the 1st time I've done anything using remote storage of data. > > It's not complicated at all - nor does it need to be secure ( yet :) ). I'm > using a text file at the moment with delimited data written to and read from. > Of course, Shockwave doesn't allow fileIO tho', so I was wondering what the > best solution is when exporting it to SW. > > I want to store the file on our intranet so that whoever accesses it via the > shockwave movie always gets the latest version. Is this going to require me to > look up CGI or ASP or anything or is there an easier way? You only need getNetText(). Well, actually, you also need to check the status of the operation, and check the result. For example, you might have the following startmovie script: -- global NetID on startmovie NetID = getNetText("http://www.squidfight.com/FBData/card.txt") end -- You will have to wait while the info downloads. It's common to use an exitframe approach (first frame script below) so that you can do loading animations and the like: -- global NetID on exitFrame me if netDone(NetID) <> 1 then go the frame end if end -- Finally, you can do something with the result of the operation. For example, in the next frame: -- global NetID on exitFrame me member(someField).text = netTextResult(NetID) end -- Hope this helps get you started, kurt [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: Re: print screen
Well, almost - printomatic will print what you tell it to print. You will also need to grab the screen (I assume you just want the stage, not the desktop). For that, you can use member("someMember").image = (the stage).image, and then use printomatic to print the member. -Kurt > Try PrintoMatic Xtra, Using it, you can print the current screen. >> I am an artist and not a programmer so this question may seem very >> simple with an easy answer, but i need help. >> My question is how do i create a button that will allow the viewer to >> print the current screen they are viewing.? >> >> thanks for your help [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: hilite again
> Try adding my sample script below: > > on xHiliteLine oMember, nLine > if nLine = 1 then > nFirstChar = 1 > else > nFirstChar = oMember.line[1..(nLine - 1)].length + 2 > end if > nLastChar = nFirstChar + oMember.line[nLine].length > oMember.char[nFirstChar..nLastChar].hilite() > end Heh.. this points out an obvious flaw in my post - a line that spans multiple "on-screen" lines. My method is too simplistic as is - go with Fumio's, unless you really need to control the color of the hilite. -Kurt [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: hilite again
>> Hi, >> >> this is my hilite code, but it have that problem i've mentioned. It not >> selecte the entire line (the carriage return too). >> >> on mouseDown >> thisField = sprite(the clickOn).member >> ML = the mouseLine >> if ML <> -1 then >> thisField.line[ML].hilite() >> end if >> end >> >> If someone can point in how to make select all the line, i'll apreciate. > ps: >> it is a field cast member >> >> Thank's in advance >> >> Rodrigo Peres When you say "select the line", what is your purpose? To actually set the selection of the text so that it can be edited (in other words, a keystroke will replace all of the selected text with the key), or just put emphasis on a line by highlighting it? If it's the second case, then perhaps you could set a higher sprite channel to a rect shape, say with a 20% blend, and set the rect of that shape to the line in question (this involves a bit more lingo, but gives you more control - for instance, the color of the highlight is under your control, instead of the user's system settings). All you need to do is get the on-stage locV of the line - the other four points of the rect are determined by the field itself. Here's a rough behavior that does the above: --- property pHiliteSprite on beginSprite --Hardcoded for the purpose of example - change in "real life". Be sure to put a holder in the channel that you set to pHiliteSprite. pHiliteSprite = 2 end on mouseDown me baseLoc = sprite(me.spriteNum).Loc fieldTop = sprite(me.spriteNum).member.scrollTop myLineHeight = sprite(me.spriteNum).member.lineHeight clickedV = charPosToLoc(sprite(me.spriteNum).member, the mouseChar) baseV = (clickedV.locV - fieldTop) + baseLoc.locV hiliteTop = baseV - myLineHeight hiliteLeft = baseLoc.locH hiliteRight = baseLoc.locH + sprite(me.spriteNum).width sprite(pHiliteSprite).blend = 20 sprite(pHiliteSprite).color = rgb(100,0,0) sprite(pHiliteSprite).ink = 0 sprite(pHiliteSprite).rect= rect(hiliteLeft, hiliteTop, hiliteRight, baseV) sprite(pHiliteSprite).member = member("basicRect") end --- This behavior is meant as an example - you'll need to do a little work on it to make it fit with your code (and it's definitely not optimized, because optimizing in this case might tend to obscure the steps that go into the reasoning of the behavior) - it could be abstracted to a method call from a behavior, which would be more flexible. But it should at least illustrate the loc calculations you need to do to use a separate sprite to hilite text lines. Again, if you need to select text for editing, this is not the way to go (at least not just this). But if you are simply emphasizing a line, then this allows you to dictate the color, blend level, and/or ink of the hilite. FWIW, Kurt [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: Re: Pre-built behaviours
>> Because the behaviour library is mostly bloated crap? > > Well... I think that's a bit over-generalized. A lot of the behaviors, like > rollover cursor change, rollover member change, and the like, are just > fine. I use them all the time. > > An advanced programmer could undoubtedly write sophisticated behaviors for > complex stuff like multiuser server--in fact, probably should. Um, okay. I'm sure James Newton and the other authors of the behavior libraries will appreciate your term "bloated crap". One thing to understand about the behavior libraries is that they need to anticipate a range of uses, by a range of authors - thus the "bloated" part. As for "crap", I don't agree. Consider the purpose - pre-packaged behaviors that allow the non-coding crowd to take advantage of many of Director's higher functions. As Kerry said, an advanced programmer can certainly trim and tailor those behaviors to suit his/her need, or just write new ones. Until you understand the pre-packaged behaviors inside and out, however, they are not a bad place to start. >> Just me having a rant... > > Rant away--but I bite back sometimes :-) Ranting is fine - I do it all of the time. And you're certainly entitled to thinking that some code is "crap". But you might want to stick to describing the shortcomings of said code, because there is certainly a lot of quality in those behaviors as well. Especially for "newbies" - eventually, everyone should "roll their own", when they have developed their own coding style and need behaviors that mesh well with that style. But learning from people who have been working with Director for a long time is not a bad way to go. I think I'm a pretty good coder at this point in my career, but I doubt I'm anywhere near James in terms of lingo knowledge. 2 cents, Kurt [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: Re: Sigh...now it's a weird hyperlink problem
> - -- "link name: http://www.konstfack.se" I was expecting something far more exciting from that link - it has a very distinctive sound when pronounced by an american. [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: Auto arrange borders on text buttons?
I'm not completely sure that I understand what you are trying to accomplish, but you can create a new button bitmap on the fly. Have a "source" button bitmap that is a button with no text, then duplicate and copy text member images to it to create buttons (It gets slightly more complicated when you have to see if the text is too wide for the button, and create an image to accommodate the wider text, but it's not too hard). It looks to me like you are squishing 3 or more sprites together to make a button - if so, then definitely go with the imaging lingo approach. It's far more efficient. If you need some code to get you started, let me know. I'm a geek - it's not like I'm busy this weekend :). -Kurt [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: Archives of Lingo_L ?
> Hello ! Hi! > Does exist archives of the previous messages of this > list ? > I'm sure the questions I want to ask are already > treated a thousand times !!! I don't want to bore you > all ... Unfortunately, this list is not archived. There is a lot of traffic, and it would require a lot of the list owners to make all of the past posts available. But, a lot of us have been subscribed for a while. Don't be afraid to ask a question here. Just ask. If it's an "old" question, those of us who've been hanging around a while will probably point you toward a doug article, another list, copy the relevant info into a new post, or just answer your question. We won't get offended by an "old" question. We were all new to the list at some time. The main rule here is that your post is about lingo coding. If it's a question that's more about general director features, then you'll get better answers at direct-L. So, don't have any reservations about asking questions about lingo on this list. You won't bore us. Someone who's dealt with whatever problem you're facing will give you an answer. If not, then we'll all be scrambling to solve whatever problem you've posed. There are no stupid questions here, just stupid answers (Kerry's tend to be more stupid than most, so ignore him). Just kidding, Kerry - If we ever actually meet, I owe you a beer. 20 ounce Boston Irish pint. I just had to throw something out there there contradicts the myth that you ROCK. You might line-dance, but rock? Doubt it :) Actually, in reference to Kerry, there's another bonus to this list - sometimes, you correspond off-list to solve a common problem, as Kerry and I did this past summer with the new audio xtra release (in the end, I think he helped me more than I helped him, but I think I helped get him going in the right direction at the start of it all). Amazing how you can grow to feel like you know people that you've never actually met. Too bad the UCon is so overpriced that I can't even justify having my company pay for it. Anyway, please ask away, that's what we're here for. -Kurt [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: if..then
Just my 2 centavos here, but almost all "if or" statements can be modified to be more efficient. Have a conditional statement that checks the most likely condition first. If true, then check the next most likely condition. The speed gains may not be huge, but it's a good "mindset" to have. I may be wrong, but an "if then" structure that eliminates likely possibilities sequentially is more efficient than a case statement. I could be wrong - and this list has many people capable of proving me wrong. Anyone? > As suggested, a case statement is an option. > > Or, to do it the way you're doing, you have to do it a little > different. Each and/or must have a full expression on each side, so it'd > be more like this: > > if (gTheFullDate = "01/04/1999") or (gTheFullDate = "01/05/1999") or > (gTheFullDate = "01/07/1999")) then > -- whatever > end if > > Also note that the full date format may differ depending on which country > setting the user has. In Europe it might report as "07/01/1999" (day > first) as opposed to the US (month first). > > - - Tab > > At 04:26 PM 3/8/01 -0500, Gene Fritzinger wrote: >> Hi List, >> Is there some way to construct an if..then statement that allows for >> multiple correct if s? >> My first instinct was to do something like the following: >> >> if gTheFullDate = "01/04/1999" or "01/05/1999" or "01/06/1999" or >> "01/07/1999" or "01/08/1999" then >> member("ReportPeriod_From").text = "01/03/1999" --change to date of >> previous Sunday >> >> Forgive me, I'm fairly new to Lingo. What I'm trying to do is, round back >> to the previous Sunday of any week entered by the user. I'm sure there >> must be many betters ways to do this, and any suggestions would be much >> appreciated. >> >> Thanx in advance!! >> G Fritzinger [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: mute sound?
Please turn off html formatting when posting to the list. > > hello my frends; > how to mute the system sound (pc sound)using lingo There are several ways to kill sounds. puppetsound(soundChannelHere) 0 is one way (for sounds that your Director program initiates). BuddyApi lets you kill the system error sounds. If that answer doesn't do it for you, let us know exactly what sounds you want to kill, and we'll help you to arrive at the answer that suits your needs. -Kurt [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: Re: ARGH - text sprite rect weirdness...
> Hey Mark, thanks. Partially works, -- it fixes the width, but the height is > still huge (the new file is longer)tried resetting the sprite again but > it's still wacky Boxtype? If it's #adjust, manipulating the rect won't do a thing to the height. #scroll or #fixed will allow you to set the height. And it does have to be the member when you're trying to manipulate the rect of a field or text sprite. Also, you have to set the rect of the member - trying to set the height or width won't do a thing. member("text").boxtype = #scroll -Kurt [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: OT: Comm+Shift+3
Print screen button (it's above and to the right of the backspace key). It doesn't work quite the same - it stores the screenshot in RAM rather than as a file, so you have to go through a graphics program to actual save it. > Command+Shift+3 (4), is there an equivalent on the PC? [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: Re: counting Keystrokes
> I am having trouble having counting Keystrokes. Here is my script. I want > the user to press the key only once otherwise > nothing. The book says that theKey, the keyPressed and the Keycode always > indicate the last key pressed. How do i get > over it. I'm a bit confused as to what the general goal is here. If you could describe what it is you need to accomplish by tracking keystrokes, I might be able to help. >From the code you posted, It looks like you have a behavior to trap keystrokes. Is the behavior attached to a field or text sprite that has focus? If not, then it won't get called unless it's a movie script and you designate the handler as a keydownscript. -Kurt [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: Re: File Dialog?
>> In case I never mentioned it, I love Gary Smith > > You know, I've heard rumours of such... I was happy to see that Gary is a member of this list. It's nice to know that the author of my favorite xtra is keeping tabs on the development community's problems/wishlists. Someone recently opined that this list is a bit "Buddy happy". Perhaps. But the endorsements for Buddy are coming from a lot of very experienced Director developers who have had to solve Director functionality requirements that only Buddy can supply. File-xtra is catching up, but I'll stick with my buddy until someone can convince me that it's not the most versatile system-manipulating tool. Kudos, Gary - I won't go so far as to say I love you, but thanks for saving me a lot of hours of frustration. -Kurt [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: Re: Field Values and Multiple Choice Answers
> Any help on this would be appreciated. Rethink your entire approach. A list or a set of objects are much more appropriate containers for this kind of data. In order to easily manipulate your data at the end, you need to store it in an efficient and convenient way. -Kurt [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: RE: [Lingo-L] Calculating bounces off a slope -How? {01}
http://www.director-online.com/accessArticle.cfm?id=532 The article is about two particles colliding, but I'm sure you can adapt it. -Kurt [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!]