Re: lingo-l #medium

2002-02-20 Thread Agustín María Rodríguez

Colin Holgate wrote:


 A useful variable name for clairvoyant simulators.

*LOL*
-- 
Agustín María Rodríguez
http://cablemodem.fibertel.com.ar/agustinmr/ (en construcción)

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



lingo-l External Shockwave Files

2002-02-20 Thread Tom Hines

I have concerns about using external files with my Shockwave movies.

1) If I have a Shockwave game that uses an external shockwave audio sound file to play 
music within my game, what happens when that game is saved from 
the web page to a local hard-drive? The movie will then surely generate errors if the 
external file is not to be found (assuming the file was 
referenced as a relative link). Is the only solution with regard to downloading 
Shockwave movies with external files to just embed the files into the 
movie? Or are external files detected and downloaded together with the movie?

2) This problem will also arise when external text files are used to store game 
settings/hi-score lists etc.
Does anyone have any answers?

3) On that note, is there a Lingo command that will detect if certain external files 
are present or not? That's one way to avoid unwanted error 
messages I guess.


Drekinn

It's not a bug, it's a random feature.

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



Re: lingo-l E-mail via Lingo?

2002-02-20 Thread Leah Kramer

goToNetPage(mailto:[EMAIL PROTECTED];) will bring up the user's default email
program.  You can probably use that syntax to put a subject and body in to the
email as well but then the user is responsible for hitting the send button.

I think you're better bet is to write a CGI script that uses your server's
sendmail program and have the Shockwave movie call that with the desired
parameters (the email address, scores, etc.)

I've never actually done this, but I should think it can be done.

--- Tom Hines [EMAIL PROTECTED] wrote:
 Hi all,
 
 Is there a Net Lingo command that will allow you to send e-mail? I can only
 imagine the possibilities if this were true.
 What I originally had in mind was for my shockwave game to e-mail me when my
 hi-score had been broken. (Eg. Your record hi-score of score has been 
 smashed by user name with a new total of new score!).
 
 Maybe I'm dreaming,
 
 
 Drekinn
 
 It's not a bug, it's a random feature.
 
 [To remove yourself from this list, or to change to digest mode, go to
 http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
 [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
 for learning and helping with programming Lingo.  Thanks!]


__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: lingo-l External Shockwave Files

2002-02-20 Thread Colin Holgate

3) On that note, is there a Lingo command that will detect if 
certain external files are present or not? That's one way to avoid 
unwanted error messages I guess.

There are with projectors, but assuming you mean in shockwave, what 
happens if you set the filename of a member to a URL, and then check 
the filename of the member? If it does show the URL (of a file that 
doesn't exist), what does the duration show as? I'm just thinking 
that if the file is not there, perhaps the filename won't stick, or 
there will be something obviously wrong, like the duration being zero.

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



R: lingo-l E-mail via Lingo?

2002-02-20 Thread giuseppe schiuma

Hi,
 you can use the following script:

on mouseUp me
  gotoNetPage mailto:[EMAIL PROTECTED]?subject=testbody=bla,bla;
end

the body could contain the score...

hope this help you
bye Giuseppe

-Messaggio originale-
Da: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] Per conto di Tom Hines
Inviato: mercoledì 20 febbraio 2002 8.17
A: lingoL
Oggetto: lingo-l E-mail via Lingo?

Hi all,

Is there a Net Lingo command that will allow you to send e-mail? I can
only imagine the possibilities if this were true.
What I originally had in mind was for my shockwave game to e-mail me
when my hi-score had been broken. (Eg. Your record hi-score of score
has been 
smashed by user name with a new total of new score!).

Maybe I'm dreaming,


Drekinn

It's not a bug, it's a random feature.

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

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



lingo-l open folder

2002-02-20 Thread limiar40 b

hi ppl

im wondering if it's possible to open a folder.

cheers
Limiar

_
Send and receive Hotmail on your mobile device: http://mobile.msn.com

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



lingo-l WAV or AIF

2002-02-20 Thread Tom Vandenbossche

What's better to use WAV or AIF files. Because now I'm using the IAF files
and I notice that on a PC gaps appearing when it changes from marker or from
dir file. I was wondering if i change them to WAV files it would be better.

thx
tom

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



Re: lingo-l Question about the return function

2002-02-20 Thread brad

it returns immediately



On 20 Feb 2002 at 10:14, Matthew DeSimone wrote:

Quick question.  When the return function is called so that a handler
returns a value, does that exit the handler, or will execution continue?

For instance, lets say I have repeat loop:

repeat with control = 1 to someList.count
if someList.count = 0 then
return found
else 
   alert not there
end repeat

does the call to return immedeatly end the handler execution, and return
the value?  Or will it continue to the next conditional test?

~matt desimone
[EMAIL PROTECTED]

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



RE: lingo-l Working with List

2002-02-20 Thread Howdy-Tzi

At 16:49 -0800 02/19/2002, Buzz Kettles wrote:

A question occurs to me -

Does anybody USE a member's .comment property to store text info 
related to that member?

Funny you should ask that since in my case the answer is YES. I'm 
slapping together a drag/droppy kind of slideshow builder, and using 
member.comments to store all sorts of nice settings (since I cannot 
modify, in a permanent way, behavior props at runtime) such as 
opacity, animation, interactivity specifics, etc.

-- 

  Warren Ockrassa | http://www.nightwares.com/
  Director help | Free files | Sample chapters | Freelance | Consulting
Author | Director 8.5 Shockwave Studio: A Beginner's Guide
Published by Osborne/McGraw-Hill
  http://www.osborne.com/indexes/beginners_guides.shtml
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: lingo-l puppeted sprite width left over.

2002-02-20 Thread Howdy-Tzi

At 22:09 -0500 02/19/2002, Jason Gruhl wrote:

I am puppeting sprites.

