lingo-l OOP question

2000-12-15 Thread Clars
Hello all in the Lingo OOP coven- I ran across an old thread from April on OOP basics. I wish to point out at this time that I have not been studying it SINCE April... I have included Irv Kalb's example about accessor methods below. I understand it. No, really. At the risk of having to go

Re: lingo-l shockwave and sound?

2000-12-15 Thread Mark A. Boyd
At 03:41 PM 12/14/00, Christopher Mealey wrote: Hi All on mouseUp--1st frame nav button sound playFile 1,"Macintosh HD:Desktop Folder:paintshadoz:wtzardhead:ozsound:imoz.aif" play frame 5 end on enterFrame--animation frame puppetSprite n, true repeat with n = 2 to 4 set the

lingo-l I am a bummer. (Copy members script)

2000-12-15 Thread Andreas Gaunitz
Listen to this: I had a lot of important scripts in castLib 1. I made a script that was supposed to duplicate a number of sound members in castLib 2. When I ran the script it copied the members alright, but they were copied to castLib 1 _although_ I told it to use nr 2... So a lot of my

Re: lingo-l OOP question

2000-12-15 Thread Andreas Gaunitz
Writing a lot of redundant handlers is almost always 'pure OOP'. I think the meaning of not accessing the properties directly is that you will be allowed to change the inner workings of the script a lot without changing in any of the calling handlers. You can change the prop names, data type,

lingo-l HELP !! BEATNIK

2000-12-15 Thread Jon Paul Alongi
guys can u hlp me please... im at work at the mo and in DIRE neet of the BEATNIK ACTION SET FOR DREAMWEAVER their website is not working properly and i need it asap i thought maybe one of u lot may have and would be kind enough to email it to me thanx and i appologise for it being off

RE: lingo-l OOP question

