Re: lingo-l flash/director

2004-05-15 Thread Fabrice Closier
There is also a bug with local connection.
I've used it a few time, but notices a bug in the Flash player.
the problem is that the connection not always stays up when the  
connection is made on frame 1, in an almost blank swf.
The problem is on the send connection object side.

i was using it lately in relation popup html and flash.
the work arround is to build the connection, destroy it, build it,  
destroy it until you got the var.
of course this is not the way to go when you want to communicate a lot  
between swf, but if you just want to tell flash for example that a file  
is uploaded from an html upload popup en clear the popup, here is the  
work arround. it will spare you the search as well if the bug occurs.

function ConnectMe() {
	outgoing_lc = new LocalConnection();
	outgoing_lc.send(lc_UploaderConnect, resultFileUpload, bsuccess,  
strFilename, strFeedback);
	delete outgoing_lc;
}
connectID = setInterval(ConnectMe, 50);

Fabrice
On 11-mei-04, at 18:49, Thomas Higgins wrote:
Have swf1 tell Director to tell swf2 to do it?
(have a handler in Director to be the intermediary)
Or if you're in Director MX or MX 2004, and you're authoring your SWF  
files
using Flash MX or MX 2004, then just use a LocalConnection object in  
each of
your SWF's, give them separate names and send messages back and forth
directly between the two, avoiding Director as an intermediary  
altogether.

Here's a demo doing exactly this (having SWF's talk to each other using
LocalConnection objects):
http://poppy.macromedia.com/~thiggins/flash_integration/ 
localconnection_simp
lechat/index.htm

Source code provided at the link above so you can see how it's all  
done.

Cheers,
Tom Higgins
Product Manager - Director Team
Macromedia
...
[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 Flash components

2004-01-30 Thread Fabrice Closier
Some are AS2, some are just updated AS1, but they are now precompiled.
You also kan use FMX components en drop them in the comp.fla folder and 
use them without problems in FMX04 if you program Flash in AS1.

Fabrice

On 30-jan-04, at 20:17, grimmwerks wrote:

There's no way of using the built in flash components in fmx04 (ie 
popup)
within director, is there? They seem to be as2.

[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 Mailto script for atachment

2003-12-27 Thread Fabrice Closier
at http://nl3.php.net/manual/en/ref.mail.php
there are some nice PHP solutions for this...
php is free and runs almost on anything...

Fabrice



On 23-dec-03, at 18:49, Diego Landro wrote:

I would love to have them too and test them for you. I´ve been looking
for these Xtras for a while and couldn´t find anything of the sort. 
If
it´s OK with you i´d like to expriment a little with them and see if
they are what i need for my present development. If you can, you can
send them to my private mail adress ([EMAIL PROTECTED])
Thanks

Diego Landro
Ciudad de Buenos Aires - Argentina
-Mensaje original-
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] En nombre de Valentin
Schmidt
Enviado el: Martes, 23 de Diciembre de 2003 01:40 p.m.
Para: [EMAIL PROTECTED]
Asunto: Re: lingo-l Mailto script for atachment
Hi Hiya,

I'm not sure if you can pass attachments with a mailto-url. but in case
you want to try something different, I'm in the process of writing
parent scripts (SMTP CLASS and POP CLASS) for sending and 
retrieving
email with lingo and Multiuser xtra. Those scripts support sending and
receiving of MIME mail and attachments. They are still beta, not
sufficiently tested yet, but in case you are interested, I can send 
them
to you.

valentin

Hiya Multimedia wrote:
Hi everybody,

I need help on how to attach a file to an html script with mailto
protocol. I want to attach particular jpg, zip or rtf files to the
mail. I am using this in a product catalogue to mail details with a
single click
Plz help me considering me as a layman with the code. Thank you

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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.547 / Virus Database: 340 - Release Date: 02/12/2003
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.547 / Virus Database: 340 - Release Date: 02/12/2003


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



