RE: lingo-l HELP! - Network: find server by name and map to local drive

2001-07-19 Thread Jean Charles Henry

Hi,
Under windows you have to use, in a shell command net use [drive name]:
\\computer_name\share_name.
If you have any problem type net use /?

Regards

Jean-Charles

-Message d'origine-
De : Steven Sacks [mailto:[EMAIL PROTECTED]]
Envoyé : mercredi 18 juillet 2001 22:38
À : [EMAIL PROTECTED]
Objet : RE: lingo-l HELP! - Network: find server by name and map to
local drive


Sorry, this is for D6.5 on Windows NT 4.

Thanks!

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Steven Sacks
 Sent: Wednesday, July 18, 2001 4:22 PM
 To: [EMAIL PROTECTED]
 Subject: lingo-l HELP! - Network: find server by name and map to local
 drive
 
 
 Hello,
 
 I've been asked to find a server across a network
 by the name of the server (not drive number) and
 then map it to a local drive (not even sure what
 all that means).  This is to save a simple comma
 delineated list in a text file that needs to be
 saved into a specific folder on a named server
 and this needs to work in many different networks
 where the server might be a different drive letter.
 
 Also, it needs to check on start-up whether or not
 the network is connected.
 
 Any ideas?  Is this possible?
 
 Thanks in advance,
 Steven
 
 
 [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!]




lingo-l Database connectivity

2001-07-19 Thread Sheraz Alhassan

Hello Lingo users

Can any one teach me how to connect a Director .exe
with the databases in access or SQL server.
That is, if i have certain text fields in my movie and
i want to retrieve data in those from some database,
or insert data from those fields in to database, how
this would be done?

Help me plz plz plz quickly

Sheraz
Email me at : [EMAIL PROTECTED]

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.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 Database connectivity

2001-07-19 Thread brett

chk out this site  www.shocknet.org.uk

should answer most of your questions  without the need for an xtra

b.
 Hello Lingo users
 
 Can any one teach me how to connect a Director .exe
 with the databases in access or SQL server.
 That is, if i have certain text fields in my movie and
 i want to retrieve data in those from some database,
 or insert data from those fields in to database, how
 this would be done?
 
 Help me plz plz plz quickly
 
 Sheraz
 Email me at : [EMAIL PROTECTED]
 
 __
 Do You Yahoo!?
 Get personalized email addresses from Yahoo! Mail
 http://personal.mail.yahoo.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!]
 
 


