lingo-l Unicode in Director

2002-04-15 Thread Hung Hoang

Hi all,

Does Director 8.5 support Unicode? I can not read XML file has unicode. Have
you ever meet this problem? Please show me.

Thanks a billions
Hung Hoang.

[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 script check in runtime

2002-04-15 Thread nitin sharma

hi 
can anybody tell me how i can check my script before
playing my movie.

i m giving one script option to user in which he can
wright his own script  can change property of sprite.
like color, position etc.

but problem is 

when user wright script in projector (EXE) and spose
he give wrong parametters or script (exe) gives a
error
 ask you want to continue or not 

spose i choose not it close exe file  completely exit

is there any idea or way to check his(user) script
by that he can check his script has any error or not

lot of thanks in advance
nitin



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



Re: lingo-l script check in runtime

2002-04-15 Thread bhakti

look into the alertHook...

nitin sharma wrote:
 
 hi
 can anybody tell me how i can check my script before
 playing my movie.
 
 i m giving one script option to user in which he can
 wright his own script  can change property of sprite.
 like color, position etc.
 
 but problem is
 
 when user wright script in projector (EXE) and spose
 he give wrong parametters or script (exe) gives a
 error
  ask you want to continue or not
 
 spose i choose not it close exe file  completely exit
 
 is there any idea or way to check his(user) script
 by that he can check his script has any error or not
 
 lot of thanks in advance
 nitin
 
 __
 Do You Yahoo!?
 Yahoo! Tax Center - online filing with TurboTax
 http://taxes.yahoo.com/
 [To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



lingo-l Director and OS X

2002-04-15 Thread Tom Vandenbossche

Anybody knows when director will release for OS X?
(and perhaps dreamweaver for OSX?)


Tom

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



Re: lingo-l projector questions

2002-04-15 Thread Tab Julius



Usually it is bad form to modify the user's computer settings.  You would 
need an Xtra to do so anyway, but presume it's 256 colors because either:
1) The user likes it that way
2) Their video card only supports 256 colors (at least at that resolution), 
and can't be changed.
or sometimes (3) It came that way and the user just doesn't know how to 
change it.

At any rate, it's not appropriate to change their system.  What you can do 
is one of the following:

A) Put up a message saying This program requires your monitor to be set to 
display thousands of colors or better.  Use Settings | Control Panel | 
Display | Settings to change your color setting, then exit.  If the user 
really wants to run your program, let THEM do the change and then re-run it.

B) Create a duplicate set of art that works in 256-colors and use that art 
for 256-color systems.  Or, modify your art so that it doesn't have 
gradients and uses colors from the standard palette, so at least your art 
looks better.  Creating duplicate art is the best quality solution, but a 
lot of work if you're not making a commercial product.

- Tab

At 06:27 PM 4/15/02 +0800, noelle cheng wrote:

Hi,

Before  creating a projector, is there any way to check the end user's 
system via lingo and modify its computer settings especially its color 
settings?

I found that a projector  that I had created looked very ugly on another 
computer. It was set at 256 colors.
I had used  a reverse background which did not appear at all and the color 
was missing.

When I searched the Lingo-l archives and Direct-L archives, I could not 
find anything.  Maybe I am wrong and nobody modifies the end-user 
settings?  Short of re-doing the whole piece of work?


Another thing - I used QT movies in my movie.  When an .exe file is 
created, QT files need to accompany this.  I actually placed my QT movies 
in a folder. And every time  the movie reached a screen where a QT  movie 
was required,  the box saying where is this file to be found opens up. I 
have to tell the computer to look into the accompanying file every time.

  How do I not allow it to open in a projector?  It looks very terrible in 
 a presentation.

TIA.

Noelle.


