No Subject

2001-04-18 Thread Chandra shekar Reddy

hi All ...

how can i make use of sound channels for  background musiceven when playing an avi 
with soundtrack ?

The problem here is that the sound track of an .AVI is not played when we have sound 
in sound channels.please suggest me to overcome the problem

thanq all


_
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com





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




lingo-l Open files Urgent.

2001-04-18 Thread mitesh


Hi Friends

I want to open pdf , Microsoft Excel , Microsoft Word, Microsoft Power
point file.
So how can i open it. For it i need any xtras or not  that name. And
also I want script for open above files.

If you know this then let me inform as fast as possible.


Mitesh


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




lingo-l need ur urgent help to open .PPT ,.doc,.Xls .Pdf file in director..

2001-04-18 Thread hetal

Hello friends,

I would like to open .PPT as well as .Doc , .Xls , .pdf file in
Director..and i have to open it from sub-folder..and it should open in
the perticular format..so i can take print out also..so.please tell me
how can i do this..and what type of xtras are need for this..if u know
pl.tell me how can i do this as soon as possible..

Regards
Hetal


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




RE: lingo-l Open files Urgent.

2001-04-18 Thread Al Hospers

 I want to open pdf , Microsoft Excel , Microsoft Word, Microsoft Power
 point file.
 So how can i open it. For it i need any xtras or not  that name. And
 also I want script for open above files.

 If you know this then let me inform as fast as possible.

you may want to peruse the documentation for Director taking particular note
of the

  Open xxx With yyy

function

HTH

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

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

YEAH, RIGHT



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




lingo-l color chip in behavior dialog - Karina?

2001-04-18 Thread clars danvold

hello All-

(sheepishly)
Someone, might have been Karina Steffens, posted code to put a color
chip in the get PDL dialog box. Now I can't find it, and I can't get the
#format right. could someone please repost?

Many thanks, 
Clars Danvold

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




Re: lingo-l color chip in behavior dialog - Karina?

2001-04-18 Thread pranavn


Use the #color tag. But you can see the color chip only in the property
inspector palette, not in the gpdl box.

Regards,
Pranav
---
A bus station is where a bus stops.
A train station is where a train stops.
On my desk, I have a work station..



obliterated
(sheepishly)
Someone, might have been Karina Steffens, posted code to put a color
chip in the get PDL dialog box. Now I can't find it, and I can't get the
#format right. could someone please repost?
obliterated



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




RE: lingo-l color chip in behavior dialog - Karina?

2001-04-18 Thread Karina Steffens


 Someone, might have been Karina Steffens, posted code to put a color
 chip in the get PDL dialog box. Now I can't find it, and I
 can't get the
 #format right. could someone please repost?

Z He? What? Did someone say my name? :)

Hi Clars,

Here's an example:

property pColor

on getPropertyDescriptionList
  gpdl = [:]
  gpdl[#pColor] = [#comment: "Choose a color", #format: #color, #default:
rgb( 0, 0, 0 )]
  return gpdl
end

And Pranav is right - you only see the actual colour chip palette in the PI,
but that's more then enough...

Karina




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




lingo-l find path

2001-04-18 Thread mitesh


Hi friends,

I use that but i want to know one more thing that i want to search excel
in any system because in each system i don't know the excel path so i
want to search that
so want that script if any one can know that then write me mail

Mitesh.


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




Re: lingo-l find path

2001-04-18 Thread Christian Wach

mitesh wrote:

 I use that but i want to know one more thing that i want to search excel
 in any system because in each system i don't know the excel path

finding the path to an app can be fraught with difficulties, depending
on the system that you're dealing with. I have found the most consistent
way of opening documents is to use BuddyAPI with:

baOpenFile(pathToYourFile, "")

this mimics double-clicking the file's icon, and therefore works when
folks have (for example) custom WinNT systems, or other unusual setups.

Christian


Christian Wach
[EMAIL PROTECTED]



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




Re: lingo-l Another weirdness

2001-04-18 Thread ramesct


try this

on beginSprite me
  sprite(me.spriteNum).cursor = 280
end

on endSprite me
  sprite(me.spriteNum).cursor = 0
end

best regards
--
Ramesh CT
http://www.lingoman.net/
--

On mouseenter
   cursor(280)
End

On mouseleave
   cursor(-1)
End


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




Re: lingo-l logical error ?

2001-04-18 Thread gopinath office