Don't unless you are creating them on the fly. From Dir7 up there's 
no need to explicitly puppet sprites when you're using Lingo to 
manipulate them.

-- 

  Warren Ockrassa | http://www.nightwares.com/
  Director help | Free files | Sample chapters | Freelance | Consulting
Author | Director 8.5 Shockwave Studio: A Beginner's Guide
Published by Osborne/McGraw-Hill
  http://www.osborne.com/indexes/beginners_guides.shtml
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: R: lingo-l E-mail via Lingo?

2002-02-20 Thread Howdy-Tzi

At 15:46 +0100 02/20/2002, Tom Vandenbossche wrote:

Ok I have a milar question here.
I use gotonetpage mailto:email@email;

but then I got the problem that the browser gives me an error in the page.
How can i solve that. blank screen, close window or close IE?

You need an Xtra to do it properly, unfortunately. goToNetPage has a 
lot of potential problems which are well documented.

I've seen emailing done with the Shockwave Multiuser Server but have 
not explored it. You could also try XtraNet, and I believe there's a 
DirectMail Xtra as well.

-- 

  Warren Ockrassa | http://www.nightwares.com/
  Director help | Free files | Sample chapters | Freelance | Consulting
Author | Director 8.5 Shockwave Studio: A Beginner's Guide
Published by Osborne/McGraw-Hill
  http://www.osborne.com/indexes/beginners_guides.shtml
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



lingo-l Flash loadMovie in Director 7.0.2

2002-02-20 Thread Fumio Nonaka
The 'loadMovie' action executed in a Flash swf file, which is created in
Flash 5 and published as Flash 4, does not work in Director 7.0.2 with
Flash Asset Xtra 7.0.2r140 / MacOS 8.6 in the authoring mode.

When the dir file is opened in Director 8.0/8.5, it properly works.  SWF
itself can play in Flash 4.0r7 stand alone player.

Does the 'loadMovie' action fail to work in Director 7.0.2?

Thanks in advance.

Fumio Nonaka
Phone: +81-42-397-9452
Fax: +81-42-397-9452
mailto:[EMAIL PROTECTED]
http://www.FumioNonaka.com
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]


RE: lingo-l open folder

2002-02-20 Thread séb

Hi,


 im wondering if it's possible to open a folder.

quite easy on windows :
  open the moviePath with explorer.exe
... don't know about the mac side

hth,
.séb

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



Re: lingo-l Buddy API

2002-02-20 Thread David Benman

Have you isolated where your code is failing? Is it the actual call to Buddy
API to write the file or elsewhere?

 I am having a problem where under Director 8.5 and Buddy API, I have a
 behavior, which I've used on more than one project using Director 7.02,
 which goes out and opens a file in a destination relative to the projector.
 
 In 8.5 this behavior works great under windows xp, but not under windows 98,
 or windows 2000 off the CD. If I copy the files to the hard drive, it works
 fine on all systems.
 
 To recap:
 
 1) This codes has worked in the past using director 7.02 on all platforms
 2) This same code under 8.5 works fine using windows xp
 3) This code under 8.5 does not work under windows 98 and windows 2000
 
 It seems that the difference is Director 8.5.
 
 
 Anyone have any ideas?
 
 Justin Allen
 Katana Interactive
 
 [To remove yourself from this list, or to change to digest mode, go to
 http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
 [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
 for learning and helping with programming Lingo.  Thanks!]

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



lingo-l Buddy API

2002-02-20 Thread Justin Allen

I am having a problem where under Director 8.5 and Buddy API, I have a
behavior, which I've used on more than one project using Director 7.02,
which goes out and opens a file in a destination relative to the projector.

In 8.5 this behavior works great under windows xp, but not under windows 98,
or windows 2000 off the CD. If I copy the files to the hard drive, it works
fine on all systems.

To recap:

1) This codes has worked in the past using director 7.02 on all platforms
2) This same code under 8.5 works fine using windows xp
3) This code under 8.5 does not work under windows 98 and windows 2000

It seems that the difference is Director 8.5.


Anyone have any ideas?

Justin Allen
Katana Interactive

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



Re: lingo-l Question about the return function

2002-02-20 Thread Howdy-Tzi

At 10:14 -0500 02/20/2002, Matthew DeSimone wrote:

Quick question.  When the return function is called so that a handler
returns a value, does that exit the handler, or will execution continue?

Well, there's a nice easy way to find out:

   on returnTest
 return Returning
 put Still running
   end

...and then do

   put returnTest()

in the message window.

I'm not trying to be snide or obtuse; I'm just trying to suggest that 
sometimes a four line test can answer all questions. Think of it as 
one of those teach a person to fish types of things. ;)

-- 

  Warren Ockrassa | http://www.nightwares.com/
  Director help | Free files | Sample chapters | Freelance | Consulting
Author | Director 8.5 Shockwave Studio: A Beginner's Guide
Published by Osborne/McGraw-Hill
  http://www.osborne.com/indexes/beginners_guides.shtml
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



RE: lingo-l WAV or AIF

2002-02-20 Thread Carol Mahaffy