[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 DID YOU KNOW there was Lingo for animated gifs?

2001-07-19 Thread Michael Nadel

Hi guys,

I wanted to share this with everyone, 'cuz it can really be a life saver for
those who want to use animated gifs in Director!! Thanks to the HandyMan!
We found out that there is a way to rewind, start, and pause an animated
GIF.  It's just a sprite command in lingo, so you could say:

property pSprRef
property pPlaying

on beginSprite me
  pSprRef = sprite(me.spriteNum)
  pPlaying = false
  me.updateGIF()
end

on mouseUp me
  pPlaying = not pPlaying
  me.updateGIF()
end

on updateGIF me
  if pPlaying then
pSprRef.resume()
  else
pSprRef.pause()
  end if
end

The only downside is that you have to write your own controls to keep track
of what frame they're on, but at least you have the start and the stopping
under control.

Looks like we both learned something new today,

-Will




Michael Nadel
[EMAIL PROTECTED]
Mediart - Multimedia as an Art Form










[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 directoryToList in FileXtra3

2001-07-19 Thread pranavn


Hi...
In FX3 directoryToList() goes by the name fx_FolderToList().

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



snip
I took a glance into a documentation of FileXtra3.  But I could not
find out an equivalent method to 'directoryToList' in FileXtra 2
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!]




Re: lingo-l directoryToList in FileXtra3

2001-07-19 Thread Fumio Nonaka
Thank you, Pranav.  You are right.

I had thought that 'fx_FolderToList' method would have returned only
folders.  But a returned list contains files as well.
_
[EMAIL PROTECTED] wrote:
 
 Hi...
 In FX3 directoryToList() goes by the name fx_FolderToList().

Regards,

Fumio Nonaka
Attain Corporation
Phone: +81-3-3255-4941
Fax: +81-3-3255-5998
mailto:[EMAIL PROTECTED]
http://www.attainj.co.jp

[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 multi-page forms

2001-07-19 Thread Ian Lloyd

Hi all! I'm trying to use Director's (8.0 on Win2k) built-in Form Post
actions to process a multi-page form and send to a cgi script for database
processing. Understandably, these are only built for single-page scripts,
i.e. all form items on the same page as the submit button.

My question is this... has anyone successfully modified these scripts, or
know of others, that will let me accomplish this?

Thanks!
Ian


[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 integer to RGB

2001-07-19 Thread Chris Aernoudt

Hi,

Anyone have a script to convert an integer value to RGB components??

TIA,

Chris

*
Chris Aernoudt
Multimedia, Web  Application Developer

Pixellink nv
Interactive Communication Projects

Noorkaai 22
B-8870 Izegem
Belgium

Tel.: + 32 (0)51/32 02 25
Fax.: + 32 (0)51/32 02 26
email : [EMAIL PROTECTED]
http://www.pixellink.be
*
This email is confidential and intended solely for the use of the individual
to whom it is addressed.
If you are not the intended recipient, be advised that you have received
this email in error and that any use, dissemination, forwarding, printing,
or copying of this email is strictly prohibited.
You are explicitely requested to notify the sender of this email that the
intended recipient was not reached.
*


[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 multi-page forms

2001-07-19 Thread Al Hospers

  Hi all! I'm trying to use Director's (8.0 on Win2k)
 built-in Form Post
  actions to process a multi-page form and send to a cgi
 script for database
  processing. Understandably, these are only built for
 single-page scripts,
  i.e. all form items on the same page as the submit button.
 
  My question is this... has anyone successfully modified
 these scripts, or
  know of others, that will let me accomplish this?

I don't know what built in actions you are referring to here. is
this something from the library? if so  it is a behavior(s), a quick
mod would be to turn the properties containing the variables into
globals. then they would persist between pages which I assume are
markers in your movie.

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!]




Re: lingo-l DID YOU KNOW there was Lingo for animated gifs?

2001-07-19 Thread faisal moro

Wasn't simpler to press the categorized Lingo button then choose 
the Animated Gifs menu?
All commands are listed there.
Btw - Animated Gifs is the very 1st voiceof lingo dictionary by feature.

Doei
Faisal


Hi guys,

I wanted to share this with everyone, 'cuz it can really be a life saver for
those who want to use animated gifs in Director!! Thanks to the HandyMan!
We found out that there is a way to rewind, start, and pause an animated
GIF.  It's just a sprite command in lingo, so you could say:

property pSprRef
property pPlaying

on beginSprite me
   pSprRef = sprite(me.spriteNum)
   pPlaying = false
   me.updateGIF()
end

on mouseUp me
   pPlaying = not pPlaying
   me.updateGIF()
end

on updateGIF me
   if pPlaying then
 pSprRef.resume()
   else
 pSprRef.pause()
   end if
end

The only downside is that you have to write your own controls to keep track
of what frame they're on, but at least you have the start and the stopping
under control.

Looks like we both learned something new today,

-Will

Michael Nadel
[EMAIL PROTECTED]
Mediart - Multimedia as an Art Form

-- 


[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 integer to RGB

2001-07-19 Thread pranavn


Here's something Colin had posted on the list a while back...

on inttorgb int
   b = int mod 256
   int = int / 256
   g = int mod 256
   int = int / 256
   r = int mod 256
   return rgb(r,g,b)
end

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



snip
Anyone have a script to convert an integer value to RGB components??
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!]




RE: lingo-l integer to RGB

2001-07-19 Thread Chris Aernoudt

Thanks Pranav,

I knew I saw it somewhere...

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, July 19, 2001 3:44 PM
To: [EMAIL PROTECTED]
Subject: Re: lingo-l integer to RGB



Here's something Colin had posted on the list a while back...

on inttorgb int
   b = int mod 256
   int = int / 256
   g = int mod 256
   int = int / 256
   r = int mod 256
   return rgb(r,g,b)
end

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



snip
Anyone have a script to convert an integer value to RGB components??
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!]



[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 Passing data to a shockwave movie using querystrings

2001-07-19 Thread nick langridge

Hello all,

My first post here.

I want to pass data into a shockwave movie that is embedded in an html page.
I am using ASP scripting on the sever side. Can I just append a query string
to the movie URL to get data into the movie (like I can with flash)?

If not is there another way to get data into the movie like this? I just
want to pass and ID number to movie when it starts up.

Thanks in advance

Nick


[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 integer to RGB

2001-07-19 Thread pranavn


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

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



snip
Thanks Pranav,

I knew I saw it somewhere...
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 Re: HELP! - Network: find server by name and map to local drive

2001-07-19 Thread Cole Tierney

Steven,

You might want to check out the latest version of Kent Kersten's FileXtra3.
http://kblab.net/xtras/

UNC volume names are now supported, which means you you can test for 
the presence of a network volume without mapping it to a drive letter.

set f = new( xtra filextra3 )
set netVolumeExists = fx_VolumeExists( f, \\SERVERNAME\ShareName\)

Not sure how to map it to a drive. Maybe BuddyAPI can help there. You 
may even find that you don't need to map the volume to a drive letter.

Good luck,
Cole


Hello,

I've been asked to find a server across a network
by the name of the server (not drive number) and
then map it to a local drive (not even sure what
all that means).  This is to save a simple comma
delineated list in a text file that needs to be
saved into a specific folder on a named server
and this needs to work in many different networks
where the server might be a different drive letter.

Also, it needs to check on start-up whether or not
the network is connected.

Any ideas?  Is this possible?

Thanks in advance,
Steven

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




Re: Re: lingo-l Finding If a _huge_ float is divisible by anumber

2001-07-19 Thread Kurt Griffin

So, if you don't want the rounded number, subtract .5 from the float before
the mod function.

 I am afraid that I do not think so.
 
 myFloat = 7.5
 put ilk(myFloat)
 - -- #float
 if not (myFloat mod 2) then put even
 - -- even
 
 The mod function seems to round a float number before evaluation.
 _
 Buzz Kettles wrote:
 
 Did you try the mod function?  It can accept floats as well as integers.
 (it throws away the non-integer part  then evaluates)
 
 i.e.
 myFloat = 7.3
 put ilk(myFloat)
 -- #float
 if (myFloat mod 2) then put not even
 -- not even  -- ( 7 is an odd number )


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




RE: lingo-l Hotmedia?

2001-07-19 Thread Natalia Tjelum

I tried it once, didn't work So I ended up linking to an html file,
where it did work.
But this was more than a year ago, so it might have been a bug, that has
been fixed now.

-Natalia


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Cory Caplan
Sent: 19. juli 2001 15:48
To: [EMAIL PROTECTED]
Subject: lingo-l Hotmedia?


Has anyone had any experience integrating hotmedia files into Director?

Cory


[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 Recording sound.

2001-07-19 Thread Al Hospers

  I´ve been trying to find an xtra that records the sound of a
  projector or a
  shockwave movie onto the harddisk. Not just one sound, but the
whole
  lot that is happening if, say, the user is mixing few sounds
  in the movie.
  (and that could include QuickTime Sound)

Well, unfortunately I just found out that the Audio Xtra only records
from one input at a time, whatever the card provides, like microphone
or cd audio. It doesn't have a way to mix sound output, like the sound
from the projector or shockwave, with mike input.

Sorry,

Al Hospers
Marketing Associate
UpdateStage
alhospersatupdatestagedotcom
http://www.updatestage.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 Passing data to a shockwave movie using querystrings

2001-07-19 Thread Al Hospers

 I want to pass data into a shockwave movie that is embedded
 in an html page.
 I am using ASP scripting on the sever side. Can I just append
 a query string
 to the movie URL to get data into the movie (like I can with flash)?

you could do this

 If not is there another way to get data into the movie like
 this? I just
 want to pass and ID number to movie when it starts up.

you could also embed the data in the Embed/Object tags  read them in
as the movie starts.

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!]




RE: lingo-l Re: HELP! - Network: find server by name and map to local drive

2001-07-19 Thread Steven Sacks

Thank you.  I looked over this xtra but it doesn't have
any commands to read/write a text file over a network.
How can I do that?  Should I move/create the file on the
C:\windows\desktop and then make my edits there and then
move the file back to the network folder?

The text file needs to be named what I need it to, and all
it will contain is a comma delineated list.  This file will
be checked for when a user logs in, and, if it exists, the
list will be loaded by Director and parsed, probably using
value() to convert the string to a list.  If the file doesn't
exist, it needs to be created based on the user information.

Any help would be much appreciated.  All of this needs to
go on in the background with no user interaction.

Thanks in advance,
Steven Sacks


[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 Windows Font Woes

2001-07-19 Thread Kerry Thompson

D 8.5, Windows.

We have Comic Sans MS embedded in a movie. It works fine when we display it 
#plain, but not #italic on Windows.

We're using this code to italicize some words:

pTextMember.char[startOfRange..endOfRange].fontStyle = #italic

It looks ok on the Mac, but on the PC, italicizing it makes a major 
change--the font doesn't look like Comic Sans MS at all. It's smaller, and 
several pixels below the other text, almost like subscript text.

The text is all antialiased. If I remove the antialiasing, the font lines 
up better, and the size is ok, but the lines are much thinner than the 
#plain style.

It looks like Comic Sans MS doesn't have an italic style built in--the 
choices when you import it are plain and bold.

Somebody must have run into this before, though I can't find a reference to 
it in the archives.

Any ideas?


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!]




RE: lingo-l Re: HELP! - Network: find server by name and map to local drive

2001-07-19 Thread Al Hospers

 Thank you.  I looked over this xtra but it doesn't have
 any commands to read/write a text file over a network.
 How can I do that?  Should I move/create the file on the
 C:\windows\desktop and then make my edits there and then
 move the file back to the network folder?

 The text file needs to be named what I need it to, and all
 it will contain is a comma delineated list.  This file will
 be checked for when a user logs in, and, if it exists, the
 list will be loaded by Director and parsed, probably using
 value() to convert the string to a list.  If the file doesn't
 exist, it needs to be created based on the user information.

this Xtra doesn't write files. you need to create the file in
Director, use FileIO to write it to disk and then copy it where you
want using the Xtra.

IMNSHO if you don't want the user to know about it then I personally
wouldn't writer it on the Desktop...

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!]




Re: lingo-l Windows Font Woes

2001-07-19 Thread R. Bhakti Klein

in the font cast member, in the bitmaps radio button part, select sizes
instead of none. bold and italic should become available.

Kerry Thompson wrote:
 
 D 8.5, Windows.
 
 We have Comic Sans MS embedded in a movie. It works fine when we display it
 #plain, but not #italic on Windows.
 
 We're using this code to italicize some words:
 
 pTextMember.char[startOfRange..endOfRange].fontStyle = #italic
 
 It looks ok on the Mac, but on the PC, italicizing it makes a major
 change--the font doesn't look like Comic Sans MS at all. It's smaller, and
 several pixels below the other text, almost like subscript text.
 
 The text is all antialiased. If I remove the antialiasing, the font lines
 up better, and the size is ok, but the lines are much thinner than the
 #plain style.
 
 It looks like Comic Sans MS doesn't have an italic style built in--the
 choices when you import it are plain and bold.
 
 Somebody must have run into this before, though I can't find a reference to
 it in the archives.
 
 Any ideas?
 
 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!]

-- 
R. Bhakti Klein
Instructional Media Developer, Distributed Learning Workshop
http://www.dlworkshop.net/
··
Baritone, Wicki6
http://www.wicki6.com
···
On Earth, you can only do little things;
but you can do them with a lot of Love.
  -- Mother Theresa

[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 Windows Font Woes

2001-07-19 Thread Slava Paperno

Kerry,

Even when an italics version of the font is installed on the system, or is 
embedded in the movie, it is not used by Director, when you apply the 
#italic transform. Instead, pseudo-italics is auto generated. With some 
fonts this is results in a decent-looking slanted version, but with many it 
doesn't. Perhaps that is the issue here: that's a hard font to italicize. 
And you're right--Windows doesn't include an italics version. If it did, 
you could assign the italics version (by name) specifically to your 
selected chunks of text. Of course, something else may be going on. I 
haven't tried to italicize COmic Sans, and can't test it right now.


Slava

At 10:50 AM 7/19/2001 -0700, you wrote:
D 8.5, Windows.

We have Comic Sans MS embedded in a movie. It works fine when we display 
it #plain, but not #italic on Windows.

We're using this code to italicize some words:

pTextMember.char[startOfRange..endOfRange].fontStyle = #italic

It looks ok on the Mac, but on the PC, italicizing it makes a major 
change--the font doesn't look like Comic Sans MS at all. It's smaller, and 
several pixels below the other text, almost like subscript text.

The text is all antialiased. If I remove the antialiasing, the font lines 
up better, and the size is ok, but the lines are much thinner than the 
#plain style.

It looks like Comic Sans MS doesn't have an italic style built in--the 
choices when you import it are plain and bold.

Somebody must have run into this before, though I can't find a reference 
to it in the archives.

Any ideas?


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!]




RE: lingo-l Recording sound.

2001-07-19 Thread grimmwerks


And I can't see a way of defining the input anyway, ie the output of
another file. I was hoping to create an audio file of a beatnik mix, but
no go.


[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 Recording sound.

2001-07-19 Thread Jorge Peña

Hmm, I have in my sound options the choice of selecting Stereo Mixer. I
just did a test and it actually recorded everything that was playing... mp3,
swa from dir and QT moive with sound. I'm not sure if this option is
available on all computers... I'm working on a HP, 500 MHz, win2000, Riptide
Sound Card.

I haven't tried the audio xtra but if you can select the source as if you
were in the volume-recording panel of windows then I guess you will also
find a Stereo Mixer option.

HTH

Jorge

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Al Hospers
Sent: Thursday, July 19, 2001 12:20 PM
To: [EMAIL PROTECTED]
Subject: RE: lingo-l Recording sound.


  I´ve been trying to find an xtra that records the sound of a
  projector or a
  shockwave movie onto the harddisk. Not just one sound, but the
whole
  lot that is happening if, say, the user is mixing few sounds
  in the movie.
  (and that could include QuickTime Sound)

Well, unfortunately I just found out that the Audio Xtra only records
from one input at a time, whatever the card provides, like microphone
or cd audio. It doesn't have a way to mix sound output, like the sound
from the projector or shockwave, with mike input.

Sorry,

Al Hospers
Marketing Associate
UpdateStage
alhospersatupdatestagedotcom
http://www.updatestage.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!]




lingo-l Is this type of hiliting selecting possible?

2001-07-19 Thread Gene Fritzinger

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!]




lingo-l Splash Screen

2001-07-19 Thread Kerry Thompson

Hello all--

Another shoulda-known-this question.

There is a way of getting a projector to show a splash screen immediately 
while the program loads in the background. I thought it was just putting a 
bitmap in the projector's directory with the same name as the projector, 
but that doesn't seem to work.

Yep--checked the docs, didn't find anything, and it looks like the achives 
are down.

Thanks.

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!]




RE: lingo-l protecting external media?

2001-07-19 Thread Al Hospers

 just a quickie, has anyone any experience in
 protecting external media i.e. movies  soundtracks so
 the end user can't steal them  use them for their own
 personal gain?

Hi,

One way to do this would be using the BinaryIO Xtra from UpdateStage.
BinaryIO was designed to read, write and edit binary files on the Mac
and the PC. Any file that is not a plain text file - for instance a
PowerPoint file, Microsoft Word file, sound, image or application, is
a binary file.

If your media files reside on writeable media, or are small enough to
be copied to writeable media, another alternative is to use BinaryIO
Xtra to alter files to make them unplayable when opened outside of the
Director projector. You can do this by replacing a small amount data
at the beginning of the file with filler, and storing the real data
that should be in that section of the file, in a field in your
Director movie. At runtime you write the valid data into the file to
make it readable, then at projector quit, you write the filler back
out to the file to protect it again. This technique works with any
file - not just QuickTime, although the amount of filler you have to
write will vary depending on the file format. The following code
protects and unprotects a file with BinaryIO.

You can read more information about this usage and download an example
here:

 http://www.updatestage.com/previous/981101.html#item2

Price: $149.00
Type: Xtra
Platforms: 32-bit Windows,Win 31,Mac
Director versions supported: 5,6,7,8,8.5
Author: Glenn Picher

You can view the documentation, download a fully functional demo or
purchase the product here:

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

HTH,

Al Hospers
Marketing Associate
UpdateStage
alhospersatupdatestagedotcom
http://www.updatestage.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-19 Thread Roy Pardi

At 1:00 PM -0700 7/19/01, Kerry Thompson wrote:
Hello all--

Another shoulda-known-this question.

There is a way of getting a projector to show a splash screen 
immediately while the program loads in the background. I thought it 
was just putting a bitmap in the projector's directory with the same 
name as the projector, but that doesn't seem to work.

Yep--checked the docs, didn't find anything, and it looks like the 
achives are down.

hi Kerry -
its undoc-ed but it works. On the PC it needs to be a bmp on the Mac 
a pct (use the extensions)

There is a confirmed problem however with it on Win2000 (or NT, I 
forget) where the directory the projector is launched from comes to 
the front. I've seen it myself on a current project- may try 
something with MasterApp to correct it- otherwise it works.
-- 


 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!]