on 18/4/01 12:35 pm, Guyard, Laurent at [EMAIL PROTECTED] wrote:

 better make a case or a list for the destinations..
Yeah that's what I have done because there is a large list
and combinations
the script I posted was from a test file
and the markers are not there
the are going to be different files
which will be replacing a cast member

Thanx

regards 

Gopinath


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




Re: lingo-l color chip in behavior dialog - Karina?

2001-04-18 Thread clars danvold

Thanks Pranav and Karina,

The Property Inspector bit was what threw me off. I had hypnotized
myself into believing it could be seen in the PDL dialog as well.

regards, Clars

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




Re: lingo-l logical error ?

2001-04-18 Thread Thomas Dwyer

I don't get what you mean!

 From: "gopinath office" [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Date: Wed, 18 Apr 2001 16:34:57 +
 To: [EMAIL PROTECTED]
 Subject: lingo-l logical error ?
 
 Hi!
 
 kindly let me know what's wrong in the following debugging script
 legend:--the "to" and  "from" are text fields
 --there are markers named "dubaisalalah","salalahbombay" and "bombaysalalah"
 what is supposed to happen :the user has to type two destination into the
 two fields
 when she/he clicks a button the the text in the two fields is concatenated,
 to form the marker name and jumps to the appropriate marker,
 else status is false and "puts"  an error message marker
 
 what is happening : whether the flag status is true or not the error message
 is put, but if it is TRUE it does jump to the appropriate marker
 
 on prepareMovie
 global status
 status = FALSE
 put " prepared : "  status
 end prepareMovie 
 
 
 on mouseup
 global status
 
 destination =(the text of member "from"  the text of member "to")
 if(destination="dubaisalalah") then
 
 status=TRUE
 put status
 go to destination
 end if
 
 if(destination="salalahbombay") then
 
 status=TRUE
 put status
 go to destination
 end if
 
 if(destination="bombaysalalah") then
 
 put status
 status=TRUE
 put status
 go to destination
 else
 
 status=FALSE
 
 end if
 
 if ( status=FALSE) then
 put "error"
 end if
 end
 
 Thanx
 
 Gopinath
 
 
 [To remove yourself from this list, or to change to digest mode, go to
 http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
 email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
 Lingo-L is for learning and helping with programming Lingo.  Thanks!]
 
 


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




lingo-l Sond problems with AVI

2001-04-18 Thread Bruce Epstein - Zeus Productions


From: "Chandra shekar Reddy" [EMAIL PROTECTED]

how can i make use of sound channels for  background musiceven when
playing an avi with soundtrack ?

The problem here is that the sound track of an .AVI is not played when we
have sound in sound channels.please suggest me to overcome the problem


This is a limitation of the way that AVIs play their sound through the old
VideoForWindows interface. The problem is explained in detail in Chapter 15
of Director in a Nutshell (DiaN) free online at
http://www.zeusprod.com/nutshell/downloads

One solution is to play your AVI's using Tabuleiro's DirectXtra, which
plays AVIs through the more modern DirectShow libraries.

DirectShow outputs its sound to DirectSound, unlike the VFW interface which
always sends sound to WaveOut.

Again, this is all explained in Chapter 15 of DiaN if the above leaves you
confused.

Cheers,
Bruce

Bruce Epstein, Zeus Productions, [EMAIL PROTECTED], 732-940-2800
Check out LAST CALL - The Ultimate Bartending Sim:
http://www.zeusprod.com/games/lastcall.html
Director and Lingo in a Nutshell (DiaN/LiaN) kick butt.
Free Sample Chapters: http://www.zeusprod.com/nutshell/downloads/



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




lingo-l Lingo and streaming

2001-04-18 Thread Rodrigo Peres

Hi all,


I have a shockeave movie that plays movies from a quicktime streaming server
(rtsp). I've tried many times to jump to another points of movie but without
success. There's a way to do this, request another point in movie??? I
receive the time in this format 00:00:00.


Thank's in advance

Rodrigo Peres


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




R: lingo-l DIRECTOR 8 with VECTOR

2001-04-18 Thread roberto

Try the free xtra "PS2VS 1.0" at http://moshplant.com/; i hope this helps


-Messaggio originale-
Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Per conto
di jayson
Inviato: mercoledl 18 aprile 2001 18.26
A: [EMAIL PROTECTED]
Oggetto: lingo-l DIRECTOR 8 with VECTOR


I need import vector objects (shapes) into director from Flash or
Illustrator.. or I need to be able to use the dir8's vector window to create
shapes by tracing over a sketch (background image in vector window).

Does anyone know if these task are possible?

I'm going to be controlling the vector shapes with lingo..



Please help..

-Jayson


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


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




lingo-l angle calculation

2001-04-18 Thread schmidt-r

Hi Everyone.
What is the easiest way to calculate an angle?
I have three sprites on the stage. The first even (through mySprite and
A_Sprite)
and the second even (through mySprite and B_Sprite) form an angle at
mySprite.
I want to calculate that angle in degrees. The point of origin is on the
left bottom
of the stage. Division by zero isnt solved yet.
Any help is very welcome.

regards
rAlf.

property stageWidth
property stageHeight
property A_Sprite
property B_Sprite
property mySprite
property xA, yA, xB, yB, xP, yP -- coordinates
property m1, m2 -- inclination of the even
property angleRad
property angleDeg

on beginSprite me
  A_Sprite = sprite(15)
  B_Sprite = sprite(16)
  mySprite = sprite(me.spriteNum)
  stageWidth  = the stageRight - the stageLeft
  stageHeight = the stageBottom - the stageTop
  the floatPrecision = 4
end beginSprite me

on prepareFrame me
  xA = A_Sprite.locH.float
  yA = (stageHeight - A_Sprite.locV).float -- point of origin is on the
left bottom of the stage.
  xB = B_Sprite.locH.float
  yB = (stageHeight - B_Sprite.locV).float
  xP = mySprite.locH.float
  yP = (stageHeight - mySprite.locV).float
  m1 = (yA - yP) / (xA - xP)
  m2 = (yB - yP) / (xB - xP)
  angleRad = (m2-m1) / (m1*m2 +1).atan
  angleDeg = angleRad * 180 / pi -- convert from RAD to DEG.
  put angleRad into member("angleRad")
  put angleDeg into member("angleDeg")
end prepareFrame me



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




lingo-l lingo.ini

2001-04-18 Thread Charlie Fiskeaux II

What is the purpose of a lingo.ini file?

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




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




Re: lingo-l Problem with antialiasing in Director Trial version

2001-04-18 Thread Mark A. Boyd

At 22:11 4/17/2001, [EMAIL PROTECTED] wrote:

I've included 2 text xtras (TextAsset xtra and the other is Text xtra, if
only I spelled their names properly).