i seem to be having very good luck with mp3's for voice overs and bkgd music
but for short rollover sounds i have been using wav files. the mp3's
compress down very well.
 --
 From: [EMAIL PROTECTED]
 Reply To: [EMAIL PROTECTED]
 Sent: Wednesday, February 20, 2002 10:19 AM
 To:   direct-l; Lingo
 Subject:  lingo-l WAV or AIF
 
 What's better to use WAV or AIF files. Because now I'm using the IAF files
 and I notice that on a PC gaps appearing when it changes from marker or
 from
 dir file. I was wondering if i change them to WAV files it would be
 better.
 
 thx
 tom
 
 [To remove yourself from this list, or to change to digest mode, go to
 http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
 [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L
 is for learning and helping with programming Lingo.  Thanks!]
 
 
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: lingo-l WAV or AIF

2002-02-20 Thread Genevieve Young




What's better to use WAV or AIF files. Because now I'm using the IAF files
and I notice that on a PC gaps appearing when it changes from marker or 
from
dir file. I was wondering if i change them to WAV files it would be better.




The decision for which type of file to use depends on:

* cross platform compatibility

* Xtras or plug-ins required

* Type of capture card

* Type of editing software

* File  conversion capibility


If you are not sure what platform you are developing for, perhaps it would 
be better to go for a file format which may be used on more than one 
operating system or is supported by the computers that will be playing your 
movies such as AIFF.

For the record, Director supports the following digital sound files:

AIFF (for cross-platform use)

WAV (windows only)

MP3

System  7 Sound (Mac only)

Quicktime (sound-only movies)

Video for Windows (sound-only movies)

MIDI

Shockwave Audio


What sample rate were you using? 22.05kHz should be enough because of file 
size limitation.

Also,  if play back is jerky, this could be due to both the size and file 
type you were using. Internal sound files tend to play back better if kept 
short. Long internal audio files have a hard time playing back smoothly 
because the entire file is loaded into RAM before it can begin to play, so 
Director handles the play back of larger files better externally.


What type of file you ultimately choose depends on your requirements.

For example .wav files are small, internal sound files.
If they are music files, Quicktime or MP3 would be better, for they are 
external files.


Hope this helps.

Genevieve





_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx

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



lingo-l Creating sprites

2002-02-20 Thread Peter King

Is it possible to create new sprites in lingo, like you can with cast members?
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



lingo-l RE: ALPHAMANIA substitute and a clear description of what I need it

2002-02-20 Thread Kevan Dettelbach

I've got a couple of suggestions for ya...

Instead of letting director handle the scaling, rotating, etc. of the
imported images, you could use imaging lingo to do it. I'm not sure if
imaging lingo gives you access to the alpha channel, but it would make sense
that it would.

Another alternative is to use the imported images as texture maps  and do
your rotating, scaling, etc. in 3d. With the new anti-alias option in 3d,
this should give the result you want. You did mention that the images would
be running on top of a video feed, so 3d may not work for you, although you
could try importing the video feed as individual frames and use an animating
backdrop for the video. This would require a fair bit of horse-power, but
it's possible that it could work.

Good luck,

Kevan Dettelbach
Lunny Communications

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



lingo-l Replacing script cast member at runtime

2002-02-20 Thread Cole Tierney

Anyone have a technique for replacing a script cast member at run time?

CopyToClipBoard or maybe member.media?

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



Re: lingo-l Buddy API

2002-02-20 Thread Justin Allen

The failure happens when I look for the file. Under Director 7.2 it works
perfect. Under 8.5, the same code only works under Windows XP.

It returns a file not found reply.

Justin Allen

 Have you isolated where your code is failing? Is it the actual call to Buddy
 API to write the file or elsewhere?
 
 I am having a problem where under Director 8.5 and Buddy API, I have a
 behavior, which I've used on more than one project using Director 7.02,
 which goes out and opens a file in a destination relative to the projector.
 
 In 8.5 this behavior works great under windows xp, but not under windows 98,
 or windows 2000 off the CD. If I copy the files to the hard drive, it works
 fine on all systems.
 
 To recap:
 
 1) This codes has worked in the past using director 7.02 on all platforms
 2) This same code under 8.5 works fine using windows xp
 3) This code under 8.5 does not work under windows 98 and windows 2000
 
 It seems that the difference is Director 8.5.
 
 
 Anyone have any ideas?
 
 Justin Allen
 Katana Interactive
 
 [To remove yourself from this list, or to change to digest mode, go to
 http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
 [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
 for learning and helping with programming Lingo.  Thanks!]
 
 [To remove yourself from this list, or to change to digest mode, go to
 http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
 [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
 for learning and helping with programming Lingo.  Thanks!]

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



RE: lingo-l Buddy API

2002-02-20 Thread Kerry Thompson

 I am having a problem where under Director 8.5 and Buddy API, I have a
 behavior, which I've used on more than one project using Director
 7.02,
 which goes out and opens a file in a destination relative to the
 projector.
 
 In 8.5 this behavior works great under windows xp, but not under
 windows 98,
 or windows 2000 off the CD. If I copy the files to the hard drive, it
 works
 fine on all systems.
 
Just a guess, but is it possibly a path length issue? It doesn't really
sound like it, but I've been dealing with that a lot lately. I usually
use Buddy to confirm the existence of the file, then open it with
fileIO, and Buddy will return false if the path name is too long, even
if the file is there.

I don't remember what the exact length is--it's different on Windows and
Mac, I believe, but it's around 100 characters.

Cordially,

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



RE: lingo-l open folder

2002-02-20 Thread Colin Holgate

  open cdDrive  images with explorer.exe

mac side it's more complicated, any sugestions


If the goal really was to have a CD window open for the user, then 
it's easy, you just have that window arrangement when you master the 
CD.


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



Re[2]: lingo-l puppeted sprite width left over.

2002-02-20 Thread Jason Gruhl

Howdy-Tzi,
I have to puppet sprites. The reason is that I'm
building a system which is displaying alot of
different content. Graphic designers are making
about 500 casts of content. I load them in
dynamically and clearly I have to puppet this
content. Do you have an answer to the question?

Jason

Wednesday, February 20, 2002, 10:32:14 AM, you wrote:


HT At 22:09 -0500 02/19/2002, Jason Gruhl wrote:

I am puppeting sprites.

HT Don't unless you are creating them on the fly. From Dir7 up there's 
HT no need to explicitly puppet sprites when you're using Lingo to 
HT manipulate them.



_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

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



Re: lingo-l Replacing script cast member at runtime

2002-02-20 Thread Howdy-Tzi

At 12:34 -0500 02/20/2002, Cole Tierney wrote:

Anyone have a technique for replacing a script cast member at run time?

Couple different approaches.

1. Put the replaceable(s) in external cast(s).

2. member(whatever).scriptText = {the contents you want to switch}

Either could be automatic, or could be instigated by the user 
selecting something via FileIO or what have you.

-- 

  Warren Ockrassa | http://www.nightwares.com/
  Director help | Free files | Sample chapters | Freelance | Consulting
Author | Director 8.5 Shockwave Studio: A Beginner's Guide
Published by Osborne/McGraw-Hill
  http://www.osborne.com/indexes/beginners_guides.shtml
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: lingo-l Flash loadMovie in Director 7.0.2

2002-02-20 Thread Charlie Fiskeaux II

It's probably because Director 7, if I remember correctly, only supported Flash 3.  
Flash 4 .swf's would work as long you're only
using commands that are present in Flash 3, but LoadMovie might be Flash 4 and later.

Charlie Fiskeaux II
The Creative Group
www.cre8tivegroup.com
859/858-9054 x29
cell: 859/312-3883


- Original Message -
From: Fumio Nonaka [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 20, 2002 10:48 AM
Subject: lingo-l Flash loadMovie in Director 7.0.2


The 'loadMovie' action executed in a Flash swf file, which is created in
Flash 5 and published as Flash 4, does not work in Director 7.0.2 with
Flash Asset Xtra 7.0.2r140 / MacOS 8.6 in the authoring mode.

When the dir file is opened in Director 8.0/8.5, it properly works.  SWF
itself can play in Flash 4.0r7 stand alone player.

Does the 'loadMovie' action fail to work in Director 7.0.2?

Thanks in advance.

Fumio Nonaka
Phone: +81-42-397-9452
Fax: +81-42-397-9452
mailto:[EMAIL PROTECTED]
http://www.FumioNonaka.com
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the
list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L 
is for learning and helping with programming
Lingo.  Thanks!]

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



RE: lingo-l open folder

2002-02-20 Thread limiar40 b


If the goal really was to have a CD window open for the user, then
it's easy, you just have that window arrangement when you master the
CD.

sorry but i don't understand what u said about ...window arrangement...
could u please be more specific, the goal is , have the user click on a link 
and open a cd window with a bunch of images

thanks
Limiar

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


_
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/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[2]: lingo-l puppeted sprite width left over.

2002-02-20 Thread Howdy-Tzi

At 10:07 -0500 02/20/2002, Jason Gruhl wrote:

Howdy-Tzi,
I have to puppet sprites. The reason is that I'm
building a system which is displaying alot of
different content. Graphic designers are making
about 500 casts of content. I load them in
dynamically and clearly I have to puppet this
content. Do you have an answer to the question?

Yes I do.

Since the puppeted characteristics are being retained in the sprite 
frames, moving away from those frames in the Score after unpuippeting 
the sprites, and then returning to those frames, should reset the 
sprites' characteristics.

So if, for instance, everything is happening in frame 1, and your 
sprites span only across frame 1, you should be able to unpuppet the 
sprites, then go to frame 2, and then return to frame 1.

That ought to clear the extra stuff.

-- 

  Warren Ockrassa | http://www.nightwares.com/
  Director help | Free files | Sample chapters | Freelance | Consulting
Author | Director 8.5 Shockwave Studio: A Beginner's Guide
Published by Osborne/McGraw-Hill
  http://www.osborne.com/indexes/beginners_guides.shtml
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: lingo-l Buddy API

2002-02-20 Thread Justin Allen

Kerry,

I don't think so. Otherwise why would it work (same code exactly) in 7.2 and
not 8.5, except under windows xp?

Really confusing.

Justin Allen


 I am having a problem where under Director 8.5 and Buddy API, I have a
 behavior, which I've used on more than one project using Director
 7.02,
 which goes out and opens a file in a destination relative to the
 projector.
 
 In 8.5 this behavior works great under windows xp, but not under
 windows 98,
 or windows 2000 off the CD. If I copy the files to the hard drive, it
 works
 fine on all systems.
 
 Just a guess, but is it possibly a path length issue? It doesn't really
 sound like it, but I've been dealing with that a lot lately. I usually
 use Buddy to confirm the existence of the file, then open it with
 fileIO, and Buddy will return false if the path name is too long, even
 if the file is there.
 
 I don't remember what the exact length is--it's different on Windows and
 Mac, I believe, but it's around 100 characters.
 
 Cordially,
 
 Kerry Thompson
 [To remove yourself from this list, or to change to digest mode, go to
 http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
 [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
 for learning and helping with programming Lingo.  Thanks!]

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



Re: lingo-l Replacing script cast member at runtime

2002-02-20 Thread Howdy-Tzi

At 14:31 -0500 02/20/2002, Cole Tierney wrote:

2. member(whatever).scriptText = {the contents you want to switch}

This would work well. Ideally, we'd like to have the member remain 
protected. Probably not possible. Or is it?

Well, ship the new Lingo in a CXT file. Then try something like this:

   oNewCode = member(yourScript, externalFile).media
   member(scriptToBeReplaced, originalFile).media = oNewCode

The only real trick would be to open the external file and the file 
to be replaced at the same time. You can use the CastControl Xtra to 
dynamically attach and detach castLibs, though, so what you're 
talking about hsould be more or less 100 percent doable.

-- 

  Warren Ockrassa | http://www.nightwares.com/
  Director help | Free files | Sample chapters | Freelance | Consulting
Author | Director 8.5 Shockwave Studio: A Beginner's Guide
Published by Osborne/McGraw-Hill
  http://www.osborne.com/indexes/beginners_guides.shtml
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



RE: lingo-l Buddy API

2002-02-20 Thread Sean Wilson

  I am having a problem where under Director 8.5 and Buddy API, I have a
  behavior, which I've used on more than one project using Director 7.02,
  which goes out and opens a file in a destination relative to
 the projector.

 It returns a file not found reply.

So how are you building this relative path? Relative to 'the
applicationPath', from what you say. Could you alert yourself with the path
before the open operation just so you can manually confirm it? You know that
the '@' pathName operator doesn't fly with (most?) 3rd party xtras.

HTH,
-Sean.

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



Re: lingo-l Buddy API

2002-02-20 Thread Justin Allen

Sean,

The path is defined as /files/anyfile.pdf

This is the same syntax as I have used in that past. Also, this path works
using 7.2 on all Pc platforms and only with 8.5 and windows xp

Can this be a director 8.5 bug?

Justin


 I am having a problem where under Director 8.5 and Buddy API, I have a
 behavior, which I've used on more than one project using Director 7.02,
 which goes out and opens a file in a destination relative to
 the projector.
 
 It returns a file not found reply.
 
 So how are you building this relative path? Relative to 'the
 applicationPath', from what you say. Could you alert yourself with the path
 before the open operation just so you can manually confirm it? You know that
 the '@' pathName operator doesn't fly with (most?) 3rd party xtras.
 
 HTH,
 -Sean.
 
 [To remove yourself from this list, or to change to digest mode, go to
 http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
 [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
 for learning and helping with programming Lingo.  Thanks!]

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



Re: lingo-l Replacing script cast member at runtime

2002-02-20 Thread Cole Tierney

At 2:06 PM -0600 2/20/02, Howdy-Tzi wrote:
At 14:31 -0500 02/20/2002, Cole Tierney wrote:

2. member(whatever).scriptText = {the contents you want to switch}

This would work well. Ideally, we'd like to have the member remain 
protected. Probably not possible. Or is it?

Well, ship the new Lingo in a CXT file. Then try something like this:

   oNewCode = member(yourScript, externalFile).media
   member(scriptToBeReplaced, originalFile).media = oNewCode

The only real trick would be to open the external file and the file 
to be replaced at the same time. You can use the CastControl Xtra to 
dynamically attach and detach castLibs, though, so what you're 
talking about hsould be more or less 100 percent doable.

We have an external placeholder cast for temporarily tapping into 
update castlibs. So far haven't had much luck with protected script 
members. Does look promising, though. Thanks, Warren!

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



Re: lingo-l Flash loadMovie in Director 7.0.2

2002-02-20 Thread Charlie Fiskeaux II

It works the same way that the Flash player and browser plugin work.  A version 3 
player, for example, can open a flash file of a
later version, but it will only execute the actionScript that it understands and 
ignore the rest.
As for Director, I assume that 7.0.2 updated the Flash Assets from 7.0 to support 
Flash 4 (so theoretically it should support Flash
4 actionScripts).

Charlie Fiskeaux II
The Creative Group
www.cre8tivegroup.com
859/858-9054 x29
cell: 859/312-3883


- Original Message -
From: Fumio Nonaka [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 20, 2002 3:40 PM
Subject: Re: lingo-l Flash loadMovie in Director 7.0.2


I might misunderstand you.  Do you mean that Director 7.0.2 can import
and support Flash 4 .swf but only the ActionScripts of Flash 3 can be
worked in it, don't you?  If so, could you provide any documentation to
say that?
_
Fumio Nonaka wrote:
 Flash Asset Xtra in Director 7.0.2 should support Flash 4.
...
 Charlie Fiskeaux II wrote:
 
  It's probably because Director 7, if I remember correctly, only supported Flash 3. 
 Flash 4 .swf's would work as long you're
only
  using commands that are present in Flash 3, but LoadMovie might be Flash 4 and 
later.

Regards,

$BLnCf!!J8M:(B
Fumio Nonaka
Phone: +81-42-397-9452
Fax: +81-42-397-9452
mailto:[EMAIL PROTECTED]
http://www.FumioNonaka.com
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the
list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L 
is for learning and helping with programming
Lingo.  Thanks!]

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



RE: lingo-l Buddy API

2002-02-20 Thread Sean Wilson

 The path is defined as /files/anyfile.pdf

A few more questions/comments:
1). This is not a fully qualified path. Wouldn't you expect something more
along the lines of 'D:\files\anyfile.pdf'? Presumably your applicationPath
is prepended.
2). Why are there forward slashes in there? Are we talking URLs, or is that
a typo?
3). When building your path, 'the applicationPath' comes with a folder
delimiter as the last char, so be careful about adding another delimiter in
there.

HTH,
-Sean.

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



Re: lingo-l Flash loadMovie in Director 7.0.2

2002-02-20 Thread Peri Cumali
LoadMovie actions in Flash will not function in Director. Not in any
version.

Peri

Fumio Nonaka wrote:

The 'loadMovie' action executed in a Flash swf file, which is created in
Flash 5 and published as Flash 4, does not work in Director 7.0.2 with
Flash Asset Xtra 7.0.2r140 / MacOS 8.6 in the authoring mode.

When the dir file is opened in Director 8.0/8.5, it properly works.  SWF
itself can play in Flash 4.0r7 stand alone player.

Does the 'loadMovie' action fail to work in Director 7.0.2?

Thanks in advance.

Fumio Nonaka
Phone: +81-42-397-9452
Fax: +81-42-397-9452
mailto:[EMAIL PROTECTED]
http://www.FumioNonaka.com
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]




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


Re: lingo-l Buddy API

2002-02-20 Thread Justin Allen

Sean,

This code was purchased when I bought my buddy API application. It was an
add-on offered. Specifically, it is the open PDF file AND the open any
file behavior.

In the past, I've always used the \ mark and it has worked. There is a
checkbox for assigning a relative filepath. You're right, it was a typo.

Hopefully, this sheds some light on the issue.

Justin

 The path is defined as /files/anyfile.pdf
 
 A few more questions/comments:
 1). This is not a fully qualified path. Wouldn't you expect something more
 along the lines of 'D:\files\anyfile.pdf'? Presumably your applicationPath
 is prepended.
 2). Why are there forward slashes in there? Are we talking URLs, or is that
 a typo?
 3). When building your path, 'the applicationPath' comes with a folder
 delimiter as the last char, so be careful about adding another delimiter in
 there.
 
 HTH,
 -Sean.
 
 [To remove yourself from this list, or to change to digest mode, go to
 http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
 [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
 for learning and helping with programming Lingo.  Thanks!]

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



RE: lingo-l Buddy API

2002-02-20 Thread Sean Wilson

 This code was purchased when I bought my buddy API application. It was an
 add-on offered. Specifically, it is the open PDF file AND the open any
 file behavior.

Should I assume from this that you're not confident about modifying these
behaviors to include an alert line so you can see the filePath you're trying
to open?

Somewhere in your behavior you'll (probably) find a line that contains

baOpenFile(filePath, state) OR baRunProgram(...)

(NB: the local variable 'filePath' may be named differently, substitute as
necessary)

Before this line add these:

if (the shiftDown) then
  alert filePath
end if

Run your program, hold down the shift key and click the button that opens
the file and you SHOULD get an alert box telling you the path to the file
you're trying to open. Make sure the named file exists at that path.
Obviously it doesn't exist,

 It returns a file not found reply.

but if you can see what it's *trying* to open you can figure out how to
correct it.

HTH,
-Sean.

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



RE: lingo-l where are the Lingo-L archives?

2002-02-20 Thread Kraig Mentor

http://hakatai.mcli.dist.maricopa.edu/director/digest/index.html

Regards,
Kraig


Macromedia
606 Townsend
San Francisco, California 94103
U.S.A.

-
Macromedia CONFIDENTIAL AND PROPRIETARY

 -Original Message-
 From: Leah Kramer [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 20, 2002 3:12 PM
 To: [EMAIL PROTECTED]
 Subject: lingo-l where are the Lingo-L archives?
 
 
 Is there a place where you can search the archives for this list?
 
 Thanks!
 
 __
 Do You Yahoo!?
 Yahoo! Sports - Coverage of the 2002 Olympic Games
 http://sports.yahoo.com
 [To remove yourself from this list, or to change to digest 
 mode, go to http://www.penworks.com/lingo-l.cgi  To post 
 messages to the list, email [EMAIL PROTECTED]  (Problems, 
 email [EMAIL PROTECTED]). Lingo-L is for learning and 
 helping with programming Lingo.  Thanks!]
 
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



RE: lingo-l Opening browser

2002-02-20 Thread Sean Wilson

 How do you open browsers pointing to a specific website like 
 macormedia.com using lingo? 

on mouseUp me
  gotoNetPage http://www.macromedia.com;
end

Strangely, this works for me with version 7, 8  8.5, but not 8.5.1!
Anyone else care to try?

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



RE: lingo-l Opening browser

2002-02-20 Thread Kerry Thompson

 How do you open browsers pointing to a specific website like
 macormedia.com using lingo
 
Check the help file for goToNetPage. It usually takes the form of:

goToNetPage http://www.macromedia.com;

Cordially,

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



RE: lingo-l Opening browser

2002-02-20 Thread Sean Wilson

 Strangely, this works for me with version 7, 8  8.5, but not 8.5.1!
 Anyone else care to try?

Sorry, I need to qualify that. It works from an 8.5.1 projector, but not in
the authoring environment. At least, not for me.

-Sean.

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



lingo-l a simple list question!

2002-02-20 Thread Changhsu P. Liu

I'd like to delete some items during a calculation on a list. But, I want 
it intact after all the calculation.
So, I thought I save it to a temporary list and put it back when done.

tempList = initialList
...
all the deleteAt on initialList
...
initialList = tempList -- to get it back so I thought

But, to my surprise when I delete items from initialList, tempList get the 
items deleted too. I can put the initial list content to a field and 
extract them later after calculation. Is there a better way to deal with this?

Thanks for the help,


Changhsu Liu

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



Re: lingo-l a simple list question!

2002-02-20 Thread Colin Holgate

But, to my surprise when I delete items from initialList, tempList 
get the items deleted too. I can put the initial list content to a 
field and extract them later after calculation. Is there a better 
way to deal with this?



Yes:

newlist = duplicate(oldlist)

That will make a copy of the list, instead of just pointing to the 
original list.


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



RE: lingo-l Opening browser

2002-02-20 Thread Sean Wilson

 Is it possible your network 
 preferences have the Launch Browser When Needed option unselected?

Thanks Kraig. That was it.

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



RE: lingo-l a simple list question!

2002-02-20 Thread Sean Wilson

 tempList = initialList.duplicate()
 ^^^

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



RE: lingo-l Opening browser

2002-02-20 Thread Kraig Mentor

Excellent!

:o)


Macromedia
606 Townsend
San Francisco, California 94103
U.S.A.

-
Macromedia CONFIDENTIAL AND PROPRIETARY

 -Original Message-
 From: Sean Wilson
 Subject: RE: lingo-l Opening browser
 
 
  Is it possible your network 
  preferences have the Launch Browser When Needed option unselected?
 
 Thanks Kraig. That was it.
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: lingo-l where are the Lingo-L archives?

2002-02-20 Thread Tab Julius



Someone just posted the prior archives, and since we started the new list 
(in the beginning of this year) you can get the current ones at 
http://mail4.fcgnetworks.net/archives/lingo-l/




At 03:12 PM 2/20/02 -0800, Leah Kramer wrote:
Is there a place where you can search the archives for this list?

Thanks!

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



Re: lingo-l a simple list question!

2002-02-20 Thread Tab Julius



What you're finding out is that lists are passed by reference, so when you 
do tempList=initialList all you are really doing is making an additional 
pointer to the same list.

This can be very helpful, or very problematic, depending on what you're 
trying to accomplish! :)