[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 Changing name of a file

2003-12-14 Thread Fabrice Closier
Warren, Sean, thanks,
The method Sean discribe, baCopyFile is the one i'am using now,
Also use something similar using PHP on another flash project.
but I would love to just change the filename.
Now, i need to open and duplicate the original, them change name of the 
destfile, then delete the original one.
I thought there were other solutions to this.

Fabrice
On 14-dec-03, at 1:43, Sean Wilson wrote:

is it possible to change the name of a file via Director?
i mean, i want to offer a way to rename an already outputed textfile, 
myfirstname.txt --- secondname.txt

en eventually to move the file into another directory?
You could use Buddy API's baCopyFile() method, or you might even be 
able to use downLoadNetThing() and provide fully qualified paths for 
both the URL and localFile parameters.

-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 Changing name of a file

2003-12-14 Thread Fabrice Closier
don't tell me...
shame on me...
i've rechecked the BA function list its true, its there...

i need a break!

thanks!

Fabrice

On 14-dec-03, at 20:42, Troy Rollins wrote:

On Sunday, December 14, 2003, at 02:12  PM, Fabrice Closier wrote:

The method Sean discribe, baCopyFile is the one i'am using now,
Uh... baRenameFile?

--
Troy
RPSystems, Ltd.
http://www.rpsystems.net
[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 Changing name of a file

2003-12-13 Thread Fabrice Closier
Hi all,
a little question,
is it possible to change the name of a file via Director?
i mean, i want to offer a way to rename an already outputed textfile, 
myfirstname.txt --- secondname.txt

en eventually to move the file into another directory?

how to?

Fabrice

[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 Central

2003-06-20 Thread Fabrice Closier
Hi all,
is there some known issues, the release date, the howto on Central 
already? somewhere outside M site?

Fabrice

[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 just started!!

2003-04-12 Thread Fabrice Closier
If you use Director for illustration purposes, you must be quite 
inventive, because Dir is not really made for it.
Just open the helpfiles en try some of the formula's given on synthax 
you don't understand.
3 month is short if your boss plan to distribute a multiuser game in 3d,
but to build things like slideshows, with little things as urls', 
sounds when mouse is pressed etc, it should be no problem. Amazing wat 
simple goto's can do when nicely designed...
about the links... just Google a bit on keywords like director, 
lingo etc...

One more thing, if you now need to lingo, why starting with an already 
old version? ... hum  might be wize to wait 3 month and a week to 
ask for an MX update...

Fabrice
PS: Tough boss you got there...


On Saturday, April 12, 2003, at 12:59 AM, Christin Deraed wrote:

Hej guys!

I´ve been working with Director as an illustrator for a couple of 
years but
never
been programing and really do mean never!!
My boss  gives three month to learn. What chance do i have? Would it be
possible
for somebody to point me to the right direction and give me some good 
links.
I really want
to make it!!! My job depends on it
I have director 8.

Best regards /Christin



[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 moveable

2003-04-03 Thread Fabrice Closier
on mousedown
  sprite(me.spriteNum).locH = the mouseH
end
On Thursday, April 3, 2003, at 11:20 PM, Howdy-Tzi wrote:
if pbDragging = TRUE then
  sprite(me.spriteNum).locH = the mouseH
end if
[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 another CDPro question

2003-03-09 Thread Fabrice Closier
got shockwave error online
but looked at your code, you might think of double checking after 
initializing,
if (cd) then...
if (Ready(cd)) then ...
else
status(cd)
Also you could see if it plays by directly targeting the track, using 
SetPosition(cd, 12, 0, 42, 0)
this because of difference beetween cd's formatering; files...

all you need is there:
http://www.penworks.com/xtras/cdpro/docs.cgi
Fabrice
On Saturday, March 8, 2003, at 11:10 PM, Fletcher Moore wrote:
Well, I did something slightly more drastic: I made a new movie with
absolutely nothing but the CD handlers. The problem still occurs, but
somewhat erratically. Sometimes it appears, sometimes not. It seems to 
be
particularly an issue when I let the track play for a few seconds.

Here's the movie:

http://www.saltydogdesign.com/cd/testCD.html

And if anyone wants to verify my code, here's the source:

http://www.saltydogdesign.com/cd/testCD.dir

I have a suspicion that my hardware is at fault, but not sure. If 
anyone
wants to pop a CD in their machine and give it a shot, I'd love the 
feedback
(of course, you need the CDPro xtra installed on yer machine).

f

From: Fabrice Closier [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date: Sat, 8 Mar 2003 21:07:24 +0100
To: [EMAIL PROTECTED]
Subject: Re: lingo-l another CDPro question
i would first play with those to see what happens, just to test the
handler, but without using the flash sprite
global cd
set isNotplaying =Stopped(cd) //return true when CD is stopped
set isPlaying =Playing(cd) //return true when CD is playing
if(isPlaying) then stop(cd)etc
if everything's going wel, i would then look at the sprite flash
handler...
Fabrice



On Saturday, March 8, 2003, at 08:23 PM, Fletcher Moore wrote:

Ok, I'm using CDPro in a Shockwave movie. On my production machine
(Mac,
OS9.2.2), whenever I play a CD, the whole system becomes very
unresponsive
(I don't know if it happens on other machines yet). I have a stop
button,
for example, which, when pressed, takes almost 10 seconds to respond.
I know it doesn't have to be this way, because my client has 
Shockwave
movies that use CDPro and work fine. Unfortunately they don't have 
the
source files.

This will be packaged as a projector for those users that want it 
that
way,
but the projector will have to be installed -- this is not an 
enhanced
CD
issue, and doesn't involve the CD head trying to read two places at
once.

The function calls are simple: the stop button, for example, sets a
Flash
sprite to a particular frame, then calls Stop(cd). Nothing fancy. The
Flash
sprite has a short function, but again, nothing fancy. It works fine
without
the CD function.
Any thoughts? If I can't get it to work properly, I'm in hot water --
the
project requires fairly close synchronization with the CD.
Thanks,
Fletch
[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!]

[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 rew MPEG _ sorting lists

2003-03-09 Thread Fabrice Closier
yep, quite a short one...
Mylist.sort
Fabrice
On Sunday, March 9, 2003, at 04:55 PM, Craig Taylor wrote:
Hi all,

I have two unrelated queries.  Both of them I have come up with 
workable
solutions, but both seem cumbersome.  There must be a better way!

1.  When using DirectMediaXtra, it does not support a negative 
movieRate.
Has anyone written a behavior that rewinds an MPEG1 file somewhat 
smoothly?
(I don't have the option of running the MPEG file in a QT shell.)

2. Assuming I have a list as such:

[[apple,2003], [about,2000], [avocado,2003], [apple,1998],
[angle,2000], [atrocity, 2003]]
I need to first sort the list by year (most recent first) and then
alphabetize the first item within each year, giving the following 
result:

-- [[apple,2003], [atrocity, 2003], [avocado,2003], 
[about,2000],
[angle,2000], [apple,1998]]

Is there a simple way of doing this that I am missing.  Please point 
me in
the right direction...

Thanks,
-_Craig
Craig Taylor
Renegade Digital Media Inc.
E: [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 another CDPro question

2003-03-08 Thread Fabrice Closier
i would first play with those to see what happens, just to test the 
handler, but without using the flash sprite
global cd
set isNotplaying =Stopped(cd) //return true when CD is stopped
set isPlaying =Playing(cd) //return true when CD is playing

if(isPlaying) then stop(cd)etc
if everything's going wel, i would then look at the sprite flash 
handler...

Fabrice



On Saturday, March 8, 2003, at 08:23 PM, Fletcher Moore wrote:

Ok, I'm using CDPro in a Shockwave movie. On my production machine 
(Mac,
OS9.2.2), whenever I play a CD, the whole system becomes very 
unresponsive
(I don't know if it happens on other machines yet). I have a stop 
button,
for example, which, when pressed, takes almost 10 seconds to respond.

I know it doesn't have to be this way, because my client has Shockwave
movies that use CDPro and work fine. Unfortunately they don't have the
source files.
This will be packaged as a projector for those users that want it that 
way,
but the projector will have to be installed -- this is not an enhanced 
CD
issue, and doesn't involve the CD head trying to read two places at 
once.

The function calls are simple: the stop button, for example, sets a 
Flash
sprite to a particular frame, then calls Stop(cd). Nothing fancy. The 
Flash
sprite has a short function, but again, nothing fancy. It works fine 
without
the CD function.

Any thoughts? If I can't get it to work properly, I'm in hot water -- 
the
project requires fairly close synchronization with the CD.

Thanks,
Fletch
[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 RE: CDPro in Director MX

2003-02-22 Thread Fabrice Closier
Yes Tad,
i'am in this group of users...
for me if you could cacoaTize the plug-in with only functions as
- scan van all available ports/mac/win
- win cd port +label
- is cd ready /mounted
only this would be enough to me... until full release...
Fabrice

On Saturday, February 22, 2003, at 03:02 AM, Tab Julius wrote:

We could possibly do a little CDInfo sort of Xtra, if people find 
that helpful, but as far as stripping out ECD support, that doesn't 
add a whole lot - most of it is playback control, timing, etc.  
Stripping out redbook control would leave you with CD Info.  Actual 
ECD just means (from CD Pro point of view) knowing that there's a data 
portion, and more work is really on the other software side.  But if 
that will satisfy a number of people we can probably do something like 
that soon.

As someone once said, Time is just God's way of keeping everything 
from happening all at once.  We need a little bit of time; but we 
will advance the effort.

- Tab
[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 CDPro in Director MX

2003-02-18 Thread Fabrice Closier
Hope soon... i need it too!!

Fabrice
On Tuesday, February 18, 2003, at 08:28 PM, Tab Julius wrote:



No pre-MX Mac Xtras will work in MX.  MX is written to OS/X native 
mode, which is a different operating system than pre-OS/X.

Before MX, you were creating a classic application (old-style Mac) 
which OS/X ran in emulation mode (not technically correct, but close 
enough).  Director MX for Mac is a very different set of code, and all 
Mac Xtras have to be rebuilt for MX.

Some of them will be easy to rebuild, but CD Pro does a lot of 
internal tricky Mac stuff, most of which probably won't work in OS/X 
native.

The beta on Director MX was just too short for us to rewrite CD Pro 
for MX.  We will most likely have to do a rewrite; we will release an 
MX version, but don't have a release time yet.

- Tab

At 01:55 PM 2/18/03, Fletcher Moore wrote:
Penworks' CDPro doesn't seem to work in Director MX. While I'm not 
totally
surprised by this, given that it is not the same as the old Mac OS, 
it puts
me in a major bind -- I've got a project for a client that requires 
it.

Has anyone else run into this problem? Does anyone have a
solution/workaround? Does anyone know if a port is planned?

Thanks in advance.

[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 longDate again

2003-02-18 Thread Fabrice Closier
I've done that in flash using a simple if else relative to day number, 
0 to 6.
in order to translate to dutch...

I guess Director or Flash would need sort of a language lib, that would 
be loaded at will, bit same as the browsers on macOSX or system itzelf, 
where you can set desired languages at runtime.

Fabrice
On Tuesday, February 18, 2003, at 08:58 PM, Phil Gross wrote:

True, for most regional settings, but some do not show the Day. I just 
happened to be experimenting with setting my system to French 
Canadian. The long date there gets me

put the long date
-- 18 février, 2003

Which is why I asked. What would be nice would be if the system would 
give me a day-of-the-week, in the proper language (and calendar). Not 
even Flash will do that.  How about:

put (the systemDate).Mayan.dayOfTheWeek

-Phil
(I haven't tested this extensively, but Win98 gets me that French 
Canadian output)

Buzz Kettles wrote:

At 9:14 AM -0800 2/18/03, you wrote:

Is there a way to reliably get the day of the week from the longDate
or systemDate? Across all regional settings?

I can do it in Flash, but was wondering if there is some Lingo
property I'm not aware of.

-Phil


'the long date' returns a string  you can tear it out of that

on getDayOfWeek
   x = the long Date
   old = the itemDelimiter
   the itemDelimiter = ,
   theDay = x.item[1]
   the itemDelimiter = old
   return theDay
end

put getDayOfWeek()
-- Tuesday

However - 'the long date' doesn't work well across languages -
you might need to add a case statement to change the extracted item

so it's easier to use the systemDate() with a base date as a reference

on getDay
   baseDate = date( 2003, 1, 5 ) -- first Sunday of this year (it can
be any Sunday in the past)
   days = [Sunday, Monday, Tuesday, Wednesday, Thursday,
Friday, Saturday]
   return days[(the systemDate - baseDate) mod 7 + 1]
end

put getday()
-- Tuesday

hth
-Buzz
[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 Web Services

2003-02-14 Thread Fabrice Closier
Thanks,
yes, we have at work coldfusion running on our servers...
i've also found some info's on that today, as a matter of fact i've  
also heard i will be involved for an upcoming job thabt will use this  
kind of technologie... without director, just falsh and coldfusion
so i guess i need to quick learn the tricks...

fabrice
On Thursday, February 13, 2003, at 11:10 PM, Mathew Ray wrote:

Fabrice,

You would use Flash Remoting and ColdFusion MX to access the web  
service
Using the flash sprite in director you would remote to coldFusion, it  
uses
the SOAP protocol to get stuff from the web service, and relays the  
info
back to flash using Remoting. Then flash would relay that back into
director... Kinda complicated, and as of now, I think it only supports  
CF...
Supposedly a version of the Remoting components were going to be  
released
for JDBC and PHP (for a nominal fee).

If you want to get around this stumbling-block, Alessandro Crugnola has
started reverse-engineering the AMF protocol that enables Flash  
Remoting for
PHP... If you feel like getting your hands dirty, and you want to use  
PHP,
this may be the way to go...
http://sourceforge.net/projects/amfphp


If you have the ability to take advantage of ColdFusion MX then here  
is an
example using just flash...
http://www.macromedia.com/support/flash/flashremoting/ 
consuming_ws_using_cfm
x/consuming_ws_using_cfmx03.html

Here is another one that uses google's web service...
http://www.macromedia.com/support/flash/applications/google_search/


Hope that helps!
~Mathew

- Original Message -
From: Fabrice Closier [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 13, 2003 2:49 PM
Subject: Re: lingo-l Web Services


Can you do that in flash?
i know how to retrieve using the bytesloaded and bytestotal in flash
but thats always compare to itzelf,
how do you manage to use flash to record if something outside the swf
is being loaded...
also that flash could give you some usable information about the web
services... on the way getNetthing does report... Flash remote might  
do
that but...
i know it is a bit out of topic, but if you could dev a bit, show the
AS trick...


Fabrice
On Thursday, February 13, 2003, at 03:08 PM, Mathew Ray wrote:

My first inclination is to use flash as an intermediary inside of
director... Let flash interact with the web services and when it is
done, it
can let director know so that director can take that information and  
do
stuff with it. There are some articles out there regarding the  
Flashcom
server and its integration into director, I would image integrating  
web
services wouldn't be terribly different. Also keep in mind that
DirectorMX's
new flash mx support allows it to create AS objects on the fly  
without
any
flash sprites presentmay be helpful.

~Mathew

- Original Message -
From: pjg [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 13, 2003 1:21 AM
Subject: lingo-l Web Services


Hi all,

I haven't been actively involved in the lingo list for some time now
(although that is soon set to change). I was wanting to know if
anyone on
this list has had some experience using web services with director.
If so

do

you know of any good resources for integrating and working with web

services

and director. Seems that Macromedia has heaps of documentation on  
web
services and flash but little (if not nothing) on web services and
director.


Any assistance is greatly appreciated!

Paul





[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 sound loop question

2003-02-09 Thread Fabrice Closier
Got this book right in fromt of me, nothing in the explained lingo 
describe the sound file.
Got to have the compagnon cd somewhere, but if someone need the titel: 
Lingo for Director 5, Authorized from macromedia.

The original script shown into the book was originally writen bij Pulse 
entertainment and was designed for the Iron Helix game.

Fabrice


On Sunday, February 9, 2003, at 05:33 AM, Sean Wilson wrote:



I'm looking at an old Director movie with a sound in it. The sound is 
internal, and I don't have the source file to investigate. This sound 
starts with a rising pitch, reaches some point and stays there 
(actually, think of the sound of a car starting out and then reaching 
cruising
speed). When I turn looping on for the sound, it does the starting 
out, gets to the cruising and loops on the cruising - the starting 
out part is not repeated in the looping.
Can anyone offer a guess what was done to allow/cause this sound to 
work like this?

I don't know that I can tell you how to reproduce this yourself, only 
that I've seen a similar sound file in one of MM's Training from the 
Source-type CDs that came with a Peachpit Press book. The movie file 
involves animating a mechanical arm to move up and down the left side 
of the stage and a series of cast members to swap that shows the arm 
extending and retracting. The sound file that comes with this movie 
does exactly what you describe - when you turn on looping it does so 
not from the start of the file but from some point into the file. I 
realize that this should be achievable with (newer) sound lingo, but 
this file worked in D7, before any of that was available.

I've never heard of any explanation of how to achieve this, but looked 
around in Sound Forge for possible options and thought I'd found one 
that looked promising, but having just had another quick look I can't 
find what it was and it was years ago I was trying to recreate this 
effect.

Perhaps Buzz has some ideas?

-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 director books

2003-02-07 Thread Fabrice Closier
i'am reading right now; OOP with As by S.Wan and Branden Hall.
Also great, Colin Moock AS... bu there are tons of great FlashMX books
just peek at your level, there is one for every step.

Fabrice


On Friday, February 7, 2003, at 05:24 PM, Quixadá wrote:


hi, guys
thanks to all who answered my question. i´ll get both. and btw, if you 
could recommend a good book for flash mx actionscript, i´d be more 
thankful.
regards,
q


[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 director books

2003-02-07 Thread Fabrice Closier
oo?? Great!

Fabrice
On Friday, February 7, 2003, at 11:52 PM, Buzz Kettles wrote:


At 8:41 PM +0100 2/5/03, you wrote:

I've started learning 3d in director with Phil Gross's book.
got all i needed to know in the book. even if its quite a big one, 
found it not big enough on certain issues, if Phil's planning to 
expend it, i'll certainly wil buy the sequel.

I understand that he's working on it now


[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 director books

2003-02-05 Thread Fabrice Closier
I've started learning 3d in director with Phil Gross's book.
got all i needed to know in the book. even if its quite a big one, 
found it not big enough on certain issues, if Phil's planning to expend 
it, i'll certainly wil buy the sequel.

Fabrice
On Wednesday, February 5, 2003, at 06:15 PM, Colin Holgate wrote:


Title: Director Shockwave Studio Developer's Guide
Author: James Newton

and

Title: Director's Third Dimension: Fundamentals of 3D Programming in 
Director 8.5
Author: Paul Catanese

do you think it´s worthy to buy both or just one of them is enough?


Get both, especially if you want to get into 3D a lot.



[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 Creating a cuepointing tool - Lingo version

2003-02-04 Thread Fabrice Closier
Sorry, i'am mac based... and i was just dropping down the info without 
being in middel of this topic, i just though it might help...

used per coincidence last week SoundEdit cuepoints, work really 
amazingly wel.
if you have the footage QT, why don't you extract the sound and import 
both into dir? you could then sync without a hitch...
specially if you confirm that SF supports cuepoints on wav files. QT 
footage is pretty easy to check, then if you could let loop both on two 
frames, with a pretty general script, things might not be such a 
challenge...

But i'am pretty sure you might need something else... we mostly need 
different solutions in most cases!!
but again, i was just in the neighborhood of this topic, saw light, 
read a few lines...

Fabrice
On Tuesday, February 4, 2003, at 10:43 AM, MMCR wrote:

Well back in '99 when I was trying to do this SoundForge v4 only did 
cue
points on wave files and not on QuickTime on the PC! Be good news if
that has changed. Can you let me know?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Fabrice
Closier
Sent: 03 February 2003 20:14
To: [EMAIL PROTECTED]
Subject: Re: lingo-l Creating a cuepointing tool - Lingo version


if i recall, Soundforge supports Cuepoints on PC the very same way
SoundEdit does on mac...

Fabrice
On Monday, February 3, 2003, at 12:27 PM, MMCR wrote:

Woking on the PC I had this problem many years ago as there was no PC
software for putting cue points into a QuickTime file back then (and
still today I think). So I approached it from a Lingo level and wrote
a behavior that simulates the effect of cuepoints by just using
counting the amount of time the QT sprite has been playing. Works very



well and I have used it on several CD-ROM projects to great effect. It



also removes
the messy business of having to edit in the QT CuePoints in the first
place!


-- Wait for QuickTime cue point in seconds
-- Written by Kevin Boyd 11 Nov 99 [EMAIL PROTECTED]

-- Put on a QT sprite

property spriteNum

property myCuePoint -- in seconds

on exitFrame me
  myMember = sprite(spriteNum).member
  myScale = the digitalVideoTimeScale
  myMovieTime = sprite(spriteNum).movieTime

  if myMovieTime  (myCuePoint* myScale) then
go to the frame
  end if

end

on getPropertyDescriptionList me
  set p_list = [ \
 #myCuePoint: [ #comment:   Number of seconds to wait:, \
 #format:   #float, \
#default:   1.0] \
   ]
  return p_list
end


on getBehaviorDescription
  return Simulates waiting for a Quick Time Cue Point RETURN 
Parameter: Number of seconds to wait
end

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



[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 Creating a cuepointing tool - Lingo version

2003-02-04 Thread Fabrice Closier
Sorry, i'am mac based... and i was just dropping down the info without 
being in middel of this topic, i just though it might help...

used per coincidence last week SoundEdit cuepoints, work really 
amazingly wel.
if you have the footage QT, why don't you extract the sound and import 
both into dir? you could then sync without a hitch...
specially if you confirm that SF supports cuepoints on wav files. QT 
footage is pretty easy to check, then if you could let loop both on two 
frames, with a pretty general script, things might not be such a 
challenge...

But i'am pretty sure you might need something else... we mostly need 
different solutions in most cases!!
but again, i was just in the neighborhood of this topic, saw light, 
read a few lines...

Fabrice
On Tuesday, February 4, 2003, at 10:43 AM, MMCR wrote:

Well back in '99 when I was trying to do this SoundForge v4 only did 
cue
points on wave files and not on QuickTime on the PC! Be good news if
that has changed. Can you let me know?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Fabrice
Closier
Sent: 03 February 2003 20:14
To: [EMAIL PROTECTED]
Subject: Re: lingo-l Creating a cuepointing tool - Lingo version


if i recall, Soundforge supports Cuepoints on PC the very same way
SoundEdit does on mac...

Fabrice
On Monday, February 3, 2003, at 12:27 PM, MMCR wrote:

Woking on the PC I had this problem many years ago as there was no PC
software for putting cue points into a QuickTime file back then (and
still today I think). So I approached it from a Lingo level and wrote
a behavior that simulates the effect of cuepoints by just using
counting the amount of time the QT sprite has been playing. Works very



well and I have used it on several CD-ROM projects to great effect. It



also removes
the messy business of having to edit in the QT CuePoints in the first
place!


-- Wait for QuickTime cue point in seconds
-- Written by Kevin Boyd 11 Nov 99 [EMAIL PROTECTED]

-- Put on a QT sprite

property spriteNum

property myCuePoint -- in seconds

on exitFrame me
  myMember = sprite(spriteNum).member
  myScale = the digitalVideoTimeScale
  myMovieTime = sprite(spriteNum).movieTime

  if myMovieTime  (myCuePoint* myScale) then
go to the frame
  end if

end

on getPropertyDescriptionList me
  set p_list = [ \
 #myCuePoint: [ #comment:   Number of seconds to wait:, \
 #format:   #float, \
#default:   1.0] \
   ]
  return p_list
end


on getBehaviorDescription
  return Simulates waiting for a Quick Time Cue Point RETURN 
Parameter: Number of seconds to wait
end

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



[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 printomatic OSX?

2003-01-28 Thread Fabrice Closier
yes saw something about a OSX version, but nothing on the lite 
version...
fabrice
On Tuesday, January 28, 2003, at 11:10 PM, [EMAIL PROTECTED] 
wrote:


Oh? There's a full one for osx? Pay update?

Guess I'll have to go look myself...

On Tue, 28 Jan 2003, Fabrice Closier wrote:


Hi all,
was out since begining december, new job, own business started
missed the list...

anyway, back on the list..

Is there a Printomatic_lite xtra OSX yet, could only find trace of the
fullone for OSX..

Fabrice

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



lingo-l Xtra's OS9 in authoring mode DMX

2002-12-23 Thread Fabrice Closier
Hi All,
I've played further with DMX (as many of us i guess)...
How to author in DMX for 9.x? I wanted to update an old movie where the 
printomatic lite xtra was used. I've placed it into the 0s9 folder, but 
i keep getting errors, xtra not found. Tried BA and got same result. 
(there is now a 1.4. OSX beta available)

Is it possible to use xtra's for OSX, 9.x or both in order to initialize 
them in author mode? Or do we need to place both OSX and 9.x at same 
time to export both? What about xtra's that are not upgraded to OSX? 
What about little syntax differences beetween xtra's versions? How to 
test the xtra lingo if they are different?

I know this is only a question of time and all xtra's will be OSXized 
and 9.x will no more be used, but i know quite a lot of people still 
running macs beetween 8.5 and 9.2.2... before OS9 is only a memory it 
will takes a few months if no years, on this side of the ocean anyway.

Or is there a special button Switch mode in the real DMX to allow 
this? Sinds i've just ordered a new Mac, need to a few weeks to refill 
that PiggySparePot of mine and therfor i now only experience the trial 
DMX.

Fabrice

[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 speech

2002-12-20 Thread Fabrice Closier
installed DMX 2 days ago, en now got a mail saying there is an update on 
trial because it was buggy on the speech thing... unstalled the old one, 
installed the new one, but no speech at all.
how do you make the speech running? got nothing in lib, no xtra...
if i put servicevoice()  as describe in note at M site, got handler not 
definied, so i guess the xtra is just ain't there at all...or i'am 
totally blind.

someone can point me out the way to give a voice to my texts?

Fabrice

[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 speech

2002-12-20 Thread Fabrice Closier
no, mac OSX 10.1.5

2702NET heeft op vrijdag 20 december 2002 om 15:04 het volgende 
geschreven:

Are you running Windows? Do you have a Microsoft SAPI TTS engine  
installed?

As described in the Macromedia Tech Note provided on the Director  
Support page,
use the voiceInitialize() function to test for the required 
components.  If this function
returns false then you know you're missing something.

You'll want to use voiceInitialize() in your applications as well to  
make sure end users
have a TTS engine properly installed.

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

Josey
On Friday, Dec 20, 2002, at 08:28 US/Eastern, Fabrice Closier wrote:

installed DMX 2 days ago, en now got a mail saying there is an update  
on trial because it was buggy on the speech thing... unstalled the 
old  one, installed the new one, but no speech at all.
how do you make the speech running? got nothing in lib, no xtra...
if i put servicevoice()  as describe in note at M site, got handler  
not definied, so i guess the xtra is just ain't there at all...or  
i'am totally blind.

someone can point me out the way to give a voice to my texts?

Fabrice

[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  owner-
[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 speech

2002-12-20 Thread Fabrice Closier
You're not blind, just speechless
hahahahaha! excellent!!!

but i'am still hearing nothing... anyone?
Fabrice


Tab Julius heeft op vrijdag 20 december 2002 om 15:13 het volgende 
geschreven:


You're not blind, just speechless. :)

At 08:28 AM 12/20/02, Fabrice  Closier wrote:

installed DMX 2 days ago, en now got a mail saying there is an update 
on trial because it was buggy on the speech thing... unstalled the old 
one, installed the new one, but no speech at all.
how do you make the speech running? got nothing in lib, no xtra...
if i put servicevoice()  as describe in note at M site, got handler 
not definied, so i guess the xtra is just ain't there at all...or 
i'am totally blind.

someone can point me out the way to give a voice to my texts?

Fabrice

[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 speech

2002-12-20 Thread Fabrice Closier
i've done that but where is the speech option? where is the behavior? 
how? i do not see one thing tried the message windows the list the 
xtra's, see no speech thing...
On Friday, December 20, 2002, at 03:31 PM, David Burgoyne wrote:

(I use the first demo)


!ah the one with the speech bug

download the new one it's supposed to fix the speach bug perhaps this
is the bug

Dave



This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.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 speech

2002-12-20 Thread Fabrice Closier
wierd, installed DMX for third time en now got the speak thing... next 
install: the real DMX. Don't touch this one anymore!!!
i've not figure out yet how it works but i've found at least the tools 
to play with...

Fabrice

On Friday, December 20, 2002, at 03:19 PM, Mark van den Elzen wrote:


Something is wrong with the extra, when I try to add it to my movie
extra list I can't find it. But I did found it in the xtra folder of
director.
I really wanted to test the extra so I kept trying new things. I got the
thing to work, I used the sample code, created an projector and when you
run the projector no errors and you can hear your computer speak!
I don't know why it is not working from within director, and it might be
working in the full package (I use the first demo)



--

installed DMX 2 days ago, en now got a mail saying there is an update on

trial because it was buggy on the speech thing... unstalled the old one,

installed the new one, but no speech at all.
how do you make the speech running? got nothing in lib, no xtra...
if i put servicevoice()  as describe in note at M site, got handler not

definied, so i guess the xtra is just ain't there at all...or i'am
totally blind.

someone can point me out the way to give a voice to my texts?

Fabrice

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



lingo-l Re: How to rotate a copypixel image?Thanks

2002-12-13 Thread Fabrice Closier
Thank you guys, thats exacly what i was looking for.
Buzz, James, Andreas,Warren... you've made my day!!

Love this list!!

and Warren, i think i will soon try to build mixed textures for the 3d 
using this technic...
(busy working on a new game on my free moments...). but for now, its 
just a 2d question...

Fabrice
Buzz Kettles heeft op donderdag 12 december 2002 om 20:26 het volgende 
geschreven:

you should be able to specify the copyPixels command using quads 
(instead of rects)  therefore do a rotation (I haven't done it, but 
quads can certainly simulate rotation).

hth
-Buzz

At 12:45 PM +0100 12/12/02, you wrote:
Hi all,
(the question could also be how to rotate a member bitmap within the 
cast.)

I have one script running where i use 2 members bitmap + 1 text member 
to generate a new composite of the 3.
it works. using the copytoclipboard and paste in PS, the reult is 
great.

now, for the second composite i need to rotate the text info before 
making the composite.
how do i do this?

see the problem as a book cover on front page you have the title and 
pictures, now i need to build the side of the book, i need now to
minimize the title size and paste it on same picture this time with a 
90 degrees rotation. and generate the new image

Fabrice

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



lingo-l How to rotate a copypixel image?

2002-12-12 Thread Fabrice Closier
Hi all,
(the question could also be how to rotate a member bitmap within the 
cast.)

I have one script running where i use 2 members bitmap + 1 text member 
to generate a new composite of the 3.
it works. using the copytoclipboard and paste in PS, the reult is great.

now, for the second composite i need to rotate the text info before 
making the composite.
how do i do this?

see the problem as a book cover on front page you have the title and 
pictures, now i need to build the side of the book, i need now to
minimize the title size and paste it on same picture this time with a 90 
degrees rotation. and generate the new image

Fabrice

[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 How to rotate a copypixel image?

2002-12-12 Thread Fabrice Closier
Matrix, matrix...hum... kan you develop a bit more?
or any place where i can find a tut on this?

Fabrice
Andreas Gaunitz P11 heeft op donderdag 12 december 2002 om 15:29 het 
volgende geschreven:

(the question could also be how to rotate a member bitmap within the 
cast.)

now, for the second composite i need to rotate the text info before 
making the composite.
how do i do this?

Fabrice


Use a little matrix maths and a 2d rotation matrix?


-A.


[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 How to rotate a copypixel image?

2002-12-12 Thread Fabrice Closier
Thank you for the reply Warren, but thats not what i mean.
i compose an image in order to save/print it. it works if all the 
members are the way they are.
now i want to use/paste a textfield rotated on a bitmap, for example the 
side of a book. the text is 90 dg rotated and the image is still the 
same as cover,
the problem is that the text field sprite is rotated, the member remains 
the same: unrotated. Then i use the member(xxx).image to build the new 
image.

The all thing is happening in background. in order to be copied, printed 
or saved. the user drags/rotate the elements the way he wants.
then i compose it using the .image info and screen positions for the 
.offset.

Fabrice



Howdy-Tzi heeft op donderdag 12 december 2002 om 16:30 het volgende 
geschreven:

On Thursday, December 12, 2002, at 05:45 AM, Fabrice Closier wrote:


see the problem as a book cover on front page you have the title and 
pictures, now i need to build the side of the book, i need now to
minimize the title size and paste it on same picture this time with a 
90 degrees rotation. and generate the new image

Map it to a cube (well, not a cube exactly, but you know) in 3D? I 
believe I'd try that before copyPixels. With a little tweaking you 
could construct a pretty convincing looking book.

 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://shop.osborne.com/cgi-bin/osborne/0072195622.html

[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 Are MX OS9 Projectors Carbonised?

2002-12-03 Thread Fabrice Closier
Thomas,
Just before you leave...
Is there a way, now, within 8.5 to check on witch system the mac is 
running? i mean, how to check if a mac is running os9 classic or 9 
native?
And will there be a builded-in way to check this with DMX?

I'am experiencing some troubles, one of them is with cd scans, same cd 
drive on my g4 returns -70 in classic mode and -59 in native...
another one for example, is the print, OSX/classic seams to prefer 96 
dpi, OS9 72dpi  etc
I try to find a file that is there or not on OSX or different, but so 
far couldn't find one it would be great to lingo the thing instead 
of asking user each time projector is started... any suggestions?

have a nice time, wherever you go...

Fabrice

Thomas Higgins heeft op maandag 2 december 2002 om 17:56 het volgende 
geschreven:

All,
OSX projectors only launch on OSX, OS9.x projectors only launch on 
OS9.x, there are separate sets of Xtras for both platforms (Director MX 
on OSX includes all your OSX Xtras and all your OS9.x Xtras). You can 
create a bundle which contains both projectors (the 9.x version in a 
sub-folder to keep the Xtras separate) and then configure that bundle 
such that if your user is on OS9.x and they click the bundle a shorcut 
will trigger a launch of the OS9.x projector, if they are on OSX then 
the OSX projector will get launched. One file containing both 
projectors...

The above bundling technique doesn't work on all pre-OSX systems, I 
believe that only OS9.x understands bundles, pre-9.x will see the 
bundle as a folder instead. We are planning to post an article in the 
Design  Developers center on macromedia.com that outlines this 
technique so you can provide a better end user experience.

Cheers,
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 Are MX OS9 Projectors Carbonised?

2002-12-03 Thread Fabrice Closier
Hy, that's great!!
Thanks!!

Fabrice

Adam Hinshaw heeft op dinsdag 3 december 2002 om 12:15 het volgende 
geschreven:


The new mac budiapi has following

baVersion( classic )
will return 1 if running under classic mode on OSX, else 0.

http://www.mods.com.au/


.adam

on 3/12/02 7:11 PM, Fabrice  Closier at [EMAIL PROTECTED] wrote:


Is there a way, now, within 8.5 to check on witch system the mac is
running? i mean, how to check if a mac is running os9 classic or 9
native?
And will there be a builded-in way to check this with DMX?


Fabrice


[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 USB controlled robot arm?

2002-11-20 Thread Fabrice Closier
Check on the electronic side, i know there are some items using mac 
driven ships to drive hardware. I wanted a while ago equip my car with a 
mac interface for checkup/maintenance purposes. The ship were then only 
programmable using pc's, en were driven via serial port, the modem line 
of 604 macs.
But since now all mac are usb, i'am pretty sure same ship could be 
driven via mac or pc via usb. the problem is more the app...en the 
compiler that allows you to program the ship en load the data into the 
chip itself.
If i've a bit time, will look for the few links i've got on this. I can 
remember that surprisingly prices were not that high at least for 
romships, rewrite ones were a lot more expensive, also the amount of 
external port per ships can have a very noticable influence on price...

Also a goed place to look for such things is 3d external scanners, those 
devices are using reverse systems but based on same story. You could 
then contact manufacturers...

fabrice
[EMAIL PROTECTED] heeft op woensdag 20 november 2002 om 09:10 het volgende 
geschreven:

If you find some arm or foot or toycardriving gizmo, I'm interested 
too !!
Was a bit of time since last checked the neighboroughhoods.
Was some seriellported Xtras, but no remote-stuff around then. Have had 
same
curiosity to start up some tests. Wildest ideaqs was to run the 
Spaceshuttle
from a console.
As a matter of fact the iron ore mine in Kiruna over here in 
Scandinavia, has
it's own system of remote running everything from trucks to drilling 
equips !!
And they've set up ultra modern remote console as far as ..hhmmm 400 km 
away
just for fun in a showing up in what they can do. Lesser people, better
security and no one in those dangerous spots at the front where things 
fall
heavy.. And it seems to be working pretty well. Trucks and loading 
macherieries
are enormously big and set by cables in the back which winds and unwinds
automatically. No one is seen sitting in it.
As I gather, they had joined some university in Lule city (Lule 
universitet)
for that development. Probably C-stuff software and some other older 
toolings
in machine handling. Don't know exactly, just guessing.
The 2 guys in remote operations are actually sitting up by the ground in
daylighted offices with video cameras and at least 3 screens a head, 
joysticks
and all... name of the company to contact is LKAB  -Luossavaara 
Kirunavaara AB
(Luossavara Kirunavara AB).

+++
Quoting Andreas Gaunitz P11 [EMAIL PROTECTED]:

Do any of you happen to know where to get info/ pricing about a nice
USB controlled robot arm?

I've been searching the web, but have had a hard time finding
a) Control software later than win95/98
b) programmable, with a sort of generic interface reading text
files from disc or some other way to change/ update it's movements
periodically.
c) Preferrably Mac (!) and/ or Director Lingo controlled



-
FREE E-MAIL IN 1 MINUTE!
 - [EMAIL PROTECTED] - http://www.pc.nu
[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 USB controlled robot arm?

2002-11-20 Thread Fabrice Closier
man, i'm just awake... after reading your reply, think i go back to 
bed

i just wanted to say, that to move something physical from a computer 
you need at least 6 things.
1/ a computer compatible with chip
2/ a physical mechaniek with chip controlled movement. servo's
3/ a programmable ship
4/ a compiler/shell app for the chip language
5/ a software to load the program into the chip
6/ Great building skills, programming knowledge, lots time and money to 
spend...

since you say it has to be low budget but need to paint something i 
guess drawn into a computer,
you need then next to investments and trys and falls, also to 
design/program the app witch will send x,y,z, coordinates, pixel color 
size,pressure
exacte positioning system

There are almost no impossible tasks, but some are just too highrange, 
very very close to dreams.
except of course if point 6 is true.

As i've told you, wanted to wire my car and use electrical values 
coming from simple sensors as temp, oil presure load them into chip 
and then use them to build a griphical interface wel after reading a 
few text,sites, compatibilties problems No macromedia Robotarm team 
behind to write an editor as Director no relatively easy language as 
lingo but hard c or c++..came rapidly back to earth and enjoy now 
changing oil on mij car with a simple wrench .
Again, this is only my experience, i don't dougth your skills, patience 
etc... i'am just trying to warn you about the very loong path 
you are now enterering...

if you succeed, please let us know!

ho... almost forgot to add that you'll also need to invest in oilpaints, 
pencils, paper.. thinner to cleanup experimentsetc as well.

Fabrice



[EMAIL PROTECTED] heeft op woensdag 20 november 2002 om 11:21 het volgende 
geschreven:



Check on the electronic side, i know there are some items using mac
driven ships to drive hardware. I wanted a while ago equip my car 
with a

mac interface for checkup/maintenance purposes. The ship were then only
programmable using pc's, en were driven via serial port


If i've a bit time, will look for the few links i've got on this. I can
remember that surprisingly prices were not that high at least for
romships, rewrite ones were a lot more expensive, also the amount of
external port per ships can have a very noticable influence on price...

+++
-Most interesting...
Could mean a lot for remoted cameras, even on wheel or snowscooters, 
tools what
ever moving. The speed in processors are now leveled for a simple remote
controls, even on smaller portable PDA:s. The energy area for 
supporting is
coming allmost up...at least of some hours blanck free of any 
electricity
connections in cables at all. Lights also have reached sufficient low 
energy
needs in white diodes, highly effective at least for days in polar 
regions
winter-climates in ranging some meters away. Some 1,5 W diode gives 
same light
as 15 W old lightbulb. Which means you can see in darkness also in low 
energy
needs and without cables, anywhere on this planet where Internet has a
broadband cable in close reach, the rest of the way to the tool or 
vehicle
would go wireless. Shifting the working remote controller as the former 
goes
for sleep, is an advantage if you consider the planet in a whole 
perspective.
Would be even better off by satellites.. And this Iraqee war-decision 
destroyed
that opportunity with the Teledesic ITsat-applica. I'm trying to get it
restarted again... saudi arabians and USmilitary units involved in that 
messy
soup. The worse you can find just now.
Would consider a solution of replacing oil with deep drillings for 
geothermic
heat 2,5 km down by 2 holes splitted 1,5 km away of each other, as it is
allready a success in southern Sweden. As I guessed it would go after 
tipping
off some years ago. Didn't worked so good in shallow drilling -coolings
happened after a while..the bedrock was not warm continously in longer 
terms.
The goal is to warm up a city. 2 more are planned.
The rest would be set in the Mideastern area in an union created in 
between the
hysteric countries doing revanging operations day in and day out of 
useless
meanings. And the oil cease to have such an impact...finito in that 
evergoing
problem.

GPS is allready seen in maps of common things, needed for remotes... I 
probably
need that one too in due time. Some have allready got into that in 
town, and
done it.


Also a goed place to look for such things is 3d external scanners, 
those

devices are using reverse systems but based on same story. You could
then contact manufacturers...

3D-scanners ?!  Interesting...

Wireless USB wildly guessing -not yet even seen ?
(don't even think of such modern stuff as wireless 'Bluetooth'+ USB in 
same
mounting of that stronger wider radio transmission type. Probably not 
yet..)



-
FREE E-MAIL IN 1 MINUTE!
 - 

Re: lingo-l flash-director

2002-10-24 Thread Fabrice Closier
The shockwave player is flashplayer as well when dxr exported. As 
standalone exported is player also builded in.

Fabrice


Tom Vandenbossche heeft op donderdag 24 oktober 2002 om 09:46 het 
volgende geschreven:

If I put a swf file in a dir movie. do I need the flashplayer then?

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 image of a text member

2002-10-17 Thread Fabrice Closier

In same line,
how do you manage to mixe 2 different casts together?

i mean a #bitmap member and a text member.
to obtain a new#bitmap cast member with text burned into it?

Fabrice

Sean Wilson heeft op donderdag 17 oktober 2002 om 02:34 het volgende 
geschreven:


 can you reproduce this (Dir 8.5.1 Win2K):

 Yep.

 What is wrong?

 Nothing.

 What you are seeing is the paint window's inherent lack of alpha 
 channel interpretation.
 If you try:
 new(#bitmap).picture = member(test).picture
 it will look like you expect it to in the paint window.

 To quote from James Newton's excellent book (p.25)
 The Paint window is not aware of any alpha information. You will not 
 see any transparency effect in the Paint window.
 But it seems that he too has no better explanation than mine - that's 
 the way it is.
 I'd guess this is one side-effect of the (apocryphal?) story that new 
 Director engineers are given the paint window to cut their teeth on

 -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 Classic or native 9.x???

2002-10-02 Thread Fabrice Closier

Just to give you a few ones:
how to detect a CDrom draw to be open or not, if a cd is mounted or 
ready to play
When printing form projectors, OSX gives a 96dpi info to the printer, in 
9.x a 72 dpi...

if i knew how to distingisch both i could change the script for bother 
environements.
but i cannot make the script universal in this particular case. Its just 
one of the other...
Pitty, because i know how to make them both case working.

Fabrice

Howdy-Tzi heeft op dinsdag 1 oktober 2002 om 16:38 het volgende 
geschreven:

 On Tuesday, October 1, 2002, at 04:20 AM, Fabrice Closier wrote:

 is there a way to see if an dir projector runs on 9.x native or in 
 classic mode?

 Not really, and in theory the distinction should be moot anyway.

 got some weird artifacts in classic mode on some scripts

 Please describe the nature of these weird artifacts.


  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://shop.osborne.com/cgi-bin/osborne/0072195622.html

 [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 Classic or native 9.x???

2002-10-02 Thread Fabrice Closier

BuddyApi will do the trick... so no problem... in fact i think open() 
lingo might also be helpfull on this.

Nothing resides into the startup items folder of 9. (opstartbestanden in 
dutch)
Is it invisible? might be why Sherlock doesn't see it
will install tinkertoolOSX tomorrow to make all hidden file visible...

thanks for the tips.
Fabrice

Howdy-Tzi heeft op woensdag 2 oktober 2002 om 16:25 het volgende 
geschreven:

 On Wednesday, October 2, 2002, at 03:51 AM, Fabrice Closier wrote:

 Where do i find info about this checkprocedure using FileXtra3?

 I'm not totally sure you can use FX3 to do it, actually. The Extra 
 ships with Director on the CD -- look for it in either Goodies or 
 Xtra Partners. There should be PDF docs with it too.

 BUT, just before hiting the send button of this mail, just came across 
 another problem:
 According to Sherlock, there is no uiHelper on the systemdisk (not 
 even on the computer)  might be because i run a dutch OSX

 Possible indeed. It's a program that resides in the Startup Items 
 folder inside your 9 System Folder. Go poking around in there and see 
 if there are *any* programs present. If there's only one it's probably 
 the one you want.


  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://shop.osborne.com/cgi-bin/osborne/0072195622.html

 [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 Classic or native 9.x???

2002-10-01 Thread Fabrice Closier

Hi All,
is there a way to see if an dir projector runs on 9.x native or in 
classic mode?
Checking the os return 9.x in both cases.
got some weird artifacts in classic mode on some scripts if i could 
know if classic or not,  an if else could make the projector running 
perfectly in both modes with little differences in scripts. Now got to 
choose beetween one or the other...

Fabrice

[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 Printfrom or printomatic lite?

2002-09-27 Thread Fabrice Closier

 You could try composing your image in a MIAW offscreen someplace and 
printing that.
Thankx,
yes, i was thinking about this but because i offer few different 
templates to be printed, i guess a miaw with a frame printstage command 
and an if go to next print should do the trick. I might be able to make 
a sort of progressbar, since the xtra process the document before 
sending it to the printer driver.
Also because the printfrom creates an unexpected result: it paste the 
frame i print above the existing stage.
Weird, i remember i've used the printfrom in 5.0 and there were no 
artifacts at all...
Only forcing the stage to go to another frame helps to redraw the screen 
without the artifact.

i think i wil try the printOmatic lite as you describe. Saw its possible 
to define more things like orientation, resolution...
but not sure its builded in the unregistered lite version... will try 
anyway cost only a blank sheet.

Fabrice


Howdy-Tzi heeft op donderdag 26 september 2002 om 17:46 het volgende 
geschreven:

 You could try composing your image in a MIAW offscreen someplace and 
 printing that.

[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 Printfrom or printomatic lite?

2002-09-27 Thread Fabrice Closier

no no, no e(orI)Mac voor me... made the mistake a few years ago to buy a 
little machine with all in, en no or little possibilities to expend it.
was great at time of purchase, but got less interresting a while later.
I'am now on a G4 500 MP at work en it runs just really great. But i want 
similar at home now.

Fabrice

Howdy-Tzi heeft op vrijdag 27 september 2002 om 16:15 het volgende 
geschreven:

 On Friday, September 27, 2002, at 07:55 AM, Fabrice Closier wrote:

 Yes, i will, but first i got to find a few buyers at least i need 
 to see if there is enough interest for the app.
 Right now i'm saving a bit for: A new G4, the upcoming Dir, Max5 for 
 example

 Look at the eMac models. 800 MHz G4 for US$1100, 256 Mb RAM and 
 Director for OSX native on the horizon. 17 screen. A good deal for a 
 more than adequate dev box. Pony up an extra four hundred and you can 
 make DVDs. Built right into the hardware, and the software free.


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


[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 Printfrom or printomatic lite?

2002-09-26 Thread Fabrice Closier

Whats the best option to print a labeled frame at 72 dpi?

tried printfrom, but even with printfrom 1,2,100 got a print smaller 
than the stage.
is there a way to print at 100? i mean, since print from is 72 dpi and 
the sprites on stage on those frames are all 72 dpi, i can't figure out
why the result print is smaller. Do i need to set the setup from 
director and then only save the movie?

tried the printomatic xtra, but couldn't find a way to print a frame 
without showing it. Only printstage, the actual shown frame.

Any ideas?

Fabrice

[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 textfield1 is full, lets use the second

2002-09-24 Thread Fabrice Closier

Hi all,
i wonder if there is a way to count visible lines into a textfield.

i'am building a template for print where 3 colomnes are builded in.

what i want to achieve is to see if first col is full, if yes, to let 
continue text into col 3, if 2 is also full fill the third as well.
if also full, add sort of (...) at end visible text.
The goal is to allows corps and font changes, therfor i need to see 
whats visible or not.

Whats the best way to approach for this?
as another example, in Xpress, with the chain tool, you can do this, i 
need approximatively same effect.

Fabrice

[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 textfield1 is full, lets use the second

2002-09-24 Thread Fabrice Closier

Hi,
i see the trick... thanks.  Its about #text by the way...

Fabrice

Alex da Franca heeft op dinsdag 24 september 2002 om 10:11 het volgende 
geschreven:

 At 9:03 Uhr +0200 24.09.2002, Fabrice  Closier wrote:
 Hi all,
 i wonder if there is a way to count visible lines into a textfield.

 textfield ?
 somewhat misleading.
 #text OR #field ?

 in case of #text you can use the charPosToLoc() function and search for 
 the first char, which is not within the bounds of your target rect. 
 Since director (unfortunately) wraps only whole words (I don't remember 
 the english word for 'silbentrennung' at the moment), you will only 
 need to check the first char of every word. if performance is critical 
 you should search async (?), beginning from the middle of the text and 
 divide the text depending on the result of 
 charPosToLoc().inside(targetrect)
 --
   |||
 a¿ex
  --
 [To remove yourself from this list, or to change to digest mode, go to 
 http://www.penworks.com/lingo-l.cgi  To post messages to the list, 
 email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). 
 Lingo-L is for learning and helping with programming Lingo.  Thanks!]


[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 Shadows in SW3D?

2002-09-24 Thread Fabrice Closier

4!
if your shadow is moving on a flat surface, what about a _child polygon 
with a texture 50% alpha on it?
if you parent moves on the x axis (up or down), use only y movement to 
your shadow.
you could also resize the texture according to the upmovement of the 
parent.
use perpenducular to stay logical
mixe both updown position of parent and light position to calculate 
ideal position...etc

5!
take a peek at Havoks, there is a script into a carsteer demo.dir, with 
a shadow even on not flat surfaces.
but basic trick is same as above.

tricks enough...

Fabrice

Clars Danvold heeft op dinsdag 24 september 2002 om 12:24 het volgende 
geschreven:


 Hello all-

 I've been away from Lingo-related work for about a year and a half now, 
 and
 just recently started picking up on the lingo 3D learning curve. One 
 thing
 that struck me whilst playing with properties of lights, is that I can't
 seem to find any way of making objects cast shadows in realtime 
 rendering.

 I suppose there are three possibilities:

 1: Shadows are easy, and I've overlooked the glaringly obvious;
 2: Shadows must be bitmapped as a material on the shadow-receptive
 surface, with the limitations this approach implies;
 3: There is some ingenious workaround using imaging Lingo or 3D cloning 
 and
 skewing, which I can't fathom.

 Any pointers?

 Hopefully, Clars


 Clars Danvold MDD
 interaktivt design
 [EMAIL PROTECTED]

 COMONTO
 Levende digitalt design
 Rosenørns Allé 18, 1.
 DK-1634 København V

 tlf: +45 35 37 88 99
 fax: +45 35 37 88 98
 web: http://www.comonto.dk

 [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 blur

2002-09-23 Thread Fabrice Closier

quickly i would dub your original and make it blur in ps, add a reverse 
square mask to it, and move the mask with mouse... it should do the trick

but there are probably imaging lingos for this... anyway, done similar 
in flash, works great.
if your file is not to big anyway... think about using at max 1/1 72 
dpi, 16 bits.

Fabrice

Tom Vandenbossche heeft op maandag 23 september 2002 om 15:06 het 
volgende geschreven:

 Hi

 little question.

 I have a foto on the background. On top I want to have a layer that 
 contains a transparant square. The effect I want to create is that the 
 photo is blurred there where the square is on top of the photo. the 
 rest of the image remains sharp.

 How do I do this effect? Is there an xtra for this?

 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 How to stop a loop.

2002-09-20 Thread Fabrice Closier

Yep, saw it yesterday thanks again

fabrice
Kerry Thompson heeft op donderdag 19 september 2002 om 15:49 het 
volgende geschreven:


 hi all,
 got a script than stays looping in a repeat.
 in some case, the loop takes several seconds to end. But i want to be 
 able to let him stop during the repeat.

 tried something like this via a button, but its ignored.

 global stop

 on somehandler
repeat with x = 1 to Myvar
   if Stop = true
 Stop = false
 exit repeat
  else
 do your job
end repeat
 end

 on a button got a stop = true, global stop

 The repeat loop is hogging the CPU. If you're using a keyDown handler, 
 it will wait until the repeat finishes.

 I would either change the repeat loop to a frame event, or use on 
 keyPressed. keyPressed will interrupt a loop.

 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 How to stop a loop.

2002-09-20 Thread Fabrice Closier

However, as I and others have pointed out, it is inadvisable to call
updateStage continually like this.

I agree, but in this particular script, the bar is only once per file 
updated.
to give you an idee, the files are conatining arround 3000 words, wich 
are checked during the loop and the bar, moves only when a file is open, 
the next file is then open, checked then closed, again bar progress 
moves...
In my last test with 60 files, i was able to retrieve 30 macht out of 
those files within a few seconds.
The progress bar via updatestage has almost no influence, again on this 
particular script, i also use the update command rarely.

but i must say the timer thing to force an go to the frame and continue 
the loop, looks very interesting, i definatly will try this one.
thanks again for the reply...


love this list, for a single question, you get a full academic 
intruction with all variants and aspects... just great!!

Fabrice
Robert Tweed heeft op donderdag 19 september 2002 om 19:25 het volgende 
geschreven:

 - Original Message -
 From: Fabrice Closier [EMAIL PROTECTED]

 yes but i'am using a moviescript..
 i just call an handler. the frame script is just
 on exitframe
 go to the frame
 end

 You could use timers, or create an object to put in the actorList, or 
 add it
 to exitFrame in your frame script. Just use an if statement so it only 
 runs
 when you need it.

 It's easy to avoid the repeat loop, it's simply a question of whether 
 or not
 you actually need the repeat loop to do something many times per frame, 
 in
 which case you should probably just use a *different* repeat loop. 
 Perhaps
 one that only runs limited number of times per frame, or waits for a 
 certain
 milliseconds count so it doesn't run for longer than the length of a 
 frame.

 You cannot use a repeat loop like this, because it stops stage events
 from
 occuring.
 yes, thats the idea, i found running this particular script outside a
 frame event running quicker.

 Yes, since if you use frame events you get one loop iteration per 
 frame. If
 you want it to run faster then make it run batches, like run a loop 100
 times per frame, or increase the framerate.

 now, how do i stop it? if needed...

 As I said before, you can't (that's the short answer anyway). While the 
 loop
 is running, nothing else can be running, and no events will be 
 processed.
 Therefore, any outside state such as the global variable you are using 
 will
 be ignored because they are not updated until the loop is finished.

 The only thing that does keep running is system events such as the 
 timer, so
 you can check the number of milleseconds elapsed and use that to stop 
 the
 loop early. This is useful in a technique called timeslicing.

 Say the movie runs at 60 frames per second, you only have 1/60 seconds 
 of
 time per frame. Call that 1/100 and you get 10ms available to your 
 loop. If
 the loop runs for more than 10ms, you stop it and wait until the next 
 frame,
 where it can start again. i.e.:

 if( stillRunning ) then
   startTime = the milliseconds
   repeat while true
 if( the milliseconds - startTime  10 ) then exit repeat
 -- do stuff
   end repeat
 end if

 This allows the loop to run safely alongside everything else director is
 trying to do, instead of completely hogging the CPU until the loop is
 finished.

 i've tested some updatestage during loop in order to animate a progress
 bar, the bar is updated, so i guess the movie doesn't completly stop as
 you describe...

 The reason for that is that the updateStage event basically stops the 
 loop,
 does the remaining frame processing and then returns to the loop. 
 During the
 updateStage call your loop is no longer running. However, if you do 
 this,
 all it means is that you are running one loop iteration per frame, but
 forcing the maximum possible framerate. You might as well use 
 exitFrame, and
 set an extremely high tempo (like 999).

 Since you will never acheive that framerate, you will get whatever is 
 the
 most number of frames that can possibly be drawn in the time given. The
 advantage of doing things that way is that it's a bit more stable than
 constantly calling updateStage, which was not designed to be used that 
 way,
 and may cause unpredictable behaviour in the rest of your movie.

 brings me to an idea
 will now try updatestage to pass the global stop value might 
 work
 thanks anyway for the reply.

 Yes, it might work, I'm not 100% sure since I never use updateStage, 
 so I
 can't say exactly how it behaves. However, I think what happens is that 
 the
 event queue will be processed when updateStage is called, so it should 
 work.
 However, as I and others have pointed out, it is inadvisable to call
 updateStage continually like this. There are better ways to do the same
 thing.

 - Robert

 [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

Re: lingo-l a color picker

2002-09-20 Thread Fabrice Closier

when i call my libraries, there is one picker script builded in but 
since i migrate my libs since version 5 might be an old one.
anyway, take a peek. might be there. or if not, i'll mail it to you.

Fabrice
Thomas Higgins heeft op vrijdag 20 september 2002 om 03:29 het volgende 
geschreven:

 Steve,

 can any one tell me a good way to display or make a color picker.  I
 want to let the user pick the color of there text.

 Something like these?

 scripts:
 http://www.directordev.com/code/behavior_frame/ColorPicker.ls
 http://www.directordev.com/code/behavior_frame/ColorMonitor.ls

 demo:
 http://www.directordev.com/code/behavior_frame/ColorDemo.zip


 Cheers,
 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 changing icon of projector

2002-09-19 Thread Fabrice Closier

Iconforge do the trick perfectly on win side.
on mac, i use the very best Icon Machine III.
Its macosX compatible, beter than previous versions in lots of aspects.
to give you just one of them, if you copy select a 128x128 PS layer with 
transparantie, you'll get automatically in the  picto the alpha channel 
same as transparantie in PS.
so with a drop shadow apply to the layer, you get a very beautiful icon 
with 8 bits masker.
it also supports 9.x icons, the same picto pasted in the author cells is 
automatically resized to exacte picto size.
so working on the 'big 128x128 OSX icon is practically all you need. 
Just exagering the contrast can help 32x32 icons to get more power on 
screen. Of course since picto making is an art on itzelf, purists will 
spend more time to compose each variations in size and colours.
and... its a shareware, ready to dl via tucows.com...

Fabrice


Howdy-Tzi heeft op woensdag 18 september 2002 om 17:03 het volgende 
geschreven:

 On Wednesday, Sep 18, 2002, at 08:32 US/Central, nik crosina wrote:

 I am wondering whether there is a way of changing the icon for PC 
 projectors,..

 I believe Tab wrote something that can; check penworks.com for more 
 info on that. Barring that there *used* to be a program called 
 Microangelo that could do it, but I don't know if it's still around or 
 not.

 Also look over the list at updatestage.com/products and see if there 
 are any entries there. I imagine there are.


  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://shop.osborne.com/cgi-bin/osborne/0072195622.html

 [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 How to stop a loop.

2002-09-19 Thread Fabrice Closier

hi all,
got a script than stays looping in a repeat.
in some case, the loop takes several seconds to end. But i want to be 
able to let him stop during the repeat.

tried something like this via a button, but its ignored.

global stop

on somehandler
repeat with x = 1 to Myvar
   if Stop = true
 Stop = false
 exit repeat
  else
 do your job
end repeat
end

on a button got a stop = true, global stop

the thing doens't work. what should i need to use?
the apple/.  stops the loop but quits the app as well.


Fabrice

[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 How to stop a loop.

2002-09-19 Thread Fabrice Closier

yes but i'am using a moviescript..
i just call an handler. the frame script is just
on exitframe
go to the frame
end
 You cannot use a repeat loop like this, because it stops stage events 
from
occuring.
yes, thats the idea, i found running this particular script outside a 
frame event running quicker.
now, how do i stop it? if needed...
i've tested some updatestage during loop in order to animate a progress 
bar, the bar is updated, so i guess the movie doesn't completly stop as 
you describe...
brings me to an idea
will now try updatestage to pass the global stop value might work
thanks anyway for the reply.

Fabrice


Robert Tweed heeft op donderdag 19 september 2002 om 14:24 het volgende 
geschreven:

 - Original Message -
 From: Fabrice Closier [EMAIL PROTECTED]

 got a script than stays looping in a repeat.
 in some case, the loop takes several seconds to end. But i want to be
 able to let him stop during the repeat.

 tried something like this via a button, but its ignored.
 ...

 You cannot use a repeat loop like this, because it stops stage events 
 from
 occuring. In fact, it completely halts your movie.

 You need to use exitFrame to create the loop like this:

 property running

 on exitFrame me
   if( running ) then
 -- do stuff
   end if
 end

 -- Example usage
 on mouseUp me
   running = not running
 end

 This will do something once per frame, without affecting anything 
 else in
 the movie.

 - Robert

 [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 info from mothership

2002-09-19 Thread Fabrice Closier

it's unhuman to let us, with no informations, like this! I feel like a 
future father waiting for 3 days next to the delivery room, with 67 
cigars, 15 liters of black coffee in blood...  with no information 
coming from the medicals... only sometimes hearing a few sounds out that 
dev room...

Ok, looks a very impressive engineering probleem to me... everything 
needs to work has it has before, with all new platforms problems, and 
need extra things to push people to buy the upgrade. I also prefere the 
M guys spend more time to dev a stabile app than like arround release 6 
an update every 3 or 6 months...
Have admiration for those M guys...yet: M, give us some feedback... 
pleease?!

Fabrice


Robert Tweed heeft op donderdag 19 september 2002 om 14:21 het volgende 
geschreven:

 - Original Message -
 From: nik crosina [EMAIL PROTECTED]
 ...
 All I can say now is; the forthcoming new Director version and the 
 Flash
 MX
 Asset Xtra for Director are both currently under development.
 ...
 Regards,
 Bob Tartar

 Not exactly anything new. Unless I'm mistaken, Bob posts exactly the 
 same
 information here quite regularly. Stuff is under development, but they 
 won't
 be giving out the release dates in advance. Not since that 
 incident ;-)

 - Robert

 [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 How to stop a loop.

2002-09-19 Thread Fabrice Closier

Thanks!
guess if keypressed asciinum can also work... then.. great!!
just what i need!

about the update stage, i agree with you, but since the loop is opening 
files and checks the content, i only update the stage when a new file is 
opened. the progress is size bar/howmuch file x filenumber. it doesn't 
really slows down in this particular case.

Fabrice

Andreas Gaunitz P11 heeft op donderdag 19 september 2002 om 15:39 het 
volgende geschreven:


 You cannot use a repeat loop like this, because it stops stage events 
 from
 occuring.
 yes, thats the idea, i found running this particular script outside a 
 frame event running quicker.
 now, how do i stop it? if needed...
 i've tested some updatestage during loop in order to animate a 
 progress bar, the bar is updated, so i guess the movie doesn't 
 completly stop as you describe...

 It's not so good practice to do updateStage inside a repeat loop, 
 because you are slowing down the repeat a lot. I suspect that the 
 amount of slowing down depends on the size of the stage that needs to 
 be redrawn. You could do an updateStage every 100th repeat or so.


 -A.


 [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 Detecting Shockwave 8..5.1

2002-09-18 Thread Fabrice Closier

you could embed a 8.0 file in page under noedit. The 8.0 dcr could have 
a getversion...with a gotonetpage...
but if you can detect the version allready, why don't you add your 
javascript a if version(1,6) = 5... do something
the 1,6 stand for string chars posi, for example if version = SW 
8.5.1.r2.102

haven't done it yet, but i wrote a similar one for flash 2,3,4,5,6 or no 
flash and even greater than 6.0 flash detection.
look at www.fordmustangclub.nl, and do the plug test... take a peek at 
html source its in Dutch but speaks for itzelf

it should be similar for SW8.5.1
Fabrice

Michael Schaffner heeft op woensdag 18 september 2002 om 05:38 het 
volgende geschreven:

 I was able to locate code to detect if a browser has the shockwave 8.5
 plug-in, but I need to determine if they have version 8.5.1 or greater.

 Does anyone have a solution. I a not really Java savvy so any assistance
 would be appreciated

 [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 compaq armarda M300 sound problem

2002-09-12 Thread Fabrice Closier

Haven't followed the all discussion, but might help...
got similar problem with an avi file that wasn't playing at all on some 
pc's.. might help you
Was a question of overiding the system that allocate only default  
installed driver at a time for the soundcard, or som' like this..

take a peek anyway...

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

Fabrice


David Burgoyne heeft op donderdag 12 september 2002 om 09:33 het 
volgende geschreven:

 Thanks Buzz,

 I'll try setting

 soundDevice = MacroMix

 but I wasn't setting anything before !

 also after setting the sound device directsound still appears in the
 sounddevicelist ?

 Dave

 - Original Message -
 From: Buzz Kettles [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, September 11, 2002 6:04 PM
 Subject: Re: lingo-l compaq armarda M300 sound problem


 Be sure that you haven't set the soundDevice to directSound since
 NT doesn't support it.

 At 2:49 PM +0100 9/11/02, you wrote:
 Hi all,

 Has anyone had the wave volume drop to zero on one of these (compaq
 armarda M300) when the projector starts?

 Is there a fix ?

 os = winNT SP 3

 Any help greatly appriciated

 --
 David Burgoyne
 E Proctor  Stevenson Ltd.
 Phone: +44 (0)117 944 4466  Fax: +44 (0)117 942 4932
 Email: [EMAIL PROTECTED]
 Website: http://www.eproctors.co.uk

 The contents of this e-mail / post are confidential to the
 addressee
 and are
 intended solely for the recipients use. If you are not the
 addressee,
 you
 have received this e-mail /post in error. Any disclosure, copying,
 distribution
 or action taken in reliance on it is prohibited and may be
 unlawful.

 Please note that any opinions expressed in this e-mail / post are
 those of the
 author personally and are not necessarily those of E Proctor 
 Stevenson
 Ltd or its subsidiary companies, none of whom accept responsibility
 for
 the contents of the message.




 _
 ___
 This email has been scanned for all viruses by the MessageLabs
 SkyScan
 service. For more information on a proactive anti-virus service
 working
 around the clock, around the globe, visit
 http://www.messagelabs.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!]


 __
 __
 This email has been scanned for all viruses by the MessageLabs
 SkyScan
 service. For more information on a proactive anti-virus service
 working
 around the clock, around the globe, visit http://www.messagelabs.com

 __
 __


 
 This email has been scanned for all viruses by the MessageLabs SkyScan
 service. For more information on a proactive anti-virus service working
 around the clock, around the globe, visit http://www.messagelabs.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 problem moving cast members in OS 10.2

2002-09-12 Thread Fabrice Closier

got other problems on 10.1.5, not on jaguar yet, on my syst, i can move 
them, but cannot drag/drop on stage. Dir freezes.
to avoid all problems, i run director native on 9.2.2, not in classic 
mode.
guess we have to wait for D9..MX or watever native OSX.

any new by the way on this major upgrade?
Dir is next to 1 or 2 apps the only program i need to run native 9.0

Fabrice

Frederic Durieu heeft op donderdag 12 september 2002 om 09:38 het 
volgende geschreven:

 i just upgraded my macintosh system to 10.2 (jaguar) and have noticed 
 that when i move cast members within a cast lib, they are automatically 
 duplicated (instead of just being moved). this happens almost about 90% 
 of the time. the other 10% of the time, i can move the members normally 
 without their being copied. holding down the spacebar allows me to move 
 cast members more or less normally (although they are still duplicated 
 from time to time). has anyone had this problem or know how to fix it?

 fred



 -- ---

 We are being exhibited at the Centre Pompidou !
 http://www.centrepompidou.fr/expositions/animaux/

 2 new animals in the zoo
 http://www.lecielestbleu.com/zoo

 PuppetTool
 http://www.lecielestbleu.com/puppettool

 ---

 Frederic Durieu [EMAIL PROTECTED]
 LeCielEstBleu   http://www.lecielestbleu.com
 Multimedia conception and interactivity
 Brussels, Belgium - Paris, France - New York, USA
 ++33 (0)1 49 29 71 37   ++33 (0)6 10 49 42 80
 [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 fileio/projectors

2002-09-11 Thread Fabrice Closier

Ok, loud and clear now!!

Fabrice

Howdy-Tzi heeft op dinsdag 10 september 2002 om 16:44 het volgende 
geschreven:

 On Tuesday, September 10, 2002, at 02:28 AM, Fabrice Closier wrote:

 Ok guys,
 but what about my questions?

 I rather thought Buzz and I answered them. Were you reading different 
 notes?

 I mean that according to M technotes, the Fieio xtra needs to be put 
 into the xtra list from popupmenu, but option include into movie or 
 dowload if needed needs to be both unchecked.

 I didn't write that technote and Buzz didn't either. We're right, it's 
 not. Select Include in projector and forget about making a separate 
 folder. It's superfluous. When you mark any given Xtra to be included 
 in the projector, it is... included... in... the projector. Hence the 
 name of the option. That means you don't have to make an Xtras folder 
 that includes that Xtra.

 But, what i need to know is if the compress projector and compress 
 media option have influence on the way the fileio xtra is readed.

 No, there's no effect there.

 According to another technote, when exporting as Shockwave, some 
 fileio lingo doesn't work anymore, resulting in error player messages.

 That's correct. FileIO is verboten in Shockwave. However when you are 
 making a projector, you are not exporting to Shockwave.


  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://shop.osborne.com/cgi-bin/osborne/0072195622.html

 [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 fileio/projectors

2002-09-11 Thread Fabrice Closier

Yep, tried this and... indeed the thing was working...
i know NOW, what the problem was, its the result of 2 confusing factors.

- at first i 've read at Macromedia technotes that were... wel, lets say 
not accurate, i think those notes were made prior to 7.0.2
and were made to avoid some problems with this version, but they still 
have updated the notes with new info's without mentionning this was for 
older version.
- there was also a bug into my new() lingo, (Working in authoringmode) 
witch pushes me to look at technotes, witch were wrong and there was 
this bug then i read the no..

i works now perfectly!! Pff

next step: creating a compilated image from an external file 
importedinto + textfields burned into it...
be back soon for tons of questions!!

Thanks you all... love this list!

Fabrice



carlos lorenz heeft op woensdag 11 september 2002 om 15:34 het volgende 
geschreven:

 Dear Fabrice

 I may be not an expert to answer your question but
 I use Fileio Xtra both in compressed and not compressed
 way an works just the same in Windows platform.

 Carlos

 - Original Message -
 From: Fabrice Closier [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, September 10, 2002 4:28 AM
 Subject: Re: lingo-l fileio/projectors


 Ok guys,
 but what about my questions?
 I mean that according to M technotes, the Fieio xtra needs to be put
 into the xtra list from popupmenu, but option include into movie or
 dowload if needed needs to be both unchecked. According to same fileio
 technote, i need to make a folder, call it xtra then export the movie 
 as
 projector, all other xtras are then builded in, but file io is
 externally loaded.

 But somehow, on my g4, all options are working same, except on size of
 resulting projector.
 I'am aware of the dcr like compression, and also about the needed time
 to decompress, and the extra ram, processor time needed for this. But,
 what i need to know is if the compress projector and compress media
 option have influence on the way the fileio xtra is readed.


 According to another technote, when exporting as Shockwave, some fileio
 lingo doesn't work anymore, resulting in error player messages.
 Because my author machine accepts all kinds of projector without any
 differences, its difficult to test.

 Fabrice


 Buzz Kettles heeft op maandag 9 september 2002 om 23:03 het volgende
 geschreven:

 At 10:06 AM -0500 9/9/02, you wrote:
 On Monday, September 9, 2002, at 08:09 AM, Fabrice Closier wrote:

 in order to use fileio xtra, i need to locate it within a xtras
 folder in same directory als Director...
 to add it to the xtralist but don't include it in projector.

 No, add it to the list *and* include it with the projector. Do that
 with everything you want included.

 He's talking about marking the 'Include in Projector' checkbox.

  What will happen is the Xtras will bet wrapped in to the Projector
 package and, during playback, willo be extracted to a temporary
 directory. Very convenient.

 How do i export the projector?  standard or compressed player ?

 I generally go with standard.

 the compressed player needs decompression, which therefore adds a
 little to the startup time


 and can i choose compress media (shockwave).

 You might suffer some profound degradation of quality. I also have a
 vague impression that compressed media takes longer to load, but 
 could
 be wrong about that.

 When selecting compressed media, the quality is exactly the same as 
 you
 would get when creating Shockwave .dcr files.  Not very bad at all.

 BUT - If selected, this media will need to be decompressed at 
 runtime 
 so for best Projector performance, if you've got the space, most 
 people
 don't select this box

 hth

 -Buzz




  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://shop.osborne.com/cgi-bin/osborne/0072195622.html

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



 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti

Re: lingo-l fileio/projectors

2002-09-10 Thread Fabrice Closier

Ok guys,
but what about my questions?
I mean that according to M technotes, the Fieio xtra needs to be put 
into the xtra list from popupmenu, but option include into movie or 
dowload if needed needs to be both unchecked. According to same fileio 
technote, i need to make a folder, call it xtra then export the movie as 
projector, all other xtras are then builded in, but file io is 
externally loaded.

But somehow, on my g4, all options are working same, except on size of 
resulting projector.
I'am aware of the dcr like compression, and also about the needed time 
to decompress, and the extra ram, processor time needed for this. But, 
what i need to know is if the compress projector and compress media 
option have influence on the way the fileio xtra is readed.


According to another technote, when exporting as Shockwave, some fileio 
lingo doesn't work anymore, resulting in error player messages.
Because my author machine accepts all kinds of projector without any 
differences, its difficult to test.

Fabrice


Buzz Kettles heeft op maandag 9 september 2002 om 23:03 het volgende 
geschreven:

 At 10:06 AM -0500 9/9/02, you wrote:
 On Monday, September 9, 2002, at 08:09 AM, Fabrice Closier wrote:

 in order to use fileio xtra, i need to locate it within a xtras 
 folder in same directory als Director...
 to add it to the xtralist but don't include it in projector.

 No, add it to the list *and* include it with the projector. Do that 
 with everything you want included.

 He's talking about marking the 'Include in Projector' checkbox.

  What will happen is the Xtras will bet wrapped in to the Projector 
 package and, during playback, willo be extracted to a temporary 
 directory. Very convenient.

 How do i export the projector?  standard or compressed player ?

 I generally go with standard.

 the compressed player needs decompression, which therefore adds a 
 little to the startup time


 and can i choose compress media (shockwave).

 You might suffer some profound degradation of quality. I also have a 
 vague impression that compressed media takes longer to load, but could 
 be wrong about that.

 When selecting compressed media, the quality is exactly the same as you 
 would get when creating Shockwave .dcr files.  Not very bad at all.

 BUT - If selected, this media will need to be decompressed at runtime  
 so for best Projector performance, if you've got the space, most people 
 don't select this box

 hth

 -Buzz




  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://shop.osborne.com/cgi-bin/osborne/0072195622.html

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



lingo-l fileio/projectors

2002-09-09 Thread Fabrice Closier

Hi all,
just a little question to be sure:
in order to use fileio xtra, i need to locate it within a xtras folder 
in same directory als Director...
to add it to the xtralist but don't include it in projector.
the fileio xtra do not work in schockwave mode for security reasons... 
as notify on M site.

How do i export the projector?  standard or compressed player ? and can 
i choose compress media (shockwave).
Is the compress media option only for bitmap en wil the player 8.5.1 be 
required?

on my authoring machine, all options are working and only a size 
difference is noticed.

what's the best option? and specially with witch one there will be no 
conflict with fileio?

Fabrice

[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 communication with Director

2002-09-04 Thread Fabrice Closier

I've just experiment the localconnection() from flash MX with abosulte 
great results.
instead of using for example fs command witch requires Live Connect is 
not supported by lots of lately released browsers, its in the tech notes 
from macromedia...

The the localconnection is offering a great alternative. rember i saw 
that shockwave could locally retreive flash data via local conection if 
the receive part is also within shockwave.

But, there are also other kinds of solutions, for example in the embed 
tag , a My.swfVar1=testvar2=Thislocalconnectionthing,
you can also change the embed tag with a variable, and use 
refresh,php to change those in order to get them into SW en back to 
flash en vice versa.

But the local connection even offers more, next to the passing vars from 
a movie to another it passes the variable on, any open windows, from 
frame to another, in fact on everything active on screen . the only 
thing require a call and a receiver.

If you need it, i have a swf on this. really handy stuff. I've stopt 
using fs command for this kind of use, since the local connection is 
possible from mx.

Fabrice



[EMAIL PROTECTED] heeft op dinsdag 3 september 2002 om 20:38 het volgende 
geschreven:


 Can Flash movies in a browser use fscommand to call object methods in a 
 Director shockwave on the same page???

 Thanks for any info..

 -Boyd Speer



 [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 icons Folder creator

2002-08-28 Thread Fabrice Closier

Hi all,
3 little questions that could spare me the test time...

1/
is there a way to paste, allocate a custom icon on a by Director 
(fileio) created text or folder?
(is changing the icons within projector resources an option? but what 
about win side...)
Is there an Xtra WIN/mac for this?
would be nice to have nice icon in relation with app design

2/
is there a check possible on fileTypes?
i have a script running now, that generate a new search path from found 
filenames, but if the files is not a folder, it 's only slows down the 
repeat loop. i need a sort of if filename.type = #folder then generate() 
else go on

3/
Also saw its possible to change the creator type of a generated 
textfile, but will this influence the read back to director?
Will Director be able to read the content of this file even if the 
creator is not TEXT anymore?

Fabrice

[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 path seperators on a mac

2002-08-27 Thread Fabrice Closier

ok, john,
 They all work fine!
yes on windoz
what i mean, is that if you port the app from mac to win, and change 
the \ bij : it wil in some cases not work.

i can tell... just spend yesterday and today sweating writing a loop 
that returns the entire filenames list from a a given path
and because i wanted to scan till no more folders, subfolders, files 
were found, i needed to create from each folder scan the next seachpath.

using the logical translation : bij \  simply doesn't work.(FOR ME)
not adding the : on mac and adding it for win was the solution to me.
but i agree that it might be laying on the synthax i use to create this 
path.
i might look at the problem from another point of view than you since i 
first author on mac, then bring few changes for the win version.

but i dont say what you've wrote is wrong, i just say that in particular 
case those signs give troubles and got paths like
HD::filename causing my loop to exit...

by the way, you should know that 8.0 was not giving the problem using 
open file, but when i've imported the 8.0 dir into 8.5. the result was a 
non functionning openfile. I read on macromedia technotes that changes 
were made into 8.5 according to security reasons. in case you run on 8.0 
it could be the reason you get the thing working as you describe.

Fabrice


Bertil Flink heeft op dinsdag 27 augustus 2002 om 12:17 het volgende 
geschreven:

 They all work fine!

[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 list[] question

2002-08-26 Thread Fabrice Closier

GREAT, that's exactly what i was looking for!!!
and yes, Howdy-Tzi , i saw your suggestion
But that's mij mistake, my english is a bit poor... en so is mij 
explaination/question...
i know how to stop a repeat loo using the list.count as end value, but 
in this particular case, the list i need to use for the loop changes 
during the loop and comes out to get a min value compared with the 
repeat, therfor i was seeking a way to check the yes or no value of the 
list[destination value], to stop the handler, but the lingo reads the 
call earlyer and gives an error out of range.
even if i was asking him to exit the loop even before trying retrieving 
the value.

the if list.getPos(value) = 0 thing, is exactly wat i mean it also 
adds the fact that i don't need to count the lists changes as well.

This should do the trick now, thank you all for the input!!

Fabrice



Kurt Griffin heeft op vrijdag 23 augustus 2002 om 19:44 het volgende 
geschreven:

 yes, i know, but... wel a bit difficult to explain, ... the list i
 should count have a variation in count value, so it can sometimes
 variate, since the repeat as another repeat in it, and the list has
 different count result per loop.
 anyway, i know i need to build the thing on a different way, but if
 there was a check to see if the list has indeed a value less than 
 the
 loop, it would make my life so easy... h so easy and i would have 
 to
 build it another way!

 if list.getPos(value) = 0 then
 --The value is not in the list
 end if

 Or, another way to write the same thing:

 if not(list.getPos(value)) then
  --The value is not in the list
 end if

 [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 *** Director Online Database question ***

2002-08-22 Thread Fabrice Closier

Don't know if it helps, i would do it that way, it worked for me, i've 
used it voor remote highscores for a game and it work perfectly in 
projector or shockwave.
this one was made to call a custom writen perl, but principe is same

on first frame
global  tNetID
  tNetID = postNetText(adres app ASP , [filename:value])

on frame 2 in a go to the frame loop
global  tNetID
if netDone(tNetID) = 1 and (netError(tNetID) = Ok) then
set the text of member( mytext) = netTextResult(tNetID)
else loop my friend, loop!

hope it helps...

Fabrice
PS: i've also added extra's in the code, to check if the machine is 
online, and a timeout.
in case timeout, i count ticks and define a value actual time each loop 
and check actual and starttime to allow to go further if nothing 
happens. But its no the issue here...

Bill Goodin heeft op donderdag 22 augustus 2002 om 08:34 het volgende 
geschreven:

 I am trying to do something that might not be possible and wonder if 
 anybody
 else has had the same problem and come up with a solution.

 Situation:
 Running a project locally.  The projector is fed a code.  The projector 
 then
 executes a getNetText() call with  the page going to an ASP page.  This 
 code
 is a queryString that the ASP page will read in, hit a database to find 
 any
 matches to this code and then display only a page with the matching
 information.  I get nothing when I call the netTextResult function.

 I know that my lingo is correct and I know that my asp code is correct.
 I've tested both in various ways to get back the expected results.  I am
 having the problem when I attempt to send a querystring through to the 
 asp
 page, and the asp page spits out its results.  I am thinking that it has
 nothing to do with my database calls but it as to do with the % symbol 
 in
 the ASP page that director does not like.  If I simply put text in the 
 page,
 I get text back inside of director.  But as soon as I use the % for 
 the asp
 page, Director just gets stuck and doesn't return anything.

 Any ideas, suggestions or solutions would be very much appreciated.
 -Bill



 [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 MWM Graphic

2002-08-22 Thread Fabrice Closier

look under licence...

Fabrice
Beertje heeft op donderdag 22 augustus 2002 om 14:13 het volgende 
geschreven:

 Will someone please tell me where I can get the Made With Macromedia
 Graphic? I have been all over the Macromedia site and I just can't find 
 it
 anywhere.

 Thanks in advance,

 George Carlile
 [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 and if its a folder?

2002-08-19 Thread Fabrice Closier

Thanx for the scripts,
i thought about it this weekend and came with something simpel but 
effective
instaed of looking at the type of the file,
when scanning the file within a folder i use the getNthFileNameinFolder 
value to see if its a folder or not by just looking if the 
getNthFileNameinFolder is 0,
for each file, i just call a new() searchfolderagain. witch is similar 
as the first generation directory.
i just add a list whith path+foundfilename, then count how deep it is.

then, from the main script, i mean from _root of the disc, i append all 
results to a totalfiles list, then clear all sublists for the next 
repeat.

i got it on paper for now, i will test it this morning... friday tested 
the beta' of it only baes on mainlist+ first sud directory and got the 
expected result and a very fast scan.
but because i want to build a cd database, and often the files i need 
are located in 2 third of more deeper directories, i wil not find the 
file with a search if its not detected. so i will now try to create an 
endless script that digg into the directories and don't stop until it 
has looed everything within all directories.

but i will certainly explore the piece of script you've sended, in order 
to look for the type of file...
really handy, I think with a bit gymnastiek, i should be easy to even 
search of text content within txt files

thanks again.

Fabrice


Howdy-Tzi heeft op vrijdag 16 augustus 2002 om 19:29 het volgende 
geschreven:

 On Friday, August 16, 2002, at 10:16 AM, Fabrice wrote:

 when i read the cd listing, and load it into director, i just remark
 that i only got the first cd directory.


 ...This was posted by Steve Hagenlock on another list.

 

 Below are two lingo scripts that can be used to recurse through a 
 directory
 and return a list of full path names to all of the files in that 
 directory.
 I've used this routine, modified somewhat, to find a bunch of Director 
 cast
 files in a directory and verify that they were actually Director cast 
 files
 before returning the list.

 To use:

 that pathname in question = Macintosh HD:Steve's Drop Box:
 In the message window type something similar to...

 thePath = Macintosh HD:Steve's Drop Box:
 put GetFilenames(thePath)

 You should see a list of files printed to the message window.  I've 
 modified
 this to be a little more general for posting and may have broken it on 
 the
 Windows side.  It's working on the Mac side.  It's fairly ugly right 
 now and
 you may want to touch it up a bit, but it works and it's a start...

 Good luck!

 Steve

 --These are movie scripts

 on GetFilenames thepath
   global pDelim
   if the platform contains Macintosh then
 pDelim = :
   else
 pDelim = \
   end if

   set i = 0
   set theFileList = []
   repeat while true
 set i = i + 1
 set thefile = getNthFileNameinFolder(thePath, i)
 if theFile =  then
   exit repeat
 end if

 --The file type of RIFX here doesn't really matter to your
 --needs, ignore it or use it if you wish.
 set retVal =  verifyFileType(thePaththeFile, RIFX)

 if retVal = TRUE then
   append theFileList, (thePaththeFile)
 else if retVal = #Folder then
   set fileListInFolder = GetFilenames(thePath  theFile  pDelim)
   repeat with theFile in fileListInFolder
 append theFileList, theFile
   end repeat
 end if
   end repeat
   return theFileList
 end

 --

 on verifyFileType thePath, Header
   set mTextReader = new(xtra FileIO)
   if objectP(mTextReader) then
 openFile(mTextReader,thePath,1)
 if status(mTextReader)  0 then
   set result = error(mTextReader,(status(mTextReader)))
   set mTextReader = 0
   if result = I/O Error OR result = Bad File Name then
 return #Folder
   else
 return FALSE
   end if
 end if

 set headerCharCount = the number of chars in Header
 set fileHeader = 
 repeat with i = 1 to headerCharCount
   set fileHeader = fileHeader  readChar(mTextReader)
 end repeat
 closeFile(mTextReader)

 set mTextReader = 0
 if fileHeader = Header then
   put thePath --Calls out a file that matches a header type, left 
 half
 functioning for this demo.
   return TRUE
 else if getNthFileNameInFolder(thePath,1)   then
   return #Folder
 else
   return FALSE
 end if
   else
 return FALSE
   end if
 end

 


  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://shop.osborne.com/cgi-bin/osborne/0072195622.html

 [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 

Re: lingo-l Re: osx classic authoring question

2002-08-13 Thread Fabrice Closier

I run dir only in 9.2.2.
i nevers run it as classic mode, director,as wel as all other mac apps 
are running very slow in classic mode. PS for example, works quick and 
fine in version non 0sx in classic but the menus are awfully slow to 
build or react, the key command however are working just fine.
On other hand, when stating in 9.2.2 evrything runs great, but apps that 
should run on both systeems without a itch are also affected somehow 
with some slowing factors.
FlashMX, or ps 7 for example.
so now i reboot in a specific systeem, when i know witch app i need.
so far so good.

also aan advice, got some disc blocs damaged on the partition containing 
the osx system.
there is no way to reboot from 9.x disc or installed on disc. even with 
alt or c for external cd 9.x.
the machine simply ignores even when scanning with alt at bootup the 
available systems in 9.x when the last crash occurs on 10.x.
The solution was to start from osx cd, then install osx again but on a 
remote firewire. from there, i was able to check the disc, repair and 
then asked to restart from internal.

also the problem, it not posible to back up osx on a cd. With install 
cd, only little repair options are there and there are no ways to see 
the desktop in order at least to backup some files or manually repair 
the damaged files.

so if one of you run on 10.1.5 as i am, be prepaired and invest in a 
firewire, it saves a lot of headakes...

also be also prepaired to learn using the terminal to reuse the user map 
if you need to dub it voor backup. there is a way to copy with sudo 
commands and eventually allocate a new usermap location to the system. 
This way no need to reinstall lots of apps, privileges, web stuffs...

my machine is a g4 500 mp, 750 mbs, 2 int. discs 60 and 40 gigs.

Fabrice



e
riko heeft op dinsdag 13 augustus 2002 om 10:47 het volgende geschreven:

 It is a giant pain in the ass 

 i second that .. i used to post here about the same
 problems , a few months ago .. Indeed , when getting rid of the
 OLE MS extensions , it gets better , not sure what they do exactly
 but they are drag and drop related and not much liked by os X...
 However ... it still crashes violently from time to time ... and 
 performance
 really sucks. It has gotten to the point that i am doing all my
 director-work
 on a PC now because it just drove me crazy. No other app behaves as 
 badly as
 director in 'classic' environment . I wonder when there is going to be a
 native
 director os X - version .. what the hell are they waiting for ??

 erik.

 [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 cd name/listing from director

2002-08-12 Thread Fabrice Closier

Thank you all (once again) for the great tips...

I agree with Andreas, that i can be difficult... but since i wrote 
similar things in flash, with remote read write, the translation to dir 
is in mij eyes far more easy, since i make create and manage list and 
save them as text files on local disc.

the only tricky part in my eyes is the listing... i plan to add as wel 
the possibility to copy[paste the cd content on a manual way, but i 
want to spare time by just having a New from disc record button with a 
script that scan the cd port and give me back the listing from the cd, 
if there is a cd

the rest is quite simple, its just a main list with cd name, then saving 
appart the content of each cd's, with as name cdname  .txt on loacl 
disc...

anyway, thats the way i plan to do it, then for seach, i can chooze from 
the cdnames list, the one i want, then using things as if contains 
myVarseach word , then open and read each saved content text files...

the other goed thing is that i allways can use the text files, in order 
to make a print jacket cd option for example... etc..

thanks you all again, i wil per direct go take a peek at those xtra's...

Fabrice

Andreas Gaunitz P11 heeft op zaterdag 10 augustus 2002 om 10:53 het 
volgende geschreven:

 Yea I did it too a while ago.

 It's more or less a copy of the Mac folder window/ Windows Explorer but 
 with company graphics. It launches applications too, so it can be used 
 as a lecture tool at meetings, fairs etc. The user changes the contents 
 and headlines by putting files and folders in the application's root 
 folder.

 -A.


 On 8/9/02 11:02 AM, Andreas Gaunitz P11 [EMAIL PROTECTED] 
 decreed
 thusly:

  BTW, it's not a simple task to make a file browser =)

  -A.


 Nah, but it can be done. I just did something simple with a text 
 member and
 recursive fun...

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



lingo-l cd name/listing from director

2002-08-09 Thread Fabrice Closier

Hi all,
is there a way, to read from dir a cd name+content?
i mean, if a cd volume is mounted on desktop, i need the cd name and 
content in order to save those 2 info's to build a local database.
Get crazy looking hours for something, somewhere on one of my CD's...
it's now time to do something about this!!

is there somewhere technotes on this?
Fabrices

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