From this point on, Lingo-L should be up and running again, but using new
software. We may have some temporary glitches - please bear with us as we
work them out, but please try to continue and post as usual.
The reply address may seem a little funny, but use it for now - it should
go to
I'm not sure how this got in here, but it is a SCAM. Do not respond to it
or take it seriously. Also, let's not start a scam thread either. I will
report it to the ISP and the SEC.
- Tab
At 07:12 AM 8/16/01 -0700, kexdonald manfab wrote:
DEAR SIR,
THIS LETTER MAY PROBABLY COME TO YOU AS
It was Director.
It's a protected cast file.
In the beginning there were .DIR and .CST files.
Unfortunately, with .DIR and .CST, source is visible, so Director made
available protected files, which could not be opened for viewing in
Director, and had the Lingo text stripped out. These were
CDDB publishes instructions on how to submit a code. They also have rules
on WHO can submit a code, if I recall, meaning that individuals were okay
for the occasional check, but they didn't want their servers to get
barraged by some major site submitting bazillions of lookups for
free.
That should work; what kind of script are you in when you do this? Does
the installer open?
Try recompiling all scripts too, just to make sure.
At 02:59 PM 8/15/01 -0400, Kelly Fischbach wrote:
I'm trying to open another program, and have my projector quit as soon as I
do so. How do I do
You can do some cutting and pasting, but not everything will port
over. There's no automated way to do it, and of course, a Director
8-specific feature wouldn't work in 7.
I'd say that if it's a very small project that you should just redo it in 7.
If it's a large project, then it'd
I'm not sure I got the point about introducing an unrelated error, but that
aside...
If it thinks that locV is not a property of sprite(me.spriteNum) then I
would say that me.spriteNum is not a valid sprite number.
So what I would suggest is that just before that line you start with
Delay is a bit obsolete, if I recall.
If you want it to wait for 3 seconds you could just do this:
endTime =the ticks + (60 * 3)
repeat while the ticks endTime
end repeat
It's not the greatest idea to lock things up in a loop, and there are other
ways to keep it on the same frame
It's a classic overflow symptom, but I'm not familiar enough with this
particular case to venture a guess.
At 09:50 PM 7/29/01 -0400, Slava Paperno wrote:
On one of my Windows 2000 computers, (the milliseconds) is a negative
number, growing (i.e., approaching 0) as time goes on. On another
There's also the recompile all scripts menu option.
At 10:34 PM 7/28/01 +0200, Florian Bogeschdorfer wrote:
Sometimes I have similar problems even with not linked scripts. They
just don't recompile. Quitting and reloading is the only possibilty.
Florian
Slava Paperno wrote:
Since you
One thing you might czech (sorry, couldn't resist) is if the problem is
really due to Czech Windows, or if that's just a decoy, and it's really due
to their configuration.
If it was Director related, the bug would probably also occur on languages
similar to Czech. Director itself is not
Instead of things like toto1 and toto2 you should try using lists, but that
aside, you want to concatenate using the ampersand , so make an empty
string, then append on the parts you want, and at the very end put out the
variable.
outText =
if (whatever) then
outText =outText 1
end if
Sure. You will need a .INI file of the same name as the projector in the
same folder as the projector.
So, if your projector is SIMON.EXE then you will need (if you don't have
one already) a file called SIMON.INI
This is a text file, and you can edit it with Notepad (or SimpleText if
Mac).
I'm not familiar with either the book or the example, but by not in the
movie you mean you are running a movie in a window, then the answer is no,
you cannot debug a movie in a window (MIAW).
If you mean that you transfered (using 'go to movie') to another movie,
then you physically can't
I think this is what is happening...
- If it is less than the destination you add to it, and then see if you
added too much, in which case you try to set it to the final location.
- Eventually you will get to the destination. The locH will be equal to
the destination.
- Since it is EQUAL,
What do you mean:
After clicking this button I then go to file and open the second movie.
What specifically is the code to open the second movie?
[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,
Well, then don't respond (to them OR the list). No need to fill this up
with people saying why they don't want it - the recruiter isn't on the
list. There may be one or more people for whom it is a fit, and those
people should send in the resume.
Even though I'm a pretty good cook, I'm not
What are the script errors?
Maybe there are some other files you don't have.
Also, sometimes if an Xtra is made with MFC or something it may need some
files that are on your system that the other system may not have installed.
But let us know what the script errors are, because that's the
Well, then you're going to have to do some old-fashioned debugging.
Look at the screen to figure out how far you got in your program - I don't
know anything about your program so this is just ad hoc, but if you have,
say, a splash-screen up, but not your main menu, then there's no point in
Actually, I want to clarify... I said per program and misspoke. I meant,
per .DIR. If you have MIAWs (Movie In A Window) open, they can hold
their own handlers.
- Tab
At 09:38 PM 7/24/01 -0400, Tab Julius wrote:
Global functions exist in movie scripts.
Sorry, you couldn't declare them
Um, there might be something in the works. :) Any topics in particular
that you think might need a good looking at?
- Tab
At 04:51 PM 7/23/01 +0100, Karina Steffens wrote:
Uh-ohTabs gonna throw the book at us now... :-P
If the book he throws is Gary's game book, make sure to give
Since both operands are integers (that is, 1 is an integer, and the
duration is an integer), Director will perform integer math on it, and the
result will be an integer (in this case, 0).
What you want to do is force it to do floating point math on it. Since one
of your divisors is a
We were asked to post the following position. The ad is from a
recruiter. I personally do not know anything about the companies involved,
or the position, and do not have any further information. I'm just being a
good host and passing this along. Please email the specified address
It is easy to get an MIAW to crash a projector if the MIAW originates the
request to kill itself. Effectively you pull the rug out from under its
feet. This usually does not happen in authoring mode (another reminder to
test in projectors, especially with MIAWs).
You say you are closing
You can use 'the applicationPath' to get the path of your own projector, so
the second projector will be on the same drive. Chances are that is your
working directory anyway, so you don't need to specify the path of the
second projector.
Then use Lingo's 'open' command, as in: open
All numbers are divisible by any other number as long as that other number
isn't zero.
I suspect, though, you mean evenly divisible, such that there's no remainder.
In that case, this is how you do it:
What you want to do is to see if the result matches the result when
converted to an
PPT being PowerPoint? Meaning that what you really want to do is copy the
file from the CD to the hard drive?
If so, you can use the FileXtra Xtra (free, comes with Director or can be
downloaded, depending on what version you have) to put up a save dialog and
to create the folders and copy
It depends on the machine. Shutdown will physically shut down some
machines, if they allow for software shutdowns. The machine might be
configured to allow (or disallow) shutdowns. Or, the machine may
physically be incapable of a software shutdown (like if it has a positional
power
Float precision is only for the display of strings, not internal
calculations, and not for editable fields.
In other words, if you have a float variable r, it might equal 3.14159
r=3.14159
put r
-- 3.1416
(note - default precision is 4, so it rounds when displaying)
set the floatPrecision =2
It certainly does work at runtime. My two questions therefore would be:
1) Instead of doing importFileInto member(/Prefs/bhen), the
applicationPath / Prefs/bhen.txt
that you instead do:
importFilename =the applicationPath / Prefs / bhen.txt
importMember =member(/Prefs/bhen)
Actually, before you jump down his throat, if you read his message you'll
see that he did say he was running from the hard drive and just wanted to
know how to eject the CDs.
You could use CD Pro Xtra to eject the CDs - the Xtra is free, but with a
logo requirement.
If you can identify them by label, you can use CD Pro's GetDrive function
to get the names of the disc (volume on Mac, label on Windows).
- Tab
At 05:27 PM 7/9/01 -0400, vijay shan wrote:
This still is a problem actually I have been using the cdpro xtra for
sometime now.
Ejecting the cd is
Burning ECDs is somewhat out of the scope of Lingo-L (actually, it's
totally outside of the scope).
I would recommend you joing ECD-L, which is a listserv we host for
DEVELOPERS (not users) of ECDs. There you can ask all your ECD questions
as regards burning formats and so forth.
It is known; you can send a message to any valid object. In theory you
could send a mouseLeave message too, though it would probably be more
confusing than productive.
At 05:31 PM 7/4/01 +0200, schmidt-r wrote:
I don´t know if this is known or if it could be usefull to someone. You
can cheat
Hi,
END is a compound key and does not have an ASCII value.
Instead, you will have to check for 'the keyCode'. END has a keyCode of
119 followed by a keyCode of 2.
To emulate that behavior, instead of checking for it, there are a few
things you can do. For instance, see Al's response for
What's multi-tread?? Do you mean multi-THRead?
At 01:01 PM 6/26/01 +0100, Miguel Gonzalez wrote:
Hi all.
Does anybody know any example about how to do something similar to a multi
tread code?
Lingo is not a multitread language, but maybe anybody knows how to do
something similar.
Thanks in
Not sure what you mean by cast support. We make an Xtra, CastLink Xtra,
that allows you to dynamically load casts (on the fly), but it's meant for
things bitmap media, and maybe text, not active assets like cursors.
What kind of castmember is it?
At 03:35 PM 6/25/01 +0530, mitesh wrote:
have to do at
this stage. please give me quick replay help me out this is a ending
time for
me.
other way is there or not.
Mitesh
Tab Julius wrote:
I have seen this with a corrupted castmember.
Generally, the movie in question has one castmember (your job to figure out
which!), whose
Yes, you should have a MYM something folder that has the logos, and your
licensing information states the requirements, and you should find it in
one of your books - perhaps the user guide.
Please note this list (lingo-l) is for Lingo and programming related questions.
Thanks
At 02:03 PM
I have seen this with a corrupted castmember.
Generally, the movie in question has one castmember (your job to figure out
which!), whose stored data properties are corrupted, and it makes Director
think it is out of memory. Note that you are not really out of memory, but
Director is trying
Only thing I can think of is if the MIAW's text field has focus, even if
the movie is out of focus, Director *might* try to deliver the event there
anyway.
Generally Director attempts to deliver events first to the sprite, then to
the castmember, the frame, and the movie.
I don't know what
Unlike movie scripts, which can be called by anyone, and have unique names
(only one is valid for the whole program), various sprites and objects can
have their own private scripts with their own private actions and
properties. They don't require unique names, though, since you refer to
Sure, you practically said it yourself. You just need to get the syntax
correct.
xLoc =the mouseH
if (xLoc =100) then
-- mouse is in 0..100 range
else if (xLoc =300) then
-- mouse is in 101..300 range
else if (xLoc =500) then
-- mouse is in 301..500 range
else
-- mouse is greater
Dithering mixes near pixels in order to best approximate, visually, the
original color impact. For something like a photograph, you'd really want
it. However, it can take what used to be a solid color and make it a
combination of pixels to get the same visual effect, but without leaving it
I missed the earlier part of the thread, and aren't sure why you're looking
at VB code, though hopefully you're trying to port it to Lingo (otherwise,
why be here? :)
I'll try to help as best as I can. I first used BASIC in 1976 (!), though
I eventually stopped using it as a primary
This list (Lingo-L) is for Lingo and programming-related topics, so if you
have any questions on Iconizer, please email [EMAIL PROTECTED] and
we'll be happy to help.
Thanks
- Tab
At 12:16 AM 6/22/01 +0530, mitesh wrote:
hi,
Buy Iconizer from Penworks.
i get it but how can i create this
Hi Kerry,
1) Inspect the variable via a 'put' or in the debugger just to make sure
you built it right.
2) Presuming that you did, and it wasn't a simple error, then probably I
would guess that fileXtra doesn't like network volume specifications. I
think I ran into this on regular file
Convert them to strings, as in:
string(useCredits)
instead of just 'useCredits'
Note that you'll have to convert them back to integers when retrieving
them, just to keep everything equal.
- Tab
At 01:28 PM 6/19/01 -0400, Gene Fritzinger wrote:
Hi List,
I am trying to use baWriteIni with
I know people find this list productive, and like to ask non-Lingo or
non-programming questions of the list, because they hope to get a highly
qualified answer. Unfortunately we've been getting a LOT of non-Lingo and
non-programming questions lately. I just want to keep the signal-to-noise
Does the stage do this on its own, or did the MIAW 'tell' the stage to
close the MIAW? Because if you used the tell command FROM the MIAW to tell
the stage to CLOSE the MIAW, that will create a crash.
- Tab
At 10:32 PM 6/18/01 +0100, Luis Carneiro wrote:
Hi all,
I'm using director 8.0
Like so:
puppetSound 2, whatever
places the sound in channel 2.
At 11:58 AM 6/14/02 -0700, William Miller wrote:
When ever I use the puppetsound to play a sound cast member the sound in
the cast is in channel 3.how do I get director to place the sound in
another channel so I can control
Actually, a better way out is to use 'halt'.
In authoring mode (that is, in Director), quit will also exit Director,
which makes it really annoying for testing. By using 'halt' instead, the
movie will just stop.
- Tab
At 09:13 AM 6/13/01 -0400, Brown, William K wrote:
Attach this script to
What's the benefit? Why not just always use halt? I've been doing it for
years - no problems. I'm not sure why you're going through the trouble to
differentiate.
At 09:57 AM 6/13/01 -0400, Al Hospers wrote:
Actually, a better way out is to use 'halt'.
In authoring mode (that is, in
Well, if I recall correctly, quit was always there, but took you all the
way out. Halt used to originally literally halt the work, and the bug (at
least back in v4), or feature, was that it just stopped everything, and
didn't call stopMovie. Over the years, somewhere, it got to where it
From desktop, or from Shockwave?
At 05:15 PM 6/13/01 +0200, Presedo wrote:
I would like to know if the system´s user has a codec...
trying this, doesn´t work because is not a server
on startmovie
if file(C\windows\SYSTEM\DivXc32.dll).exists then
nothing
else
open
Then you could use the FileIO Xtra (which comes with Director) to get the
windows folder, via the getOSDirectory() call. You could append on to get
the system folder (generally the system folder is under the main Windows
directory, but it doesn't have to be, or it could be something other
If you need this sort of thing, you could get an Xtra written that does it,
but the better thing would be to author in a way that allows Director to
keep doing its normal looping. Loop around exitFrame, and create a state
machine, that you execute your calls in the exitFrame loop or you act
Sure, create an 'on keyDown' handler that takes the key pressed and adds it
to a string. You could also add it to the text of a field displayed on
screen. When you read in the RETURN key then send the string to the net.
- tab
At 02:58 PM 6/10/01 -0700, I R wrote:
hello list,
it would be
Do the chars appear at the end? If so, you're probably doing it in the
wrong order. It should be 13 followed by 10 (CR/LF).
Otherwise, how are you viewing the file?
At 12:01 AM 6/10/01 +0200, clars danvold wrote:
hello All
(D8.5, Win98)
I am using fileIO to save a text to a file.
Well, it'll help mask errors, but if you have an error, now you'll never
know where it was or what the user was doing.
All you're doing is suppressing the error MESSAGE, but whatever the error
(non-existent variable, undefined handler, non-list, etc), the error will
still exist and will
Well, it'll help mask errors, but if you have an error, now you'll never
know where it was or what the user was doing.
All you're doing is suppressing the error MESSAGE, but whatever the error
(non-existent variable, undefined handler, non-list, etc), the error will
still exist and will
1) I seem to recall some situations where the alert hook WOULDN'T kick in -
so it won't save your butt all the time.
2) The fact that you have some bug at all, whether or not the message is
suppressed, is still a problem.
3) Depending on the bug, you might suppress the message, and then you
Well, there are a couple of ways you can go about it.
First, you can just use Lingo calls to get the xth word out of a
line. This may or may not help, depending on what you want to use it for.
What you might want to do is put each word in a list. Using commands like:
mySentence =This is a
Sprites can have multiple behaviors attached. These are in the
scriptInstanceList property.
If you want to clear ALL behaviors from a sprite, do something like:
sprite(3).scriptInstanceList =[]
Warning - don't do this whilst executing one of those said behaviors - may
create problems.
Not to mention that the Xtra he's asking about is one of ours! :(
You are correct - this is a list for programming topics, specifically Lingo
and Director programming.
At 09:56 AM 6/6/01 +0200, theLingorian wrote:
People asking for cracks and serialz and stuff like that should
really be
I did so this morning; trading serial numbers for any products is not
acceptable - certainly not on this list.
That said, I think it shows either amazing chutzpah or amazing stupidity to
ask for a crack of Iconizer on a list hosted by the company that makes that
product. I'm sure his next
Yes, but as a separate message. The worst are when they are CC'd on the
same message, then everyone from each list responds, and it gets sent to
all the other lists, and it's a real mess. I've at least asked that if
people are going to post in multiple areas that they send separate
First, that should give you an error, because member(1).text evaluates to a
string. So, I don't know why it's not just throwing you an outright error.
That aside, it's because the point is that a while statement evaluates an
expression to either be 0 or non-zero; a better way might be:
PLEASE do not EVER post your serial number to this, or ANY OTHER list.
You should ONLY give it out if YOU have called Macromedia and they ask for it.
It's not quite as bad as giving out your credit card number, but it's not
far behind. It acts as a key. It should be carefully guarded.
-
Unfortunately I can't really stop it.
At 12:48 PM 6/4/01 -0700, Boyd Speer wrote:
Tab, Is this post going into the archives (Hope not..)
Macromedia should take steps to invalidate that particular number so it
couldn't be used to get an upgrade...
-Boyd Speer
Touchstone Digital Design
Serial:
It depends on the format of the .dat file (.dat is a generic name for a
data file, and can be structured just about any way you want).
If it's text format, you can probably just use the Lingo command
'importFileInto' to bring it in as text.
- Tab
At 11:52 AM 6/5/01 +0800, gksoon wrote:
hi
A projector is not just the .dir file resaved.
A projector is an executable binary file made up of:
1) The runtime engine (can add up to 1.8 megs, depending on settings and
versions)
2) All of the .dir files you specify (in this case, an 11k file)
3) A few .DLLs that the runtime engine
At 10:10 AM 6/3/01 -0500, jsweeney wrote:
on 6/1/01 9:02 PM, Tab Julius at [EMAIL PROTECTED] wrote:
You can create one yourself, often.
How? I've done over 75 projects and this is a first. :( What type of things
could I do to cause memory leaks. I'm constantly unloading unused previous
frames
be something else that slows down the movie.
Thanks for your reply, Julius.
Date: Fri, 01 Jun 2001 10:20:33 -0400
From: Tab Julius [EMAIL PROTECTED]
Subject: Re: lingo-l globals vs properties
Globals vs. properties just really refers to which memory space you
have
them in. There is some overhead
Globals vs. properties just really refers to which memory space you have
them in. There is some overhead that is incurred when starting a handler
with globals in that script, but not that you'd probably notice unless you
had hundreds or thousands. Otherwise, there is no speed factor per
1) How are you writing to the .ini file? Are you sure you're not writing
to the projector? Or are you just using FileIO or something like that?
2) Generally if an executable has gotten larger, what you should look for
is if you have a virus. Executables should not grow unless that's your
looking at actual file bytes. For instance, the Mac
shows (depending on how you check) sometimes the allocated space and not
the actual space used.
- Tab
At 07:15 PM 6/1/01 -0300, Luiz Gustavo Castelan Póvoas wrote:
Tab Julius wrote:
1) How are you writing to the .ini file? Are you sure
You can create one yourself, often. That's not to say there might not be
one, but do you do things like use Play to go to a new movie?
Not sure what you mean by They used Norton
Take things out one by one... drop the video - does it still flake out? If
so, try dropping the audio instead.
This is an old bug in Director. Duplicate, obviously, would use more
memory - the bug is really that erase doesn't free memory. Even if
allocating from an Xtra, it's still a problem.
It really depends on how long you expect to be up and running, and how many
of these calls you make. A
If you mean, autorun the CD when it's inserted, it means including a file
called AUTORUN.INF in the root of the CD.
The file should contain at least the following:
[autorun]
open=name of file
as in:
[autorun]
open=setup.exe
or if in a subfolder:
[autorun]
open=install\setup.exe
If you
Over the years, there have been many requests to do variable variables,
that is, to construct a variable name on the fly.
Invariably, the person asking the question is taking the seemingly obvious
solution to a problem, but usually what really signals is that it is time
to start learning
Closer, but again you're assembling things on the fly. However, it's hard
for me to suggest anything further because I don't know what problem you're
trying to solve - I don't mean the problem of concatenating, I mean the
original problem of keeping track of multiple things. If you have a
I think he meant, is there an Xtra that can set an image as the desktop
wallpaper...?
At 11:08 AM 5/21/01 +0200, Rich Mayer wrote:
At 06:49 21.05.01, you wrote:
hi list
What is the Spool Buffer in director.ini file
The area of memory (buffer) used for streaming.
anybody know how to create
Um, yes and no. Well, yes, though you'd have to go through a few more
steps and create a string and then parse it to get its value out, so
technically you could pull it off, but I'll betcha there's an easier way to
do your ultimate goal. What, specifically, is your ultimate goal? You're
Well, certainly a quick way to get the same result without changing the
structure would be:
on exitFrame me
go to the frame -- Do you want this first?
repeat with x=76 to 80
if sprite 75 intersects sprite x then
set the visible of sprite x to TRUE
home
Although it could be anything, this is *usually* what happens when you
reference an object that isn't there, whether you're trying to send a
message to a sprite that is now gone, or coming back from a MIAW that you
didn't close correctly, or in some fashion referring to a now-non-existent
Although that's a reasonable reaction, check closely and see that his
message is dated the 15th (same as the 2nd message). Looks like it was a
duplicate that got hung up in some server somewhere, somehow, and just got
delivered now. Otherwise that would have been my reaction too.
At 08:49
With all due respect, absolutely DON'T do it this way. You're on the right
track, but you haven't fixed the problem.
It all comes down to the question of: from what context is the kill command
issued?
In your fix here, it is still being called from the context of the MIAW,
and if the MIAW
Well, if you're interested in doing business, do exactly what you did.
If you want to help out of the goodness of your heart, then help.
If you don't want to set a precedent, or start a trend, then suggest that a
good place for them to post their request would be on Lingo-L (assuming
it's a
1) If the video is sized differently than how you made it, it will have to
be recalc'd. If you made a 640x480, then it should be moved to exactly
800x600 to keep the same aspect ratio. Anything else (like 780x560) might
drag it down. Exact powers of two scale best (320x240 - 640x480), but
Text will definitely bog it down, though he didn't mention text, but it's
possible he's running text. If you have a high frame rate, but aren't
doing anything, then I would ask what's the point of the high frame rate?
In general, the less you demand of Director, the more time there is for
Blocked before it made it to the list. Be glad you didn't get
it. Multiple 500k files. It didn't get past me.
- Tab
At 10:38 AM 5/15/01 -0700, R. Bhakti Klein wrote:
i didn't see anything too juicy, could you resend them?
Ian Richardson wrote:
Appologies, someone has been playing on
It looked like the beta for Director 10, the version that has embedded html
rendering, automatic programming, linear video editing, and direct in-line
C/C++ compilation, but that sort of stuff is outside the scope of this
list, so I nixed it. Sorry.
- Tab
At 02:03 PM 5/15/01 -0400, Nick
There are MANY ways to get this. A fatal error is a catch-all
something-went-wrong-somewhere result.
Common reasons are:
1) Returning to an object or sprite that has been deleted under your feet
2) Calls to objects that are no longer there
3) Xtra that is having problems
You can work with
If the weights are EXACTLY as you gave, then it's real easy.
Make a property list, with weights and prices, as in:
priceList =[.5:49.00, 1:63.70, 1.5:78.35, 2:93.00, 5:165.45, 10:275,
15:375.10, 20:468.45]
then just look it up:
itemPrice =getaProp(priceList, itemWeight)
So if itemWeight is
Unfortunately they're just meant for events within Director (this MIAW
activated, the stage activated), as opposed to system wide.
One exception - they might work if you turn off animate in
background. The thought just occurred to me, but I've never tried it.
- Tab
At 05:33 PM 5/7/01
Well, you could first pre-process the string and strip out any spaces, as in:
on compress stringData
newString =
strLen =length(stringData)
repeat with x=1 to strLen
thisChar =char x of stringData
if (thisChar ) then
newString =newString thisChar
end if
end
.
I got what you mean.
Thanks a lot.
From: Tab Julius [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: lingo-l Urgent and tough .Please Help
Date: Sat, 05 May 2001 22:32:10 -0400
What you want is a basic stack. It looks like
Fortunately the list probably did NOT get it since we allow neither HTML
mail nor attachments - for specifically this reason (to avoid virii).
But for all of you who are wondering why your message(s) don't make it on
the list, you must send them as PLAIN text with NO attachments, NO styles,
1 - 100 of 219 matches
Mail list logo