But you want to actually save off a copy, so what you need to do is this:


   tempList = duplicate(initialList)


- Tab


At 07:24 PM 2/20/02 -0500, Changhsu P. Liu wrote:
I'd like to delete some items during a calculation on a list. But, I want 
it intact after all the calculation.
So, I thought I save it to a temporary list and put it back when done.

tempList = initialList
...
all the deleteAt on initialList
...
initialList = tempList -- to get it back so I thought

But, to my surprise when I delete items from initialList, tempList get the 
items deleted too. I can put the initial list content to a field and 
extract them later after calculation. Is there a better way to deal with this?

Thanks for the help,


Changhsu Liu

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



Re: lingo-l a simple list question!

2002-02-20 Thread Leah D Kramer

I believe that when you assign a list to variable X, that X is a reference
(or pointer) to the original list.  (Unlike other situations like a number
or a string where a copy of the value is stored in X.)  When you change
something via the reference, the original is changed as well.  Lingo
probably does this because lists can potentially be big and you may
inadvertantly take up alot of memory by making lots of copies of it.  To get
what you want done, make X be a copy of the list by using duplicate.


- Original Message -
From: Changhsu P. Liu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 20, 2002 7:24 PM
Subject: lingo-l a simple list question!


 I'd like to delete some items during a calculation on a list. But, I want
 it intact after all the calculation.
 So, I thought I save it to a temporary list and put it back when done.

 tempList = initialList
 ...
 all the deleteAt on initialList
 ...
 initialList = tempList -- to get it back so I thought

 But, to my surprise when I delete items from initialList, tempList get the
 items deleted too. I can put the initial list content to a field and
 extract them later after calculation. Is there a better way to deal with