RE: lingo-l Splash Screen

2001-07-19 Thread Jorge Pena

That's right. You just need a bitmap file named the same as the projector...
The only catch is that only .bmp files are supported.

HTH

Jorge

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Kerry Thompson
Sent: Thursday, July 19, 2001 3:00 PM
To: [EMAIL PROTECTED]
Subject: lingo-l Splash Screen

There is a way of getting a projector to show a splash screen immediately
while the program loads in the background. I thought it was just putting a
bitmap in the projector's directory with the same name as the projector,
but that doesn't seem to work.

Thanks.

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!]




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

2001-07-19 Thread Mark R. Jonkman

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!]




RE: lingo-l multi-page forms

2001-07-19 Thread Ian Lloyd

And just for the sake of completion, here's the solution:

  repeat with i = 1 to fieldCount
addProp fieldList, member(i,2).name.symbol, member(i,2).text
  end repeat

By appending .symbol to member(i,2).name, it generates the necessary #
syntax for PostNetText.

What started this morning as 24 pages of code is down to a mere 8 lines of
Lingo!

Thanks, everyone, for your help.

-Ian

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Ian Lloyd
Sent: Thursday, July 19, 2001 12:33 PM
To: [EMAIL PROTECTED]
Subject: RE: lingo-l multi-page forms


