Re: dynamic text fields, how-to...

2003-08-27 Thread Charlie Fiskeaux II
That's exactly what I was talking about earlier.  Erasing members at runtime
leaves their memory unclaimable, so you get bloated files.

Charlie Fiskeaux II
Media Designer
The Creative Group
www.cre8tivegroup.com
859/858-9054x29
cell: 859/608-9194

- Original Message - 
From: "Daniel Nelson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 27, 2003 6:06 PM
Subject: Re:  dynamic text fields, how-to...


>
>
> Charlie Fiskeaux II wrote:
>
> > Members can be deleted dynamically during runtime, with
member(x).erase().
>
> >From the docs:
> "For best results, use this command during authoring and not in
projectors, which can cause memory problems."
>
> Regards,
>
> Daniel
>
> [To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/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!]


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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!]


DIR <--> FLASH comm problem...

2003-08-27 Thread Kristian
Hi,

I have a on the stage in Director two puppetsprites each containing a
#flash-member; one of the sprites is a menu that depending on what item is
clicke loads the acutal content #flash-member in the other sprite. I also
have a handler that activates a certain "page" in the content #flash-member,
this is done kinda like this:

the menu #flash:

function sendSomething(inVar) {
getURL(getURL("event: getParamFromSub,\"" + varChapter + "\", \"" +
varPage + "\"")
}

triggers a frame-handler that recieves and takes care of the actions that
needs to be done in Director; loads a new member into the sprite and so on
and when that is done I want to send the avove "varPage" to the newly loaded
content #flash member and direct it to the correct "page", something like
this:

on setPage (whatPage)
flaRoot = sprite(3).getVariable("_root",FALSE)
flaRoot.gotoActivePage(whatPage)
flaRoot = ""
end

Of couse there is a function in flash that recieves this and takes action
according to conditions... NOW this works FINE as long as the functions gets
triggered from a mouse click, but when I try to trigger the setPage-handler
(whitout using the menu #flash function) by just triggering it from inside
my Director-movie WITHOUT mouse-clicks it does not respond at all... except
from when I first start the movie.

Parts of the actual code is below... What I can not seem to understand is
why the last flash-function gets triggered when the command comes from a
mouse-click within the first flash, but not when I try to trigger it with
just code... Anyone??? Please? HELP...

//Kristian


-- MENU #FLASH MEMBER - sends this...
function setActiveSubLevel(var_subLevel,var_contentPage) {
_root.collapseMenu1();
arrayMC_subName[var_subLevel].gotoAndStop(5);
sendSubLink = (arrayMC_subLink[var_subLevel]);
if (sendSubLink != "") {
getURL("event: getParamFromSub,\"" + sendSubLink + "\", \""
+ var_contentPage + "\"");
}
}


-- FRAME SCRIPT IN DIRECTOR RECIEVES AND PASSES ON...
on getParamFromSub me, subMenuID, conPageID
  respondToParamFromSub(subMenuID, conPageID)
end getParamFromSub


-- ACTUAL HANDLER IN DIRECTOR TAKES CARE OF BUSINESS...
on respondToParamFromSub(subSectionID, contentPageID)
member(gContentMemberName & gActiveMemberList.aTopItem &
gActiveMemberList.aSubMain).unload()
gActiveMemberList.aSubMain = subSectionID
gActiveMemberList.aSubSub = ""
member(gContentMemberName & gActiveMemberList.aTopItem &
subSectionID).preload()
sprite(3).member = member(gContentMemberName &
gActiveMemberList.aTopItem & subSectionID, "contentCast")
if (member(gContentMemberName & gActiveMemberList.aTopItem &
subSectionID, "contentCast").loaded) then
flaSetActiveConPage(contentPageID)
end if
end


-- DIRECTOR HANDLER THAT TALKS TO THE CONTENT #FLASH MEMBER
on flaSetActiveConPage(conPage)
  updatestage
  flaRoot = sprite(3).getVariable("_root",FALSE)
  flaRoot.gotoActiveContentPage(conPage)
  flaRoot = ""
end


-- FUNCTION THAT RECIEVES THE PARAM FROM DIRECTOR AND GOES TO THE FRAME
function gotoActiveContentPage(pageID){
for (i = 0; i < arr_getPageID.length; i++) {
if ((arr_getPageID[i] == pageID)) {
MC_ch10.gotoAndStop(arr_getPageNum[i]);
}
}
}


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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: dynamic text fields, how-to...

2003-08-27 Thread Mats Leidö
I don't believe it's "asymmetric". I'm pretty sure it happens as 
fast as you can tell it to.

The code I gave you makes 100 members per second on my G3
Just creating them it's more like 500 per second.
yeah, well I was thinking of also putting them on stage, using 
puppetsprite and assigning each sprite its own member. This is were I 
was worried of upsetting Director. So I tried it with the script 
below, triggered by a simple button.
It was fast enough, I think. Between 900-1300 milliseconds for 
creating 100 members and positioning them on stage. I am on OS X and 
trying this out in the browser (as a .dcr file). And no protesting 
from Director when puppeting sprites right after creating the text 
members. This will do nicely, methinks. And methanks!

---
on createManyTextMembers
  stopwatch_start=the milliseconds
  repeat with i= 2 to 101
   
newmem=new(#text, castLib(2))
newmem.text=string(i-1)
newmem.fontSize=9
--create sprites from 11 and upwards
puppetSprite i+10, 1
sprite(i+10).member=member(newmem.member.number)
--never mind the loc, it looks ugly, I just want Director to 
draw to the stage.
sprite(i+10).loc=point(i*10, 10)
  end repeat
  --compare forcing Dir to redraw the stage before putting the alert up and
  --stopping the timer, and not doing that - by commenting out the 
updatestage command.
  updatestage

  stopwatch_stop=the milliseconds
  alert "total time:" && stopwatch_stop-stopwatch_start && 
"milliseconds" & RETURN &\
"started at" && stopwatch_start & RETURN &\
"stopped at" && stopwatch_stop
end
--

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/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!]


Lingo external editor

2003-08-27 Thread Robert Coldwell
I have just finished creating a syntax highlighting file for jEdit. It 
was written on Mac OSX, but should work with any system that jEdit will 
run on. It was submitted to their Edit Modes download section so it 
should show up sometime soon. Otherwise you can get it from me.

www.jedit.org
http://community.jedit.org/index.php
Robert Coldwell
[EMAIL PROTECTED]
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/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: dynamic text fields, how-to...

2003-08-27 Thread Daniel Nelson


Charlie Fiskeaux II wrote:

> Members can be deleted dynamically during runtime, with member(x).erase().

>From the docs:
"For best results, use this command during authoring and not in projectors, which can 
cause memory problems."

Regards,

Daniel

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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: dynamic text fields, how-to...

2003-08-27 Thread Charlie Fiskeaux II
Members can be deleted dynamically during runtime, with member(x).erase().

As another point, you can specify the member to be used when you create a
new member, if you use
new(#text, member(1, 3))
where 1 is the membernum and 3 is the castlibnum (you can use a castlib
name, too); then you'll know which member number it is and in which cast it
is.

Charlie Fiskeaux II
Media Designer
The Creative Group
www.cre8tivegroup.com
859/858-9054x29
cell: 859/608-9194

- Original Message - 
From: "Daniel Nelson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 27, 2003 5:08 PM
Subject: Re:  dynamic text fields, how-to...


> Dynamic member generation is fast enough.  No need for asymmetry here.
>
> One note:  create the dynamic members in a cast devoted to dynamic
members.  Then, during authoring, you can simply delete all the members in
that cast without worrying about deleting other members.
>
> Note:  Members cannot be dynamically deleted during runtime.  As long as
you don't save the cast in projector mode, they won't build up over time.
>
> Regards,
>
> Daniel
>
>
> [To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/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!]


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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: Creating PDF's on the fly

2003-08-27 Thread Valentin Schmidt
don't want to to scare you, the zip does contain a little bit of documentation
in the readme-doc.
valentin


Valentin Schmidt wrote:
> hi steve,
>
> a couple of months ago i've started to learn programming xtras, and
> my first
> xtra was "postscript-xtra", a scripting-xtra which you can use to
> produce PDF on
> the fly from director. it's a wrapper to the ghostscript-dll, so you
> can create
> any file-format that ghostscript can create, like PDF, BMP, TIFF,
> PNG, PSD, JPG,
> EPS,...,  and, with some additions (anyone in this list interested?),
> even SWF
> and SVG. at the moment it's windows only, but it could easily (for a
> code-warrior-guy, at least) be ported to mac.
> you can download the xtra and some demos (one demo shows how to
> produce pdf,
> it's sort of a mini-quarkxpress in director) from:
> http://dasdeck.de/staff/valentin/psxtra/psxtra.zip
>
> there is no documentation, so mail me if you need help.
>
> regards,
> valentin
>
>
> Vargas Media wrote:
>> Hi
>> Is there a way to create PDF's on the fly from within Director? I
>> read there
>> was an article written about this on DOUG but couldn't track it down.
>> I tried FileIO and was able to create a PDF file but it wouldn't open
>> in
>> Acrobat Reader. Acrobat reader returned a  "File does not begin with
>> a %'"
>> error when I tried to open it. Are there specific headers that I need
>> to
>> write from Director
>> via FileIO so that Acrobat will recognize the file?
>> Any help very appreciated.
>> Thanks Steve
>>
>> [To remove yourself from this list, or to change to digest mode, go
>> to http://www.penworks.com/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!]
>
> [To remove yourself from this list, or to change to digest mode, go
> to http://www.penworks.com/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!]

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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: Creating PDF's on the fly

2003-08-27 Thread Valentin Schmidt
hi steve,

a couple of months ago i've started to learn programming xtras, and my first
xtra was "postscript-xtra", a scripting-xtra which you can use to produce PDF on
the fly from director. it's a wrapper to the ghostscript-dll, so you can create
any file-format that ghostscript can create, like PDF, BMP, TIFF, PNG, PSD, JPG,
EPS,...,  and, with some additions (anyone in this list interested?), even SWF
and SVG. at the moment it's windows only, but it could easily (for a
code-warrior-guy, at least) be ported to mac.
you can download the xtra and some demos (one demo shows how to produce pdf,
it's sort of a mini-quarkxpress in director) from:
http://dasdeck.de/staff/valentin/psxtra/psxtra.zip

there is no documentation, so mail me if you need help.

regards,
valentin


Vargas Media wrote:
> Hi
> Is there a way to create PDF's on the fly from within Director? I
> read there
> was an article written about this on DOUG but couldn't track it down.
> I tried FileIO and was able to create a PDF file but it wouldn't open
> in
> Acrobat Reader. Acrobat reader returned a  "File does not begin with
> a %'"
> error when I tried to open it. Are there specific headers that I need
> to
> write from Director
> via FileIO so that Acrobat will recognize the file?
> Any help very appreciated.
> Thanks Steve
>
> [To remove yourself from this list, or to change to digest mode, go
> to http://www.penworks.com/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!]

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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: dynamic text fields, how-to...

2003-08-27 Thread Daniel Nelson
>
> nuisance. At least until one figures out how they work. I learnt
> today that the forecolor property updates as you change the color
> property - only, the color can be an rgb value, and the forecolor is
> a color number (not a paletteIndex, as the bgcolor is. Oh my god.
> Then, when you change the color property it won´t change the actual
> color of a bitmap cast member, only add to it. Thus, you can´t make a
> yellow bitmap black by changing its color property w Lingo... But a
> black one can become yellow... It´s fun though, every day something
> new.

Some of this is outdated, only included for backwards compatibility.


>
> U bet it is - it really would be nice to use text in a field/text
> sprite as a property variable for the sprite. But, when in Rome...

Again, I disagree.  How would you find that sprite without hard coding its sprite 
number?

Regards,

Daniel

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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: dynamic text fields, how-to...

2003-08-27 Thread Daniel Nelson
Dynamic member generation is fast enough.  No need for asymmetry here.

One note:  create the dynamic members in a cast devoted to dynamic members.  Then, 
during authoring, you can simply delete all the members in that cast without worrying 
about deleting other members.

Note:  Members cannot be dynamically deleted during runtime.  As long as you don't 
save the cast in projector mode, they won't build up over time.

Regards,

Daniel


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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: dynamic text fields, how-to...

2003-08-27 Thread Mats Leidö
Thank you, Daniel and Carl!
Maybe it isn´t all that bad creating the members. Or maybe I am 
better off using bitmap images and positioning them on stage... 
naaahh.
I think I´ll try creating members inside a repeat loop. By the by, 
creating members dynamically will take some little time, won´t it? 
Meaning it would be an "assymetrical" thingie, a bit like 
downLoadNetThing and the like? Of course, it will probably be faster 
than a file download, but it won´t be instant, right? Would that mean 
I will need to let the playback head move and check every exitFrame 
or so, or maybe check it with a timeout object?

Daniel wrote:
new(#field, castLib("castlib name"))
new(#text, castLib("castlib name"))
Carl wrote:
This works for me in 8.5 Mac:
bar = new(#text)
put bar
-- (member 2 of castLib 1)
bar.name = "Membername"
bar.text = "Some Content"
bar.font = "Arial"
bar.fontsize = 40
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/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: Bloody stupid HP drivers

2003-08-27 Thread Kerry Thompson
> Hi Kerry, which versions of Director and printer drivers are 
> running there? If it's reproducible it would be good to get 
> that combo into a Director technote so that others don't get stung.

I'm running Director MX on Window XP Pro with SP1 installed. For the
life of me, I can't find the printer driver version, but it's the driver
that was on the CD that came with the printer. It's an HP PSC 2210
hooked up to my USB port, through a Belkin FSU101 4-port USB hub.

I _think_ it's the printer driver, because when Director starts
crashing, it's usually after I've printed or scanned something. I'm
starting to wonder, though, because I get crashes other times as well,
always right after I do a "go to movie." For now, though, I still think
it's tied to printing.

Cordially,

Kerry Thompson

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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: dynamic text fields, how-to...

2003-08-27 Thread Mats Leidö
 If you "create" an instance of the text (i.e. sprite) and you change that
instance, you will change the original member of the cast, no matter
what. That´s why you´re having this problem.
Exactly. Annoying, in a way.
On the other hand, having three color properties, each one with a 
different color description format, for every sprite is also a 
nuisance. At least until one figures out how they work. I learnt 
today that the forecolor property updates as you change the color 
property - only, the color can be an rgb value, and the forecolor is 
a color number (not a paletteIndex, as the bgcolor is. Oh my god. 
Then, when you change the color property it won´t change the actual 
color of a bitmap cast member, only add to it. Thus, you can´t make a 
yellow bitmap black by changing its color property w Lingo... But a 
black one can become yellow... It´s fun though, every day something 
new.

The only solution is the
one Daniel talked about. Sorry, but it seems youll have to rewrite quite
a lot of code.
Probably - although this time I hope to be able to sidestep 
somewhat... If I find any solution of interest, I´ll post it here.


Isn´t it annoying when you find out that something is not working
corretly just when you are deep inside coding and have done most of it,
and it is just (at least in this case) from some malicious glitch in
Director.
U bet it is - it really would be nice to use text in a field/text 
sprite as a property variable for the sprite. But, when in Rome...

Yours tubily
/MoL
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/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: dynamic text fields, how-to...

2003-08-27 Thread Daniel Nelson
>
> Isn´t it annoying when you find out that something is not working
> corretly just when you are deep inside coding and have done most of it,
> and it is just (at least in this case) from some malicious glitch in
> Director.

This is not a glitch.  It is very beneficial to be able to access and control the text 
of a field or text member without knowing what sprite it is in.  If each sprite used 
the same member, you'd have to hard code sprite references to gain access over those 
text members, which would
be miserable software development practice.

Regards,

Daniel

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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: dynamic text fields, how-to...

2003-08-27 Thread Sean Wilson

Is there any other way of making it work besides creating multiple text 
cast members and assigning each sprite its own cast member? I am open to 
suggestions - I´m not even sure how I would go about creating text members 
on-the-fly.
Daniel showed you how to create members on the fly.

Another approach is to use a #flash member to display text. You can use a 
flash member with a text field in it and change its text and it won't 
affect the member. So you can use the same flash member for many sprites to 
display different text on the same frame. However, there are potential 
performance hits using lots of flash sprites on the same frame.

HTH,
-Sean. 

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/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!]


Creating PDF's on the fly

2003-08-27 Thread Vargas Media
Hi
Is there a way to create PDF's on the fly from within Director? I read there
was an article written about this on DOUG but couldn't track it down.
I tried FileIO and was able to create a PDF file but it wouldn't open in
Acrobat Reader. Acrobat reader returned a  "File does not begin with a %'"
error when I tried to open it. Are there specific headers that I need to
write from Director
via FileIO so that Acrobat will recognize the file?
Any help very appreciated.
Thanks Steve

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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: Bloody stupid HP drivers

2003-08-27 Thread John Dowdell
Hi Kerry, which versions of Director and printer drivers are running there?
If it's reproducible it would be good to get that combo into a Director
technote so that others don't get stung.

(Ideally, searching on a term like "crash" would pull up all known causes,
but practically the Google engine doesn't sort on version or date like the
previous engine did, but still)

Sometimes going back a version of the driver can help.

The HP floating-point issue was big about seven years ago, across various
applications, but I haven't heard much noise about it recently... not sure
if this is the core piece of code in this problem...?

jd




John Dowdell, Macromedia Developer Support, San Francisco
(Best to reply on-list, to avoid my mighty spam filters!)
Technotes: http://www.macromedia.com/support/search/
Column: http://www.macromedia.com/desdev/jd_forum/
Technical daily diary: http://www.macromedia.com/go/blog_jd


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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: RGB codes - got it

2003-08-27 Thread Peter Bochan


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Howdy-Tzi
Sent: Monday, August 25, 2003 10:35 PM
To: [EMAIL PROTECTED]
Subject: Re:  RGB codes - got it

On Monday, Aug 25, 2003, at 13:24 America/Chicago, Peter Bochan wrote:

> Thank you all for the help

That's nice, but you still haven't said what exactly it was you were 
looking for. Care to share?

Sorry for not being able to state my claim clearly. I'm not that
advanced in pc using. Sean Wilson wrote the code that I was looking for.
I wanted to know what colors stand for hexadecimal codes (let's say
#FF stands for white, so I wanted to know what this code, for
example #AA0909, stands for, and so on) But anyways, thanks to the above
mentioned code, I knew out not only the hex codes, but also the
corresponding rgb codes, and palette indexes.


Warren Ockrassa | President,  nightwares LLC  [EMAIL PROTECTED]
  nightwares LLC | Consulting  Programming
http://www.nightwares.com/
  Author | Director 8.5 Shockwave Studio: A Beginner's Guide
Chapter samples | http://www.nightwares.com/director_beginners_guide/

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/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!]

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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: dynamic text fields, how-to...

2003-08-27 Thread Diego Landro
The problem with text (or fields for that matter) members is that 
you can´t change the text within the sprite without affecting the member
itself. It does not work for text or fields as it does for shapes. With
shapes you can create different sprites (instances of the original
object if you´re familiar with OOP), but it is no good with text. If you
"create" an instance of the text (i.e. sprite) and you change that
instance, you will change the original member of the cast, no matter
what. That´s why you´re having this problem. The only solution is the
one Daniel talked about. Sorry, but it seems youll have to rewrite quite
a lot of code.
Isn´t it annoying when you find out that something is not working
corretly just when you are deep inside coding and have done most of it,
and it is just (at least in this case) from some malicious glitch in
Director.

 

Diego Landro
Viamonte 1646 7º Of. 100
Tel. 4812-9979/7398
(1955) Ciudad de Buenos Aires - Argentina


-Mensaje original-
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] En nombre de Daniel Nelson
Enviado el: Miércoles, 27 de Agosto de 2003 12:07 p.m.
Para: [EMAIL PROTECTED]
Asunto: Re:  dynamic text fields, how-to...

>
> open to suggestions - I´m not even sure how I would go about creating
> text members on-the-fly. Thankful for any input

Dynamically creating members in cast "castlib name":

new(#field, castLib("castlib name"))
new(#text, castLib("castlib name"))

Regards,

Daniel

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/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!]

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.510 / Virus Database: 307 - Release Date: 14/08/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.510 / Virus Database: 307 - Release Date: 14/08/2003
 

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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: dynamic text fields, how-to...

2003-08-27 Thread Daniel Nelson
>
> open to suggestions - I´m not even sure how I would go about creating
> text members on-the-fly. Thankful for any input

Dynamically creating members in cast "castlib name":

new(#field, castLib("castlib name"))
new(#text, castLib("castlib name"))

Regards,

Daniel

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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: only erase in Internal castLib or

2003-08-27 Thread Alex da Franca
At 9:50 Uhr -0400 27.08.2003, Charlie Fiskeaux II wrote:
The result is that after
creating and deleting members numerous times in a cast, it can become large
and bloated.
the trick is to replace the space. so you'll *only* loose the space 
which gets fragmented.
just like a save as writes a fresh compacted copy (save and compact 
is nothing else, than 'saving as..' with the same name into the same 
folder IMO) so you can at runtime issue a save as by copying the 
castlib, relinking it and delete the original one. but that's only 
true for external castlibs. you won't be able to do that with 
internal castlibs.

but anyway, I do create a LOT castmembers at runtime and erase them 
again. since the next time a castmember gets created it is put into 
the same castslot, taking up the memory, which was not released.
I can't proof, that now reliably, but I do know, that since the 
introduction of IL in D8 I make very heavy use of creating and 
erasing bitmaps, text and fields and have had no problems, even in 
movies with huge bitmaps, created dynamically at runtime. but then 
again, I do NOT create 1000 new bitmaps into my castlib, but rather 
the few, which will be shown at the same time on the stage. if I for 
example want to use 1000 external bitmaps I use two #bitmap members 
for that, one for the import and the other one for the display, while 
the next is imported.
--

  |||
a¿ex
 --
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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: deleting from a text file with fileIO

2003-08-27 Thread Daniel Nelson
Oops.  Thanks for correcting me.

Regards,

Daniel

Kerry Thompson wrote:

> > Don't delete and create again, just open in write mode (or
> > read/write) and start writing with the file pointer at 0.
>
> Actually, that won't shorten the file. It will write the new stuff, and
> leave old stuff in the rest of the file. You need to delete it and write
> it again. It's a known issue with fileIO.
>
> I don't have time to look up the call, but explicitly delete it before
> you try to create it.
>
> Cordially,
>
> Kerry Thompson

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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: deleting from a text file with fileIO

2003-08-27 Thread Kerry Thompson
> Don't delete and create again, just open in write mode (or 
> read/write) and start writing with the file pointer at 0.

Actually, that won't shorten the file. It will write the new stuff, and
leave old stuff in the rest of the file. You need to delete it and write
it again. It's a known issue with fileIO.

I don't have time to look up the call, but explicitly delete it before
you try to create it.

Cordially,

Kerry Thompson

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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!]


dynamic text fields, how-to...

2003-08-27 Thread Mats Leidö
I would like to create and position text sprites on stage with the 
puppetsprite command and print different values in the all the text 
sprites. Creating sprites dynamically, positioning them and assigning 
a text cast member to them is working fine.

But putting different strings in the sprites doesn´t work for me, 
since we have to use the member(thismember).text command for that, 
and the same member is linked to all of the text sprites. That would 
mean if we change the text of the text member through one sprite, all 
the other text sprites will update, right? I don´t want that.

Is there any other way of making it work besides creating multiple 
text cast members and assigning each sprite its own cast member? I am 
open to suggestions - I´m not even sure how I would go about creating 
text members on-the-fly. Thankful for any input

/MoL
P.S. long time no write for me - I have been kinda inactive here the 
last two years or so because of work-related issues. Many of the 
names I remember from 1999-2001 are still on the list though, it 
seems, which is reassuring. Hi to anyone that remembers me... D.S.

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/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: deleting from a text file with fileIO

2003-08-27 Thread Charlie Fiskeaux II
When you attempt to delete the file, do you open the file first? The file
has to be open in FileIO before you can delete it.

Charlie Fiskeaux II
Media Designer
The Creative Group
www.cre8tivegroup.com
859/858-9054x29
cell: 859/608-9194

- Original Message - 
From: "Lee Blinco" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 27, 2003 11:35 AM
Subject:  deleting from a text file with fileIO


> Hi,
> i see that the only delete capabilities of FileIO is to delete the whole
> file, i need to rewrite a file with less data, so i thought delete the
file
> and then create it again with the new data. I am having no success here
> though, i get a ' file exists' error if i try to create a file with the
same
> name as the one i've just deleted, so i put the create file command
someway
> down the timeline, tried repeat while the status <> 0 and even  tried a
> timeout to make sure that the old file is definitely deleted , but all to
no
> good my timeout just keeps saying that the file exists !
>
> -- timeout function
> set schedulefile2 =new(xtra "fileio")
>  createFile(schedulefile2, "schedule.txt")
>  --openFile(schedulefile2, "schedule.txt",0)
>   filestatus = status(schedulefile2)
>   alert string(filestatus)
>   if filestatus = 0 then
> calendar_list_string = string(gcalendarlist)
> writeString( schedulefile2, calendar_list_string)
>
> timeout("fileTimer").forget()
>
>   end if
>   closeFile(schedulefile2)
>   set schedulefile2=0
>
> I'm sure that there must be a way to do this, a search on macromedias site
> said the way to shorten a file is to delete then recreate so does anyone
> have a working method for replacing the contents of a file with a shorter
> amount of data ie not leave unwanted extra characters when rewriting the
> file from the beginning.
> thanks a lot
>
>
> Lee Blinco
> Multimedia Developer
> AVR Productions
> +44 (0)1462 819603
>
>
> [To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/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!]
>


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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 : deleting from a text file with fileIO

2003-08-27 Thread Lee Blinco
further observations -  as i was getting nowhere i wondered if using buddy
api would help me by copying a file over my original eg

 set schedulefile =new(xtra "fileio")
createFile(schedulefile, "tempschedule.txt")
filestatus = status(schedulefile)
   alert schedulefile.error(filestatus)
openFile(schedulefile, "tempschedule.txt", 0)
setPosition (schedulefile, 0)
calendar_list_string = string(gcalendarlist)
writeString( schedulefile, calendar_list_string)
thepath = the moviepath
sourcefile = thepath & "\tempschedule.txt"
destfile =  thepath & "\schedule.txt"

closeFile(schedulefile)
set schedulefile=0

ok=baCopyFile(sourcefile, destfile, "Always")
alert string(ok)


set schedulefile =new(xtra "fileio")
openFile(schedulefile, "tempschedule.txt", 0)
delete(schedulefile)
closeFile(schedulefile)
set schedulefile=0

what happens now is that if i have deleted the file tempschedule.txt once
with the above code when i return quite some time later from another movie
it alerts me that the file (tempschedule.txt) exists and doesnt therefore
create it, IT definitely does not exist only in the mind of FileIO. Any
suggestions

lee
Lee Blinco
Multimedia Developer
AVR Productions
+44 (0)1462 819603


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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: deleting from a text file with fileIO

2003-08-27 Thread Daniel Nelson
Don't delete and create again, just open in write mode (or read/write) and start 
writing with the file pointer at 0.

Regards,

Daniel

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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!]


deleting from a text file with fileIO

2003-08-27 Thread Lee Blinco
Hi,
i see that the only delete capabilities of FileIO is to delete the whole
file, i need to rewrite a file with less data, so i thought delete the file
and then create it again with the new data. I am having no success here
though, i get a ' file exists' error if i try to create a file with the same
name as the one i've just deleted, so i put the create file command someway
down the timeline, tried repeat while the status <> 0 and even  tried a
timeout to make sure that the old file is definitely deleted , but all to no
good my timeout just keeps saying that the file exists !

-- timeout function
set schedulefile2 =new(xtra "fileio")
 createFile(schedulefile2, "schedule.txt")
 --openFile(schedulefile2, "schedule.txt",0)
  filestatus = status(schedulefile2)
  alert string(filestatus)
  if filestatus = 0 then
calendar_list_string = string(gcalendarlist)
writeString( schedulefile2, calendar_list_string)

timeout("fileTimer").forget()

  end if
  closeFile(schedulefile2)
  set schedulefile2=0

I'm sure that there must be a way to do this, a search on macromedias site
said the way to shorten a file is to delete then recreate so does anyone
have a working method for replacing the contents of a file with a shorter
amount of data ie not leave unwanted extra characters when rewriting the
file from the beginning.
thanks a lot


Lee Blinco
Multimedia Developer
AVR Productions
+44 (0)1462 819603


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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: task bar icon, closing

2003-08-27 Thread Daniel Nelson
The Winshaper Xtra can perform some taskbar and tooltip related functions.  I've never 
used it myself, but at one time looked into using it:
http://www.ravware.com/winshape.htm

Regards,

Daniel

> And another related item: in many aplications, the tooltip that pops up
> when you move the mouse over the icon in the taskbar contains more than the
> application's name... the name of the current document, for example. Does
> anyone know how to do this for a projector?

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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: only erase in Internal castLib or

2003-08-27 Thread Charlie Fiskeaux II
erase() does work in projectors, but there are several considerations.
First, if the castLib you're deleting from is either in the projector or is
protected or shocked, you won't be able to save the changes you make to the
cast.  Second, even if you have an unprotected/unshocked cast and use
save(), you won't be able to regain the space left by the members you
deleted.  It seems elementary to be able to do so, but since in authoring
mode the only function you can use to do so is "Save and Compact", you can't
do it at runtime because you can't compact.  The result is that after
creating and deleting members numerous times in a cast, it can become large
and bloated.

Charlie Fiskeaux II
Media Designer
The Creative Group
www.cre8tivegroup.com
859/858-9054x29
cell: 859/608-9194

- Original Message - 
From: "Tony Åström" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 27, 2003 9:06 AM
Subject: Re:  only erase in Internal castLib or


> I made this and in the author mode it erase all the members in the
> castLib "all_folders" .
>
>eraseMembers = findEmpty(member 1 of castLib "all_folders")
>repeat with x = 1 to eraseMembers
>  member(x, "all_folders").erase()
>end repeat
>
> I hope that it also will work in the projector mode.
> /Tony
>
>
> tisdagen den 26 augusti 2003 kl 20.09 skrev Tony Åström:
>
> > Hi List
> >
> > I create fields on the fly but can only erase them if they are stored
> > in
> > the Internal castLib, - findEmpty(member 1)-.
> > I want to erase them in the "all_folders" castLib. How can I do this?
> >
> > repeat with i = 1 to baFolderList(gTextFolder).count
> >   newMember = new(#field, castLib ("all_folders") )
> >   newMember.name = "score_" & i
> > end repeat
> >
> > TIA
> > Tony
> >
> > [To remove yourself from this list, or to change to digest mode, go to
> > http://www.penworks.com/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!]
> >
>
> [To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/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!]
>


[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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: only erase in Internal castLib or

2003-08-27 Thread Tony Åström
I made this and in the author mode it erase all the members in the 
castLib "all_folders" .

  eraseMembers = findEmpty(member 1 of castLib "all_folders")
  repeat with x = 1 to eraseMembers
member(x, "all_folders").erase()
  end repeat
I hope that it also will work in the projector mode.
/Tony
tisdagen den 26 augusti 2003 kl 20.09 skrev Tony Åström:

Hi List

I create fields on the fly but can only erase them if they are stored 
in
the Internal castLib, - findEmpty(member 1)-.
I want to erase them in the "all_folders" castLib. How can I do this?

repeat with i = 1 to baFolderList(gTextFolder).count
  newMember = new(#field, castLib ("all_folders") )
  newMember.name = "score_" & i
end repeat
TIA
Tony
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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!]

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/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: no video, only sound - directmedia xtra on NT and XP

2003-08-27 Thread Martijn Janssen
Thanks for the responses!

cheers,
Martijn

- Original Message -
From: "Tab Julius" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, August 25, 2003 20|31
Subject: RE:  no video, only sound - directmedia xtra on
NT and XP


>
> I agree with what Kerry said, and would suggest that you see if those
users
> can play the video normally, outside of Director.
>
> If they can't play it normally on the system, using a standard player,
then
> it's highly unlikely that it will magically work inside of Director.
>
> On the other hand, if they CAN get it to play using whatever the
equivalent
> of MediaPlayer is on those platforms, but CAN'T do it within Director,
then
> it would be appropriate to contact the developer for help.
>
> - Tab
>
>
>
> At 11:04 AM 8/25/03, Kerry Thompson wrote:
> > > Hi,
> > > I recently released a CDROM using the directmedia xtra to
> > > play AVI's. There are some users of the CDROM who can't see
> > > the movie but do hear the sound. These users are on NT 4 or
> > > XP SP 1.
> >
> >I'm not sure what the issue is with XP, but NT 4 had poor multimedia
> >support. It uses a really old version of DirectX, and I think it didn't
> >do well with video. AFAIK, there isn't a solution for NT 4. You should
> >check with Tabuleiro--they would have the details.
> >
> >Cordially,
> >
> >Kerry Thompson
>
> [To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/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!]

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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: Flash in Director - sound problem

2003-08-27 Thread James Tarling
> I don't know why I just thought of this, but are your SWFs compressed? I
> know there is some documented weirdness with flash preloading compressed
> swf files - the bytesTotal is that of the uncompressed file, not of how
> big it is on disc. I noticed the issue happens usually some time during
> preloading and will continue to happen for every flash asset that uses
> sound. I wonder if it is tripping up the xtra enough to screw up the
> sound code, specifically the part that handles the streaming. Maybe
> worth testing to see if uncompressed swfs have the same issue.
>
> My opinion is that anything that would break the flash player that bad
> is definitely a bug, and should be theoretically impossible for a coder
> to do, but as the old Director addage goes "If you can work around the
> problem..." :0)

Hi Matthew,

Thanks for taking the time to reply. Trying uncompressed movies seems like a
good idea. (It's shame I can only reproduce the problem on CDs - it makes
for an excruciatingly slow debugging process).
I'll report back when I've had the chance to test.

Thanks,
James



[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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!]


task bar icon, closing

2003-08-27 Thread Slava Paperno
Under Windows, all my projectors use the QuitMsg Xtra 
(http://mediamacros.com/files/quitmsg.zip) to intercept the system Close 
command when the user clicks the X in the top right corner of the projector 
window. This works great, and I couldn't live without this Xtra, because 
one really has to be able to warn the user about unsaved data, etc.

However, the QuitMsg Xtra does not intercept the Windows Close command when 
the user selects it from the context menu that pops up when you right-click 
the projector's icon in the taskbar--at least not under Windows 2000 and XP.

Does anyone know how to achieve that?

And another related item: in many aplications, the tooltip that pops up 
when you move the mouse over the icon in the taskbar contains more than the 
application's name... the name of the current document, for example. Does 
anyone know how to do this for a projector?

A projector is not really a conforming Windows app until things like that 
can be standardized.

Thanks,

Slava

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/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: Bloody stupid HP drivers

2003-08-27 Thread Sean Wilson

It's not Director. It's those bloody stupid buggy HP printer drivers.
Every time I print something, Director starts crashing. I reboot, and
everything is fine. Until I print again.
Try calling "fpReset()" on updateStage's vList xtra after printing and see 
if it helps. I think it's one of the things that particular method is 
intended to help with this phenomenon. From the docs:

Windows command that resets the floating point register after it has been 
left in a bad state by a printer driver. This situation caused a vList 
crash when reading and writing files, and causes the same type of crash in 
other xtras and Director itself. The crash dialog identifies this type of 
crash as an "exception 10H".

vList now resets the FP register internally so this command is not 
necessary to protect vList operations. But it can be useful to head off 
trouble in other xtras or Director. For instance it has been reported to 
fix a Flash printing problem from a Flash sprite in Director.

The following links provide more information on the problem:
http://www.aresforact.com/support/1001.htm
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q183522
-Sean. 

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/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!]