this?

 Thanks for the help,


 Changhsu Liu

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


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

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



lingo-l modifier keys

2002-02-20 Thread Craig Taylor

Hello everyone,

i'm working on a program where there are about 15 shortcut keys available to
the user - all are a combination of the Ctrl key + an alphanumeric key.
Currently I have placed a similar piece of code in the movie script:

on keyDown
controlKeyDown = the controlDown

if controlKeyDown and (the key = a) then
statement
else
if controlKeyDown and (the key = b) then
statement

etc

end if
end if
end

Is there a less verbose way of doing this.  I have tried a couple of
different case structures, but if its possible, I must have the syntax
wrong.

Also, I tried an earlier message that I am not sure went through.  Some time
ago, I requested assistance with a system menu problem.  It was recommended
that I try the OSControl Xtra.  Did just what I needed - many thanks for the
advice.

Thank you also for any thoughts on the previously mentioned.

Cheers,
--Craig


Craig Taylor
Renegade Digital Media Inc.




Craig Taylor
Renegade Digital Media Inc.

T: 416.930.5206 or 705.733.1996
F: 705-733-0503
M: 30 Summerset Drive, Barrie, ON., L4N 9L7
E: [EMAIL PROTECTED]
www.renegadedigital.com

(digital).video | (interactive).multimedia | (web).solutions |
(DVD).authoring | (live_event).media_support



