RE: lingo-l integer to RGB

2001-07-20 Thread Chris Aernoudt

Indeed

Thank you Colin !!!


Chris.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Colin Holgate
Sent: Friday, July 20, 2001 5:53 AM
To: [EMAIL PROTECTED]
Subject: RE: lingo-l integer to RGB


Ur welcome Chris
I think Colin deserved some thanx too...he _wrote_ it! :-)

Why thanks!


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




lingo-l HELP! - Network: find server by name and map to localdrive

2001-07-20 Thread Peter Rosa

Hi,

did you try Director's open command ?

on prepareMovie
  open net use x: \\yourserver\yourshare
end

This will map YOURSHARE to drive X:.

The only disadvantage is, the DOS black window appears when NET command is
started, and it remains on-screen. Try do disable that window, and you are
done.

Best regards

Peter Rosa
[EMAIL PROTECTED]


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




lingo-l Cast behaviour's icon

2001-07-20 Thread Andrea Boratto

I'd like to free distribuite my Director 8 behaviour library... easy you can
say save it as cast... But I'd like to associate a icon to my behaviour,
exactly like Macromedia behaviours Library.
Is there a way to do that?
Thanks.


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: lingo-l Cast behaviour's icon

2001-07-20 Thread Eric Choy

Hi,
Read this

To create a custom cast member thumbnail:

1   Select the bitmap image to use as the new thumbnail and copy it to your 
system’s clipboard.

You can copy the image from any bitmap editor, including the Paint window. 
The image can be of any size, but smaller images look better because they 
require less scaling.

2   Using Thumbnail view, place the pointer over the cast member for which you 
are creating a custom thumbnail.
3   Right-click (Windows) or Control-click (Macintosh) and choose Paste Bitmap 
from the context menu.

The image from the clipboard replaces the current cast member thumbnail.
You can also use text as a thumbnail. Select text instead of a bitmap image 
in step 1, and then choose Paste Text from the context menu.


From: Andrea Boratto [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Lingo-L [EMAIL PROTECTED]
Subject: lingo-l Cast  behaviour's icon
Date: Fri, 20 Jul 2001 11:40:15 +0200

I'd like to free distribuite my Director 8 behaviour library... easy you 
can
say save it as cast... But I'd like to associate a icon to my behaviour,
exactly like Macromedia behaviours Library.
Is there a way to do that?
Thanks.


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]



_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: lingo-l Cast behaviour's icon

2001-07-20 Thread pranavn


Pretty easy to do that. Import an image file into Director, right click on
its thumbnail in the property inspector and click copy. Similarly select
the behavior script, right click on its thumbnail and click paste.

Regards,
Pranav
---
Samuel Colt - the inventor of the point and click interface.



snip
I'd like to free distribuite my Director 8 behaviour library... easy you
can
say save it as cast... But I'd like to associate a icon to my behaviour,
exactly like Macromedia behaviours Library.
Is there a way to do that?
Thanks.
snip