If using an embedded font, you may need the font xtras, too.



--
Mark A. Boyd
Keep-On-Learnin' :)


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




Re: lingo-l lingo.ini

2001-04-18 Thread Mark A. Boyd

At 08:38 4/18/2001, Charlie Fiskeaux II wrote:
What is the purpose of a lingo.ini file?

See the example file in your Director application folder. The comments in 
the file may explain it.



--
Mark A. Boyd
Keep-On-Learnin' :)


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




Re: lingo-l lingo.ini

2001-04-18 Thread Tab Julius


Great question.

A Lingo.ini file lets you do a very limited number of commands - its main 
value is to set up some global variables before the start of the movie.  It 
also used to be used to load some XObjects (precursors of Xtras), though 
its value for that I think started to disappear in D4 - it certainly was 
gone in D5.  You can do some 'put' commands.  You cannot for the most part 
call any handlers or anything else from them, and you have access to the 
most limited of Director calls, if any, perhaps 'set the centerStage to 
TRUE'.  Nowadays with 'on prepareMovie' functionality in Director, you 
don't need LINGO.INI to set things up in advance before the first frame 
executed.

Prior to Director 6, I think, you had to make sure to ship a LINGO.INI 
files with most projectors, even if the file was empty, otherwise you'd get 
some error or complaint every time you ran the projector, at least on 
certain systems.  I've forgotten the specifics now, though I did write an 
article on it at some point.  It certainly was an issue with Director 4, 
and I think it was to a lesser degree an issue with Director 5.

Also, at least in 5 and 6, I think, there was a command in there that did 
some math assignment like 'if string(0.0)="a" then nothing', the purpose of 
which was to initialize the floating point system or something so it 
wouldn't crash later.

Nowadays you don't really need LINGO.INI, at least from D7 on, but it's 
there if you want it.

