lingo-l PS to does this crash make sense?

2001-07-26 Thread Slava Paperno

I guess it may also be relevant that the text is displayed in an embedded 
font and is antialiased (it has to be). Kerning is off. Ink is Copy.

The earlier post follows, unchanged:

I've traced my projector crashes to this stripped-down script:

--script in a text member sprite

on mouseDown me
   MouseWord = sprite(me.spriteNum).pointToWord(the mouseLoc)
   if MouseWord = -1 then pass
   sprite(me.spriteNum).member.word[MouseWord].color =rgb(138, 16, 8)
   updateStage
   pass
end mouseDown

on mouseUp me
   sprite(me.spriteNum).member.color = rgb(0, 0, 0)
   pass
end mouseUp

This stripped-down script highlights the clicked word while the mosue is 
down. When it is executed about 30 times in a row (not with unreasonably 
fast mouseclicks, i.e. waiting long enough to see the color change after 
each click), the projector crashes.

This is a D8 projector, on a G4 w/350 MHz chip and 256 MB RAM, under Mac OS 
9.04.

The text member has only about 500 characters, but there's a noticeable 
delay before the color changes after the mouseclick. This happens with many 
text members in the same movie.

Has this been noted before? Do these crashes make sense?

If so, is there a workaround?

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




lingo-l Creating little html table in Director

2001-07-26 Thread JJ

Hi, Guys...

I am new to this list... I'm glad to know of this one... :)

I have a little routine that creates a html table...  I was able to create one with 
all same width in all columns with this code...

html = HTMLBODYTABLE BORDER=1TR

repeat with i = 0 to gDatabase[1].count
  put TDBgetPropAt(gDatabase[1],i)/B/TD
   after html
end repeat

put /TR/TABLE/BODY/HTML after html

Say that I have 5 columns in my table and I want them to be 10%, 20%, 20%, 30%, and 
20% for each columns... So... I tried the previous code with multiple if statements 
and following statement... and got errors...

put TD WIDTH='15%'BgetPropAt(gDatabase[1],i)
  /B/TD after html

What am I doing wrong??? Director says that I need commas to split the ... I'd 
appreciate it if somebody can help me out here... Thanks a lot!!! 

Jacon
[EMAIL PROTECTED]



__
Get Paid... With Your Free Email at
http://www.zwallet.com/index.html?user=CyanBlue


[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 PS to does this crash make sense?

2001-07-26 Thread Sean Wilson

 I guess it may also be relevant that the text is displayed in an embedded
 font and is antialiased (it has to be). Kerning is off. Ink is Copy.

I tried mine with all kinds of combinations - saveBitmap, antiAliasing
FALSE, DTS etc., etc.

 Have
 you tried other ways of highlighting (e.g., bolding, or a bitmap, or
 changing the fontszie)?

The work-around I used is via imaging lingo. Gave exactly the same look as
changing the colour of the word clicked. It works very well.


[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 music player [x-post]

2001-07-26 Thread Buzz Kettles

Al -
It's an 80 kbps stream - that's probably way too much for a modem.
Most 56k modems deliver about 48 max on a good connect.

Try your player w/this URL:
http://audio.macromedia.com/samples/classic.swa
(It delivers a 16 kbps stream  therefore should play even in the hinterland.)

BTW you can get your client's pipe tested from:
Test Your Connection Speed
http://www.x-mp3.com/testyourspeed.shtml

note: I just tried it  it didn't connect, but it had been working as 
recently as a week ago.

Also note that a badly fragmented HD can cause gapping as the file 
system thrashes trying to cache the stream.

hth

-Buzz

hi,

I have a music player that I just did for a client. simple, straight
ahead kind of thing. it plays either MP3 or SWA audio. problem is that
he is on a dialup  sometimes it does NOTHING or plays like crap,
breaks up in the middle  all that. doesn't seem to matter for SWA or
MP3. I am buffering the audio for 15 seconds so it should play unless
the connection is really abyssmal. of course we live up here in the
hinterlands of New Hampshire, so that may be the case!

I have Cable Modem here, no dialup so I'd appreciate it if some folks
who have dialup connections could try these  let me know how they
work.

http://www.cambersoft.com/client_temp/wmm/911_mp3.html
http://www.cambersoft.com/client_temp/wmm/911_shockwave.html

please let me know the following if you respond:

  modem speed:
  computer type:
  OS:
  RAM:
  Browser  version:

NOTE: the modem speed is the really critical part here grin

thanks a lot,

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

---
Macromedia Director Mailing List (Direct-L)
List Administrator:  Eve Owens ([EMAIL PROTECTED])

To SUBSCRIBE or to UNSUBSCRIBE go to
http://listserv.uark.edu/archives/direct-l.html
and click on
Join or leave the list (or change settings)

For list archives
http://listserv.uark.edu/archives/direct-l.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!]


[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 email from within Director, length of message text

2001-07-26 Thread Michael von Aichberger

Hi list!

Some time ago Al Hospers posted this solution for e-mailing from within
Director:

  gotonetpage mailto:; addressString ?subject=  subjectString 
body=  messageString

Now I wanted to use this and experienced a strange behavior concerning the
length of the text in the variable messageString (Dir 8.5, win2000):


A) If the length is 154 characters or less then everything works fine
(browser opens, Outlook opens, new message window opens, fields are filled
out)

B) If the length is exactly 155 characters, Director does the same things as
under A, but after that produces a FATAL ERROR.

C) if the length is 156 characters or more, then nothing happens, neither
the browser or Outlook are opened, nor does Director produce a fatal error.

Has anyone experienced the same thing and/or could suggest a solution for
longer message texts?

Thanks a lot!

Regards
Michael von Aichberger


[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 Real duration

2001-07-26 Thread Joris

HI there,

anyone got an idea of how to get the duration of a Real media file in 
Director ?

thanx j.
-- 

Joris Sewandono ReloadMedia

Tel:+31.6.24235496
mail:   [EMAIL PROTECTED] http://www.siroj.net
[EMAIL PROTECTED] http://www.jamby.net


[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 email from within Director, length of message text

2001-07-26 Thread Pekka Buttler

If my memory serves me correct then I can confirm having heard about that
quirk earlier.

Pekka


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Michael von Aichberger
 Sent: 26. heinäkuuta 2001 13:10
 To: [EMAIL PROTECTED]
 Subject: lingo-l email from within Director, length of message text


 Hi list!

 Some time ago Al Hospers posted this solution for e-mailing from within
 Director:

   gotonetpage mailto:; addressString ?subject=  subjectString 
 body=  messageString

 Now I wanted to use this and experienced a strange behavior concerning the
 length of the text in the variable messageString (Dir 8.5, win2000):


 A) If the length is 154 characters or less then everything works fine
 (browser opens, Outlook opens, new message window opens, fields are filled
 out)

 B) If the length is exactly 155 characters, Director does the
 same things as
 under A, but after that produces a FATAL ERROR.

 C) if the length is 156 characters or more, then nothing happens, neither
 the browser or Outlook are opened, nor does Director produce a
 fatal error.

 Has anyone experienced the same thing and/or could suggest a solution for
 longer message texts?

 Thanks a lot!

 Regards
 Michael von Aichberger


 [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 email from within Director, length of message text

2001-07-26 Thread Al Hospers

 Some time ago Al Hospers posted this solution for e-mailing
 from within
 Director:

   gotonetpage mailto:; addressString ?subject=  subjectString

 body=  messageString

 Now I wanted to use this and experienced a strange behavior
 concerning the
 length of the text in the variable messageString (Dir 8.5, win2000):


 A) If the length is 154 characters or less then everything works