Craig Taylor
Renegade Digital Media Inc.

T: 416.930.5206 or 705.733.1996
F: 705-733-0503
M: 30 Summerset Drive, Barrie, ON., L4N 9L7
E: [EMAIL PROTECTED]
www.renegadedigital.com

(digital).video | (interactive).multimedia | (web).solutions |
(DVD).authoring | (live_event).media_support

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



Re: lingo-l modifier keys

2002-02-20 Thread Irv Kalb

Try this structure:

on keyDown
   if the controlDown then
 case the key of
  a:
   -- do something for a
  b:
 -- do something for b
  ...  etc.
  end case
   end if
end

Feel free to put the controlDown and/or the key into local 
variables at the top if you wish (helps with debugging).

Irv


At 9:26 PM -0800 2/20/02, Craig Taylor wrote:
Hello everyone,

i'm working on a program where there are about 15 shortcut keys available to
the user - all are a combination of the Ctrl key + an alphanumeric key.
Currently I have placed a similar piece of code in the movie script:

on keyDown
controlKeyDown = the controlDown

if controlKeyDown and (the key = a) then
statement
else
if controlKeyDown and (the key = b) then
statement

etc

end if
end if
end

Is there a less verbose way of doing this.  I have tried a couple of
different case structures, but if its possible, I must have the syntax
wrong.