Lingo.ini is normally demonstrated with an 'on startUp' handler, but as I 
think I demonstrated once, it doesn't really matter what you call the 
handler and, in fact, I think having it in the form of a handler was 
optional altogether, though don't hold me to that.  Director just seemed to 
parse whatever was in there and act on it.  It certainly didn't invoke 
startUp() by name.

You have to understand that in a former life, Director would put up the 
first frame and THEN it would call startMovie, if I recall, so the big 
purpose of lingo.ini was to get an opportunity to get your fingers on the 
system before it got too fired up.  Modern day calls like 'on prepareMovie' 
and 'on prepareFrame' alleviate the need for this.  You guys nowadays have 
it too easy. :)

- Tab

At 11:38 AM 4/18/01 -0400, Charlie Fiskeaux II wrote:
What is the purpose of a lingo.ini file?

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


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




RE: lingo-l frametempo

2001-04-18 Thread Watson, Christopher

I believe that would be the frameTempo property.

From the Lingo Dictionary:

Syntax the frameTempo
Description Frame property; indicates the tempo assigned to the current
frame.
This property can be tested. It can be set during a Score recording session.
Example This statement checks the tempo used in the current frame. In this
case, the
tempo is 15 frames per second.
put the frameTempo
-- 15
See also puppetTempo

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Christopher Watson
Sr. Software Engineer
Lightspan, Inc.
http://www.lightspan.com/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


-Original Message-
From:   Victor Iwan [mailto:[EMAIL PROTECTED]]
Sent:   Wednesday, April 18, 2001 9:27 AM
To: [EMAIL PROTECTED]
Subject:lingo-l frametempo

Is there anyway to display actual frametempo by lingo ??


Victor Iwan Kristanda
"Learning Is Fun !" 


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

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




RE: lingo-l lingo.ini

2001-04-18 Thread Karina Steffens


 Nowadays you don't really need LINGO.INI, at least from D7
 on, but it's
 there if you want it.

Sorry Tab, I have to disagree with that bit... There's an excellent usage
for the lingo.ini file, as a companion to a fast-start "universal
projector".

Have a look at this handler:

global gfMovie

on startUp
   gfMovie = "Main"
end startUp

and this handler:

global gfMovie
on startMovie
  go movie gfMovie
end

The first will go into the lingo.ini file and the second one will go into a
stub director movie that's compiled into a fast-start projector - with
nothing else in it. The moment you double click the projector, it will open
a movie called "movie". Then, you can just copy and pase your projector,
lingo.ini file and extras folder into any director project folder and all
you need to do is open the lingo.ini and change your gfMovie handler into
whatever you want.
That will save you making seperate stub projectors for each project.
A note: it has to be saved as a global, because you can't execute a "go to
movie" command from the lingo.ini

PS: You can also use it to define other globals for usage in any of your
movies (not just the stub - globals carry over across movies unless
"clearGlobals" is used)


Karina




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




RE: lingo-l lingo.ini

2001-04-18 Thread Al Hospers

 You guys
 nowadays have
 it too easy. :)

and you walked 5 miles to school in a snowstorm every day daddy grin

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

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

YEAH, RIGHT





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




Re: lingo-l frametempo

2001-04-18 Thread Irv Kalb

Here's a way of displaying it on the screen.  Just create a field 
member, drag it to a channel in the score, put the following code 
into a behavior script and attached it to the field on the stage.

property pMember
property spriteNum
property pLastMilliseconds

on beginSprite me
   pMember = sprite(spriteNum).member
   pLastMilliseconds = the milliseconds
end

on exitFrame me
   nMillisecondsElapsed =  the milliseconds - pLastMilliseconds
   fps = 1000.0 / float(nMillisecondsElapsed)
   member(pMember).text =  fps  " fps"
   pLastMilliseconds = the milliseconds
end


At 11:26 PM +0700 4/18/01, Victor Iwan wrote:
Is there anyway to display actual frametempo by lingo ??


-- 

Lingo / Director / Shockwave development for all occasions.

   (Home-made Lingo cooked up fresh every day just for you.)

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




Re: lingo-l angle calculation

2001-04-18 Thread Colin Holgate

What is the easiest way to calculate an angle?

You can use ATAN with two integers to see the angle from one to the 
other, it even takes care of the zero angle case. For your job you 
would do that twice, and add the numbers together:

   angle1 = atan(sprite(2).loch - sprite(1).loch, sprite(2).locv - 
sprite(1).locv)
   angle2 = atan(sprite(2).loch - sprite(3).loch, sprite(2).locv - 
sprite(3).locv)
   angleindegrees = (angle2-angle1) *180/pi