fine
 (browser opens, Outlook opens, new message window opens,
 fields are filled
 out)

 B) If the length is exactly 155 characters, Director does the
 same things as
 under A, but after that produces a FATAL ERROR.

 C) if the length is 156 characters or more, then nothing
 happens, neither
 the browser or Outlook are opened, nor does Director produce
 a fatal error.

 Has anyone experienced the same thing and/or could suggest a
 solution for
 longer message texts?

wowser dowser, never ran in to that one. sorry 'bout that. guess
that's another reason to use DirectEmail instead. sigh please post
the bug to the Director wish list.

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 find Good sound file

2001-07-26 Thread mitesh

Hi Friends,

I want good sound clip files for presentation form where i can get that
any site is there from i can download files.
If you know then tell me.

Mitesh




[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 find Good sound file

2001-07-26 Thread Katagiri, Junichi

flashkit has good sfx and sound loops - look

http://www.flashkit.com/soundfx/index.shtml

jun

-Original Message-
From: mitesh [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 25, 2001 7:52 PM
To: lingo
Subject: lingo-l find Good sound file


Hi Friends,

I want good sound clip files for presentation form where i can get that
any site is there from i can download files.
If you know then tell me.

Mitesh




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


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.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 PS to does this crash make sense?

2001-07-26 Thread Slava Paperno

Good to hear that! Would you mind sharing your solution, or at least its 
direction? There are so many things that with imaging Lingo might mean :-)

S.

At 06:53 PM 7/26/2001 +1200, you wrote:
The work-around I used is via imaging lingo. Gave exactly the same look as 
changing the colour of the word clicked. It works very well.


[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 find Good sound file

2001-07-26 Thread nik crosina

hi mitesh, 

have a look at these sites:

www.sound-effects-library.com
www.tape-gallery.co.uk

i used them before and they are 
reliable and quick and good to access
over the internet.

hope that helps,
nik
btw: i am not woring for them..


On Thu, 26 Jul 2001 05:21:30 +0530 mitesh [EMAIL PROTECTED] wrote:
 Hi Friends,
 
 I want good sound clip files for presentation form where i can get that
 any site is there from i can download files.
 If you know then tell me.
 
 Mitesh
 
 
 
 
 [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 baXCopy progress

2001-07-26 Thread Nicholas Youmans

 i am using buddyApi's baXCopy function to copy a directory form a CD to the
 users hard drive... problem is, i need some form of progress bar

there is also a progress copy beta module for the BudyApi Xtra. You can find it
at www.mods.com.au then follow the buddy - downloads - beta versions. Just
put it in your xtras folder  reference it like any buddy command.

We use it all the time...

good luck,
Nick Youmans
FutureMedia


[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 message window question

2001-07-26 Thread Roy Crisman

You have to do everything you did previously
projector.ini file has:

[Settings]
; for Director 8, D8.5 uses the lingo the debugPlaybackEnabled
MessageWindow=1
MessageWindowRect=0 530 614 1018

  AS WELL AS setting:

   --enable the Message Window for debugging
   set the debugPlaybackEnabled = TRUE

in your code...I do it in the Lingo.ini.

roymeo


At 02:54 PM 7/25/01 -0400, you wrote:
Tab...

Except, note that (on Windows at least) the messageWindow (at runtime)
doesn't seem to work in 8.5 the way it did with 8.0. Never had a problem
under 8.0 - 8.5 seems to be a different story.

There is no messageWindow line in the 8.5 director.ini file and adding
messageWindow
to your projector.ini does not produce any result at all.

I've just been informed that in 8.5 I should set the debugPlaybackEnabled
property
to TRUE to display the messageWindow with a projector or Shockwave -
Director online help says the same. However, under 8.5, this doesn't seem to
be working for me either.

!?

Josie

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Tab Julius
Sent: Wednesday, July 25, 2001 12:54 PM
To: [EMAIL PROTECTED]; '[EMAIL PROTECTED]'
Subject: Re: lingo-l message window question



Sure.  You will need a .INI file of the same name as the projector in the
same folder as the projector.

So, if your projector is SIMON.EXE then you will need (if you don't have
one already) a file called SIMON.INI

This is a text file, and you can edit it with Notepad (or SimpleText if
Mac).  If you have an existing one, just amend it, otherwise create a new
file, or copy over the DIRECTOR.INI from the Director folder and rename it,
then edit it.

Make a section that looks like this (put it at the end of the file, or the
very top, to simplify things):

[Settings]
MessageWindow=1
FullScreen=0
UseTitleBar=1

And that should bring it up.  The FullScreen and UseTitleBar are only
necessary if you have a full-screen projector to begin with, otherwise just
do the MessageWindow line.

- Tab

At 12:21 PM 7/25/01 -0400, Allard, Simon wrote:
 Hi all,
 
 Is it possible to create the message window of Director for a projector.
 My project work fine in Director but when I create the projector it quit
for
 no reason, so I want to find out where the problem is.
 
 Thanx


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


-
Roy Crisman
Senior Macromedia Programmer
(716)724-4054
[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 Does how you crop affect performance? Cropping utilities..

2001-07-26 Thread Kendall Anderson

Hey all -

After seeing how some others are approaching the 'cropping utility'
(using the script by Werner Sharp, or at least the technique) I'm
beginning to second-guess the way I've approached constructing things in
Director over the last 4 years.

Specifically, the technique using imaging lingo returns an image which
represents ONLY the differing pixels, and white space everywhere else.
When I wrote my AutoCropper utility I wrote it such that the resultant
bitmap was a pure rectangle, with the intent that it would be placed on
the stage with 'copy' ink. I have 2 problems with the other method:

1. This is a very fast technique but you end up with an image which must
be composited on the stage with 'background transparent' ink.
2. Aesthetically, it looks awful, but this is just a personal
preference. I much prefer to see a rectangle-cropped image in the paint
window rather than an image with bits and pieces hacked out of it. Call
me weird.. :)

I've always taught my junior designers to never crop images as anything
but a rectangle - again because I always, always use 'copy' ink unless I
absolutely must use something else. This was because I read early on
that 'copy' was faster than 'background transparent' - period. And I've
stuck to that idea since.

So, I just put together a quick test to compare the output from the
AutoCropping utility and guess what - when it comes to compositing on
screen, 'copy' is still way faster (a factor of 2x). Animating the
'copy-ink pure rectangles' on stage over 100 cycles took 359ms.
Animating the 'background-ink different-pixels-images' over 100 cycles
took 873ms.

The tradeoff is the one-time-only cropping time - using the 'crop a pure
rectangle' method (AutoCropper) took 1.28s, and using the 'return an
image with only the different pixels and lots of white space' method
took 0.42s.

It would seem to me that many using the other technique still put their
sprites on stage using an ink other than copy - is their some specific
reason for this?

Enquiring minds... :)


Kendall.

[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 Real duration

2001-07-26 Thread Joris

HI there,

anyone got an idea of how to get the duration of a Real media file in 
Director ?
...




thanx j.
-- 

Joris Sewandono ReloadMedia

Tel:+31.6.24235496
mail:   [EMAIL PROTECTED] http://www.siroj.net
[EMAIL PROTECTED] http://www.jamby.net


[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 video problem - plays video but don't play audio

2001-07-26 Thread Fabio

Hello lingo-pals,

There's something that is getting into my nerves. I have some videos in my 
project. They're compacted using Indeo 5.1. The codecs are installed in my 
machine. In authoring mode, they play just fine, with video AND audio. If I 
open them through window media player, they work fine also. Preety normal, 
right?! But when I play them in the projector, they display only the video 
content, but not the audio. What could it possibly be happening?! I'm using 
Director 8, Windows 98, AMD K6-2 400, 92 Mb RAM.

TIA

Fabio


[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-lSave castlib ... write persmision by other user ?!?!?

2001-07-26 Thread Joris

Hi there ...


When I save a castlib  when running a projector on a other machine I 
get a Unable to save the movie dialog,  it says it is already open 
with write permission by other user

but there is no othere machine running the project or a version of 
director ?!?!

strange Huh ?
any one had this problem ?

and does anyone know how to get the length or duration with lingo 
from a Realmedia stream ? I just can't seem to find it ...

thanx J.
-- 

Joris Sewandono ReloadMedia

Tel:+31.6.24235496
mail:   [EMAIL PROTECTED] http://www.siroj.net
[EMAIL PROTECTED] http://www.jamby.net


[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 video problem - plays video but don't play audio

2001-07-26 Thread Leif E. Wells

Hello lingo-pals,

There's something that is getting into my nerves. I have some videos 
in my project. They're compacted using Indeo 5.1. The codecs are 
installed in my machine. In authoring mode, they play just fine, 
with video AND audio. If I open them through window media player, 
they work fine also. Preety normal, right?! But when I play them in 
the projector, they display only the video content, but not the 
audio. What could it possibly be happening?! I'm using Director 8, 
Windows 98, AMD K6-2 400, 92 Mb RAM.


Are you finding that you are not getting ANY sound after that? No 
music or button sounds? Sometimes having a sound playing at the same 
time as (or near the same time as) a video with sound can be a big 
no-no on Windows.

Do a search for soundKeepDevice in the Tech Notes.

HTH


[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 video problem - plays video but don't play audio

2001-07-26 Thread Grant Gelech

The code that I used I found on the macromedia.director.lingo newsgroup.
Place this script in the frame before the movie plays

on exitFrame me
  sound stop 1
  set the soundKeepDevice = false
end

and for this script make sure your your video cast is in cast 3,  and your
vidoe sprite is in channel 3.

on exitFrame me
  set myDuration = the duration of member 3
  set myMovietime = the movieTime of sprite 3
  if myDuration  myMovietime then
go to the frame
  else
go to the frame + 1
  end if
end

Hope this helps
___
Grant

- Original Message -
From: Fabio [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 26, 2001 8:46 AM
Subject: lingo-l video problem - plays video but don't play audio


 Hello lingo-pals,

 There's something that is getting into my nerves. I have some videos in my
 project. They're compacted using Indeo 5.1. The codecs are installed in my
 machine. In authoring mode, they play just fine, with video AND audio. If
I
 open them through window media player, they work fine also. Preety normal,
 right?! But when I play them in the projector, they display only the video
 content, but not the audio. What could it possibly be happening?! I'm
using
 Director 8, Windows 98, AMD K6-2 400, 92 Mb RAM.

 TIA

 Fabio


 [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 video problem - plays video but don't play audio

2001-07-26 Thread Victor Iwan

I'm having the same problem too Just make sure you don't use any
audio compression when 'render' the videos...

 There's something that is getting into my nerves. I have some videos
 in my project. They're compacted using Indeo 5.1. The codecs are 
 installed in my machine. In authoring mode, they play just fine, 
 with video AND audio. If I open them through window media player, 
 they work fine also. Preety normal, right?! But when I play them in 
 the projector, they display only the video content, but not the 
 audio. What could it possibly be happening?! I'm using Director 8, 
 Windows 98, AMD K6-2 400, 92 Mb RAM.
 
 
 Are you finding that you are not getting ANY sound after that? No 
 music or button sounds? Sometimes having a sound playing at the same 
 time as (or near the same time as) a video with sound can be a big 
 no-no on Windows.



[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 Does how you crop affect performance? Croppingutilities..

2001-07-26 Thread Christian Wach

Kendall Anderson wrote:

 'crop a pure
 rectangle' method (AutoCropper) took 1.28s, and using the 'return an
 image with only the different pixels and lots of white space' method
 took 0.42s.

not quite clear about the context here, but are they huge images?

I ran a quick test using a 1024x512 jpg, and the undocced (in D7)
crop function.

the following method gives you the kind of image that you like, ie trimmed
whitespace, and also retains the regPoint so you can drop the resulting
image straight on to the score.


--lingo--

on cropThis theMember, cropRect
  tim = the milliseconds
  duplicate theMember
  newMember = member( the result )
  crop(newMember, cropRect)
  put time:  the milliseconds - tim  milliseconds
  return newMember
end

--/lingo--


Message Window

put cropThis( member(image), rect(10,10,250,300) )
-- time: 53 milliseconds
-- (member 26 of castLib 1)


I don't know what scripting you are using, or what size images you're
cropping... but hope it's of some use...

Christian


[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 Real duration

2001-07-26 Thread Thomas Higgins

Try:

member(real cast member).duration

In order for this to work, you *must* first play the video. Remember that this is a 
streaming (always) media type and information such as its duration isn't known until 
streaming has begun. Therefore if you need to write some code that is dependant upon 
the duration, either write it such that you query the duration after playback of the 
member has begun and then store that in a variable, or play the member in authoring 
and hardcode the duration value.

Cheers,
Tom

 -Original Message-
 From: Joris [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, July 26, 2001 7:40 AM
 To: [EMAIL PROTECTED]
 Subject: lingo-l Real duration
 
 
 HI there,
 
 anyone got an idea of how to get the duration of a Real media file in 
 Director ?
 ...
 
 
 
 
 thanx j.
 -- 
 
 Joris Sewandono   ReloadMedia
 
 Tel:  +31.6.24235496
 mail: [EMAIL PROTECTED] http://www.siroj.net
   [EMAIL PROTECTED] http://www.jamby.net
 
 
 [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 Type 2 Crash. a cautionary tale

2001-07-26 Thread Carl West


Two days ago I started getting catastrophic crashes on my Mac that made
Director simply vanish from my screen with a Type 2 error*. After
placing debugging commands that wrote out to a text file (so I could
read it after the crash). I tracked it down to a single line. This line
would execute fine any number of times, and then for no apparent reason,
would fail and take Director with it. Sometimes the whole machine.
Sometimes the machine would hang a couple minutes later.

The line was something very like:
 sprite(29 + x).setprops(foo, bar, rabnicky)

('setprops' is a handler in one of the behaviours attached to the sprite)
even when crashing, the values for foo, bar and rabnicky were always valid.

It was suggested that calling a handler that way, while it works most of
the time, is not actually supported and that 'call' or 'sendsprite' are
the ways to go. (thanks Dan S.)

now I use:
sendsprite(29 + x,#setprops,foo, bar, rabnicky)

and there are no more crashes.

There you go, FWIW.


* a type 2 is when a program tries to access a word of memory starting
at an odd address. It only works from even ones.

-- 
Carl West[EMAIL PROTECTED]
617.262.8830 x246

Depend upon it, there comes a time when, for every addition of
knowledge, you forget something that you knew before. It is of the
highest importance, therefore, not to have useless facts elbowing out
the useful ones.
  -Sherlock Holmes in 'A Study in Scarlet'

[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 Does how you crop affect performance? Croppingutilities..

2001-07-26 Thread Kendall Anderson

Hi Christian -

 not quite clear about the context here, but are they huge images?

 I don't know what scripting you are using, or what size images you're
 cropping... but hope it's of some use...

Sorry for the lack of context.. I'm referring to utilities to crop
sequences of images based on how they differ from a reference image.
(see http://www.invisiblethreads.com/lingo/autocropper/index.html)

Using D8 imaging lingo, copying image 'a' onto the reference image using
the reverse ink will provide a new image which only represents the
differences between the two - ie: as if you had cropped out everything
which was the same.

However, the remainder image contains ONLY the pixels that changed, so
there are many white-space gaps 'inside' the image, meaning you need to
composite the image on the stage using the background-transparent ink.
My utility rather crops the images in the image sequence based on a rect
defining the region of change, rather than isolating each pixel.

Kurt Griffin has a similar utility using the previous approach (that
produces an image with interior white spaces representing non-changing
areas) and I was simply wondering what people thought about the two
approaches, given that one requires the use of background-transparent
ink vs copy ink for the other (and all the relevant speed issues
pertaining to those two inks).


Kendall.

[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 Timming Shockwave files

2001-07-26 Thread Jim Allen

Is there a way to time a shock wave file over the Internet?
We are trying to come up with a duration it takes to 
watch a program streamed over the net!  Are scenario
includes different modem speeds and different computers.
A sure fire way to do it is use a stopwatch!  But then we have
to sit around and watch the thing!  If we could write some 
Lingo that would be imbedded in a Director movie so that 
when it has been shocked and put up on a server, we could 
time it how and see how long it would take to play with all 
the preloads.  Lookin for some help.
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 Creating little html table in Director

2001-07-26 Thread Darryl Cousins

That's my experience too.
Blessings, Darryl


 Say that I have 5 columns in my table and I want them to be 10%, 20%,
20%,
 30%, and 20% for each columns... So... I tried the previous code with
 multiple if statements and following statement... and got errors...
 
  put "TD WIDTH='15%'B"getPropAt(gDatabase[1],i)
"/B/TD" after html

 As far as I have been able to produce, Director doesn't like it much when
 you try to specify td width's with a percent (pretty much ignores them).
Am
 I wrong about that?

 - Bill



[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 Creating little html table in Director

2001-07-26 Thread Bastien Bouchard

 As far as I have been able to produce, Director doesn't like it much when
 you try to specify td width's with a percent (pretty much ignores
 them).  Am
 I wrong about that?

Pretty the same for me. Use absolute values for cols width.

Many HTML code elements seems not well interpreted by Director. I was so
tired of this in a past project that i finally used Explorer to open a
Director generated page...

Bastien Bouchard
Logique multimédia
[EMAIL PROTECTED]

99 Turcot
Beauport (Qué.)
G1B 2L4
(418) 821-0301

2480, Benny-Crescent
# 105
Montréal
H4B 2R1
(514) 569-1238



 -Message d'origine-
 De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]De la
 part de Bill Numerick
 Envoyé : 26 juillet, 2001 13:13
 À : [EMAIL PROTECTED]
 Objet : Re: lingo-l Creating little html table in Director


 Say that I have 5 columns in my table and I want them to be 10%,
 20%, 20%,
 30%, and 20% for each columns... So... I tried the previous code with
 multiple if statements and following statement... and got errors...
 
  put TD WIDTH='15%'BgetPropAt(gDatabase[1],i)
/B/TD after html



 - Bill


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



[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 Debugging OOPs in lingo with Director 5

2001-07-26 Thread R. Bhakti Klein

i would definitely recommend's irv's ebook, and i think there are good
chapters in bruce epstein's and gary rosenzweig's books.

peter small's lingo sorcery is unique, that's for sure. for me, it was
very helpful in making the conceptual leaps required to move from
procedural to object oriented thinking. oop seems to be the kind of
thinking that turns on like a light switch. once that happened, i moved
on to other sources about ways of using it in director. but for first
making that leap, peter's book is weird enough that it can be helpful
along those lines...

--bhakti


Irv Kalb wrote:
 
 Peter Small had some errors in his book and put an errata sheet on
 his website.  You can find it at:
 
http://www.avatarnets.com/sitejuly2001/popUpPage.html?overview/lserrata.htm
 
 However, many people feel that his book is somewhat difficult to
 understand and his presentation of objects is not mainstream.  The
 discussion of objects as viruses that you are trying to work through
 is an example of his unusual view of object oriented programming.
 
 For what I think is a more straight-forward real world description of
 some underlying concepts of OOP, I invite you to read my free
 (unfinished) on-line book at:
 
http://www.furrypants.com/loope
 
 Irv
 
 At 8:10 PM -0500 7/25/01, Will Mazurek wrote:
 I am tring to learn OOPS programing using Peter Small's LINGO SORCERY
 copywrite 1996.
 In the 2nd chapter there is a demonstration where you start in a movie
 called workshop that has the parent script and a button to make a
 object called virus.  You then go to a movie called isolated  where
 you have a button called move around when it is clicked on it goes to
 a movie called host where it replaces a sprite on the stage with the
 virus object  and moves it around the stage.  I had a problem with it
 and could not figure out how to debugg it.  If i put a breakpoint back
 in the parentscript in the 1st movie it was never tripped.  even after I
 got it to work it would not trip it.
 
 Is there a way to step through a parent script to debug it when you are
 not in the movie that contains it?
 
 
 --
 
 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!]

-- 
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-lSave castlib ... write persmision by other user ?!?!?

2001-07-26 Thread R. Bhakti Klein

do you perhaps have 2 copies of the movie opened on your windows machine
at the same time?

Joris wrote:
 
 Hi there ...
 
 When I save a castlib  when running a projector on a other machine I
 get a Unable to save the movie dialog,  it says it is already open
 with write permission by other user
 
 but there is no othere machine running the project or a version of
 director ?!?!
 
 strange Huh ?
 any one had this problem ?
 
 and does anyone know how to get the length or duration with lingo
 from a Realmedia stream ? I just can't seem to find it ...
 
 thanx J.
 --
 
 Joris Sewandono ReloadMedia
 
 Tel:+31.6.24235496
 mail:   [EMAIL PROTECTED] http://www.siroj.net
 [EMAIL PROTECTED] http://www.jamby.net
 
 
 [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 Timming Shockwave files

2001-07-26 Thread Roy Crisman

on startMovie
   global gTimeStarted
   gTimeStarted = the milliseconds
end


then, whenever your bit is done:

   global gTimeStarted
   alert(It took me (the miliseconds - gTimeStarted) milliseconds to run!)

or do whatever else with that data to output it (such as tossing it in your 
setPrefs so you don't have to show up to record each as it finishes.

roymeo


At 10:52 AM 7/26/01 -0600, you wrote:
Is there a way to time a shock wave file over the Internet?
We are trying to come up with a duration it takes to
watch a program streamed over the net!  Are scenario
includes different modem speeds and different computers.
A sure fire way to do it is use a stopwatch!  But then we have
to sit around and watch the thing!  If we could write some
Lingo that would be imbedded in a Director movie so that
when it has been shocked and put up on a server, we could
time it how and see how long it would take to play with all
the preloads.  Lookin for some help.
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!]


-
Roy Crisman
Senior Macromedia Programmer
(716)724-4054
[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 Does how you crop affect performance? Croppingutilities..

2001-07-26 Thread Kurt

 It would seem to me that many using the other technique still put their
 sprites on stage using an ink other than copy - is their some specific
 reason for this?

Shockwave and 56k modems. I happily trade fractions of a second in
performance (though I tend to use imaging for animations... don't know what
you were testing) for large gains in file size. Lots of white space is lots
less download time.

-Kurt


[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 timer problem

2001-07-26 Thread Paul Schulman

Hi.  I have a simple problem.  I am trying to present
a stimulus for a brief period of time but the code I'm
using is not controlling that period.  I have an on
MouseDown script in frame 1 that directs the playback
head to frame 2, where I select the color of the
stimulus.  The stimulus ends up being presented
briefly but not for the amount of time I specified.

Here's my Frame 2 script:

on beginSprite me
  startTimer
  pickColor
end

on pickColor
  chroma = random (3)
  case (chroma) of
1: sprite(1).color = rgb(0,0, 255)
2: sprite(1).color = rgb(0,255,0)
3: sprite(1).color = rgb(255,0,0)
  end case
  
  updateStage

  if the timer  60 then
go to the frame
  else
go to frame 1
  end if
end  


According to the debugger no stimulus is presented
until the  pickColor handler is finished and the
program goes to the end command in the beginSprite
handler.   And the program never goes back to frame 1.
 This is frustrating.
Paul Schulman




__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.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 video problem - plays video but don't play audio

2001-07-26 Thread Fabio

Thanks Grant,

this worked fine. I just can't figure out why when I played the file in 
authoring mode it worked, and in the projector it didn't. Anyway, it's 
working now.

Catch ya later,
Fabio

At 09:38 27/07/01 -0600, you wrote:
The code that I used I found on the macromedia.director.lingo newsgroup.
Place this script in the frame before the movie plays

on exitFrame me
   sound stop 1
   set the soundKeepDevice = false
end

and for this script make sure your your video cast is in cast 3,  and your
vidoe sprite is in channel 3.

on exitFrame me
   set myDuration = the duration of member 3
   set myMovietime = the movieTime of sprite 3
   if myDuration  myMovietime then
 go to the frame
   else
 go to the frame + 1
   end if
end

Hope this helps
___
Grant


[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 bug on czech windows?

2001-07-26 Thread Stephane Comeau

Hi,

I've got a bug report that I'm trying to track down where a shockwave
movie that works well otherwise will generate a script error and then a
C++ runtime error when played back on a Czech version of windows with
system locale and default language set to Czech.  No user input other
than mouse clicks in involved, and apparently the error happens before
user interaction in any case.

I'm just starting to try to debug this (ie. next step, install czech os
on a test box) and was wondering if this issue might sound familiar to
anyone, particularly you European types.

Thanks,

Steph

[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 bug on czech windows?

2001-07-26 Thread Tab Julius


One thing you might czech (sorry, couldn't resist) is if the problem is 
really due to Czech Windows, or if that's just a decoy, and it's really due 
to their configuration.

If it was Director related, the bug would probably also occur on languages 
similar to Czech.  Director itself is not localized to Czech, so it's 
something on the Czech configuration.

Do you know what the script error is?

Do you have the source?  If so, you can start tracking down to find the 
line of the error.

I'd try to get the source and narrow down the offending line (maybe running 
the .DIR directly will help - you can do this), and work from there.

- Tab

At 11:56 AM 7/26/01 -0700, Stephane Comeau wrote:
Hi,

I've got a bug report that I'm trying to track down where a shockwave
movie that works well otherwise will generate a script error and then a
C++ runtime error when played back on a Czech version of windows with
system locale and default language set to Czech.  No user input other
than mouse clicks in involved, and apparently the error happens before
user interaction in any case.

I'm just starting to try to debug this (ie. next step, install czech os
on a test box) and was wondering if this issue might sound familiar to
anyone, particularly you European types.

Thanks,

Steph


[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 Type 2 Crash. a cautionary tale

2001-07-26 Thread Slava Paperno

I haven't done the tracing that you have, but I think my Type 2 crashes of 
D8 on Mac OS 9.04 started when I started using the same type of calls... 
Does this Cautionary Tale apply to D8.5?

Slava

At 12:43 PM 7/26/2001 -0400, you wrote:

Two days ago I started getting catastrophic crashes on my Mac that made
Director simply vanish from my screen with a Type 2 error*...
The line was something very like:
  sprite(29 + x).setprops(foo, bar, rabnicky)

It was suggested that calling a handler that way, while it works most of
the time, is not actually supported and that 'call' or 'sendsprite' are
the ways to go. (thanks Dan S.)

now I use:
sendsprite(29 + x,#setprops,foo, bar, rabnicky)


[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 list and variable

2001-07-26 Thread Dominic Villiard

how can i find if there an item taht i'm looking for in a list if i don't
know it's position

example
mylist = [a, d, p, o]
and i want to know if d is in the list but it could be in any position in
the list

thanx


[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 list and variable

2001-07-26 Thread Nick Youmans

 how can i find if there an item taht i'm looking for in a list if i don't
 know it's position
 
 example
 mylist = [a, d, p, o]
 and i want to know if d is in the list but it could be in any position in
 the list

position = 0
repeat while i = 1 to mylist.count
if mylist[i] = d then
position = i
exit repeat
end if
end repeat

you can then take position and do anything you want with it...

good luck,
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 Type 2 Crash. a cautionary tale

2001-07-26 Thread Carl West

Slava Paperno wrote:
 
 I haven't done the tracing that you have, but I think my Type 2 crashes of
 D8 on Mac OS 9.04 started when I started using the same type of calls...
 Does this Cautionary Tale apply to D8.5?

I suspect so. I tried opening it with 8.5 and had the same crash. (the
project is in 8)



 At 12:43 PM 7/26/2001 -0400, you wrote:
 
 Two days ago I started getting catastrophic crashes on my Mac that made
 Director simply vanish from my screen with a Type 2 error*...
 The line was something very like:
   sprite(29 + x).setprops(foo, bar, rabnicky)
 
 It was suggested that calling a handler that way, while it works most of
 the time, is not actually supported and that 'call' or 'sendsprite' are
 the ways to go. (thanks Dan S.)
 
 now I use:
 sendsprite(29 + x,#setprops,foo, bar, rabnicky)

-- 
Carl West[EMAIL PROTECTED]
617.262.8830 x246

Depend upon it, there comes a time when, for every addition of
knowledge, you forget something that you knew before. It is of the
highest importance, therefore, not to have useless facts elbowing out
the useful ones.
  -Sherlock Holmes in 'A Study in Scarlet'

[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 vs. Mac, window focus

2001-07-26 Thread Slava Paperno

A distinguished member of this list suggested that this wouldn't be a 
totally foolish question to ask on the list... so I'm asking it. The issue 
may be a basic OS one, not a Director issue--I don't know. It's about 
window focus and window stacking order on the Mac compared to MS Windows.

In MS Windows, an application window can be on top (in front of) other 
windows, and yet not to have the focus. That's how Help works in most apps: 
you can read the Help text and work in your application window at the same 
time, even if the windows overlap: if Help is set to be Always on Top, 
then it is not blocked/obscured by the other windows, even when it doesn't 
have the focus. Always On Top is usually an option, and Buddy API even has 
a function for using it with Director movies under Windows.

I think I've seen some Mac applications behave similarly, but I don't seem 
to be able to achieve this with my projectors and their MIAWs. Here is the 
situation:

My main movie window (the stage) has a text for reading, in Russian. (The 
text is not editable.) When the user doesn't know a word, he clicks it, and 
my Glossary movie opens as a MIAW, displaying the gloss for that word. The 
user can read the gloss and then continue reading the text. This works fine 
even when the Glossary MIAW overlaps the text window (the stage), because I 
keep the MIAW in front of the stage by using the moveToFront command right 
after the glossary lookup command. So far so good.

But when the user needs to scroll the text in the main text window (the 
stage), and he clicks the scroll bar, nothing happens, because my 
moveToFront command gave the MIAW the focus. The user has to click twice in 
the text window: the first time to give the stage the focus, and then the 
second time to scroll. Many users will assume, after the first click, that 
the scrollbars aren't working (not being sophisticated enough to realize 
that the dimmed title bar of the stage means the focus is elsewhere.)

So I would like (programmatically, through Lingo) to display the gloss in 
the MIAW, and then move the focus back to the stage, but without having 
the  MIAW disappear behind the stage. That way, the first click on the 
scrollbar would do what the user expects it to do.

What gives me the hope that this can be achieved is the fact that it IS 
easily achieved by a mouseclick: the second click in the stage does give 
the stage the focus, but does _not_ bring the stage to the front; my MIAW 
is still visible ON TOP of the stage, even though it now doesn't have the 
focus. So I hope that I can make that happen through Lingo as well.

Am I making sense? Or am I being a dumb Windows junkie?



[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 Make your opinions known !!

2001-07-26 Thread Buzz Kettles

There is a new survey up -

http://www.macromedia.com/software/director/special/survey/




[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 list and variable

2001-07-26 Thread R. Bhakti Klein

i think you can just use getPos:

if myList.getPos(d)  0 then
--it's in the list
end if

--bh

Nick Youmans wrote:
 
  how can i find if there an item taht i'm looking for in a list if i don't
  know it's position
 
  example
  mylist = [a, d, p, o]
  and i want to know if d is in the list but it could be in any position in
  the list
 
 position = 0
 repeat while i = 1 to mylist.count
 if mylist[i] = d then
 position = i
 exit repeat
 end if
 end repeat
 
 you can then take position and do anything you want with it...
 
 good luck,
 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!]

-- 
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 Make your opinions known !!

2001-07-26 Thread jp

Pretty Intel advert too ! :)


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Buzz Kettles
 Sent: Thursday, July 26, 2001 1:22 PM
 To: [EMAIL PROTECTED]
 Subject: lingo-l Make your opinions known !!
 
 
 There is a new survey up -
 
 http://www.macromedia.com/software/director/special/survey/
 
 
 
 
 [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 is this possible?????

2001-07-26 Thread Dominic Villiard

for processing credit cards

1. the customer goes through the form filling process and they
select to pay online by credit card.
2. director passes the registration info and email address through an
https call and we respond with an order number
3. the charge request gets queued up at our end and processed ASAP
4. director uses that order number from step 3 to make a second https
request to ask for a confirmation number
5. the response and special code or serial number gets sent back to director
and emailed to the customer through email within seconds

The intent is that the director software will not open a browser but talk
directly to our web server.

IS THIS POSSIBLE??
need help!


[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 Type 2 Crash. a cautionary tale

2001-07-26 Thread Pekka Buttler

I've once had an insider explain to me that the reason is that that type of
function calling is reserved for built in functions, not custom lingo.
Understandable, but an oversight nevertheless...

Which brings me to another idea.

Would someone second my vote for the following concept.

The user would be able to create a castlib of scripts (handlers, functions,
methods, whatever), which would be attached, not to the movie (as an
external CastLib) but to the Application (Director, Projector,
Shockwave(?)). The Castlib could be protected, and the functions within the
castlib would on startup of the Application be embedded into Lingo's own
sphere of functions. and could therefore be more readily at hand and
hopefully faster to execute)

This would allow users to make their own expansions to the Lingo Function
set.
(Naturally everyone can write their 2000x functions and store them in an
external cast even now, but I'd really love the feel of being able to modify
the platform instead of just the files run with it)

What I'm offering is not in any way revolutionary (except making custom
lingo faster by enabling its integration into the application's core
function set), just a very nifty feature.

For Example I have long since made myself a wide set of geometric
calculation functions Like
somePointValue = MidPointOfRect(Myrect)
or
IntegerValue = distOfPoints(the MouseLoc,
MidPointOfRect(sprite(MySprite).rect))
etc.

IMHO, it would give a new aspect to custom functions...

1 dime (or am I valuing it too high)
Pekka

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Slava Paperno
 Sent: 26. heinakuuta 2001 21:53
 To: [EMAIL PROTECTED]
 Subject: Re: lingo-l Type 2 Crash. a cautionary tale


 I haven't done the tracing that you have, but I think my Type 2
 crashes of
 D8 on Mac OS 9.04 started when I started using the same type of calls...
 Does this Cautionary Tale apply to D8.5?

 Slava

 At 12:43 PM 7/26/2001 -0400, you wrote:

 Two days ago I started getting catastrophic crashes on my Mac that made
 Director simply vanish from my screen with a Type 2 error*...
 The line was something very like:
   sprite(29 + x).setprops(foo, bar, rabnicky)
 
 It was suggested that calling a handler that way, while it works most of
 the time, is not actually supported and that 'call' or 'sendsprite' are
 the ways to go. (thanks Dan S.)
 
 now I use:
 sendsprite(29 + x,#setprops,foo, bar, rabnicky)


 [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 message window question

2001-07-26 Thread Kerry Thompson


You may be right - I am referencing D8 and earlier - to be honest I 
haven't tried this in D8.5...

I use it in 8.5 with no problem--at least on Windows. Haven't tried the Mac 
yet.

the debugPlaybackEnabled does need to be set to true for 8.5. My projector 
is called Get Set.exe and I have a Get Set.ini file with this line in it:

MessageWindow=1

Then I put this in my prepareMovie handler:

the debugPlayBackEnabled = TRUE

Works for me.

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 bug on czech windows?

2001-07-26 Thread Stephane Comeau


 One thing you might czech (sorry, couldn't resist) is if the problem
is
 really due to Czech Windows, or if that's just a decoy, and it's
really
 due to their configuration.

Pretty sure it's related to the windows language/regional settings. Bug
reports note that the bug doesn't repro on the same box without the
Czech settings. This is a very widely deployed dcr, so I'm reasonably
confident the bug would have been reported with other lang settings if
it reproed. 

 If it was Director related, the bug would probably also occur on
languages
 similar to Czech.  Director itself is not localized to Czech, so it's
 something on the Czech configuration.

Also has happened w. other Central European languages (croatian).  There
is a Central European support pack for windows, that could be part of
the mix.

 Do you know what the script error is?

Not yet, gotta clear up a test machine and install a Czech version of
windows first.

 Do you have the source?  If so, you can start tracking down to find
the
 line of the error.

Yup, SOP.

 I'd try to get the source and narrow down the offending line (maybe
 running the .DIR directly will help - you can do this), and work from
there.

Yup, SOP.

Just fishing for a yeah, I've seen that response for clues before I go
on the bug hunt.  

Steph


[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 list and variable

2001-07-26 Thread Pekka Buttler

People!

Ever looked up getPos?

Syntax  getPos(list, value)

Description List function; identifies the position of the value specified by
value in the list specified by list. When the specified value is not in the
list, the getPos command returns the value 0.

For values contained in the list more than once, only the first occurrence
is displayed. This command performs the same function as the getOne command
when used for linear lists.

Example This statement identifies the position of the value 12 in the list
Answers, which consists of [#a:10, #b:12, #c:15, #d:22]:

getPos(Answers, 12)

The result is 2, because 12 is the second value in the list.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Nick Youmans
 Sent: 26. heinäkuuta 2001 22:49
 To: [EMAIL PROTECTED]
 Subject: Re: lingo-l list and variable


  how can i find if there an item taht i'm looking for in a list
 if i don't
  know it's position
 
  example
  mylist = [a, d, p, o]
  and i want to know if d is in the list but it could be in any
 position in
  the list

 position = 0
 repeat while i = 1 to mylist.count
 if mylist[i] = d then
 position = i
 exit repeat
 end if
 end repeat

 you can then take position and do anything you want with it...

 good luck,
 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!]



[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 music player [x-post]

2001-07-26 Thread Kafka's Daytime

Al..

On my test dialup machine:

 modem speed:   56k
 computer type: Pentium II 233
 OS:Windows 98 SE
 RAM:   128
 Browser  version: IE 5.0

Audio takes about 40 - 50 seconds to play. Once it *does*
play it plays fine.

HTH,

Josie

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Al Hospers
Sent: Wednesday, July 25, 2001 5:23 PM
To: [EMAIL PROTECTED]
Subject: lingo-l music player [x-post]


hi,

I have a music player that I just did for a client. simple, straight
ahead kind of thing. it plays either MP3 or SWA audio. problem is that
he is on a dialup  sometimes it does NOTHING or plays like crap,
breaks up in the middle  all that. doesn't seem to matter for SWA or
MP3. I am buffering the audio for 15 seconds so it should play unless
the connection is really abyssmal. of course we live up here in the
hinterlands of New Hampshire, so that may be the case!

I have Cable Modem here, no dialup so I'd appreciate it if some folks
who have dialup connections could try these  let me know how they
work.

   http://www.cambersoft.com/client_temp/wmm/911_mp3.html
   http://www.cambersoft.com/client_temp/wmm/911_shockwave.html

please let me know the following if you respond:

 modem speed:
 computer type:
 OS:
 RAM:
 Browser  version:

NOTE: the modem speed is the really critical part here grin

thanks a lot,

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

---
Macromedia Director Mailing List (Direct-L)
List Administrator:  Eve Owens ([EMAIL PROTECTED])

To SUBSCRIBE or to UNSUBSCRIBE go to
http://listserv.uark.edu/archives/direct-l.html
and click on
Join or leave the list (or change settings)

For list archives
http://listserv.uark.edu/archives/direct-l.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!]



[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 message window question

2001-07-26 Thread Ken Prat

 I use it in 8.5 with no problem--at least on Windows. Haven't
 tried the Mac yet.

 the debugPlaybackEnabled does need to be set to true for 8.5. My
 projector is called Get Set.exe and I have a
 Get Set.ini file with this line in it:

 MessageWindow=1

 Then I put this in my prepareMovie handler:

 the debugPlayBackEnabled = TRUE

The ini file setting seems to be irrelevant. The latter will invoke a
message window regardless.


[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 PS to does this crash make sense?

2001-07-26 Thread Sean Wilson

 Good to hear that! Would you mind sharing your solution, or at least its
 direction? There are so many things that with imaging Lingo
 might mean :-)

OK. Here's the process I used:
In a behavior attached to the block of text I create an image in the
beginSprite handler and store it as a property

  -- create image object:
  pImage = image(1, 1, 16)
  -- fill it with the appropriate color:
  pImage.fill(0, 0, 1, 1, [#shapeType: #rect, #lineSize: 0, #color: rgb(255,
0, 0)])

In the mouseDown handler, find which word was clicked:

  -- which word (number) was clicked?
  tWord = pSprite.pointToWord(cLoc)

  -- move the hilite image so it sits over the word clicked:
  charCount = pMember.text.word[1..tWord].char.count + 1
  thisWord = pMember.word[tWord]
  len = thisWord.length
  firstCharPos = pMember.charPosToLoc(charCount - len)
  lastCharPos  = pMember.charPosToLoc(charCount)

  -- create rect dimensions and pad it
  -- for character ascenders/descenders
  -- (this relies on storing the sprite's left
  -- and it's lineHeight as properties)
  l = firstCharPos[1] + pLeft
  r =  lastCharPos[1] + pLeft
  t = firstCharPos[2] + 7
  b = t + pLineHeight - 5

  -- copyPixels to the stage
  (the stage).image.copyPixels(pImage, rect(l, t, r, b),\
 pImage.rect, [#ink:37])

Hope that helps,
-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 is this possible?????

2001-07-26 Thread Dominic Villiard

is it possible from a projector??
what are the risks?

- Original Message -
From: Dominic Villiard [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 26, 2001 4:49 PM
Subject: lingo-l is this possible?


 for processing credit cards

 1. the customer goes through the form filling process and they
 select to pay online by credit card.
 2. director passes the registration info and email address through an
 https call and we respond with an order number
 3. the charge request gets queued up at our end and processed ASAP
 4. director uses that order number from step 3 to make a second https
 request to ask for a confirmation number
 5. the response and special code or serial number gets sent back to
director
 and emailed to the customer through email within seconds

 The intent is that the director software will not open a browser but talk
 directly to our web server.

 IS THIS POSSIBLE??
 need help!


 [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 list and variable

2001-07-26 Thread R. Bhakti Klein



Pekka Buttler wrote:
 
 People!
 
 Ever looked up getPos?

yes!! i did!!!


 
 Syntax  getPos(list, value)
 
 Description List function; identifies the position of the value specified by
 value in the list specified by list. When the specified value is not in the
 list, the getPos command returns the value 0.
 
 For values contained in the list more than once, only the first occurrence
 is displayed. This command performs the same function as the getOne command
 when used for linear lists.
 
 Example This statement identifies the position of the value 12 in the list
 Answers, which consists of [#a:10, #b:12, #c:15, #d:22]:
 
 getPos(Answers, 12)
 
 The result is 2, because 12 is the second value in the list.
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
  Behalf Of Nick Youmans
  Sent: 26. heinäkuuta 2001 22:49
  To: [EMAIL PROTECTED]
  Subject: Re: lingo-l list and variable
 
 
   how can i find if there an item taht i'm looking for in a list
  if i don't
   know it's position
  
   example
   mylist = [a, d, p, o]
   and i want to know if d is in the list but it could be in any
  position in
   the list
 
  position = 0
  repeat while i = 1 to mylist.count
  if mylist[i] = d then
  position = i
  exit repeat
  end if
  end repeat
 
  you can then take position and do anything you want with it...
 
  good luck,
  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!]
 
 
 [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 timer problem

2001-07-26 Thread Sean Wilson

I'm not sure if it's your problem or not, but you are trying to spawn a
navigation from a beginSprite handler - in your case from a handler called
by beginSprite. This is a no-no, you can't navigate from beginSprite.

 on beginSprite me
   pickColor
 end

 on pickColor
   if the timer  60 then
 go to the frame
   else
 go to frame 1
   end if
 end

Move the navigation stuff (go to ...) into an exitFrame handler:

on exitFrame me
   if the timer  60 then
 go to the frame
   else
 go to frame 1
   end if
end

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 is this possible?????

2001-07-26 Thread Sean Wilson

Director doesn't do https:// from a projector.

mailto:[EMAIL PROTECTED]

 is it possible from a projector??

[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 possible?????

2001-07-26 Thread grimmwerks

Sure, why not? That is it's possible if there's an internet
connectionand if you encode it/decode it on the server, it's not that
much different than a browser doing the communication.


[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 possible?????

2001-07-26 Thread grimmwerks


Whoops, didn't notice it had to be https:

BUT in a way I bet you could, since it's just a type of http
communication. You'd have to use the MU Xtra to actually do every
request/response that the browser would normally do.


[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 possible?????

2001-07-26 Thread Sean Wilson

Watch for breaks.

http://www.macromedia.com/support/director/ts/documents/secure_sockets_unava
ilable.htm

While you can use https:// with shockwave, you *still* can't from a
projector. Agreed, you could implement your own encryption from the
projector and de-crypt server-side, but you can't pass the info over a
secure connection.

 Sure, why not? That is it's possible if there's an internet
 connectionand if you encode it/decode it on the server, it's not that
 much different than a browser doing the communication.


[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 possible?????

2001-07-26 Thread Leif E. Wells

Let Macromedia know how you feel about the lack of HTTPS support in projectors:

http://www.macromedia.com/software/director/special/survey/


Director doesn't do https:// from a projector.

mailto:[EMAIL PROTECTED]

   is it possible from a projector??



[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 looking Shockwave project

2001-07-26 Thread Vlad Anokhin

Company looking Shockwave project for development.
One of samples http://mdgroup.fromru.com
e-mail: [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 music player [x-post]

2001-07-26 Thread Al Hospers

 Audio takes about 40 - 50 seconds to play. Once it *does*
 play it plays fine.

thanks for the response Josie.

Al



[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 Best way to post graphic to web?

2001-07-26 Thread Stephen Recker

I've got postNetText() working to put text in a net directory, but how do I
send a graphic to the web? I'm not talking about emailing it, I just want to
use Director to send a graphic from my desktop to a folder on my web site.
TIA

Cheers,
Stephen


[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 File IO

2001-07-26 Thread Kerry Thompson

Am I missing something simple here? I wrote a little utility to copy the 
script text out to text files, and it crashes my Mac on about the 15th 
iteration.

on copyScripts castLibName, targetDir
   repeat with i = 1 to the number of members of castlib (castLibName)
 if member(i, castLibName).type  = #script then
   theFile = 0
   theFile = new (xtra fileio)
   theFileName = member(i, castLibName).name  .txt
   theText = member(i, castLibName).scriptText
   createFile(theFile, targetDir  theFileName)
   openFile(theFile, targetDir  theFileName, 0)
   writeString(theFile, theText)
   closeFile(theFile)
 end if
   end repeat
end

It's a movie script, and I'm calling it from the message window:
copyScripts (Scripts, Freddy Kruger:In Development:HMProject:Scripts 
(Demo):)

It successfully writes out about 20 files, then crashes to the debugger. 
Maybe I'm too tired.


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




lingo-l mpg files on cdrom

2001-07-26 Thread grimmwerks


I know, it's been asked here so many times, and usually pointed to an
xtra, but I've got a few mpg1 files that SEEM to play fine through Windows
media (win2k) and I'm sure they're fine on the mac.

If I force them to play as WM on the mac, is there any issues anyone knows
of?


[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 mpg files on cdrom

2001-07-26 Thread grimmwerks


Actually there IS  a WM for the mac, but that's not what I asked, or meant
to...

i've got mpeg1 files for a crossplatform cdrom. On the mac, it'll play
through QT, for the pc, through WM because the client doesnt' want to
install QT. It's they're call...one of 'those' companies.

On Fri, 27 Jul 2001, Sean Wilson wrote:

 How does a Mac play Windows Media files? AFAIK there isn't a WMP for Mac.
 Use QT5 - it supports MPEG1 on both platforms ;)
 
  I know, it's been asked here so many times, and usually pointed to an
  xtra, but I've got a few mpg1 files that SEEM to play fine through Windows
  media (win2k) and I'm sure they're fine on the mac.
 
 
 [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 mpg files on cdrom

2001-07-26 Thread grimmwerks


Sorry, it's late, I did it again:

Mpg1 file: play as QT on MAC, WM on PC.

Whew.


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