Okay, I'm really close to figuring out this problem. I sort of decided to
back up and punt, as it were...

I've moved all of the fields from the multi-page form into their own cast,
which we'll call Application Fields. I have abandoned the internal,
pre-made Lingo (from Library  Internet  Forms) in favour of this approach.
My thought, at this point, is that I can use the names and contents of the
fields to generate my property list, which I can then pass to my database
via PostNetText.

So, here's my current state:

I'm using a counter to step through the members of the cast and extract the
information I need, using the following code:

  fieldCount = the number of members of castlib(Application Fields)

  fieldList = [:]

  repeat with i = 1 to fieldCount
addProp fieldList, member(i,2).name, member(i,2).text
  end repeat

Where 2 (in member(i,2).name, etc.) is the number of the cast. The problem
I'm having now is that member(i,2).name is being treated as a string, rather
than a property and is, therefore, not being handled correctly by
PostNetText.

So, any clues? My first thought was that putting the names into a linear
list would remove the offending double-quotes (what _seems_ to be causing
the data to be interpreted as a string), but that didn't work. I then tried
to just cut the quotes out, using:

  delete char 1 of nameList[i]

Which was in a repeat loop similar to the one above, and where nameList was
a linear list that held the names of the fields, but Director just choked.

Whoa... didn't mean for this to get so long. Anyhoo, any help is greatly
appreciated.