Here's a sample movie:

http://staging.funnygarbage.com/colin/angular.dir

It's a DIR, you can open it from within Director. Just drag the three 
dots to see the angle change.


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




lingo-l frametempo

2001-04-18 Thread Victor Iwan

Is there anyway to display actual frametempo by lingo ??


Victor Iwan Kristanda
"Learning Is Fun !" 


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




lingo-l aucun objet

2001-04-18 Thread franck BARRIAC

hello,

if you are on Mac use soundedit and it will be imported with sound and
pictures andŠŠŠcuepoints and you can synchronize your way.
On PC sorry i don't know!!

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




lingo-l RE: cuepoints

2001-04-18 Thread Bastien Bouchard

 if you are on Mac use soundedit and it will be imported with sound and
 pictures andŠŠŠcuepoints and you can synchronize your way.
 On PC sorry i don't know!!

You can do the same with the much better Sound Forge supplied with Director
for Win.

Bastien



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




RE: lingo-l lingo.ini

2001-04-18 Thread Tab Julius


Um, although I spent a lot of time on the history, I'm pretty sure my first 
sentence said "its main value is to set up some global variables before the 
start of the movie".

In fact, I don't think you even need to declare them global, because if I 
recall correctly, all variables addressed in there are automatically 
considered global.

And, yes, I know globals are good throughout and across movies.  That's why 
they're called "globals" :)

- Tab


At 05:38 PM 4/18/01 +0100, Karina Steffens wrote:

  Nowadays you don't really need LINGO.INI, at least from D7
  on, but it's
  there if you want it.

Sorry Tab, I have to disagree with that bit... There's an excellent usage
for the lingo.ini file, as a companion to a fast-start "universal
projector".

Have a look at this handler:

global gfMovie

on startUp
gfMovie = "Main"
end startUp

and this handler:

global gfMovie
on startMovie
   go movie gfMovie
end

The first will go into the lingo.ini file and the second one will go into a
stub director movie that's compiled into a fast-start projector - with
nothing else in it. The moment you double click the projector, it will open
a movie called "movie". Then, you can just copy and pase your projector,
lingo.ini file and extras folder into any director project folder and all
you need to do is open the lingo.ini and change your gfMovie handler into
whatever you want.
That will save you making seperate stub projectors for each project.
A note: it has to be saved as a global, because you can't execute a "go to
movie" command from the lingo.ini

PS: You can also use it to define other globals for usage in any of your
movies (not just the stub - globals carry over across movies unless
"clearGlobals" is used)


Karina


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




lingo-l QT in Shockwave 8

2001-04-18 Thread Boyd Speer

Would anyone know of any issues with QuickTime in shockwave when using the
latest plugin??

Some of my shockwave stuff seems to have stopped working... I get an error
alert claiming that a QuickTime Xtra is not available or did not initialize
properly...

Thanks,
-Boyd Speer 
Touchstone Digital Design



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




Re: lingo-l QT in Shockwave 8

2001-04-18 Thread g r i m m w e r k s

On 4/18/01 5:47 PM, "Boyd Speer" [EMAIL PROTECTED] wrote:

 Some of my shockwave stuff seems to have stopped working... I get an error
 alert claiming that a QuickTime Xtra is not available or did not initialize
 properly...

You probably don't have it included in the shockwave.

Check modify--movie--xtras

In authoring mode you've got access to every xtra in your xtras folder, but
in shockwave you need to include what you use.


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




lingo-l text

2001-04-18 Thread mike massey

if i want a user to be able to make notes while a
movie is running do i use a text field? i tried
putting a field on the stage but it won't let me type
into it.

also if i want to check for certain words in that text
then say go to a marker how would i do this?

you guys are great.
mike

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

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




RE: lingo-l text

2001-04-18 Thread Al Hospers

 if i want a user to be able to make notes while a
 movie is running do i use a text field? i tried
 putting a field on the stage but it won't let me type
 into it.

welll have you made it EDITABLE?

hmmm...

 also if i want to check for certain words in that text
 then say go to a marker how would i do this?

is there a button that makes this happen? if so then you may want to look at
the CONTAINS keyword in the manual. you know, like

  if xxx contains yyy then doWhatever