Also, I tried an earlier message that I am not sure went through.  Some time
ago, I requested assistance with a system menu problem.  It was recommended
that I try the OSControl Xtra.  Did just what I needed - many thanks for the
advice.

Thank you also for any thoughts on the previously mentioned.

Cheers,
--Craig


Craig Taylor
Renegade Digital Media Inc.




Craig Taylor
Renegade Digital Media Inc.

T: 416.930.5206 or 705.733.1996
F: 705-733-0503
M: 30 Summerset Drive, Barrie, ON., L4N 9L7
E: [EMAIL PROTECTED]
www.renegadedigital.com

(digital).video | (interactive).multimedia | (web).solutions |
(DVD).authoring | (live_event).media_support



Craig Taylor
Renegade Digital Media Inc.

T: 416.930.5206 or 705.733.1996
F: 705-733-0503
M: 30 Summerset Drive, Barrie, ON., L4N 9L7
E: [EMAIL PROTECTED]
www.renegadedigital.com

(digital).video | (interactive).multimedia | (web).solutions |
(DVD).authoring | (live_event).media_support

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


-- 

Lingo / 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/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 shockwave search engine?

2002-02-20 Thread Steve Bolton

Hi all,

Just wondering if it's possible to make a simple search engine to search
through a small intranet website. Obviously it wold be necessary to open
the HTML - I gather fileIO will not work from a shockwave file. Is there a
workaround?

Thanks in advance,

Steve Bolton
Steve Bolton
Language Trainer
IALF Bali

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