Thanks!
Ian



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of [EMAIL PROTECTED]
Sent: Thursday, July 19, 2001 8:22 AM
To: [EMAIL PROTECTED]
Subject: RE: lingo-l multi-page forms




From: Roy C. Crisman

Ian, I haven't used the behaviors you are talking about, but maybe try this:

Have the Fields that are filled in by the user as single, long sprites.  As
you
come to page one, you fill in page one's sprites.  As you go to page two,
those
sprites are still there, but you've moved them off the screen (still a
single
sprite span), and the page two fields start.  Page three has page one and
page
two sprites moved off screen and new page three field sprites.  Then when
the
submit behavior fires, it gets the field information from ALL the sprites,
cause
they're all still on the page, just off screen.

Or you could write some custom lingo to store all the field information as
you
go, but you didn't sound too confident about programming custom Lingo, which
is
why I suggest this work-around.

roymeo



[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!]




lingo-l Printomatic question

2001-07-19 Thread the nightboy

Grimm,

A director question, since I recall you responded to my last printomatic
inquiry.

Do you know if it is possible to appendFile a .txt file, so I can store all
my text externally?


 Brian Douglas  (:ub)


I refuse to use code as a method to describe myself. instead, I will use
noises:

rant = [teewart/blamberDOH!!!/crrrleftnk/erop]