where xxx is a variable containing the contents of your text field, and yyy
is a variable containing what you want to match against.

que pasa?

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

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

YEAH, RIGHT





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




lingo-l Fixed SMUS problem...

2001-04-18 Thread LePhuronn

Hi guys...

Thanks for any input. I've sorted the problem now.

It turned out that I had set up the callback to have the message passed to
it as a parameter, but the actual processing handler did not use parameters
and used getNetMessage() to pull down the message. By that time, of course,
the message had already been sent (lost into the ether), so there was
nothing there to be pulled.

Maybe I should get some sleep...36 hours is too long on coffee and Coke
alone.


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




Re: lingo-l QT in Shockwave 8

2001-04-18 Thread Boyd Speer

Nope.. just checked the funny thing is that it was working but now it
doesn't. Would an upgrade of browsers on my machine do that.???


At 03:58 PM 4/18/01 -0400, you wrote:

 Some of my shockwave stuff seems to have stopped working... I get an error
 alert claiming that a QuickTime Xtra is not available or did not initialize
 properly...

You probably don't have it included in the shockwave.

Check modify--movie--xtras


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




Re: lingo-l QT in Shockwave 8

2001-04-18 Thread g r i m m w e r k s

On 4/18/01 7:23 PM, "Boyd Speer" [EMAIL PROTECTED] wrote:

 Nope.. just checked the funny thing is that it was working but now it
 doesn't. Would an upgrade of browsers on my machine do that.???
 

Hmm. Maybe the plugin for quicktime is used by shockwave?


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




lingo-l Who was asking about multitrack cards and director?

2001-04-18 Thread g r i m m w e r k s

Strangely enough it never occurred to me...but in trying to get my motu 2408
back up (one file I need access to keeps dropping out with type 3 errors) I
realized that the setup wizard, a director movie, uses a pci-324 xtra -- the
motu 2408 card.

I know that I can use this xtra to set the config but not sure if I can
actually output audio out any one of the 8 analog outs...


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




RE: lingo-lHow to use lingo to IMPORT JPG into Cast Members

2001-04-18 Thread Sean Wilson

 People, is it possible to
 in lingo
 search a  folder using fILE io and using the returned path
 import all the JPG files into a new cast

Yes and no.

For folder operations, FileXtra3 will suit your purposes better.
www.kblab.net/xtras/

It has methods, such as fx_FolderToList, which might be useful.

Figuring if the returned files are JPEGs is as simple as testing the
filename, with something like the "contains" operator, for ".jpg"

Having done that, new(#bitmap, castLib "whatEver") and "importFileInto"
could help.

One thing you *can't* do is create a new castLib with Lingo.

HTH,
-Sean.


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




Re: lingo-l Who was asking about multitrack cards and director?

2001-04-18 Thread Bjarne Nyquist

 Strangely enough it never occurred to me...but in trying to get my motu
2408
 back up (one file I need access to keeps dropping out with type 3 errors)
I
 realized that the setup wizard, a director movie, uses a pci-324 xtra --
the
 motu 2408 card.

 I know that I can use this xtra to set the config but not sure if I can
 actually output audio out any one of the 8 analog outs...

Hey, I was asking this. I also made a wish for it at the Lingo hacker
gathering at UCON. They said the would look in to it.
But what Xtra is that? How to I get a copy of it?

Bjarne
_
Bjarne Nyquist
Researcher/Lingo Programmer
www.interactiveinstitute.se
+46-8783 24 74!]


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




Re: lingo-l Who was asking about multitrack cards and director?

2001-04-18 Thread grimmwerks


Well, it's an xtra created by motu for their audio cards (see motu.com).
I've got a 2408 which allows me 3 banks of 8 channels i/o each. Bank one
is analog i/o bank 2 to the da-88 and bank 3 is spdif (there are other
models).

now it seem that the xtra doesnt' route the audio at all but merely sets
the banks, clock and frequency for each device on the card (you can have 3
different devices on one card)...

so there's still no way to route the audio at all. Might be interesting to
get in touch with motu though.


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




Re: lingo-l Who was asking about multitrack cards and director?

2001-04-18 Thread Colin Holgate

Hey, I was asking this. I also made a wish for it at the Lingo hacker
gathering at UCON. They said the would look in to it.
But what Xtra is that? How to I get a copy of it?

Bjarne
_
Bjarne Nyquist