[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: Director 8.5.1 in os x environment

2002-04-15 Thread erik

Ehm,

Re: Lingo-l digest, Vol 1 #199 - 19 msgs  = Re: Director 8.5.1 in os x
environment

Sorry 'bout 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!]



lingo-l Re: Lingo-l digest, Vol 1 #199 - 19 msgs

2002-04-15 Thread Erik Verschueren

 I'd be interested to hear of others who have Classic, who have fired
 up the extensions manager and disabled all the MS inits (list
 following), and specifically whether it worked.

Warren, 

You're definitely on the right track..
I already had a stripped down classic set in my  extensions manager
But after disabling ALL the MS components (before i kept a few) , rebooting
and such , i am now working a few days without a single director-breakdown
and also (as you mentioned) window-redrawing in all classic apps seems
Faster indeed. 
Thanx. 

( you might consider posting it to  www.macosxhints.com )

 Here are the inits I disabled:
 
  Microsoft Component Library
  Microsoft Framework
  Microsoft Hyperlink Library
  Microsoft Internet Library
  Microsoft OLE Automation
  Microsoft OLE Library
  Microsoft RPC Runtime Library
  Microsoft Structured Storage


+--
+  E.junior-developer
+  
+  [EMAIL PROTECTED]
+   +32 3 470 26 13
+  
+http://www.alligence.com
+--














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



Re: lingo-l script of mousewithin

2002-04-15 Thread Andreas Gaunitz P11

It probably depends on where the script is.

on mouseWithin me
   --
end

is best used in a behavior attached to a sprite. Then it will be 
called when the mouse is within that particular sprite.

If you want to detect which sprite the mouse is within from a movie 
script or some other global script you need to use

the mouseMember

to find out what member the mouse is within, and then figure out 
which sprite that uses that member.

-A.


i want to give scripting facility to user by that he
can make little changes in sprite property like color
or position ect. for that i m useing the text of field
a to the script of sprite 1.

all is fine

but when i use
on mousewithin
set the forecolor of sprite 1 to 6
end

its no effect

but when i m use
on mouseup
set the forecolor of sprite 1 to 6
end

its work fine

can't we give mousewithin command in our scripting
text.




[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 Message Window

2002-04-15 Thread Robert Rycroft

I apologize if this is not a true Lingo question.
I frequently use the Message window to debug programs.  I will run the program once 
and get a bunch of data in the Message Window.  If I then run the program again, the 
new data gets placed below the old data, but I often find it difficult to distinguish 
the new from the old data.  Is there a simple way to clear the Message window?

Thank you.

Robert S. Rycroft
Dept of Economics
Mary Washington College
Fredericksburg, VA 22401
540-654-1500



[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 projector questions

2002-04-15 Thread Tab Julius


You're right, I was thinking of screen-size, but it was generally true on 
Windows anyway.

On the Mac you can change it without too much problem (just remember to set 
it back when you're done!).  On Windows, it used to NOT work for many 
systems - nowadays it's more likely to work.  It used to be that most 
systems were not capable of going over 256-colors, not true now.

But, I would still say that if the system is set to 256, there's probably a 
reason for it - my guess is that they don't have the hardware to do better 
than that, so if you ultimately want to run in 256 you'll need 256-color 
art for best results.

- Tab

At 07:52 AM 4/15/02 -0400, Colin Holgate wrote:

Usually it is bad form to modify the user's computer settings.


That may often be the case (for example, resizing their desktop may be 
bad, or changing their sound level to super loud wouldn't go down too 
well), but in these days I don't think that setting the colordepth is that 
bad a thing. It's also a built in function, no Xtra required, and it's 
likely to work on most modern systems.

So, try to set the colors if you can, and if that fails, tell the user to 
change it for you.

One important thing, don't use the projector option for changing the color 
depth, because it won't let you reset it to how it was before. Change it 
using the colordepth function, but remember what it was set to, and reset 
it to that when they quit the projector.


On the other problem, read up on 'the searchpath' in the Lingo dictionary.

[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 Message Window

2002-04-15 Thread grimmwerks



Sure - select all in the message window before you run it again.

On Mon, 15 Apr 2002, Robert Rycroft wrote:

 I apologize if this is not a true Lingo question.
 I frequently use the Message window to debug programs.  I will run the program once 
and get a bunch of data in the Message Window.  If I then run the program again, the 
new data gets placed below the old data, but I often find it difficult to distinguish 
the new from the old data.  Is there a simple way to clear the Message window?
 
 Thank you.
 
 Robert S. Rycroft
 Dept of Economics
 Mary Washington College
 Fredericksburg, VA 22401
 540-654-1500
 
 
 
 [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 using the debugger

2002-04-15 Thread noelle cheng

Hi,

Thanks Florian and Tab for helping to solve my problem. Sorry, Florian for 
not replying earlier.

I think Tab explained very good what to do.
Also be sure to include the script member scriptb in your movie.


Yes, Tab did explain it very well. In fact he hit the nail on the head. As 
I has copied the contents from another file, there were  now actually two 
'start movie' scripts.

Wow, you are all very good at debugging scripts. You were able to pinpoint 
my mistakes very quickly.

Anyway, after I corrected this, I ran the movie again and the error message 
was :

Error: cast member not found.

I think I can't do anything anymore.

Thank you for helping me learn.  Yes, I spent hours on it but I believe 
that it was worth the trouble.

First thing I've learnt is that I must never copy code blindly. There will 
definitely be errors.


Something more general Noelle: what is it you want to do? No offense
meant, but you seem to be a very beginner with Director and Programming.
It might not be the best idea to use quite complicated object
orientated scripting. We all gladly help, but using more simple lingo
might do a better job for you to learn lingo.

Thank you for your concern.

  To be honest, I was trying to create a quiz  in my .dir movie. I wanted 
to create something nice instead of using PS and embed everything  in the 
score to do it. I wanted it to be interactive. But my knowledge of lingo is 
very very limited.

Initially, Irv was kind enough to send me his file.

I studied it and tried to modify and fit it into my movie. No, the debugger 
didn't appear when I ran the movie. Instead the tempo was all wrong and 
the  scenes were not smooth.  The sequencing of events was wrong. Well, I 
couldn't very well ask Irv what he put inside his movie,  now, could I? It 
was  very embarrassing.

Then I was very fortunate to receive another quiz .dir  file. But this time 
I made  the mistake of not testing it by saving it after copying it in.  It 
worked after I copied it  in. If I had saved it and ran it, I would have 
known of the errors then . But I didn't do so. This is another lesson 
learnt.  After I saved it  I do not  run it but  immediately started 
modifying the questions etc - after all it was  something like a 'generic 
file'.

Only after I tried to run this file did the errors come out. Well, it was 
in a way better than Irv's so I immediately started using  the debugger.

The same thing with the volume control script. I still can't make it work 
properly. But I am not giving up. I still want to try.

I'm sorry. I know that this is definitely not the way to learn lingo. And I 
wouldn't have said anything if you hadn't asked me. I'm very afraid that I 
may be wasting your time.

May I ask a question? Is math required for lingo?  In the university, I 
only studied statistics. But I studied some general math during my  'A' 
levels. Is this still too little?

Noelle



[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 using the debugger

2002-04-15 Thread Tab Julius

At 09:24 PM 4/15/02 +0800, noelle cheng wrote:
May I ask a question? Is math required for lingo?  In the university, I 
only studied statistics. But I studied some general math during my  'A' 
levels. Is this still too little?

Absolutely not, unless you're planning on programming things that require 
math (physics apps or animations require physics math, financial programs 
require financial math, etc.).

I was never particularly great at math - from calculus on I got lost easily.

What I always WAS good at was geometry, particularly the part about proving 
theorems.  That requires a step-by-step proof, not unlike a basic program.

Programming is logical thinking, the ability to break apart and analyze 
problems.  You will first have to learn how the machine processes 
instructions and does things, and then it will be easier to understand how 
programs work.  Everything must be broken into little steps, and steps 
within steps.

A good suggestion is to not tackle anything too large at once.  Of course, 
some people don't understand what goes into writing programs, so it's hard 
to tell how difficult a job can be.

Imagine building a house.  If you don't know anything about home 
construction, then you're asking for trouble trying to design and build the 
house you will live in from scratch.  First, learn about electricity and 
wire up a little switch that makes a light turn on and off.  Then do some 
experiments with plumbing.  Learn how to pour a small amount of 
concrete.  Maybe make a tiny little house on a little bit of concrete, and 
one light switch.  It'd be too small to live in, but you'd start to see how 
the process works.

Then, as you work with it, you learn what you need to know to build larger 
houses.

The programs I write now are nothing like the ones I first wrote 25 years 
ago.  Only bite off as much as you can chew.  Too many people get 
discouraged by attempting something overlarge.  Trying something large does 
let you get a feel for how much work a project is, but you will still be 
more productive quicker by doing small projects.

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



lingo-l Re: lingo-lsearchpath (was projector questions)

2002-04-15 Thread noelle cheng


Hi,



On the other problem, read up on 'the searchpath' in the Lingo dictionary.


I found this in the Direct-L archives.

on preparemovie set the searchpaths = [the moviepath, the moviepathVideo 
 the last char of the moviepath] end

as in :

on preparemovie
set the searchpaths =[D:\,D:\Video\]

where  Video  is the folder name of the external cast member.


I used this in a lingo.ini file  and it didn't execute. Where do I place 
this statement?

I also set the cd to autorun in an autorun.inf file.  This worked.

I then used this command :

on startup
   the searchCurrentFolder = TRUE
end

in a lingo.ini file. This didn't work either.


How, then do I do it?

TIA

Noelle

[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: purging memory

2002-04-15 Thread Cole Tierney

Micheal,

if pSprite.membernum  pEndMember then
 pSprite.membernum = pSprite.membernum + 1
 unloadMember member pSprite.membernum - 1
end if

I would suggest adding the following after the unload statement:
   set the purePriority of member pSprite.membernum - 1 =  2

I still think next means next to be purged. Let me know if this 
helps, so I can be convinced otherwise :)

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



lingo-l Where is the list archives? Trying to find info on printingfrom shockwave.

2002-04-15 Thread James Tu


I know that the printing issues has been on this list before...is there 
an archive of the list that I can search?


If not, how can I print from shockwave?  Are there any free xtras out there?



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



Re: lingo-l Re: lingo-lsearchpath (was projector questions)

2002-04-15 Thread noelle cheng

Hi,

Are you talking about the File IO Xtra?
And when you talk about the first movie, is it in a movie script file 
within  the .dir file?

Thanks.

on preparemovie
set the searchpaths =[D:\,D:\Video\]

where  Video  is the folder name of the external cast member.


I used this in a lingo.ini file  and it didn't execute. Where do I place 
this statement?



Put it in your first movie, not in the lingo.ini file. Keep reading 
though, because it does get a little trickier. For example, your above 
script would only work if the CD drive was letter D.



[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 Unicode in Director

2002-04-15 Thread Watson, Christopher

The XML Parser Xtra supports the UTF-8 and UTF-16 encodings of the Unicode
character set. It also supports ISO-8859-1 (Latin 1), US-ASCII, and EUC-JP
and SHIFT-JIS (for Japan). It also supports an encoding named
x-director-lingo I think. But I can't locate the documentatioin for that
right now, or I'd point you to it.

¯¯¯
Christopher Watson
Sr. Software Engineer
Interactive Web Media
Lightspan, Inc.
Tel 858.824.8457
Fax 858.824.8001
___


-Original Message-
At 12:41 PM +0700 4/15/02, you wrote:
Hi all,

Does Director 8.5 support Unicode? I can not read XML file has unicode.
Have
you ever meet this problem? Please show me.

Thanks a billions
Hung Hoang.
[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 using the debugger

2002-04-15 Thread Howdy-Tzi

At 00:12 +0800 04/15/2002, noelle cheng wrote:

Somehow or other the parent script reference that *should* be in 
the goMulti object variable didn't get instantiatiated. This means 
(probably) there is a line of Lingo that reads something like:

goMulti = new ( script blablabla )

...and that this line is in a handler that didn't execute.


Is the execution of the code  from top to the bottom within the code?

Yes, Lingo is not like a line-numbered language where you can jump 
from one line to another when you are working in a more or less 
linear way.

But there are ways you can make operations repeat within a segment of 
code until a condition is met; and there are ways you can have one 
segment of code access another entirely.

Is it possible for two programs with the same code to yield different results?

Well, as you have found, yes and no. It's not always safe to believe 
that a copy/paste operation has resulted in the *same* state being 
created in two different files. And since variables are, well, 
variable, it is possible for their contents to alter dynamically, 
which means it is usually quite rare that the same code will yield 
the *same* results. (If it did, computer games would be boring...)

Anyway, after I corrected this, I ran the movie again and the error 
message was :

Error: cast member not found.

Yes, this is because the scriptb parent script member that was 
being referenced and instantiated in the goMulti object is not 
present in your current file.

To be honest, I was trying to create a quiz  in my .dir movie.

Those can be fun, but they do require a bit more programming than you 
might think at first. It seems simple to present a true/false or 
multiple-choice quiz, but if you want to make it something that can 
change over time, it requires a fairly substantial degree of planning.

May I ask a question? Is math required for lingo?  In the 
university, I only studied statistics. But I studied some general 
math during my  'A' levels. Is this still too little?

Ha, you've got stronger math than most of the people I know! You 
certainly do not have to be able to do differential equations in your 
head to work with Lingo. I believe Tab mentioned that mathematics 
helps best by giving you a solid foundation in logic more than 
anything else. Math, like programming, requires a lot of precision, 
and generally only yields one correct result (and an infinity of 
incorrect ones ;).

Before  creating a projector, is there any way to check the end 
user's system via lingo and modify its computer settings especially 
its color settings?

Well, you can probe the colorDepth and warn the user with an alert 
box if there are problems. But your situation is easier to handle, I 
believe.

I found that a projector  that I had created looked very ugly on 
another computer. It was set at 256 colors.
I had used  a reverse background which did not appear at all and the 
color was missing.

Yes, these are due to palette issues. If you set the default palette 
of your movie to Web216, you will find that most of these problems 
will go away. What is happening (probably) is a system component, 
such as the taskbar, is interfering with the way Director draws its 
colors, when there are not enough available to use the full range you 
have selected in your graphics.

Using Web216 for the palette will guarantee that the system-specific 
colors remain intact, and will allow your movie to appear more or 
less normal during playback, even on low-color systems.

Another thing - I used QT movies in my movie.  When an .exe file is 
created, QT files need to accompany this.  I actually placed my QT 
movies in a folder. And every time  the movie reached a screen where 
a QT  movie was required,  the box saying where is this file to be 
found opens up. I have to tell the computer to look into the 
accompanying file every time.

Well, the best approch with this is to place the QT movies in a 
folder alongside your Director file itself as you are authoring it, 
then import those movies as you go. So the directory might look like 
this:

   noelle.dir
   media
 movie1.mov
 movie2.mov

...assuming you have named the movie folder media. Then when you 
make your projector, save it alongside the media folder:

   noelle.dir
   noelle.exe
   media
 movie1.mov
 movie2.mov

When you are ready to make your CD, copy the projector and the media 
folder to the same location and burn the disc:

   CD
 noelle.exe
   media
 movie1.mov
 movie2.mov

This will keep the QuickTime movies in the same *relative* location 
-- that is, they will always be alongside the Director 
movie/projector, and will always be in a folder named media. This 
lets both your Director movie and your projector find and use the 
QuickTime movies without having to put up a dialog box every time.

And when you talk about the first movie, is it in a movie script 
file within  the .dir file?

That is what Colin was 

Re: lingo-l script check in runtime

2002-04-15 Thread Howdy-Tzi

At 00:12 -0700 04/15/2002, nitin sharma wrote:

can anybody tell me how i can check my script before
playing my movie.

Short of writing a Lingo syntax parser, no. I'd suggest strongly 
restricting what the user can enter. For instance if s/he wants to 
change the color of something, use color chips like a paint program 
does. You can even take a screenshot of the Director color palette 
and use that, getting the RGB value of any pixel under the mouse as 
the user clicks. This will have two advantages:

1. It prevents the user typing in something boneheaded (for instance 
teenagers might try entering obscenities just to laugh at the 
messages; and

2. Color chips are much more evocative of hues (as James Newton 
mentions) than rgb ( 254, 17, 38 ).

i m giving one script option to user in which he can
wright his own script  can change property of sprite.
like color, position etc.

You can set the position just by letting the user drag the sprite, 
and getting its final location on mouseUp. Again, no need to run the 
risk of the user typing in bad code.

but when i use
on mousewithin
set the forecolor of sprite 1 to 6
end

its no effect

If you are using a behavior you have to append the 'me' keyword:

   on mouseWithin me
 set the forecolor of sprite 1 to 6
   END mouseWithin

-- 

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



RE: lingo-l Re: purging memory

2002-04-15 Thread Charlie Fiskeaux II

No, next doesn't mean next to be purged, it means that it's the next
highest priority of purging after all the cast members whose purge order is
set to normal are purged.

Charlie Fiskeaux II
Media Designer
The Creative Group
http://www.cre8tivegroup.com
859/858-9054x29


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Cole Tierney
Sent: Monday, April 15, 2002 1:00 PM
To: [EMAIL PROTECTED]
Subject: Re: lingo-l Re: purging memory


Micheal,

if pSprite.membernum  pEndMember then
 pSprite.membernum = pSprite.membernum + 1
 unloadMember member pSprite.membernum - 1
end if

I would suggest adding the following after the unload statement:
   set the purePriority of member pSprite.membernum - 1 =  2

I still think next means next to be purged. Let me know if this
helps, so I can be convinced otherwise :)

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

[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 projector questions

2002-04-15 Thread Charlie Fiskeaux II

The thing to remember with using QT videos is that you need to start out
authoring with them in the location you intend to publish them in.  In other
words, if you intend to have all of the QT videos on the CD in a
subdirectory called media under the directory in which the projector is
located, then when you originally import them into Director to begin
authoring, you need to have them in a subdirectory called media under the
directory your .dir file is in.  That way, when you move them to the CD for
the final product, the relative path to your projector is the same as it was
to your authoring file.

Charlie Fiskeaux II
Media Designer
The Creative Group
http://www.cre8tivegroup.com
859/858-9054x29


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of noelle cheng
Sent: Monday, April 15, 2002 6:28 AM
To: [EMAIL PROTECTED]
Subject: lingo-l projector questions



Hi,

Before  creating a projector, is there any way to check the end user's
system via lingo and modify its computer settings especially its color
settings?

I found that a projector  that I had created looked very ugly on another
computer. It was set at 256 colors.
I had used  a reverse background which did not appear at all and the color
was missing.

When I searched the Lingo-l archives and Direct-L archives, I could not
find anything.  Maybe I am wrong and nobody modifies the end-user
settings?  Short of re-doing the whole piece of work?


Another thing - I used QT movies in my movie.  When an .exe file is
created, QT files need to accompany this.  I actually placed my QT movies
in a folder. And every time  the movie reached a screen where a QT  movie
was required,  the box saying where is this file to be found opens up. I
have to tell the computer to look into the accompanying file every time.

  How do I not allow it to open in a projector?  It looks very terrible in
a presentation.

TIA.

Noelle.


[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 bitmap cast member width = 4096 pixels

2002-04-15 Thread Michael von Aichberger

Hi everybody!

While I have no problems in creating image objects wider than 4095 pixels, I
get a script error message -2147219502 when I try to allocate such an
image object to a bitmap cast member.

x = image(4096, 20, 24)
y = new(#bitmap)
y.image = x

No problem for picts  4096 px (Win2K, 512 MB RAM)

Is this a bug? (I suppose it's not a feature)
And if so, is there a workaround?

Thanks for your help!

Michael von Aichberger

[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 always on top

2002-04-15 Thread R Marino



Hi,
please, there is a way to do a projector that is always on top, not going
to a second plane when other window  is active?
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 always on top

2002-04-15 Thread Sean Wilson

   please, there is a way to do a projector that is always on 
 top, not going
 to a second plane when other window  is active?

Buddy API. Find it at:

http://www.mods.com.au

The function/call you want is:
baSetWindowState( baWinHandle(), StayOnTop )

(it's free for 2 functions, so you're OK with the above)

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



Re: lingo-l always on top

2002-04-15 Thread Jason Je

Hi...

MasterAPP's mappKeepOnTop does the job...

You can get it from http://www.updatestage.com/xtras/masterapp.html

Below are from the MasterAPP Manual
---
mappKeepOnTop ( windowIDNum )
windowIDNum: integer window ID obtained from another method
Returns: OK or string beginning with Error:

Win32-only method. Window is displayed on top of all other windows, even 
when other app's windows are activated. Useful for making a Director 
projector behave like a floating tool palette.

Example:

on startMovie
  set windowID = mappDirectorMainWindow
  mappKeepOnTop(windowIDNum)
end

---

HTH

Jason


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

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



lingo-l MUI Xtra and MacOs

2002-04-15 Thread Daniel Robertson


When the user clicks on the Yes button or on the No button we got an error:
Director Player Error
Handler not defined
return answer
#gMac
ScriptError. Continue

We don't understand nothing at all. What are we doing wrong?
It only happens in runMode (MacOs 8.6 and 9.0), and the xtra is well
placed at the xtras folder.
Please Help! We need to solve this problem

I reported this bug when I was testing Director 8. Have you by any chance 
got the Script for instantiating the MUI in an external cast (or a cast 
other than the Internal cast)?
I seem to recall that this error occurs if the script is in an external 
cast. I worked around the problem by copying the script to the internal 
cast of every movie of my project. Not a neat workaround, but it does work.
Cheers,
Daniel
___
Software Development Manager * Courseware Development Services
TeLaRS. Information Division * email: [EMAIL PROTECTED]
The University of Melbourne  * phone: (613) 8344 7591
Parkville, Australia *   fax: (613) 8344 4341 

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