2000-12-15 Thread Karina Steffens
put sprite(1).scriptinstanceList[2].getPropAt(2) Tsk Tsk... That's accessing the sprite's properties directly - a definite no-no for OOP :) But it can be useful for property manipulation inside the sprite script itself. Karina [To remove yourself from this list, or to change to digest

lingo-l Line graph

2000-12-15 Thread Rick
I have a script which uses a sprite with trails on to draw a line graph. It isn't very good but it works. Anyway, I was hoping to develop a better behaviour using vectors. Has anyone attempted this? I was hoping to at least replicate the properties of the Math xtra available for Dir 6 (i.e.:

Re: lingo-l about .dxr files

2000-12-15 Thread Clars
I don't think you can, and in MHO, you shouldn't be able to. regards, Clars "Ãéáííáôïò Áëåîéïò" wrote: hello everyone, im sure that youre heard this question a lot of times,but if someone is kind enough to tell me how i can unlock the DXR files,ill be really happy. i have the mission

RE: lingo-l OOP question

2000-12-15 Thread Christopher Schmidt
If my behavior has, say, 5 properties I want to access, I'd be tempted to write an all-round handler like: on getProperty me, prop return value(prop) end which could be accessed with: theValueI_need = sendSprite(whateverSprite, #getProperty, "propertyName") However, this would seem

lingo-l Re:

2000-12-15 Thread FUZZ WORKS
Ok thanks anyway! you can only opening as projector _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. [To remove yourself from this list, or to change to digest mode, go to

lingo-l Re:

2000-12-15 Thread FUZZ WORKS
Ok thanks anyway! you can only opening as projector _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. [To remove yourself from this list, or to change to digest mode, go to

Re: lingo-l Line graph

2000-12-15 Thread Colin Holgate
I have a script which uses a sprite with trails on to draw a line graph. It isn't very good but it works. Anyway, I was hoping to develop a better behaviour using vectors. Has anyone attempted this? I was hoping to at least replicate the properties of the Math xtra available for Dir 6 (i.e.:

Re: lingo-l OOP question

2000-12-15 Thread Jakob Hede Madsen
At 11:40 +0100 2000_12_15, Clars wrote: on getProperty me, prop return value(prop) end You can declare which propNames are "public" and allowed access to through the universal accessor method, like so: case prop of #kjfkd, #jsfif, #fsf: return me[prop] end case return "error: blah"

lingo-l single frame search engine...

2000-12-15 Thread lynch
Good day everybody, I have a complex company and product presentation with a few dozen different dir movies in Dir 6 (to serve the remaining Win 3.x plaftorms around). I want to dynamically replace behaviours attached to my central navigation tool when desired by the user at runtime to open a

Re: lingo-l OOP question

2000-12-15 Thread Clars
Writing a lot of redundant handlers is almost always 'pure OOP'. I think the meaning of not accessing the properties directly is that you will be allowed to change the inner workings of the script a lot without changing in any of the calling handlers. I can begin to see the outlines of the

SV: lingo-l about .dxr files

2000-12-15 Thread guran
You got a lot of nerv asking such a thing here where people struggle to make a living on their programming. It is in fact impossible as it should be. guran - Original Message - From: Ãéáííáôïò Áëåîéïò [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 15, 2000 1:21 PM

lingo-l Loading help

2000-12-15 Thread Jayson
Hello list, I'm looking for info code on loading a movie with a percentage bar. Thanks a lot for helping. -Jayson [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]

lingo-l basic lingo question

2000-12-15 Thread Mushtaq Farooqui
I'm not a programmer, (designer only!) and I'm quite hesitant in posing this question - it must be so basic - but I've been unable to find the answer anywhere. The question is: what is the meaning of the characters "me" as in "me.spriteNum", or "p" as in "pModel"? When does one use these? Thanks

RE: lingo-l OOP question

2000-12-15 Thread Karina Steffens
I'm trying to decide how seriously I should take the school of high object integrity in Lingo. When I do, I feel I'm doing it for form's sake. Still, I'm hoping that adhering to these strict and seemingly silly rules will someday take me to the moment of OOP enlightenment that some talk

lingo-l slider and change image

2000-12-15 Thread Yo Gomi
Hello Lingo-Ls, Can anyone help me? I have a slider that changes the images (from sprite 3 to 9). All the images are put outside the stage until called up. This is attached on the slider pointer global pointer on beginSprite me pointer=sprite(me.spriteNum) end on mouseDown changeImage

Re: lingo-l basic lingo question

2000-12-15 Thread Mark A. Boyd
At 09:20 AM 12/15/00, Mushtaq Farooqui wrote: The question is: what is the meaning of the characters "me" as in "me.spriteNum", or "p" as in "pModel"? When does one use these? Check out this article on DOUG: "Me, my code and I" http://www.director-online.com/accessArticle.cfm?id=837 -- Mark

RE: lingo-l basic lingo question

2000-12-15 Thread Robert Wingate
what is the meaning of the characters "me" as in "me.spriteNum" "me" is a variable that points to an instance of an object in memory (an 'instance' of an object is analogous to the way a sprite is an 'instance' of a castMember). Explaining its use is a little beyond the scope of a few

RE: lingo-l slider and change image

2000-12-15 Thread Robert Wingate
What did I do wrong? Am I making things more complicated than should be? These may be of help: http://www.director-online.com/accessArticle.cfm?id=300 http://www.director-online.com/accessArticle.cfm?id=208 HTH Rob /* * Rob Wingate, Software Human* *

lingo-l PC Sound

2000-12-15 Thread Micha Therrien
Hello all, I have put together a program where word cast members have puppet sounds (.wav files) when the user cliks on its sprite counter part on stage they hear the word, simple enough and it works fine BUT when I load my PC CD there is NO sound on some machines and sound on others?

RE: lingo-l OOP question

2000-12-15 Thread Robert Wingate
Otherwise you might as well program with movie script handlers and 500 globals ;) I once inherited a huge app that was programmed exactly this way (but far worse than you can imagine), and it was truly four months of sadness. I would never wish this on anyone. Another example of "form" that

Re: lingo-l Loading help

2000-12-15 Thread Clars
hi Jayson, a quick search on director-online with keywords "progress bar loading" gave 5 results, here are two: Title: Time based progress bar URL: http://www.director-online.com/accessArticle.cfm?id=433 Title: Progress Bar Penalty/Reward URL:

AW: lingo-l adjusting width of bounding box to length of text

2000-12-15 Thread Michael von Aichberger
Hello Kurt, I've been absent from my office for a week, so I couldn't thank you for your answer earlier. Nor did I have the time to workt with your suggestions. But anyway, thank you very much, your answer seems to be very helpful! -Ursprüngliche Nachricht- Von:[EMAIL PROTECTED]

Re: (Final) Re: lingo-l OOP question

2000-12-15 Thread Irv Kalb
At 8:27 PM +0100 12/15/00, Clars wrote: Thanks again for input, all. Karina - any sources for naming conventons? I use p for property and g or m for global variables(project global or movie global), but that's about it. Jakob- I sent my post before I read yours. I suppose that specifically

Re: lingo-l basic lingo question

2000-12-15 Thread Clars
Actually, I think it's a good question - I'll try to shed some light. "me" resides at the heart of the difference between a simple sprite script and a true behavior. If your behavior handlers end with "me", they have two good things going for them: 1). when a behavior initiates, an "instance"

Re: lingo-l basic lingo question

2000-12-15 Thread Irv Kalb
At 9:05 PM +0100 12/15/00, Clars wrote: Actually, I think it's a good question - I'll try to shed some light. "me" resides at the heart of the difference between a simple sprite script and a true behavior. If your behavior handlers end with "me", they have two good things going for them: 1).

Re: (Final) Re: lingo-l OOP question

2000-12-15 Thread Clars
Irv Kalb wrote: Wow, an entire discussion on OOP, and I'm out of the office for one morning. -Sorry you missed out on all the fun! One quick comment. In your original message you mentioned that there were five different properties that you wanted to get and/or set from a behavior.

Re: lingo-l basic lingo question

2000-12-15 Thread Clars
That's a point I had missed. Still, I was trying to keep it simple, 'cause I've been there... -Clars Irv Kalb wrote: Good explanation, but I'll add one comment. Only one copy of the script lives in memory. When you use multiple "instances" of a behavior (e.g., use the same behavior on

lingo-l Looking for information

2000-12-15 Thread Fred Westermeyer
I am finishing up a project that is a touch screen information center here at the casino. I did it in D7.02 windows. My boss would like to add a new section to it, he would like are guest to able to call someone here at the casino, all number will be in-house and four number. What he would

lingo-l Looking for Information

2000-12-15 Thread Fred Westermeyer
I am finishing up a project that is a touch screen information center here at the casino. I did it in D7.02 windows. My boss would like to add a new section to it, he would like are guest to able to call someone here at the casino, all number will be in-house and four number. What he would

Re: lingo-l PC Sound

2000-12-15 Thread Mark A. Boyd
At 09:33 AM 12/15/00, Micha Therrien wrote: I have put together a program where word cast members have puppet sounds (.wav files) when the user cliks on its sprite counter part on stage they hear the word, simple enough and it works fine BUT when I load my PC CD there is NO sound on some

Re: (Final) Re: lingo-l OOP question

2000-12-15 Thread Irv Kalb
Clars, While I obviously fully understand the problem, here's one way to think of using a parent script. Take any code in your "master" behavior that doesn't deal directly with putting sprites on the screen, and make a single global object out of it. So, move things like your folder info,

lingo-l increasing flash( swf) movie speed

2000-12-15 Thread JUNAID ALAM
hi friends, i want to increase the speed of a flash movie . so can anyone suggest how to do it in the simplest possible way my movie is imported into director 8 in the .swf format. i have used all those fixedrate and framerate command, but i am not able to find out where i am making a

Re: lingo-l increasing flash( swf) movie speed

2000-12-15 Thread Roy Pardi
At 6:36 AM + 12/16/2000, JUNAID ALAM wrote: hi friends, i want to increase the speed of a flash movie . so can anyone suggest how to do it in the simplest possible way my movie is imported into director 8 in the .swf format. i have used all those fixedrate and framerate command, but i