Re: lingo-l modifier keys

2002-02-20 Thread rani op


Hai..

I hope this will be helpful to you to solve your problem.

write the script in this way...

if the ControlDown then
case (the key) of
a:  statement
b:  statement
.
.
.
end case
end if

Rani



On Thu, 21 Feb 2002 Craig Taylor wrote :
 Hello everyone,
 
 i'm working on a program where there are about 15 
 shortcut keys available to
 the user - all are a combination of the Ctrl key + an 
 alphanumeric key.
 Currently I have placed a similar piece of code in the 
 movie script:
 
 on keyDown
 controlKeyDown = the controlDown
 
 if controlKeyDown and (the key = a) then
 statement
 else
 if controlKeyDown and (the key = b) then
 statement
 
 etc
 
 end if
 end if
 end
 
 Is there a less verbose way of doing this.  I have 
 tried a couple of
 different case structures, but if its possible, I must 
 have the syntax
 wrong.
 
 Also, I tried an earlier message that I am not sure 
 went through.  Some time
 ago, I requested assistance with a system menu problem. 
  It was recommended
 that I try the OSControl Xtra.  Did just what I needed 
 - many thanks for the
 advice.
 
 Thank you also for any thoughts on the previously 
 mentioned.
 
 Cheers,
 --Craig
 
 
 Craig Taylor
 Renegade Digital Media Inc.
 
 
 
 
 Craig Taylor
 Renegade Digital Media Inc.
 
 T: 416.930.5206 or 705.733.1996
 F: 705-733-0503
 M: 30 Summerset Drive, Barrie, ON., L4N 9L7
 E: [EMAIL PROTECTED]
 www.renegadedigital.com
 
 (digital).video | (interactive).multimedia | (web)
 .solutions |
 (DVD).authoring | (live_event).media_support
 
 
 
 Craig Taylor
 Renegade Digital Media Inc.
 
 T: 416.930.5206 or 705.733.1996
 F: 705-733-0503
 M: 30 Summerset Drive, Barrie, ON., L4N 9L7
 E: [EMAIL PROTECTED]
 www.renegadedigital.com
 
 (digital).video | (interactive).multimedia | (web)
 .solutions |
 (DVD).authoring | (live_event).media_support
 
 [To remove yourself from this list, or to change to 
 digest mode, go to h
st, email 
 [EMAIL PROTECTED]  (Problems, email 
 [EMAIL PROTECTED]). Lingo-L is for learning and 
 helping with programming Lingo.  Thanks!]
 

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



Re: lingo-l modifier keys

2002-02-20 Thread rani op


Hai..

I hope this will be helpful to you to solve your problem.

write the script in this way...

if the ControlDown then
case (the key) of
a:  statement
b:  statement
.
.
.
end case
end if

Rani



On Thu, 21 Feb 2002 Craig Taylor wrote :
 Hello everyone,
 
 i'm working on a program where there are about 15 
 shortcut keys available to
 the user - all are a combination of the Ctrl key + an 
 alphanumeric key.
 Currently I have placed a similar piece of code in the 
 movie script:
 
 on keyDown
 controlKeyDown = the controlDown
 
 if controlKeyDown and (the key = a) then
 statement
 else
 if controlKeyDown and (the key = b) then
 statement
 
 etc
 
 end if
 end if
 end
 
 Is there a less verbose way of doing this.  I have 
 tried a couple of
 different case structures, but if its possible, I must 
 have the syntax
 wrong.
 
 Also, I tried an earlier message that I am not sure 
 went through.  Some time
 ago, I requested assistance with a system menu problem. 
  It was recommended
 that I try the OSControl Xtra.  Did just what I needed 
 - many thanks for the
 advice.
 
 Thank you also for any thoughts on the previously 
 mentioned.
 
 Cheers,
 --Craig
 
 
 Craig Taylor
 Renegade Digital Media Inc.
 
 
 
 
 Craig Taylor
 Renegade Digital Media Inc.
 
 T: 416.930.5206 or 705.733.1996
 F: 705-733-0503
 M: 30 Summerset Drive, Barrie, ON., L4N 9L7
 E: [EMAIL PROTECTED]
 www.renegadedigital.com
 
 (digital).video | (interactive).multimedia | (web)
 .solutions |
 (DVD).authoring | (live_event).media_support
 
 
 
 Craig Taylor
 Renegade Digital Media Inc.
 
 T: 416.930.5206 or 705.733.1996
 F: 705-733-0503
 M: 30 Summerset Drive, Barrie, ON., L4N 9L7
 E: [EMAIL PROTECTED]
 www.renegadedigital.com
 
 (digital).video | (interactive).multimedia | (web)
 .solutions |
 (DVD).authoring | (live_event).media_support
 
 [To remove yourself from this list, or to change to 
 digest mode, go to h
st, email 
 [EMAIL PROTECTED]  (Problems, email 
 [EMAIL PROTECTED]). Lingo-L is for learning and 
 helping with programming Lingo.  Thanks!]
 

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



lingo-l refreshing image info in ext. cast

2002-02-20 Thread Slava Paperno

I have external casts with bitmap members, all linked to tif files. I've 
edited a bunch of tif files to change their dimensions. When I play the 
movie, the images are displayed in their new dimensions, and the property 
inspector shows correctly the new dimensions of all images. But this:

put member(i, Images). rect

continues to show the old dimensions for all edited images. The only 
explanation I can think of is that the older dimensions were stored in the 
cst file and have not been refreshed after the images were resized.

Doing this:

member(i, Images). filename = D:\Images\FileName.tif

does cause the sizing info to be refreshed correctly for the image--but 
looping with Lingo through all images in all casts is a nuisance, and seems 
like a crude force way of doing it. I can't help thinking there should be a 
smarter way to tell the cast to refresh its info. Save and Compact the cast 
doesn't do it.

Is there a smarter way?


Slava

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