[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




lingo-l IVR presentation

2001-07-20 Thread toxic soldier

hi, list

i'm just working over a presentation for IVR systems, and i want to ask you
about something like this:

1. is that possible to navigate this presentation by voice (with our custom
phrazes)?
any ideas, solutions, extras...

2. how can i detecting that microphone is connected or not?

..and one easy question (but i don't know how to do it):

3. how can i remove stage border from my D8 projector?

thank you for your time and answers

please ignore my... b
please forgive me my grammatic errors...

...have a goodtime all the time
'cause you won't get nothing when you die...


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




RE: lingo-l field-contents - emailBody

2001-07-20 Thread Ian Lloyd

Good info!

Does anybody know how to specify an attachment though?

Thanks,
Ian

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Buzz Kettles
Sent: Thursday, July 19, 2001 9:33 PM
To: [EMAIL PROTECTED]
Subject: Re: lingo-l field-contents - emailBody


I searched the web for mailto protocol  found an IE doc that mentions:

The Recipients field can be blank, a single e-mail address, or
multiple e- mail addresses separated by semicolons (;).

PARAMETER DESCRIPTION
- --

CC=   Carbon copy
BCC=  Blind carbon copy
SUBJECT=  Subject text
BODY= Body text

--
And I tried this from d8 mac  it worked:

goToNetPage mailto:Buzz [EMAIL PROTECTED], Tony Åström
[EMAIL PROTECTED]?[EMAIL PROTECTED]?[EMAIL PROTECTED]?SUBJECT=te
st
email?BODY=  member(myField).text

however, it might be easier to construct the string first:

x = mailto:[EMAIL PROTECTED]?subject=test email?BODY= 
member(myField).text
goToNetPage x

hth

-Buzz

At 11:57 PM +0200 7/19/01, Tony Åström wrote:
Hi all,

can I put the field-contents into the emailBody
with lingo(dir 8.0) but and without an Xtra?
Somethings like
goToNetPage mailto:[EMAIL PROTECTED]?body=hopefully the
field-contents

thanks in advance
Tony



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




RE: lingo-l field-contents - emailBody

2001-07-20 Thread Al Hospers

 Does anybody know how to specify an attachment though?

from everything I know you will need an Xtra to do this. the
DirectEmail from Direct Xtras does this.

hth

Al Hospers
CamberSoft, Inc.
alatcambersoftdotcom
http://www.cambersoft.com

A famous linguist once said:
There is no language wherein a double
positive can form a negative.

YEAH, RIGHT



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




lingo-l Retrieving HTML parameters from URL

2001-07-20 Thread Pekka Buttler

Sorry people. I might me dumb, blind or tired (probably tired)

I have the situation where on starting a shockwave game, the engine gives me
a parameter in the URL like
http://xxx/numbers1.htm?lmsid=3

Now I need to be able to get the data from the URL, especially the
characters which come after the question mark.
I'd hate having to use Javascript for it as I have more than 100 shockwave
games and very little experience with javascript.

TIA

Pekka


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: lingo-l Retrieving HTML parameters from URL

2001-07-20 Thread Colin Holgate

I have the situation where on starting a shockwave game, the engine gives me
a parameter in the URL like
http://xxx/numbers1.htm?lmsid=3

Now I need to be able to get the data from the URL, especially the
characters which come after the question mark.
I'd hate having to use Javascript for it as I have more than 100 shockwave
games and very little experience with javascript.


It should be easy:

on getquerystuff theurl
 set id = the itemdelimiter  --remember this to be polite
 set the itemdelimiter = ?
 delete item 1 of theurl
 set the itemdelimiter = id --reset it again to what it was
 return theurl
end


-- 

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: lingo-l Retrieving HTML parameters from URL

2001-07-20 Thread grimmwerks


You might actually want to look at php instead - pretty simple.

Then if you have something like entry.php?name=bob

Then that variable name will actually be seen by the php page itself, so
that if you have 'name' in your php and for the shockwave embed (ie embed
src=movie.dcr param1=name) then that variable will be passed to the
shockwave.


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




RE: lingo-l IVR presentation

2001-07-20 Thread Kafka's Daytime

I've been using DirectXtras XtrAgent which takes advantage of Microsoft's
speech recognition
and agent technologies to build accessible apps for the vision impaired. You
can use XtrAgent
to build speech navigation into your presentation.

You can't detect if a mic is connected on using a Windows PC (if I'm wrong
tell me how to do it!)
You *can* do this on the Mac. If memory serves correctly the excellent Audio
Xtra from updateStage
provides a method for checking to see if a mic is connected to a mac. On a
Windows PC you can,
at the very least, retrieve input level at the mic input.

There was a long thread not to long ago about removing the stage border from
your projector. I suggest
you check the Lingo-L archives for that.

HTH,

Josie

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
toxic soldier
Sent: Friday, July 20, 2001 8:26 AM
To: lingo
Subject: lingo-l IVR presentation


hi, list

i'm just working over a presentation for IVR systems, and i want to ask you
about something like this:

1. is that possible to navigate this presentation by voice (with our custom
phrazes)?
any ideas, solutions, extras...

2. how can i detecting that microphone is connected or not?

..and one easy question (but i don't know how to do it):

3. how can i remove stage border from my D8 projector?

thank you for your time and answers

please ignore my... b
please forgive me my grammatic errors...

...have a goodtime all the time
'cause you won't get nothing when you die...


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




RE: lingo-l Retrieving HTML parameters from URL

2001-07-20 Thread Pekka Buttler

Umm.

According to the documentation
QUOTE
Syntax  member(whichCastMember).URL

the URL of member whichCastMember

Description Cast member property; specifies the URL for Shockwave Audio
(SWA) and Flash movie cast members.

For Flash movie members, this property is synonymous with the pathName
member property.
The URL property can be tested and set. For SWA members, it can be set only
when the SWA streaming cast member is stopped.

Example This statement makes a file on an Internet server the URL for SWA
cast member Benny Goodman:

on mouseDown
member(Benny Goodman).URL =
http://audio.macromedia.com/samples/classic.swa;
end
/QUOTE
The Url property is only applicable for SWA and Flash members, whereas I
need the URL, which is in the Browser's adress box when the SW game is being
loaded.
Something like location.search in Javascript.

Pekka




 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Colin Holgate
 Sent: 20. heinakuuta 2001 18:08
 To: [EMAIL PROTECTED]
 Subject: Re: lingo-l Retrieving HTML parameters from URL


 I have the situation where on starting a shockwave game, the
 engine gives me
 a parameter in the URL like
 http://xxx/numbers1.htm?lmsid=3
 
 Now I need to be able to get the data from the URL, especially the
 characters which come after the question mark.
 I'd hate having to use Javascript for it as I have more than 100
 shockwave
 games and very little experience with javascript.


 It should be easy:

 on getquerystuff theurl
  set id = the itemdelimiter  --remember this to be polite
  set the itemdelimiter = ?
  delete item 1 of theurl
  set the itemdelimiter = id --reset it again to what it was
  return theurl
 end


 --

 [To remove yourself from this list, or to change to digest mode, go to
 http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
 email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
 Lingo-L is for learning and helping with programming Lingo.  Thanks!]



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: lingo-l IVR presentation

2001-07-20 Thread Tim Ennis

Have you investigated using VMXL?  I use this outside of Director, it might
work inside.  Just curious...


- Original Message -
From: "toxic soldier" [EMAIL PROTECTED]
To: "lingo" [EMAIL PROTECTED]
Sent: Friday, July 20, 2001 8:25 AM
Subject: lingo-l IVR presentation


 hi, list

 i'm just working over a presentation for IVR systems, and i want to ask
you
 about something like this:

 1. is that possible to navigate this presentation by voice (with our
custom
 phrazes)?
 any ideas, solutions, extras...

 2. how can i detecting that microphone is connected or not?

 ..and one easy question (but i don't know how to do it):

 3. how can i remove stage border from my D8 projector?

 thank you for your time and answers

 please ignore my... b
 please forgive me my grammatic errors...

 ...have a goodtime all the time
 'cause you won't get nothing when you die...


 [To remove yourself from this list, or to change to digest mode, go to
 http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
 email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
 Lingo-L is for learning and helping with programming Lingo.  Thanks!]



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




lingo-l record sound

2001-07-20 Thread akumet

hi. how do i make a cdrom which the users ccan record their voice in it. I
tried using the audio xtra  (demo ver), it work OK but i cant get it to
plot the 'wavey' graphics... like those we get in sound forge. please
advice anybody.

_
Free email with personality! Over 200 domains!
http://www.MyOwnEmail.com


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




RE: lingo-l Splash Screen

2001-07-20 Thread Kerry Thompson


The one issue that I'm aware of, that I think hasn't been mentioned yet in 
this thread.  It is that  a full screen Windows projector will not show 
the splash screen.

Ah! That's the problem, then. Our projectors are full screen.

That's ok--I've written a stub that shows a bitmap. Took me almost 5 
minutes ;-)


Cordially,

Kerry Thompson


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Thanks Mark!! lingo-l Is this type of hiliting selectingpossible?

2001-07-20 Thread Gene Fritzinger

Thanks Marks for your explaination. I've gotten as far as the third from last 
paragraph and everything is working well.  Although I was wondering, how would you go 
about handling the scrolling of the hiliter sprite since one of the fields has over 
one thousand lines?

Thanks again,
Gene

 Mark R. Jonkman [EMAIL PROTECTED] 07/19/01 04:26PM 
Hi Gene

What you are asking is entirely possible. Several ways to do it perhaps the
simplest is to use a field and a quickdraw shape member. My approach would
be to set the shape (which would be dark blue, in a sprite channel below
(lower in number) then the field sprite.

Set the field sprite to non wordwrap - extended lines would be cut off.

Create 2 behaviours and tell each behaviour via the gpdl or hardcoded what
the spriteNum is of the other sprite (for communication purposes).

Set the hiliter to the width of the field sprite and the height of the
lineHeight of the field sprite.

Assuming that you would either start it with hilite set to first line you
would position your hilite sprite to the exact same loc as the field members
loc.

You would set the forecolor of line(1) of field(somefield) to x
x being whatever white's index value is - to brain dead to remember ..
either 0 or 255

The field will need to be background transparent.

That sets your initial condition.

On mouseDown on the field, you look for the mouseLine, to a linePosToLocV to
gets its vertical drop from the top of the field, set the hilite sprite's
loc to the locH of the field and the locV of the field + the linePosToLocV,
set the mouseLine 's forecolor to white. And set the previous hilited line
to black if it wasn't sent over to the other side.

You will need to store the current hilited line (1 on initialization) into a
property variable.

Assuming you know the gray color that you will use (again index value),
whenever you select a line to move to the other side, you would set the
forecolor of that line to gray and on each mouseDown, you simply check the
forecolor of the mouseline and make sure it aint the gray color's index
value before you move the hiliter or set the property variable containing
the line number.

You might put an accessor mtethod into your field behaviour so that your
buttons can call  it and request the active line number and set the line to
gray etc...

That should you a rough idea as to how I would approach it..

Sincerely

Mark R. Jonkman

-Original Message-
From: Gene Fritzinger [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, July 19, 2001 1:56 PM
To: [EMAIL PROTECTED] 
Subject: lingo-l Is this type of hiliting  selecting possible?


Hello List,
I've been putting off this part of my project because I don't know if
it's even possible, but now it's time to give it my best shot. I have
two fields on a screen (1 on left, 1 on right) with four buttons in
between. The field on the left is populated with various geographical
V12 database files. The user needs to be able to select geographies from
the left and move them to the field on the right which displays selected
geographies. The ways in which a user can select geographies are as
follows:1; When they click on a geography, the entire line needs to
hilite (the hiliter bar needs to be dark blue and the text changes to
white- this is important because it emulates the actual software package
for which this project is a CBT). They need to be able to SHIFT click to
select a range, and CONTROL click to select multiple non-contiguous
geographies. When the items appear hilited on the left, the user can
click on the Select button in the middle to move he selected
geographies!
 t!
o the field on the right. When an items appears on the right, it becomes
grayed-out on the left and can no longer be clicked on. The 4 buttons in
the center are Select, Select All, De-select, and De-select All.
2: The user can double-click on an item on the left and it should be
copied to the right and again, grayed-out on the left.  3: The user can
click on one or more geographies on the left, and while they appear
hilited, be able to drag they to the right. Again, any geographies on
the right should appear grayed-out on the left and no longer selectable.

So what do you think?  Is this even possible?  Someone suggested the
hiliting may require imaging lingo.

Words could never express the gratitude I'd feel for anyone who tries to
help me get closer to achieving this design.

humbly,
g fritzinger


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]


[To 

RE: Thanks Mark!! lingo-l Is this type of hiliting selecting possible?

2001-07-20 Thread Mark R. Jonkman

Hi Gene

If you do scroll by line and hide the hiliter sprite while the hilited line
is not visible would be my first choice.  If that is not possible, then you
need to be prepared to monitor the position and height of the line in
question and collapse the hiliter to a height of 1, or have a bitmap piece
of the background immediately above and below the the field so that the
hiliter can slide under it. Therefore your scroll parameter for your hilite
would be the field.loc - the lineheight and the field.loc + the field's
height + the lineheight.

You would also need to refresh yourself on whether the linePosToLocV
represents the line position from the top of the member at all times, in
which case then you mathematically have to calculate the position of the
hiliter based on the linePosToLocV - the scrolltop of the field sprite... or
some other wierd variation thereof.

My preference would for simplicity be to collapse down the hiliter to a
height of 1 then replace it with a blank bitmap sprite that contains no data
unless of course a shape can collapse down to a rect of (0,0,width,0)
without causing any problems.

Just some of the top of my head ideas.. haven't thought long and hard about
it.

Sincerely
Mark R. Jonkman

-Original Message-
From: Gene Fritzinger [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 20, 2001 12:49 PM
To: [EMAIL PROTECTED]
Subject: Thanks Mark!! lingo-l Is this type of hiliting  selecting
possible?


Thanks Marks for your explaination. I've gotten as far as the third from
last paragraph and everything is working well.  Although I was
wondering, how would you go about handling the scrolling of the hiliter
sprite since one of the fields has over one thousand lines?

Thanks again,
Gene

 Mark R. Jonkman [EMAIL PROTECTED] 07/19/01 04:26PM 
Hi Gene

What you are asking is entirely possible. Several ways to do it perhaps
the
simplest is to use a field and a quickdraw shape member. My approach
would
be to set the shape (which would be dark blue, in a sprite channel below
(lower in number) then the field sprite.

Set the field sprite to non wordwrap - extended lines would be cut off.

Create 2 behaviours and tell each behaviour via the gpdl or hardcoded
what
the spriteNum is of the other sprite (for communication purposes).

Set the hiliter to the width of the field sprite and the height of the
lineHeight of the field sprite.

Assuming that you would either start it with hilite set to first line
you
would position your hilite sprite to the exact same loc as the field
members
loc.

You would set the forecolor of line(1) of field(somefield) to x
x being whatever white's index value is - to brain dead to remember ..
either 0 or 255

The field will need to be background transparent.

That sets your initial condition.

On mouseDown on the field, you look for the mouseLine, to a
linePosToLocV to
gets its vertical drop from the top of the field, set the hilite
sprite's
loc to the locH of the field and the locV of the field + the
linePosToLocV,
set the mouseLine 's forecolor to white. And set the previous hilited
line
to black if it wasn't sent over to the other side.

You will need to store the current hilited line (1 on initialization)
into a
property variable.

Assuming you know the gray color that you will use (again index value),
whenever you select a line to move to the other side, you would set the
forecolor of that line to gray and on each mouseDown, you simply check
the
forecolor of the mouseline and make sure it aint the gray color's index
value before you move the hiliter or set the property variable
containing
the line number.

You might put an accessor mtethod into your field behaviour so that your
buttons can call  it and request the active line number and set the line
to
gray etc...

That should you a rough idea as to how I would approach it..

Sincerely

Mark R. Jonkman

-Original Message-
From: Gene Fritzinger [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 19, 2001 1:56 PM
To: [EMAIL PROTECTED]
Subject: lingo-l Is this type of hiliting  selecting possible?


Hello List,
I've been putting off this part of my project because I don't know if
it's even possible, but now it's time to give it my best shot. I have
two fields on a screen (1 on left, 1 on right) with four buttons in
between. The field on the left is populated with various geographical
V12 database files. The user needs to be able to select geographies from
the left and move them to the field on the right which displays selected
geographies. The ways in which a user can select geographies are as
follows:1; When they click on a geography, the entire line needs to
hilite (the hiliter bar needs to be dark blue and the text changes to
white- this is important because it emulates the actual software package
for which this project is a CBT). They need to be able to SHIFT click to
select a range, and CONTROL click to select multiple non-contiguous
geographies. When the items appear hilited on the left, the user 

Re: lingo-l Repeating through hilited lines to get the text of each line

2001-07-20 Thread Slava Paperno

How about:

member(AccountsSelected).text = member(Accounts).line[a..b]

(Untested email Lingo, as they say :-)

S.

At 03:06 PM 7/20/2001 -0400, you wrote:
Hi List,
I'm having trouble constructing a repeat loop to copy the text of the 
hilited lines of one field to another field member.  I have a field member 
Accounts, the user can click on a line in the field to hilite it, then 
holding down the SHIFT key, click on another line below to select a range 
of accounts. (all become hilited).  I will know the line numbers of the 
first and last hilited lines.  What I need to do, is get the text of each 
of the hilited lines and copy them to another field member. Here's where 
I'm at:

   a = member(Accounts).line gFirstClick
   b = member(Accounts).line gLastClick

   repeat with i = a to b
 put the text of line[i] of member Accounts  RETURN after member 
 AccountsSelected
   end repeat

Thanx in advance for any help with this,
g fritzinger


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




RE: lingo-l Repeating through hilited lines to get the text of each line

2001-07-20 Thread Mark R. Jonkman

Hi Gene

YOu might not need to construct a repeat loop at all, rather, copy the text
straight across

put field(x).line[a..b] after field(y)

might do the trick for you (off the top of my head.. which isn't saying much
;-)

sincerely
Mark R. Jonkman

-Original Message-
From: Gene Fritzinger [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 20, 2001 1:07 PM
To: [EMAIL PROTECTED]
Subject: lingo-l Repeating through hilited lines to get the text of
each line


Hi List,
I'm having trouble constructing a repeat loop to copy the text of the
hilited lines of one field to another field member.  I have a field
member Accounts, the user can click on a line in the field to hilite
it, then holding down the SHIFT key, click on another line below to
select a range of accounts. (all become hilited).  I will know the line
numbers of the first and last hilited lines.  What I need to do, is get
the text of each of the hilited lines and copy them to another field
member. Here's where I'm at:

  a = member(Accounts).line gFirstClick
  b = member(Accounts).line gLastClick

  repeat with i = a to b
put the text of line[i] of member Accounts  RETURN after member
AccountsSelected
  end repeat

Thanx in advance for any help with this,
g fritzinger


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




lingo-l [ANN] vList Xtra - saves and retrieves list data with optional encryption

2001-07-20 Thread Al Hospers

Daniel Devolder and updateStage, inc. are happy to announce the
release
of vList Xtra. vList Xtra saves and retrieves Lingo lists and other
data
types in binary format using either an external file or a cast member
for
storage. Lists are a powerful and fast way to manage all kinds of
information in Director. Since lists can hold Director`s rich media
and
data types they are the natural solution for creating Director
databases,
yet few developers use them this way. Why? Because saving and
retrieving
lists at runtime using Director`s built-in string() and value()
methods
is slow and limited.

vList Xtra offers the following advantages over Director`s own list
saving methods:

* RELIABILITY: vList correctly retrieves lists regardless of the data
content. Director`s value() function is tripped up by certain list
content and may not be able to rebuild a list saved as a string.

* STRONG ENCRYPTION: vList Xtra offers optional encryption of a stored
list using AES (Advanced Encryption Standard) encryption , the
standard
for secret-key encrypted transfer of unclassified information recently
adopted by NIST, the US National Institute of Standards, as a
replacement
for DES. Encryption can protect sensitive data as well as cast member
media that is expensive to produce such as the new 3D cast members in
Director 8.5.

* INTERNET FEATURES: vList can save data to the user`s local drive
from
Shockwave , convert data to Base64 strings for transmission to web
servers using postNetText, and it can load vList files from the local
hard drive or from remote URL`s using preloadnetthing.

* PERFORMANCE: vList, unlike Director`s value() function, preserves
the
sorted state of a saved list when it is retrieved, eliminating the
time
hit to do a resort upon restoration of the list, and therefore greatly
speeding up any subsequent search of the list

* FLEXIBILITY: vList Xtra was designed to store lists, but you can use
a
vList file or vList member to store any supported data type without
first
writing it to a list.

* MORE DATA TYPES: vList can read and write the following data types,
which are not supported by the Lingo value command:

member.media
member.picture
image (Director 8 and above)
transform (Director 8.5 and above)
void

The media property of a member saved by vList is completely
independent
of the cast member it came from. You can use this feature to extract
members from one movie and recreate them in another.

* SIZE: The list size vList can work with is limited only by available
memory. Director`s value() function is limited to 32,767 entries for a
linear list and 16,383 for a property list

* BINARY FORMAT: vList saves lists and other data types in their
native
binary format rather than converting them to and from text. Since no
conversion of the data is necessary, vList is up to 20 times faster
than
Director`s value() method, allows lists to be retrieved in a sorted
state, and preserves floating point numbers to their full precision.

In addition to saving and retrieving lists and other data types, vList
offers several new commands for managing lists.

* aList = concatenate (list1, list2, .., listN)
* sortedState = sortP (aList)
* unSort (aList)
* setPropAt (aPropList, index, property)
* insertAt (aList, index, value)
* insertPropAt (aPropList, index, property, value)
* appendProp (aPropList, property, value)

--
PRICING
--

There are three registration options:

Limitedfree
Basic  $149
Full   $299

LIMITED
***

In Limited mode a small set of vList commands are free to use and do
not
display a demonstration dialog. The free commands allow you to save a
list to a file and retrieve it in authoring and from a projector but
not
in Shockwave.

BASIC
*

  Basic registration unlocks all of the vList commands and
capabilities
except for encryption. Under basic registration you can:

  - Create and use members for list storage
  - Access vList`s extended Lingo list management commands such as
concatenate, insertAt, sortP etc.
  - Read and save lists to local external files in Shockwave, or
MIMEBase64 encode them for transmission using postNetText
  - Read vList files downloaded to the internet cache

FULL


Full registration unlocks encryption.

--
PRODUCT PAGE AND DOWNLOAD
--

http://www.updatestage.com/xtras/vlist.html



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: lingo-l [ANN] vList Xtra - saves and retrieves list datawith optional encryption

2001-07-20 Thread Roy Pardi

At 4:25 PM -0400 7/20/01, Al Hospers wrote:
Daniel Devolder and updateStage, inc. are happy to announce the
release
of vList Xtra. vList Xtra saves and retrieves Lingo lists and other
data
types in binary format using either an external file or a cast member
for


sound like a good xtra! Congrats to Daniel and Updatestage!
-- 


 Roy Pardi[EMAIL PROTECTED]






[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




lingo-l the text of the frame script

2001-07-20 Thread Slava Paperno

I can't find out how to refer to the text of the frame script. 
script(frameLabel).scriptText?? Help, anyone? Thanks!
Slava


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: lingo-l the text of the frame script

2001-07-20 Thread Irv Kalb

I can't imagine why you would want this.  But assuming that you have 
a good reason - here's an untested approach ...

The frame script channel is zero.  So first you get the 
scriptInstanceList of sprite 0

lBehaviors = sprite(0)scriptInstanceList

This returns a list, but frame scripts only have one element so

thisBehaviorInstance = lBehavior[1]

This is a behavior reference like offspring Go to the frame 1 
5c77710 so, get the second item
(You might have to fiddle with the itemdelimiter here or parse out 
the thing inside quotes)

   thisBehaviorName = item 2 of string(thisBehaviorInstance)

Now get the text of that member

   theText = member(thisBehaviorName).scriptText

What you do with that is beyond my imagination.

There is probably an easier way to do what you really want to do than 
this.  For example, setting some property variable which could be 
queried later via:

 sendSprite (sendSprite, 0, #mGetSomePropertyVariable)

And have the frame have an mGetSomePropertyVariable to return 
whatever it is that you are looking for.

Irv



At 6:19 PM -0400 7/20/01, Slava Paperno wrote:
I can't find out how to refer to the text of the frame script. 
script(frameLabel).scriptText?? Help, anyone? Thanks!
Slava




-- 

Lingo / Director / Shockwave development for all occasions. 
  
   (Home-made Lingo cooked up fresh every day just for you.)

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: lingo-l the text of the frame script

2001-07-20 Thread Slava Paperno

Thanks, Irv! I didn't know that the frame script channel was channel 0, 
that really helps. However, if I only wanted to learn the text of the 
script of the current frame, I could use the frameScript. But I need a 
way to get the text of the script of frame MyFrame, not just the current 
frame.

As to why I would want to do this, here it is:

Some of my frames are redirectors; the frame script forwards the playhead 
somewhere else. Other frames (those whose scripts have the go to the 
frame line) are valid in themselves as parts of the app. I want to make a 
stack of frame numbers or labels that would include the looping frames, but 
exclude the redirectors. Then I can give the user Next and Prev buttons for 
paging through this stack, i.e. through the real content frames. What 
better way to do that than by testing the frame script for the presence of 
go to the frame? But for that, I need to be able to say:

MyStack = []
repeat with i = (the labelList).line.count down to 1
if the script of frame i contains go to the frame then
MyStack.append((the labelList).line[i])
end repeat

My probelm is how to say the script of frame i.

Slava

At 03:58 PM 7/20/2001 -0700, you wrote:
I can't imagine why you would want this.  But assuming that you have a 
good reason - here's an untested approach ...

The frame script channel is zero.  So first you get the scriptInstanceList 
of sprite 0

lBehaviors = sprite(0)scriptInstanceList

This returns a list, but frame scripts only have one element so

thisBehaviorInstance = lBehavior[1]

This is a behavior reference like offspring Go to the frame 1 5c77710 
so, get the second item
(You might have to fiddle with the itemdelimiter here or parse out the 
thing inside quotes)

   thisBehaviorName = item 2 of string(thisBehaviorInstance)

Now get the text of that member

   theText = member(thisBehaviorName).scriptText

What you do with that is beyond my imagination.

There is probably an easier way to do what you really want to do than 
this.  For example, setting some property variable which could be queried 
later via:

 sendSprite (sendSprite, 0, #mGetSomePropertyVariable)

And have the frame have an mGetSomePropertyVariable to return whatever it 
is that you are looking for.

Irv

At 6:19 PM -0400 7/20/01, Slava Paperno wrote:
I can't find out how to refer to the text of the frame script. 
script(frameLabel).scriptText?? Help, anyone? Thanks!
Slava


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]




Re: lingo-l the text of the frame script

2001-07-20 Thread Colin Holgate

Is there some reason you can't just use markers? Put a marker on each 
frame you have as a stopping point, and then use go next or go 
previous to do the navigation.


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]