http://www.imaginarystudio.com --check it out!






[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 Re: HELP! - Network: find server by name and map tolocal drive

2001-07-19 Thread Cole Tierney

Thank you.  I looked over this xtra but it doesn't have
any commands to read/write a text file over a network.
How can I do that?

FileIO also supports UNC naming. As long as the user has write access 
to the net volume in question, you should be alright.

Cole

[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 field-contents - emailBody

2001-07-19 Thread Tony Åström

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!]




RE: lingo-l protecting external media?

2001-07-19 Thread Robert Wingate

 has anyone any experience in protecting external media
 i.e. movies  soundtracks so the end user can't steal them

What about the possibilities of either using baEncryptFile() on them, or
storing them in a protected cast?  Or both?  Folks like us could crack a
.dxr, but the remaining 99.99% couldn't.

Rob

/*
* Rob Wingate, Software Human*
* http://www.vingage.com *
* mailto:[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!]




RE: lingo-l Splash Screen

2001-07-19 Thread Robert Wingate

 There is a way of getting a projector to show a splash screen 
 immediately while the program loads in the background. I thought 
 it was just putting a bitmap in the projector's directory with the 
 same name as the projector, but that doesn't seem to work.

It should work, but yes, I think it's undocumented, meaning maybe it
breaks sometimes. It has worked for me in the past anyway, although I
haven't yet tried it with D8.5.

Projector name: Proj.exe
Splash name:Proj.bmp

As long as you're naming the files right, you should be good to go.
You're including filename extensions, right?

Rob

/*
* Rob Wingate, Software Human*
* http://www.vingage.com *
* mailto:[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!]




RE: lingo-l Re: HELP! - Network: find server by name and map to local drive

2001-07-19 Thread Steven Sacks

 IMNSHO if you don't want the user to know about it then I personally
 wouldn't writer it on the Desktop...

I only want the user not knowing about it insomuch as
they don't see any prompts or Director losing focus.
I just want it to take place in the background without
requiring any interaction.

I'm guessing the right order is to check for the file
existing across the network, and if it does, copy it
to C:\ and then load it into Director (still fuzzy here),
and if it doesn't exist, I am going to create it on C:\
and write the basic data into it and then copy it across
the network to the proper folder.

Does anyone have any tips for reading/writing text files
using FileIO?  I only need a one line comma delineated list
in the file.  Should I do a lot of error checking and such?
I've seen some FileIO scripts that do that.

Thanks,
Steven



[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-19 Thread Aaron Jones


The splash screen feature has now been documented in a TechNote.

How to use an image as a splash screen for a projector  (TechNote 14955)
http://www.macromedia.com/go/14955

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.


Best Regards,

Aaron Jones
Director Technical Support
m a c r o m e d i a


-Original Message-
From: Robert Wingate 
Sent: Thursday, July 19, 2001 3:57 PM
Subject: RE: lingo-l Splash Screen


snip

It should work, but yes, I think it's undocumented, meaning maybe it
breaks sometimes. 

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!]




Re: lingo-l Finding If a _huge_ float is divisible by a number

2001-07-19 Thread Buzz Kettles

At 6:40 PM +0900 7/19/01, Fumio Nonaka wrote:
?I am afraid that I do not think so.

myFloat = 7.5
put ilk(myFloat)
-- #float
if not (myFloat mod 2) then put even
-- even

The mod function seems to round a float number before evaluation.

Thanks Fumio for the additional information.

((myFloat -.5) mod 2) should then work.

-Buzz

_
Buzz Kettles wrote:

  Did you try the mod function?  It can accept floats as well as integers.
  (it throws away the non-integer part  then evaluates)

  i.e.
  myFloat = 7.3
  put ilk(myFloat)
  -- #float
  if (myFloat mod 2) then put not even
  -- not even  -- ( 7 is an odd number )

Good luck,

Fumio Nonaka
Attain Corporation
Phone: +81-3-3255-4941
Fax: +81-3-3255-5998
mailto:[EMAIL PROTECTED]
http://www.attainj.co.jp

[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 Reading from an ini file

2001-07-19 Thread Brendon

I want to make my next director project a little more reuseable. i was
wondering if any one had any links to sites or ini file reading functions
that could help with storing settings externally.  Do i need an xtra to read
text/ini files of the same cd?  i'd prefer not to.

Cheers

Brendon


[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 Reading from an ini file

2001-07-19 Thread Sean Wilson

 any links to sites or ini file reading functions
 that could help with storing settings externally.  Do i need an
 xtra to read
 text/ini files of the same cd?  i'd prefer not to.

Buddy API has some built-in ini file functions: baReadIni(), baWriteIni()
and baFlushIni()
You say you'd rather not use an Xtra. If this is because you don't want to
pay, then Buddy comes with 2 functions for free. Try it - you won't be able
to survive without once you look at what it can do.
http://www.mods.com.au

For the general projector.ini file, look at:
http://www.zeusprod.com/nutshell/otto.html

Face it - if you want to read an external text/ini file, other than the
projector's own ini file, you'll have to use one Xtra or another. FileIO is
another possibility, it's free, but you'll have to do some more work with it
to have it read specific [sections] of an ini file.

HTH,
-Sean.


[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 Reading from an ini file

2001-07-19 Thread Mark R. Jonkman

Hi Brendon

In todays day and age, you have additional options (some at no cost) that
might perform better then reading ini files and parsing text. Depending on
need, you might take a look at http://www.updatestage.com and see if you can
find a list saving xtra. I know they sell an xtra called vList ( its on the
very bottom of the left hand frame of the main page of their xtras section).
This is one hell of a nice xtra that can be used to read and save to lists
in their native binary format. Since most reuseable data that you are
looking at most likely will be internalized within Director as a list, this
option makes a lot of sense. It saves the hassles of dealing with
differences cross platform differences and text parsing and all that
stuff... just shove the data into a list and give it a filename and send a
saveList command and your done.

I've used this xtra for some time now and I have to say its been a pleasure
to work with.. not sure how I worked without it.

(No I don't work for updatestage.. its just an excellent tool... and for
what you described, I believe its free).

Sincerely

Mark R. Jonkman

-Original Message-
From: Brendon [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 19, 2001 7:36 PM
To: [EMAIL PROTECTED]
Subject: lingo-l Reading from an ini file


I want to make my next director project a little more reuseable. i was
wondering if any one had any links to sites or ini file reading
functions
that could help with storing settings externally.  Do i need an xtra to
read
text/ini files of the same cd?  i'd prefer not to.

Cheers

Brendon


[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 Reading from an ini file

2001-07-19 Thread Brendon

Thanks Mark and sean :)

We don't use director often, a few times a year at most.   i just made a
mpeg player with it a while back that we could reskin with a clients
graphics when needed thats why i was looking for the free options first :).
Hopefully i can make it further customizable by just changing some settings
in a txt file.

Things like.

Showing out own splash screen.
Number of menu's and what video those buttons play. And make it simpler to
change.
and bascially make the product a little more professional for myself.  (a
look at how i layed out the movie originaly makes me cringe now)

Cheers

Brendon



- Original Message -
From: Mark R. Jonkman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 20, 2001 12:07 PM
Subject: RE: lingo-l Reading from an ini file


 Hi Brendon

 In todays day and age, you have additional options (some at no cost) that
 might perform better then reading ini files and parsing text. Depending on
 need, you might take a look at http://www.updatestage.com and see if you
can
 find a list saving xtra. I know they sell an xtra called vList ( its on
the
 very bottom of the left hand frame of the main page of their xtras
section).
 This is one hell of a nice xtra that can be used to read and save to lists
 in their native binary format. Since most reuseable data that you are
 looking at most likely will be internalized within Director as a list,
this
 option makes a lot of sense. It saves the hassles of dealing with
 differences cross platform differences and text parsing and all that
 stuff... just shove the data into a list and give it a filename and send a
 saveList command and your done.

 I've used this xtra for some time now and I have to say its been a
pleasure
 to work with.. not sure how I worked without it.

 (No I don't work for updatestage.. its just an excellent tool... and for
 what you described, I believe its free).

 Sincerely

 Mark R. Jonkman

 -Original Message-
 From: Brendon [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, July 19, 2001 7:36 PM
 To: [EMAIL PROTECTED]
 Subject: lingo-l Reading from an ini file


 I want to make my next director project a little more reuseable. i was
 wondering if any one had any links to sites or ini file reading
 functions
 that could help with storing settings externally.  Do i need an xtra to
 read
 text/ini files of the same cd?  i'd prefer not to.

 Cheers

 Brendon


 [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!]




lingo-l Problem with text cast members

2001-07-19 Thread Trevor Helen Geddes

Hi
I am using Director 7.02 for Windows. I am creating a writing program for
children in which a sentence is read (spoken) and each word highlighted by
changing its colour from black to red as the word is spoken.
This works fine if I put the text into a field cast member but if I use a
text cast member I get the following problem:
with many fonts - especially if I use a bold fontstyle - the word that is
changed colour moves (to the left) - and then moves back when returned to
black.
I change the colour of the word and then reset the colour of the whole cast
member to reset its colour (this is faster than resetting the colour of just
that word back to black).
I change the colour of words using
member(textbook).word[ia..ib].color = rgb(255, 1, 1)

and reset to black with
member(textbook).color = rgb(0, 0, 0)

The problem does not occur with all fonts but happens with fonts such as
Comic Sans and most fancy fonts.
There seems to be an issue here with the anti-aliasing of text members in
Director 7. I also notice that often the lower part of the descenders in the
letters remain black when a word is set to red.
Does anyone have any experience of this? I want to use text members whenever
possible because with the large font sizes needed for children the
anti-aliasing makes such a difference.
Any suggestions on how I can get around this (other than warning the user
some fonts will give problems)?
While on this I also have encountered an issue with field cast members. If
you use an italic fontstyle and then set the fontstyle to bold the
italic style is not reset - you get bold,italic! Only by setting the style
to plain first can  you remove the italic setting. In this case text cast
members are better - choosing [#bold] clears the italic setting.
Any comments appreciated
Trevor Geddes

--
We produce computer programs for language development.
Look us up at http://geddesproductions.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 Reading from an ini file

2001-07-19 Thread Al Hospers

 I want to make my next director project a little more reuseable. i
was
 wondering if any one had any links to sites or ini file
 reading functions
 that could help with storing settings externally.  Do i need
 an xtra to read
 text/ini files of the same cd?  i'd prefer not to.

Hi Brendon,

Check out the vList Xtra from UpdateStage. As Mark pointed out, for
what you need, it is FREE!

The 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.

In demonstration mode most vList functions will cause a demonstration
dialog to display the first time they are used. A limited 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. They are:

 new(xtra vList,filename)
 write
 read

Price of basic version: $149.00
Price of full version: $299.00
Platforms: 32-bit Windows,Mac
Director versions supported: 6,7,8,8.5
Shockwave-safe, Shockwave auto-install
Author: Daniel Devolder

To read the full docs on line, download an evaluation version or
purchase the Xtra go here:

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

HTH,

Al Hospers
Marketing Associate
UpdateStage
alhospersatupdatestagedotcom
http://www.updatestage.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 Reading from an ini file

2001-07-19 Thread Buzz Kettles

getPrefs

At 11:35 AM +1000 7/20/01, Brendon wrote:
I want to make my next director project a little more reuseable. i was
wondering if any one had any links to sites or ini file reading functions
that could help with storing settings externally.  Do i need an xtra to read
text/ini files of the same cd?  i'd prefer not to.

Cheers

Brendon


[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 How to connect with Database

2001-07-19 Thread Chutima T.

Hi all,

I've just started to learn Director..Coz now I have a project..to create
a program to search maps running on CD. I have data in the database,
but i'm not sure how lingo script working with database?? Also what
kind of database that supported by lingo??

If anybody know the source of this information, pls kindly let me know.

Any comment would be appreciated
Chutima T.


_
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 field-contents - emailBody

2001-07-19 Thread Buzz Kettles

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=test 
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!]




Re: lingo-l protecting external media?

2001-07-19 Thread Buzz Kettles

you can use ResEdit or Resourcerer or a number of other utilities.

In ResEdit, select File  Get File/Folder Info  find your file  
mark the 'Invisible' checkbox (lower right of the dialog), close, 
save, quit

or as easier way (on older Macs) -
Install 'Snitch' (shareware) -
It expands your getInfo box to include the basic Finder props.

hth

-Buzz

At 12:10 PM -0700 7/19/01, Garman Herigstad wrote:
How is this done on a Mac?

Ian Lloyd wrote:

  In the past, I've just marked them as Hidden and Read-Only within the
  File Properties. If you turn on Show Hidden Files, you'll be able to see
  them (and place them on a CD, for instance). Most normal users have Show
  Hidden Files turned off, so they won't see them. And you can't steal what
  you can't see (or something like that).

  -Ian


__

Garman

[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 integer to RGB

2001-07-19 Thread Colin Holgate

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!]




Re: lingo-l field-contents - emailBody

2001-07-19 Thread Tony Åström

Thank you Buzz!

/ Tony



Buzz Kettles wrote:

 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=test
 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!]