I'm sure Nyquist is a common name, but it's still amusing to hear 
sound questions from someone with that name! Do you have any 
relatives into sound theory? Try this search:

http://av.com/cgi-bin/query?q=%2Bnyquist+%2Bsoundkl=XXpg=q

or read about the other Nyquist's theory here:

http://fonsg3.let.uva.nl/praat/manual/Nyquist_frequency.html

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




lingo-l Projector on HD and dxr's on CD

2001-04-18 Thread lpovoas

I've figured out that the projector boots up much faster and
can have its settings(like full screen) changed if I copy
it to the hard drive and use the CD-ROM just for the data (like
dxr's and cxt's)
But in order to make the projector work I need also to copy the
xtra's that my Project uses..

The questions are: does macromedia allow me to copy the projector
from the CD-ROM to the user's Hard Drive?? does the xtra's
developer allow me to copy the runtime version of their software??

Any elucidation would be wellcome.

Thanks 
 Luiz Gustavo Castelan Póvoas

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




OT: Re: RE: lingo-l find path

2001-04-18 Thread Kurt Griffin

 Price: $299.00

$299.00? For twice the price of the full version of Buddy, I hope it makes
coffee, too.

-Kurt


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




RE: Re: RE: lingo-l find path

2001-04-18 Thread Al Hospers

 $299.00? For twice the price of the full version of Buddy, I
 hope it makes
 coffee, too.

I don't know about the coffee, but it feeds the dog  cat.

grin

Al Hospers
Marketing Associate
UpdateStage
alhospersatupdatestagedotcom
http://www.updatestage.com



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




Re: lingo-l logical error ?

2001-04-18 Thread gopinath

on 18/4/01 6:38 PM, Thomas Dwyer at [EMAIL PROTECTED] wrote:

 I don't get what you mean!
the problem is solved
thanx anyway :)


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




Re: lingo-l logical error ?

2001-04-18 Thread gopinath

on 18/4/01 7:09 PM, Irv Kalb at [EMAIL PROTECTED] wrote:

 Why not use a case statement here (untested):
 global status
Irv Hi!
Thank you not only for this but for the ebook also
can't I somehow download the whole thing?
:)
Regards

Gopinath


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




Re: OT: Re: RE: lingo-l find path

2001-04-18 Thread Mark A. Boyd

At 18:03 4/18/2001, Kurt Griffin wrote:
  Price: $299.00

$299.00? For twice the price of the full version of Buddy, I hope it makes
coffee, too.

That would be the MasterAppLiance Xtra.


--
Mark A. Boyd
Keep-On-Learnin' :)


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




lingo-l ITS BLACK AND NOTHING COMES UP...!!!

2001-04-18 Thread george.gemenetzis


Hi everyone,I tried to enter a normal text field into my movie.
The plan was to paste some text into the text window when i realized 
that the backround of the text window is BLACK.
I cannot change it.
Does the colour of the text window has any relation with the colour i setted
up for the stage colour.(Cause setted it black) 
You see i want to use other than black in the text field for background
I know its possible.
I have the Demystified 8 book ( Sorry for the advertise!) and i couldn't
figure it out from there.
Can anyone help me.

I really appreciate your help.

George 

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




RE: lingo-l ITS BLACK AND NOTHING COMES UP...!!!

2001-04-18 Thread Victor Iwan

choose text-field cast member from score windowchange font color to
white



 Hi everyone,I tried to enter a normal text field into my movie.
 The plan was to paste some text into the text window when i realized
 that the backround of the text window is BLACK.
 I cannot change it.
 Does the colour of the text window has any relation with the
 colour i setted
 up for the stage colour.(Cause setted it black)
 You see i want to use other than black in the text field for background
 I know its possible.
 I have the Demystified 8 book ( Sorry for the advertise!) and i couldn't
 figure it out from there.
 Can anyone help me.

 I really appreciate your help.

 George

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



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




Re: lingo-l ITS BLACK AND NOTHING COMES UP...!!!

2001-04-18 Thread pranavn


Hi George

You need to open the text cast member in the text editor(from the window
menu or Ctrl-6). Then open the tools palette(again the menu or Ctrl-7)
Change the background color in the tools palette.

Regards,
Pranav
---
A bus station is where a bus stops.
A train station is where a train stops.
On my desk, I have a work station..



obliterated
The plan was to paste some text into the text window when i realized
that the backround of the text window is BLACK.
I cannot change it.
obliterated



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