AW: change full screen mode at runtime in Dir 8.5.1

2004-09-12 Thread Michael von Aichberger
> mac or pc? When the window is in "window" mode, do you want to see the
normal title bar with min,max,close buttons?


Hi Stephen!

Thanks for your answer. I am developping on a PC, but I would need that
functionality for a cross-platform CD, so if there were a MAC solution, I'd
take that too!

But I'd be glad to have your win-only solution.

Window without title bar would do it, yes!

Thanks in advance

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


change full screen mode at runtime in Dir 8.5.1

2004-09-12 Thread Michael von Aichberger
Hi List,

if a projector is created using the option "fullscreen", is it possible to
change that at runtime, so that after pressing a key for instance it runs in
a window?

I am using Dir 8.5.1.

Thanks

Michael

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


mouse selection doesn't work in projector

2004-08-23 Thread Michael von Aichberger
I forgot:

I am on Dir 8.5.1, Win2K

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


mouse selection doesn't work in projector

2004-08-23 Thread Michael von Aichberger
Hi list,

I have an urgent question:

I have an editable text field, in which the user should be able to select
chunks of text to format them. In authoring, everything works fine, but when
I make a projector out of the file, clicking and dragging the mouse doesn't
select anymore (no highlited text).

What can I do about it?

Thanks to everyone who can help!

Desperately (I should deliver in a few hours)

Michael

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


AW: propsave Xtra and images

2004-08-18 Thread Michael von Aichberger
yes it does, but it doesn't work with image objects. 

I wonder why this is not possible ...

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


AW: Lingo to control two computers simultaneously???

2004-08-17 Thread Michael von Aichberger
> The Multi-user xtra is the way this is generally done.

I agree to that. I have done this before with 6 computers running a
presentation similar to yours simultaneously on 6 screens. I also think that
there is no better way to do it. I just want to "warn" you:

The accuracy of this kind of synchronization is fair but not perfect. Good
enough for most applications but in our case, it presented a major problem.
We had split lingo animations, projected in softedge (screens partly
overlapping) and what we were looking for was an accuracy of about one video
frame (1/30 sec.). Before you try that yourself: THIS IS NOT POSSIBLE. Not
repeatedly that is. Most transitions were of about 1 to 3 frames accurate,
but some delays were up to 5 frames. (1/5 sec). Which was noticeable in our
application. We tried the UDP protocol instead TCP/IP, we tried a different
approach with the serial interface using the excellent serial Xtra from
DirectXtras, but it still was impossible to synchronize the machines better
than that. I even think that the delays are Director's fault, not or not
only caused by the MUI communication. Director is simply not made for this.

If you find a way, TELL ME, until then I advise you to use the Multi User
Protocol, but see to it that your animations are not too demanding in terms
of synchronization.

Good luck!
Michael


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


AW: AW: propsave Xtra and images

2004-08-17 Thread Michael von Aichberger
Well, I have seen the pimu.com page and seen that the picture type is
supported. What I didn't know until now is that #picture and #image are
different things.

The problem now seems to be that plain image objects which do not reside in
a bitmap cast member cannot be saved with propsave.

In my case I have plenty of image objects together with other data in a very
large list. With propsave I thought it would be very convenient to save the
whole list to a file and retrieve it from there. Now it seems that before
storing my images in the list I have to convert then to the #picture type by
creating a bitmap castmember, assigning the image to it, retrieving its
#picture type, placing it in the list, then saving this list with propsave.
BUT: Whenever I  want to use an image from the list, I cannot do so
directly, as imaging lingo seems not to work with "pictures". So before
copypixeling something, I will again have to create a bitmap cast member,
assign the #picture from the list, and then get the #image of it for further
treatment.

Kind of complicated, or did I miss something? In case this is the way to go
with propsave, can anyone confirm, that vlist can save lists with pure image
objects in it?

Thanks again for your help

Michael


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


AW: propsave Xtra and images

2004-08-17 Thread Michael von Aichberger
> You could use the ProgressCopy Xtra from www.updatestage.com

ProgressCopy is not exactky what I am looking for. propsave would be
perfect, if it worked. There must be some people out there who have
successfully saved lists containing images among other media types.

I would be very grateful if some of them let me know how they made it!

Thanks anyway
Michael

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


propsave Xtra and images

2004-08-17 Thread Michael von Aichberger
Hi list!

The propsave Xtra that I think many of you have already used, should be able
to save all sorts of Director media types, including images. Well, I have
tried to save images, but I didn't work. The media type of the restored
image was "#unknown".

I tried it both within a list and without (the image alone), nothing worked.

Could someone point me in the right direction?

Thanks!

Michael

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


AW: OOP: shortest handler name

2004-08-05 Thread Michael von Aichberger
> Use meaningful variable and handler names. It's THE first rule of reusable
programming.

You are right and that is what I normally do. But in this case I need the
name of the handler to be short, because the purpose of the handler is to
get me the content of a text cast member. The whole program is for bulding a
web site. The various segments of the HTML code are stored in text cast
members. And I need the short handler as abbreviation when concatenating the
different html chunks. So in this case, the short handler name makes the
code even easier to read!

Instead of coding

htmlText = member(3, "websiteBuilder").text & member(2,
"websiteBuilder").text & member(7, "websiteBuilder").text

I can write htmlText = t(3) & t(2) & t(7)


with the function

on t chunkNumber
  return member(t, "websiteBuilder").text
end


Or is there a smarter way to do this?

Thanks
Michael

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


OOP: shortest handler name

2004-08-05 Thread Michael von Aichberger
Hi everybody,

I have a baxic question about parent scripts.

Until now, a typical handler definition in a parent script of mine looked
like

on mWhatToDo me
...
end


and it was run like that:

me.mWhatToDo()


Now I have a handler that is called very often so that it would be nice, if
the handler name were very short. As short as possible that is.

This could be:

on x me
...
end

which could be run with

me.x()



Next I was asking myself, if the "me" could be omitted.

I tried

on x
end

and called it with:

x()

And it worked!

However I am sure there must be something wrong with it. There must be a
reason for the "me" after all.

Can anybody enlighten me?

Thanks!

Michael




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


AW: copypixels on quads

2004-05-26 Thread Michael von Aichberger
> This might be relegated to email Lingo
you are right of course, the "]" is misplaced, but as you figured it came in
when writing the email. It's not the real issue.

Thanks anyway for replying!

Michael

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von Charlie
Fiskeaux II
Gesendet: Mittwoch, 26. Mai 2004 21:51
An: [EMAIL PROTECTED]
Betreff: RE:  copypixels on quads


This might be relegated to email Lingo, but have you tried it without the
close bracket ("]") after the first three values? It shouldn't be there.

Charlie Fiskeaux II
Interactive Media Developer
Cre8tive Group
cre8tivegroup.com

targetImg.copyPixels(sourceImg, pointL, sourceImg.rect], [#useFastQuads :
TRUE])
targetImg.copyPixels(sourceImg, pointL, sourceImg.rect], [#useFastQuads :
FALSE])
targetImg.copyPixels(sourceImg, pointL, sourceImg.rect], [#dither : 1215])
targetImg.copyPixels(sourceImg, pointL, sourceImg.rect], [#dither : 1969])



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


AW: AW: copypixels on quads

2004-05-26 Thread Michael von Aichberger
As far as I know, you can't take the quad of the source.

-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von Buzz Kettles
Gesendet: Mittwoch, 26. Mai 2004 21:38
An: [EMAIL PROTECTED]
Betreff: Re: AW:  copypixels on quads


have you tried using the quad of the source?

-Buzz

At 9:16 PM +0200 5/26/04, you wrote:
>Now that Tom Higgins and other gurus are on board, please allow me to bring
>my question up again (see below). I posted this during the weekend and got
>no replies, maybe it was the wrong time!
>
>So, if any of you guys has an answer, thanks in advance for posting it!
>
>Best regards
>Michael
>
>
>
>-Ursprungliche Nachricht-
>Von: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Auftrag von Michael von
>Aichberger
>Gesendet: Samstag, 22. Mai 2004 17:57
>An: [EMAIL PROTECTED]
>Betreff:  copypixels on quads
>
>
>Hi List!
>
>I have to use the copypixels command to copy a rectangular source image
into
>a non-rectangular (quad) image using something like
>
>pointL = [point(825, 712), point(2269, 592), point(2452, 1365), point(861,
>1515)]
>   targetImg.copyPixels(sourceImg, pointL, sourceImg.rect])
>
>The result is very pixelated.
>
>I compared
>
>  targetImg.copyPixels(sourceImg, pointL, sourceImg.rect], [#useFastQuads :
>TRUE])
>  targetImg.copyPixels(sourceImg, pointL, sourceImg.rect], [#useFastQuads :
>FALSE])
>  targetImg.copyPixels(sourceImg, pointL, sourceImg.rect], [#dither :
1215])
>  targetImg.copyPixels(sourceImg, pointL, sourceImg.rect], [#dither :
1969])
>
>but got NO different results. All resulting images look the same: very
>nasty!
>  (Dir 8.5.1, win2k)
>
>At least the #useFastQuads thing is officially documented. Why could it be
>that I get no different results?
>
>Has anyone of you tested those and the other two parameters and found them
>work differently?
>
>When I make my quad operation to a significantly (x 2, x 3) larger image
and
>scale that down afterwards, the results are a little better, but still
poor.
>Not comparable to the smoothness of those images, distorted in Photoshop.
>
>Do I have to live with that or is there any way of getting Photoshop
quality
>in Director?
>
>Thanks to all who'd share their experience!
>
>Michael
>
>
>
>
>
>
>[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!]


AW: copypixels on quads

2004-05-26 Thread Michael von Aichberger
Now that Tom Higgins and other gurus are on board, please allow me to bring
my question up again (see below). I posted this during the weekend and got
no replies, maybe it was the wrong time!

So, if any of you guys has an answer, thanks in advance for posting it!

Best regards
Michael



-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von Michael von
Aichberger
Gesendet: Samstag, 22. Mai 2004 17:57
An: [EMAIL PROTECTED]
Betreff:  copypixels on quads


Hi List!

I have to use the copypixels command to copy a rectangular source image into
a non-rectangular (quad) image using something like

pointL = [point(825, 712), point(2269, 592), point(2452, 1365), point(861,
1515)]
  targetImg.copyPixels(sourceImg, pointL, sourceImg.rect])

The result is very pixelated.

I compared

 targetImg.copyPixels(sourceImg, pointL, sourceImg.rect], [#useFastQuads :
TRUE])
 targetImg.copyPixels(sourceImg, pointL, sourceImg.rect], [#useFastQuads :
FALSE])
 targetImg.copyPixels(sourceImg, pointL, sourceImg.rect], [#dither : 1215])
 targetImg.copyPixels(sourceImg, pointL, sourceImg.rect], [#dither : 1969])

but got NO different results. All resulting images look the same: very
nasty!
 (Dir 8.5.1, win2k)

At least the #useFastQuads thing is officially documented. Why could it be
that I get no different results?

Has anyone of you tested those and the other two parameters and found them
work differently?

When I make my quad operation to a significantly (x 2, x 3) larger image and
scale that down afterwards, the results are a little better, but still poor.
Not comparable to the smoothness of those images, distorted in Photoshop.

Do I have to live with that or is there any way of getting Photoshop quality
in Director?

Thanks to all who'd share their experience!

Michael






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


copypixels on quads

2004-05-22 Thread Michael von Aichberger
Hi List!

I have to use the copypixels command to copy a rectangular source image into
a non-rectangular (quad) image using something like

pointL = [point(825, 712), point(2269, 592), point(2452, 1365), point(861,
1515)]
  targetImg.copyPixels(sourceImg, pointL, sourceImg.rect])

The result is very pixelated.

I compared

 targetImg.copyPixels(sourceImg, pointL, sourceImg.rect], [#useFastQuads :
TRUE])
 targetImg.copyPixels(sourceImg, pointL, sourceImg.rect], [#useFastQuads :
FALSE])
 targetImg.copyPixels(sourceImg, pointL, sourceImg.rect], [#dither : 1215])
 targetImg.copyPixels(sourceImg, pointL, sourceImg.rect], [#dither : 1969])

but got NO different results. All resulting images look the same: very
nasty!
 (Dir 8.5.1, win2k)

At least the #useFastQuads thing is officially documented. Why could it be
that I get no different results?

Has anyone of you tested those and the other two parameters and found them
work differently?

When I make my quad operation to a significantly (x 2, x 3) larger image and
scale that down afterwards, the results are a little better, but still poor.
Not comparable to the smoothness of those images, distorted in Photoshop.

Do I have to live with that or is there any way of getting Photoshop quality
in Director?

Thanks to all who'd share their experience!

Michael






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


Making an 3D-egg out of primitives

2004-02-16 Thread Michael von Aichberger
Hi List,

does anybody know, if it is possible to create a model resource of a simple
egg in Director itself (using primitives) and if so how?

Or do I need to create one with another 3D tool and import that into
Director?

Thanks for your estimation 

Michael

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


alerthook

2004-02-12 Thread Michael von Aichberger
Hi List!

I have a Director application (projector) that runs on a remote computer
connected to a net server. The application is complex, uses dynamic casts
and can produce Lingo errors from time to time. To avoid the system to
completely stop working when an error occurs (as there isn't anybody to
click the alert-box away) I have installed an alerthook handler that
prevents the dialog box. Instead it sends me the error message via e-mail.

So far so good. So I get error messages like "object expected", but I get no
information about which handler, let alone which line of code caused the
error.

Is there a way to get this kind of information?

Thanks in advance.

Michael


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


AW: wireframe display of 3D text

2004-01-27 Thread Michael von Aichberger
> Why not take that background existing image and make it a backdrop in your
3D world?

good idea, very good idea indeed !!!

Thanks a lot, this really helped!

Michael

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


screensavers retrieving data from the web

2004-01-27 Thread Michael von Aichberger
Hi List!

I have a little Director application that is animating some text. The text
is retrieved from some source on the internet.

Now I would like to transform this piece into a screensaver.

I have looked at the impressively long list of Xtras that could do the job,
but I am not sure if the web access feature of my projector will still be
supported when running as a screensaver.

Has anybody of you done that before so that he or she could recommend a
particular Xtra?

Thanks to all who would share their experience!

Michael


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


AW: wireframe display of 3D text

2004-01-27 Thread Michael von Aichberger
> Just set the shader's renderStyle property to #wire:
> member("text").shader[1].renderStyle = #wire

Thanks Tom! Works great.

However: I expected my animation to render significantly faster with the
renderstyle set to #wire. This seems not to be the case. I would like the
wireframe superimposed over an existing image, that's why I can't use
directToStage with the 3D text member.

What other ways are there to increase rendering speed?

Thanks again for any hints!

Best regards
Michael

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


wireframe display of 3D text

2004-01-26 Thread Michael von Aichberger
Hi List!

Here's a simple question for the 3D experts of you:

Is there a way to display a text member in 3D mode as a wireframe? 

I didn't find anything on this in the docs ...

Thanks in advance

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


AW: Shockwave 3D: positioning textures

2003-12-22 Thread Michael von Aichberger
Thanks Troy,

I have not yet but will follow your advice and get that piece.

If in the meantime someone should want to point me in the right direction,
please do!

Thanks again

Michael

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


Shockwave 3D: positioning textures

2003-12-22 Thread Michael von Aichberger
Hi List,

I hope there's still someone around to help me doing my first steps in 3D
Lingo.

So I have this cylinder primitive and I have an image for a texture. The
image is the scanned label of a wine bottle, the cylinder - as you might
have guessed - represents a portion of a wine bottle.

When applying the image to the texture and that texture to the shader of the
cylinder, then would have expected the original wine bottle label to appear
on my cylinder in a way that resembles the original.

But no, is doesn't. It is sqeezed and repeated in all senses and I have no
idea, where to edit what numbers to fine-tune the appearance of the label.

In all books about 3D Lingo I find something on how to apply a texture to a
model, but nothing about how to position and/or scale that texture.

Does anybody of those of you, who have already bought all presents and
finished decorating the Christmas tree, know, how to do this?

As always, I'd greatly appreciate any help!

Michael

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


AW: 3D newbie questions

2003-12-21 Thread Michael von Aichberger
Thanks to all for your answers to my first question!

Anybody with an answer to my second question (how to increase the number of
slices a cylinder primitive is made up of)?

Thanks again!

Michael

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


3D newbie questions

2003-12-19 Thread Michael von Aichberger
Hi List!

I am just beginning to learn Shockwave 3D and use it for a first project.

And already I have to come up with 2 questions:

1. When the movie with the 3D member is running in authoring mode, all other
applications significantly slow down (including os applications like the
explorer). (Dir 8.5.1, win2k)
Is this normal?

2. I am applying a texture to a cylinder. The round surface of the
cylinder - one of the Shockwave primitives - is made up of some 20 "pie
slices". Is there a way of increasing the number of slices, to have a
smoother surface?

Thanks for any help!

Michael

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


word-wrapping with hyphenation in Director

2003-12-09 Thread Michael von Aichberger
Hi List!

Does someone of you guys know of a way to do real word-wrapping in Director?
I mean with a dictionary that tells where a word can be separated ...

Maybe there is an xtra for it? Or a least a digital dictionary containing
hyphenation information, preferably in numerous languages, that I could use
to write my own code?

Has anyone of you done this before?

Thanks for any suggestions!

Michael


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


AW: Sound recognition and comparison

2003-11-26 Thread Michael von Aichberger
What about using Marmalade's Amplitude Xtra
(http://www.marmalademedia.com.au/amplitude.htm) to read out the sound's
amplitude, i. e. waveform, then determine the maximum volume, then define an
arbitrary peak level which is somewhat below the maximum level and thus get
the beats?

Michael



-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von grimmwerks
Gesendet: Mittwoch, 26. November 2003 02:48
An: Lingo
Betreff: Re:  Sound recognition and comparison


Yeah, personally I'd say your professor is insane...

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


rotate image object arount a specified point

2003-11-11 Thread Michael von Aichberger
Hi List, especially hi hardcore programmers!

Some time ago I posted a similar question to this one and Alex da Franca
sent me a little script that rotated an image by a given angle. Thanks Alex,
I really appreciated your help!

Today I have an even more difficult question: I now need to rotate an image
not only by a given angle, but also around a specified point.

With the original image, the function should demand a parameter for the
angle and a point value. As a result I would like to get the rotated image
and a new point value, indicating the new position of the pixel the location
of which had been passed to the function.

Could anybody help me on this please?

Thanks a lot!

Regards
Michael

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


AW: copyPixels and alpha channel

2003-09-25 Thread Michael von Aichberger
> Michael, can you post your test?

I think I posted it already, it only this bit of code:

on test

  img1 = member("img1").image.duplicate()   -- Background Image
  img2 = member("img2").image.duplicate()   -- image with alpha channel
  img2.usealpha = TRUE  -- use that alpha channel
with copypixels
  img1.copyPixels(img2, img1.rect, img2.rect)
  x = new(#bitmap)
  x.name = "result"
  x.image = img1

end



For the alpha channel in img2 I used a gradient. That way in my resulting
image I can see the upper part of image 1 smoothly "fading" into the lower
part of image 2.

Regards
Michael

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


AW: AW: AW: copyPixels and alpha channel

2003-09-25 Thread Michael von Aichberger
> What do you get when you run my example (it plays in a browser)?
Your example delivers the results that you described ... maybe you want to
post some lines of code?

Regards
Michael

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


AW: AW: copyPixels and alpha channel

2003-09-25 Thread Michael von Aichberger
Hi Daniel,

I cannot reproduce the effect you mentioned.

I just tested it this way:

I imported 2 tif-images into director, one of them (img1) containing an
alpha channel, which I had created in Photoshop.

Then I went:

img1 = member("img1").image.duplicate()
img2 = member("img2).image.duplicate()

img1.useAlpha = TRUE
img2.copyPixels(img1, img2.rect, img1.rect)

x = new(#bitmap)
x.name = "result"
x.image = img2

The result in member "result" was a perfect blend of both.

I am on Dir 8.5.1 WIN, the color depth of my video card is set to 32.

Regards
Michael


-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von Daniel Nelson
Gesendet: Donnerstag, 25. September 2003 06:11
An: [EMAIL PROTECTED]
Betreff: Re: AW:  copyPixels and alpha channel


Hi Michael,

My experimentation with copyPixels() does not achieve a true alpha
composite.  Using the example you have given, anywhere there is positive
alpha data in img1 completely overwrites the image data in img2.  ie:  if a
pixel in img1 was at 10% transparent, and the corresponding pixel
in img2 was at 100%, then the result of the copypixel was the img1 pixel at
10%, instead of what it should be, which is the img2 pixel tinted by the
img1 pixel.

I've posted an example of the difference in functionality between my
smartAlphaCopyPixels() and copyPixels() for your reference (click the
different sets of words to perform the corresponding composite):
http://www.bluejade.com/public_resources/director/copypixels.html

Regards,

Daniel

Michael von Aichberger wrote:

> > In my own experimentation, I was unable to use copyPixels to
> properly composite two bitmaps with alpha channels.  Has
> anyone here used copyPixels successfully?
>
> yes, I have.
>
> To copy img1 with its alpha channel into img2 use
>
> img1.useAlpha = TRUE
> img2.copyPixels(img1, img2.rect, img1.rect)
>
> Does that help?
>
> Regards
> Michael
>
> [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!]


AW: copyPixels and alpha channel

2003-09-24 Thread Michael von Aichberger
> In my own experimentation, I was unable to use copyPixels to
properly composite two bitmaps with alpha channels.  Has
anyone here used copyPixels successfully?


yes, I have.

To copy img1 with its alpha channel into img2 use

img1.useAlpha = TRUE
img2.copyPixels(img1, img2.rect, img1.rect)  


Does that help?

Regards
Michael 


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


encryption Lingo-PHP

2003-09-17 Thread Michael von Aichberger

Hi  List!

I have to encrypt some data, send it to a php script and decrypt it there.

I could use buddyAPI's baencrypt in Lingo, but how would I decrypt that in
PHP?

Or if somebody had a php solution to decrypt and could tell me how to
encrypt that in Lingo, I'd be very grateful!

Thanks for any suggestions!

Michael

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


AW: memory usage of bitmap 24/32-bit images/ bitmap cast members

2003-09-12 Thread Michael von Aichberger
> 32-bit would be fastest from the point of view of
accessing (quickest to access a 32-bit offset) but it's a pig when it comes
to space.

Thanks Tab and all who answered. The 1-bit, 8-bit or 16-bit solutions don't
interest me, because my images are and have to be 24-bit.

Can anybody please confirm that 24-bit images always take up the same memory
space as 32-bit images?

And if so:
Can anybody tell me why in the import-dialog box for cast members one can
choose betwenn 32-bit (stage) and 24-bit (media) and above all why these
settings seems to have no effect at all?

I mean there must be some reason?

Thanks again!

Michael

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


memory usage of bitmap 24/32-bit images/ bitmap cast members

2003-09-12 Thread Michael von Aichberger
Hi List,

I know how to calculate the amount of memory an image takes:

img.width * img.height * img.depth / 8



If I import a 24-bit image, the resulting cast member is 32 bit.

Or if I create an image in 24 bit color depth:

img = image(width, height, 24)

img.depth always gives 32.

Maybe it's because my video card supports 8 bit, 16 bit or 32 bit color
depth, but not 24 bit. I don't know.


Anyway here's my question. Those originally 24-bit images, do they really
consume 33 % more memory as necessary in the above mentionned case?

If so, what can I do to change this?

I have to preload a large amount of image data for fast and instant use and
memory useage really matters!

Thanks in advance



Michael










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


explore properties of script objects

2003-08-29 Thread Michael von Aichberger
Hi everybody!

I have a script object, like

gObj = new(script "oTest").

The function gObj.handlers() gives me all the methods of that script.

Is there a comparable function that gives me all the properties and their
values?


Thanks
Michael

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


AW: animating scaling of sprites

2003-08-14 Thread Michael von Aichberger
Kerry, I am not a computer hardware specialist, but I am QUITE sure my
theory is correct.

Here's why:


> The graphics adaptor will draw the screen at whatever refresh rate you
set--we can use 60 Hz as a base rate.

This is exactly what you can use for testing. Change the refresh rate and
watch the result.
As for my numerous tests: Whenever I changed the refresh rate, what I saw
was what I expected in [my] theory.

> If Director is running at, say, 20 fps, it fills its part of the video ram
20 times per second. That process, though, takes microseconds

The important thing is that the graphics adapter takes its time to prepare
or draw the image. I almost had written that it didn't matter how long
Director takes to draw its image.

But as a matter of fact it does! The video card takes quite long to get the
image displayed. If Director too took so long, then you wouldn't get stair
steps, but a gradient (which would be fine, because you wouldn't notice
it!). You see stair steps, BECAUSE Director is so fast. If the resolution of
the monitor was much higher than it is, and if you had the eye of a fly to
be able to measure out the width of the step/gradient in a fraction of a
second, then you could use that to calculate the time Director takes to fill
the video ram.

> Even if the video card did an update while Director was in the process of
drawing a frame, the "stair step" would only be visible briefly, for 1/60th
of a second until the next video refresh.

You think, 1/60th of a second is "brief"? When you take a photo, the flash
light is visible for about 1/50,000 of a second. Don't you see it? I do!
Ever watched a movie in the cinema? A scratch in a frame is displayed for
1/48 seconds. You see that VERY WELL.

If you chose the frequencies the way that one is similar to the other or
different by a multiple of a whole number, then you will see that the stair
steps appear more or less in the same area of your monitor. If you chose
them arbitrarily, the stair steps appear all over the monitor at random.

Also, the stair steps are always horizontal, never vertical.

Another evidence is that that if you increase the refresh rate of the video
card, the effect is less visible.



This problem bothers me quite a while and I am very keen of getting it
solved.

But unless someone comes up with a better, more plausible theory, I'll stick
to mine.


Michael






-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von Kerry
Thompson
Gesendet: Dienstag, 12. August 2003 23:09
An: [EMAIL PROTECTED]
Betreff: RE:  animating scaling of sprites


> In my opinion this effect is due to the frequency difference
> of the animation and the graphics adaptor.
>
> Director or Flash could be running let's say at 13 fps,
> whereas the graphics adaptor would run at 60 fps for example.

Interesting theory, but I don't think it holds up in reality.

The graphics adaptor will draw the screen at whatever refresh rate you
set--we can use 60 Hz as a base rate.

When it draws, it draws whatever is in the video card's current page
memory. Director fills its part of that memory with whatever is on the
stage (in a projector). Actually, it instructs Windows to display
something, and Windows tells the video card driver what to draw, and the
video card driver zaps the stuff into the video card's RAM.

If Director is running at, say, 20 fps, it fills its part of the video
ram 20 times per second. That process, though, takes microseconds, and
it's unlikely to be interrupted part of the way through, simply because
it's so fast. Also, most video cards have a paging system where it draws
a page in a part of the ram that's not currently being displayed, then,
when it's finished, it displays that page. It knows when a page is being
updated, and it won't flip pages until the page is finished updating.

Even if the video card did an update while Director was in the process
of drawing a frame, the "stair step" would only be visible briefly, for
1/60th of a second until the next video refresh.

So, there is another reason for the stair step effect. Not sure what it
is, but I'm pretty sure of what it isn't.

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


AW: animating scaling of sprites

2003-08-14 Thread Michael von Aichberger
In my opinion this effect is due to the frequency difference of the
animation and the graphics adaptor.

Director or Flash could be running let's say at 13 fps, whereas the graphics
adaptor would run at 60 fps for example.

The graphics adaptor is drawing a new frame line by line. If director
changes the screen content while the graphics adapter is drawing a nem
frame, the content is changing somewhere in between. What you then see is an
image whose upper part is from an earlier Director frame than its lower part
and this gives you the stair-stepped effect.

I have experienced that a lot, tested a lot and come to no solution.

There are some dedicated 3D animation software packages out there with
graphic adaptors that are in perfect sync with the software, so they do not
have this problem

As fas as I know, there is no way of synchronizing Director or Flash to the
graphics card.

Regards

Michael

-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von court batson
Gesendet: Dienstag, 12. August 2003 22:08
An: [EMAIL PROTECTED]
Betreff:  animating scaling of sprites


Hey all,

I'm planning on doing zooms and pans in director or flash with 1024 x
768 images for a screen saver, but are running into problems. Director
and Flash are both doing extremely strange things when animating the
scaling of an image at all for a zoom effect. Panning is a little
better, but getting smooth motion seems impossible. I'm getting
stair-stepped motion instead of a steady transition.

My tests were done with score/timeline animations. I'm hoping Lingo or
Actionscript has a better results. I was expecting to get something
closer to video. Is this a pipe dream? Are there any ways around this?

thanks,
Court

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


AW: animating scaling of sprites

2003-08-14 Thread Michael von Aichberger
> So about 23 % of the disc was metal
Sorry, I meant 25 %

-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von Michael von
Aichberger
Gesendet: Mittwoch, 13. August 2003 00:43
An: [EMAIL PROTECTED]
Betreff: AW:  animating scaling of sprites


Hi Kerry,

for the example, I'll do that, but off-list and later (I am busy with other
things now).



> Actually, 1/24th of a second. Cinema movies play at 24 fps.

Right and wrong. Cinema plays at 24 fps but even so 1 frame is displayed for
1/48 second. The rest of the time is used to move the film to the next
frame.

Actually, if you want to know the whole truth: The film is advanced as
quickly as in 1/96 of a second. Any individual cine frame is displayed twice
for 1/96 s in each turn, so 1/48 s in total.

Why? In cinema an interuption of the light output is inevitable, to allow
the film to be advanced. Switching the light bulb is no way of doing it,
because of the lamp delay. So a rotating metal disc is used to cut off the
light. Same as in movie cameras. In movie cameras however in one turn of the
disc you have 1 time for exposing the film and 1 time for advancing the
film. In early or simple cameras the time was split 50:50. In recent
cameras, the time for exposing was longer than for the film transport. So
about 23 % of the disc was metal and 75 % was "hole", so more light could be
captured. Also, in movie cameras the ration can be varied, thus allowing for
different exposure times with the same frame rate.

In cinema a cross is used to artificially increase the frequency of the
flickering - to make it less noticeable. The disc in a movie projector has 2
quarters "hole" and 2 quarters metal, but only one quarter of metal is used
for film transport.

A little off-topic, I admit ;-)




-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von Kerry
Thompson
Gesendet: Mittwoch, 13. August 2003 00:23
An: [EMAIL PROTECTED]
Betreff: RE:  animating scaling of sprites


> Kerry, I am not a computer hardware specialist, but I am
> QUITE sure my theory is correct.

It could be. I've never seen the stair stepping you're talking about,
though. Do you have an example you could send me? I could play around
with the refresh rate on my computer and see what happens. I'm currently
at 60 Hz because I have flat-panel displays, and they don't need
refreshing as often as a crt.

> Ever watched a movie in the
> cinema? A scratch in a frame is displayed for 1/48 seconds.

Actually, 1/24th of a second. Cinema movies play at 24 fps.

In the U.S., TV plays at 30 fps, though it refreshes at 60 Hz. The TV
only draws one half of the screen per pass (per Hz).

> This problem bothers me quite a while and I am very keen of
> getting it solved.

Cool. Send me an example and I'll see if I can help track it down.
You've got my curiosity piqued now. I'm guessing it's because you have a
high frame rate in Director, but I could be wrong.

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

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


AW: Re: Triggering a Director movie from the internet

2003-08-14 Thread Michael von Aichberger
Hi Cole!

>>Or if the internet user doesn't do it directly, how could a PHP Server
>>connect to a Director projector via the MUI?

>I'm sure it could be done with php's fgets and fputs socket commands.

Thanks for your answer. I am not a PHP geek, I just know that fgets and
fputs are used to read and write to files. What exactly would be their
purpose in connecting to a Director projector running an instance of the MUI
Xtra?

Thanks
Michael

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


AW: AW: Re: Triggering a Director movie from the internet

2003-08-14 Thread Michael von Aichberger
Hi Evan!

Thank you very much for your elaborate answer. It seems as it describes a
viable solution, yet it's nothing I could try in 5 mins and tell you if it
worked for me or not.

So thanks for your offer to email you off list, which I appreciate very
much. I might come back to it later.

Meanwhile, thanks again and have a nice evening or day or night ...
depending on where you're sitting ;-)

Kind regards
Michael

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


AW: animating scaling of sprites

2003-08-14 Thread Michael von Aichberger
Hi Kerry,

for the example, I'll do that, but off-list and later (I am busy with other
things now).



> Actually, 1/24th of a second. Cinema movies play at 24 fps.

Right and wrong. Cinema plays at 24 fps but even so 1 frame is displayed for
1/48 second. The rest of the time is used to move the film to the next
frame.

Actually, if you want to know the whole truth: The film is advanced as
quickly as in 1/96 of a second. Any individual cine frame is displayed twice
for 1/96 s in each turn, so 1/48 s in total.

Why? In cinema an interuption of the light output is inevitable, to allow
the film to be advanced. Switching the light bulb is no way of doing it,
because of the lamp delay. So a rotating metal disc is used to cut off the
light. Same as in movie cameras. In movie cameras however in one turn of the
disc you have 1 time for exposing the film and 1 time for advancing the
film. In early or simple cameras the time was split 50:50. In recent
cameras, the time for exposing was longer than for the film transport. So
about 23 % of the disc was metal and 75 % was "hole", so more light could be
captured. Also, in movie cameras the ration can be varied, thus allowing for
different exposure times with the same frame rate.

In cinema a cross is used to artificially increase the frequency of the
flickering - to make it less noticeable. The disc in a movie projector has 2
quarters "hole" and 2 quarters metal, but only one quarter of metal is used
for film transport.

A little off-topic, I admit ;-)




-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von Kerry
Thompson
Gesendet: Mittwoch, 13. August 2003 00:23
An: [EMAIL PROTECTED]
Betreff: RE:  animating scaling of sprites


> Kerry, I am not a computer hardware specialist, but I am
> QUITE sure my theory is correct.

It could be. I've never seen the stair stepping you're talking about,
though. Do you have an example you could send me? I could play around
with the refresh rate on my computer and see what happens. I'm currently
at 60 Hz because I have flat-panel displays, and they don't need
refreshing as often as a crt.

> Ever watched a movie in the
> cinema? A scratch in a frame is displayed for 1/48 seconds.

Actually, 1/24th of a second. Cinema movies play at 24 fps.

In the U.S., TV plays at 30 fps, though it refreshes at 60 Hz. The TV
only draws one half of the screen per pass (per Hz).

> This problem bothers me quite a while and I am very keen of
> getting it solved.

Cool. Send me an example and I'll see if I can help track it down.
You've got my curiosity piqued now. I'm guessing it's because you have a
high frame rate in Director, but I could be wrong.

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


AW: Seriously OT: Automatic shutdown of Windows XP

2003-08-11 Thread Michael von Aichberger
I had the same problem. It's some kind of a virus and can be fixed by
installing a windows patch.

I have this solution from a German mailing list, so I can only offer you the
link to the patch of the German version for Win 2K.

Here it is:

http://download.microsoft.com/download/9/2/1/921a4733-e72c-4309-89db-408b65f
64b0c/Windows2000-KB823980-x86-DEU.exe

For the englisch version, I am sure you'll find out.

Worked for me :-)

Regards
Michael

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von Diego Landro
Gesendet: Dienstag, 12. August 2003 03:04
An: [EMAIL PROTECTED]
Betreff: Re:  Seriously OT: Automatic shutdown of Windows XP


>From what you tell it seems some kind of virus/hacker activity. Try using a
firewall or disconnect from the internet and try to boot the computer with
no connectiosn (if you haven´t done so already). If you did that maybe it´s
a virus or some kind of hack sent to you by someone when connected to the
internet and which is active since then. In this case your best option (and
also the more annoying) is to perform a clean install of the system (better
if you even format the hard drive (another degree of annoyingness, but...)
cuase if it´s a virus maybe formatting the hard drive is the only way to get
rid of the bastard.
- Original Message -
From: "Ross Clutterbuck" <[EMAIL PROTECTED]>
To: "Lingo-L List" <[EMAIL PROTECTED]>
Sent: Monday, August 11, 2003 6:18 PM
Subject:  Seriously OT: Automatic shutdown of Windows XP


> Dear all
>
> Forgive the massively OT nature of this post but it's always good to ask
> fellow puter bods...
>
> Is anybody experiencing or has seen a problem with Windows XP recently
> involving an automatic shutdown? My brother and a friend are both
> experiencing this issue. Within minutes of Windows booting up they receive
a
> dialog informing them of a remote shutdown request through the Remote
> Procedure Call client (RPC) from NT AUTHORITY\SYSTEM (basically it seems
> like a standard remote shutdown request without the remote request!).
>
> I've hit various virus labs and resources for info on a RPC vulnerability
or
> virus which would do this and can't find anything so far. Anybody know
> anything more, or have fixed it (like turning off the whole RPC subsystem
:D
> and throwing Windows in the bin).
>
> Sorry again
>
> Ross
>
> P.S. I'd appreciate it if all you Mac users waiting until I left before
you
> snigger at the flaws we wintel users have to put up with...
>
> [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!]


AW: Re: Triggering a Director movie from the internet

2003-08-11 Thread Michael von Aichberger
Thanks Cole! 

I appreciate it!

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


AW: Triggering a Director movie from the internet

2003-08-04 Thread Michael von Aichberger
Hi Evan!

> I'd look into the multiuser xtra and server.

I have been working with the Multiuser Xtra before. The problem is: How can
an internet user who hasn't Shockwave installed communicate with a Director
projector running the Multiuser Xtra?

Or if the internet user doesn't do it directly, how could a PHP Server
connect to a Director projector via the MUI?


Hi Kerry:

>What I've done in a similar situation is to have the projector check
>periodically for the existence of a file. When that file appears,
>Director goes off and does its thing.

I have thought of that too, as a workaround. The problem is: The internet
user should get to see the processed image as soon as possible. Anyway, <
other question: > suppose I did it this way. What do you suggest would be
the best way to create a html-page that includes the image? Of course the
html-page could be done in director, but how does the internet user - who
will see some kind of "please wait"-page while Director is creating the
image - know that his image is ready?

I mean I cannot tell him: "We are processing your image, please try this
link and if it's not yet finished, try it again later"?

I realize that this is a bit off topic, so I hope I may be pardoned, but
since there are so many experts on this list ...

Thanks to all

Michael

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


Triggering a Director movie from the internet

2003-08-04 Thread Michael von Aichberger
Hi everybody,

I have a serious problem:

I need to run a Director movie on an internet server or have a Director
movie be controlled by an internet server.

Here's the whole story:

An internet user opens a web site and enters some text. He clicks on a
button and the text is transferred to an internet server. The internet
server will now create an image that contains the text. The finished image
will be packed in an html-page and sent back to the user.

Generally speaking it is the same procedure as if a PHP script on a server
did some image processing and outputted a web page. Only that PHP isn't
capable of the same things than Imaging Lingo is.

Of course one could use Shockwave to create the image on the client's
computer, but Shockwave can't be used, because of the amount of source data
that is necessary to create the image. And besides Shockwave is not spread
wide enough among the internet usere.

So how can I tell a Director movie from outside to do a special task? And
outside means from somewhere in the world!

Thanks for any suggestions!

Michael

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


AW: Re: MUS performance

2003-07-22 Thread Michael von Aichberger
Hi Cole,

thanks for your answer, but sorry,

me = greenhorn

What's a packet sniffer, where do I get such thing and how do I use it?

Thanks again!

Michael

-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von Cole Tierney
Gesendet: Dienstag, 22. Juli 2003 20:33
An: [EMAIL PROTECTED]
Betreff:  Re: MUS performance


>>  I'm not sure why this would impact performance.
>It does, but not on all systems. (On 1.8 GHz-Athlon it does, on a 2.6
>Pentium it doesn't).
>
>When it does, it does only if the computer is configured as the MUS server.
>When one and the same computer runs as a MUS client, then performance is
>good.

You could run a packet sniffer to get some clues. Compare the traffic
when performance is good and when it's bad. Then look for
differences. Maybe some MUS operation is timing out.

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


AW: Re: MUI performance

2003-07-21 Thread Michael von Aichberger
> Do you mean MUS xtra?
yes

> In either case, I'm not sure why this would impact performance.
It does, but not on all systems. (On 1.8 GHz-Athlon it does, on a 2.6
Pentium it doesn't).

When it does, it does only if the computer is configured as the MUS server.
When one and the same computer runs as a MUS client, then performance is
good.

???

Thanks
Michael


-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von Cole Tierney
Gesendet: Montag, 21. Juli 2003 20:00
An: [EMAIL PROTECTED]
Betreff:  Re: MUI performance


Hello,

>In a second step I created an instance of the Multi User Xtra. I need the
>MUI to trigger some events on another computer.

Do you mean MUS xtra? In either case, I'm not sure why this would
impact performance.

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


MUI performance

2003-07-21 Thread Michael von Aichberger

Dear List!

I have an application that in the first place runs an MPEG2 video using the
OnStage Media for Director Xtra.

On a selected PC, the processor usage is about 20 % when the MPEG is
running.

In a second step I created an instance of the Multi User Xtra. I need the
MUI to trigger some events on another computer. Anyway, as soon as the MUI
Xtra instance is present, the processor usage is 97 % and the MPG2 video
plays 3 % too slow!

How can it be that the MUI Xtra takes so much performance? Is there a way to
restrict the processor usage of the MUI Xtra?

Thanks for you help!

Best regards

Michael

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


AW: Error I haven't seen before

2003-07-16 Thread Michael von Aichberger
I had a similar problem once and the reason turned out to be quite simple:

The client had made a copy of my master using some method that didn't copy
hidden files. However, if I recall it right, some Acrobat installation stuff
consisted of hidden or system files. That was the problem in that particular
case.

Best regards

Michael

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


AW: AW: tell when importFileInto is done?

2003-06-16 Thread Michael von Aichberger
Hi Rob,

I don't want to reset the member to any file name, but to "no" filename.
Because, when the movie starts, this member should not be externally linked
at all.

So what do you do suggest for how to reset in this case?


thx
Michael

-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von Rob Romanek
Gesendet: Montag, 16. Juni 2003 19:30
An: [EMAIL PROTECTED]
Betreff: Re: AW:  tell when importFileInto is done?


Hey Michael,

Why don't you use a little script to do that resetting for you. That way you
don't
have to go back to a version before... off the top of my head something like
this
should work

global gMembersToResetList

on prepareMovie
gMemberMembersToResetList = [theMember : theFileName,
anothermember: anotherFileName]
end

on stopMovie
c = gMembersToResetList.count
repeat with i = 1 to c
theMem = gMembersToResetList.getPropAt(i)
theFile = gMembersToResetList[i]
theMem.fileName = theFile
end repeat
end

-Rob


>Well I solved that by having two tiny dummy cast members that are embedded.
>When I do a run through in authoring I just have to go back to the version
>before, otherwise my dummies are replaced by externally linked cast members
>...
>
>Not so much a problem, but I THOUGHT importFileInto was more elegant ..
>
>Thanks anyway
>
>Michael





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


AW: tell when importFileInto is done?

2003-06-16 Thread Michael von Aichberger
Hi Kerry and Mathew and Rob!

Thanks for your suggestions.

Setting the filename property works for me.

I have done this before, in fact this is how I normally do it.

I wanted to use importFileInto this time, because I wanted to avoid having
externally linked cast members in my projector. I don't like these "where is
..." questions.

Well I solved that by having two tiny dummy cast members that are embedded.
When I do a run through in authoring I just have to go back to the version
before, otherwise my dummies are replaced by externally linked cast members
...

Not so much a problem, but I THOUGHT importFileInto was more elegant ..

Thanks anyway

Michael

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


tell when importFileInto is done?

2003-06-16 Thread Michael von Aichberger
Hi list!

For a simple slide show application I am using very large images (4096 x
768).

I am using two cast members. When cast member A is displaying a slide, I use
importFileInto to import the next slide into cast member B. And vice versa.

My problem: Even though the images are on the local hard disk, it
importFileInto takes some time. I need the execution of the next "step
forward" to wait for the next slide to be available.

Is there a way to tell when importFileInto is done?

I looked into preloadnetthing, but I am not downloading from the internet.

Any solution?

Thanks in advance

Michael

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


AW: convert a gif file to HEX values

2003-06-12 Thread Michael von Aichberger
Hi Tom,

thanks for you answer. I doubt that the method you mentioned would work.
Because how would the cell phone know about how wide or high the image would
be? I mean there must be some information in the gif file other than the
color values of all the pixels in a row ...

I know that the PHP methods that do the job are unpack() and implode()

Is there a way to get the binary content of the gif file as it is?

Thanks for you help

Mcihael

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von Thomas
Higgins
Gesendet: Donnerstag, 12. Juni 2003 17:59
An: '[EMAIL PROTECTED]'
Betreff: RE:  convert a gif file to HEX values


> Does anyone have an ideo how to convert a gif file into a series of
> hex-values, as needed when sending SMS picture messages?

I'm not sure exactly what SMS picture messages require, but my attempt to
answer your question is this:

- walk the image pixel by pixel, pulling each pixel's color using
image.getPixel(x,y)
- convert that pixel's rgb value to a hex value using rgbColor.hexString()

Store your data in a list using a repeat loop. Does that help?

Cheers,
Tom Higgins
Product Specialist - Director Team
Macromedia
[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!]


convert a gif file to HEX values

2003-06-12 Thread Michael von Aichberger
Hi!

Does anyone have an ideo how to convert a gif file into a series of
hex-values, as needed when sending SMS picture messages?

Thanks

Michael

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


downloadnetthing

2003-03-20 Thread Michael von Aichberger
Hi list!

When I download an image from a web server using downloadnetthing, the
downloaded file's creation date and time is that of the download.

Is there any way of getting the creation date of the original file?

Thanks for your help!

Michael

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


AW: deleting framelabels with lingo

2003-03-14 Thread Michael von Aichberger
(the updatelock)
> I wonder if this might solve the transition problem mentioned on the other
thread?

I listened carefully and put your advice to a test. Result: No, it doesn't
work for me. The updatelock seems to have no effect. (Dir 8.5.1 Win2k)

Thanks anyway for the suggestion!

Michael

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


AW: addressing casts of different movies

2003-03-14 Thread Michael von Aichberger
Hi Brad!

If the script object that contains the "member(...)" reference were called
from the stage and I specified a castname of the MIAW as you do, Director
wouldn't find the cast, because at this point it only recognizes the casts
that are associated with the stage. So I do need the "tell" statement. And
when I use that, no need to specify the cast name, as long as my member
names are unique.

Thanks anyway!
Michael

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


AW: AW: addressing casts of different movies

2003-03-14 Thread Michael von Aichberger
Thanks Pranav!

I'll give it a try!

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


AW: addressing casts of different movies

2003-03-14 Thread Michael von Aichberger
> on fillTextMember
>  tell the stage
>   member(1).text = "This is me!"
>  end tell
> end fillTextMember

Thanks Pranav, but that's not it, because the line member(1).text = "This is
me!" is supposed to be in a global script object that could be called either
from the stage movie or the MIAW. The member(1) however is supposed to lie
in the cast of the MIAW. Your code actually does the opposite of what it
should, because it always tries to use member(1) of the stage cast, although
it should at all times use the cast of the MIAW.

Any other solution?

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


addressing casts of different movies

2003-03-14 Thread Michael von Aichberger
Hi List!

Suppose you have two movies running at the same time. The stage and a MIAW
for instance.
Suppose you have Lingo code in a global script object. The methods of this
code are accessible from either movie.
Suppose that code contained a term like

member(1).text = "bla".

If the code of the object is run from a handler of the stage movie, the
expression member(1) is referring to cast member 1 of the stage, if run from
the MIAW it is referring to cast member 1 of the MIAW.

How can I ensure that member(1) is always referring to the cast in the MIAW,
regardless from where the handler in the object is called?

Thanks for any suggestions!

Michael


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


AW: transition channel not visible

2003-03-13 Thread Michael von Aichberger
> At least now he has some options ^_^

Yes, Buzz and Kerry, thank you for those. I will think about them!

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


AW: transition channel not visible

2003-03-13 Thread Michael von Aichberger
Well, as a matter of fact I am using puppetTransition for ordinary blends,
but as I said, most of the transitions are DM fades (a third party Xtra). I
am not sure if I can use the puppetTransition command with DMfades.

And as to the idea of inserting code in the frame scripts of the slide show:

The focus of my question doesn't lie on the slide show, but on the scripting
Xtra I wrote that provides an editing functionality. This utility is
supposed to work with different slide shows. And my goal is to create a
utility that lets you comfortably edit the slide show without at the same
time leaving code in the slide show that would prevent the slide show from
running on its own or slow it down.

So this line in my scripting Xtra:

tell the stage
  sprite(-3).visible = FALSe
end tell

would be very smart, as it wouldn't change the slide show. I wonder why
Macromdeia didn't implement it ...

Thanks anyway
Michael




-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von Kerry
Thompson
Gesendet: Donnerstag, 13. Marz 2003 21:54
An: [EMAIL PROTECTED]
Betreff: RE:  transition channel not visible



> Background: My movie is kind of a slide show with tranitions between
the
> slides. I have a scripting Xtra that analysis the content of the slide
> show
> and provides an editor to edit the slideshow. There are actions, where
the
> transitions (mostly DM-fades) are uselessly triggered. I would save
much
> tine, if my program could automatically disable all transitions,
execute
> some actions and enable the transitions again for normal playback.
>
> Any other ideas?

Is the slide show too big to take the transitions out of the transition
channel and do a puppetTransition in the frame script where appropriate?
If so, you could just set a global, say gTransitionsEnabled, and then
put the puppetTransition statements inside an "if.. then" statement.

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


AW: transition channel not visible

2003-03-13 Thread Michael von Aichberger
> Try setting the member of the transition channel to an empty cast
> position.
Thanks, but that would work for a particular frame only. What I need is to
disable all transitions in the whole movie for a time and the enable them
again:

Background: My movie is kind of a slide show with tranitions between the
slides. I have a scripting Xtra that analysis the content of the slide show
and provides an editor to edit the slideshow. There are actions, where the
transitions (mostly DM-fades) are uselessly triggered. I would save much
tine, if my program could automatically disable all transitions, execute
some actions and enable the transitions again for normal playback.

Any other ideas?

Thanks
Michael

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


transition channel not visible

2003-03-13 Thread Michael von Aichberger
Hi List!

What's the Lingo for making the transition channel invisible?

sprite(-3).visible = FALSE doesn't seem to work, although it can be done
manually by clicking in the box at the left of the channel.

Or is there another way of temporarily disabling the transitions with Lingo?

Thank you very much!

Michael

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


AW: Virtual sprites

2003-03-12 Thread Michael von Aichberger
Hi Kerry!

When I delete member 279, something funny happens: The phantom framescript
is still in that frame, this time with member 34. If I delete member 34,
another member takes the place.

But your advice to perform "save and compact" seemed to have done the trick.

I should have tried that myself before posting.

Anyway, thank you very much!!!

Michael

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


Virtual sprites

2003-03-12 Thread Michael von Aichberger
Hi everybody!

I have never used virtual sprites, but now I have a director file with a
strange thing in it that could relate to virtual sprites:

In the script channel, there are many frame scripts as they should. And in
one particular frame, if I look at the score, there is no framescript, but
when I move the mouse over the empty cell in the script channel, the tooltip
indicates the presence of a frame script and if I check with lingo:

put the framescript (with the playback head sitting on that frame) I get:
-- 279

This "hidden" framescript sits in that frame already right after loading,
even before playing the movie.

Now my question:

Is this a bug, a corrupted file or a feature I don't know of?
How is this possible?
How can I get rid of that hidden framescript (as it is not visible, I cannot
delete it)
How can I make sure that my script channel contains no other framescripts
than those that are visible?

Thanks
Michael

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


AW: icon question

2003-03-07 Thread Michael von Aichberger
A!
That was it!

I didn't know that the entry in the .ini-file describes the file the stub
projector jumps to.  I thought I had to write the name of the stub projector
in it.

Now it works, except for one thing: The movie runs in a window, not in
fullscreen mode. How can I change that? I guess that's just another entry in
the .ini-file. Is it?

Thank you very much!
Michael


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


AW: icon question

2003-03-07 Thread Michael von Aichberger

> I tested a freebie called InnoSetup Icon Replacement Utility from
> http://www.davidcornish.com and found that the icon was changed fine but I
> still needed the ini file reference (not really an issue I don't think) so
> thins may be another option for you.
> [Movies]
> Movie01="mymovie.dxr"

> I also tested resourceHacker and just needed to make the same ini entry
( I
> altered icon and information sections)
> so it may be that your file was corrupted perhaps or that it simply needed
> the ini reference.

I tested Resource Hacker again and InnoSetup Icon Replacement Utility.
Although I have the [Movies]-entry in my .ini-file I had the same error
message as before: "This is not a Director file".

The only difference I see in what you did is that you seem to have changed
the icon of a .dxr-file, whereas my file is an .exe.

Has anybody else ever done it before?

Thanks!
Michael

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


AW: icon question

2003-03-06 Thread Michael von Aichberger
Brad wrote:
> On PC I can recommend:
> Resource Hacker for changing over icons & exe properties etc.
> http://www.users.on.net/johnson/resourcehacker/

Hi Brad and everybody!

I just tried Resource Hacker, the tool you recommended. I created a fast
starting stub projector on the PC as described in Macromedia's technote
(http://www.macromedia.com/support/director/ts/documents/d8_fast-start_stub_
proj.htm)

The result is a very small .exe-file. After changing its icon with Resource
Hacker, the file didn't work anymore.

The first error message that appeared asked me to make an entry to the
.ini-file ([movies] movie01=start.exe). After I did that, upon
double-clicking the exe-file I got the message that this was not a Director
file.

In the docs of Resource Hacker I read that there were limitations for files
that are compressed in some way.

Now my question: Is this a limitation of Resource Hacker or a general issue?

In other words: Has anyone of you guys ever changed the icon of a fast
starting (shockwave compressed) projector file?
If so, using what tool?

Thanks
Michael



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


AW: fastest computer system for Director applications

2003-02-04 Thread Michael von Aichberger
Hi again, thanks so far!

My video board is: ASUS V8170 DDR

As to the processor speed: When running a very simple lingo-benchmark
(timing a repeat loop that does "nothing") my 1466 MHs Athlon PC is about 25
% faster than an Intel 1.7 GHz Processor. So I think, the processor's cpu
rate alone doesn't tell you how fast the processor goes.

And for imaging lingo things the video board is important too.

Want I want to do is something like that, only at a higher resolution:
http://www.va-r.de/m_digital-av-interaktiv3.htm

(To change the animated text, you can send an email to [EMAIL PROTECTED], the
first line will be taken.)


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



fastest computer system for Director applications

2003-02-04 Thread Michael von Aichberger
Hi List!

I am working on a movie that should deliver imaging lingo effects in real
time.

For that I need a very fast computer system. What I know is that my Athlon
1466 MHz-PC is too slow for it.

I wonder, if Director supports dual processor cpus.

If not, then what do you think is today's fastest pc system (I am talking of
"normal", affordable systems)?

Would that fastest system be a MAC or a PC?

Thanks for your evaluation!

Michael

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



AW: convert pdfs into bitmaps with Lingo

2003-01-28 Thread Michael von Aichberger
> Shouldn't be a problem, but note that the pdf xtra sees pdf sprites as
direct to stage ...

So myImage = (the stage).image will include the pdf sprite on the stage,
even if those are direct to stage?
I am asking again, as Quicktime movies that are direct to stage can't be
captured like that ...

Thanks again
Michael

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



convert pdfs into bitmaps with Lingo

2003-01-28 Thread Michael von Aichberger
Hi everybody!

I have to import pdfs at runtime from some place on a hard disk into my
Director movie. After that I would like to convert those pdfs into image
objects in order to do some imaging Linog effects with them, like quad
distorsion.

Has anybody used the pdf Xtra and could tell me if this is possible? The
stress lies on the fact that all that should happen dynamically at runtime.
That is to say: If the pdf documents on the hard disk change, the imaging
Lingo will treat other images. (So I won't be able to import the pdfs by
hand ...)

Any experience / suggestions as always greatly appreciated!

Michael

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



AW: AW: create a mask of an image

2003-01-21 Thread Michael von Aichberger
Thanks Carl, James, Andreas!

Works great!
Michael
[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!]



AW: AW: create a mask of an image

2003-01-21 Thread Michael von Aichberger
> If you could preprocess the images
no, I have to create a mask of an image that I create from scratch with
Imaging Lingo
> you could probably use set/getpixel to tickle each pixel
set/getpixel would certainly work, but it is far too slow

I still have hope that it might work with copyPixels. In his book "Director
Shockwave Studio Developer's Guide" James Newton describes a way of
"Isolating a color" with the copyPixels command using the
#backgroundTransparent ink and setting the #color and #bgColor properties to
the same value. (page 74)

Unfortunately that doesn't help me either. (Or I'm just too stupid ...)

Thanks anyway
Michael

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



AW: create a mask of an image

2003-01-21 Thread Michael von Aichberger
> 'Massage' the 24-bit image first, thinking out loud:
> Make another image object the same size that is some appropriate shade of
grey
> Copy the second image onto the first using an appropriate ink (probably
blend, lighten or darken)
> Copy the resulting image into a 1-bit image

Hi Carl,

thanks for your answer, I have played a lot with these inks, but I just
don't get it.
If you or someone else could be a little more specific, I'd really
appreciate it.

Thanks anyway.

Michael

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



create a mask of an image

2003-01-20 Thread Michael von Aichberger
Hi list!

Imagine a 24-bit color image.

If I copyPixel this image into a 1-bit image, then I get kind of a mask,
some pixels are white, others are black. It seems that all pixels above a
threshold have been turned to white and below that threshold they have been
turned to black.

The threshold seems to be a medium gray.

Now to my question: How can I achieve the same effect, but define another
threshold for the separation, lets say a very bright grey?

Thanks for any ideas!

Michael

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



AW: baDeleteFile / getNthFileNameInFolder

2003-01-11 Thread Michael von Aichberger
When I use baFindFirstFile instead of getNthFileNameInFolder(myFolder, 1) it
works fine!

That doesn't answer the question, but solves the problem.

Michael

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



baDeleteFile / getNthFileNameInFolder

2003-01-11 Thread Michael von Aichberger
Hi List!

When I delete a file on my harddisk (win2k) with baDeleteFile, the windows
explorer shows me that the file no longer exists.

However, when I use Lingo's getNthFileNameInFolder-command (Dir 8.5.1), its
file name is still retrieved as if it existed. And that even after stopping
and restarting the movie. What can I do that getNthFileNameInFolder doesn't
see the deleted file anymore?

Thanks for your help!
Michael

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



AW: AW: AW: switching between several quicktime movies

2002-11-05 Thread Michael von Aichberger

>But I thought the other two videos were QT videos. Doesn't that mean that
> Windows users have to have QT anyway?

No, it's one and the same video in different qualities/formats. Depending on
the speed and configuration of one's computer one can decide which way to
go.

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



AW: AW: switching between several quicktime movies

2002-11-05 Thread Michael von Aichberger
> ... you could play all 3 videos as QT.

There's a BIG difference:
In this case the user must have Quicktime installed. That's the only reason
I have chosen one option to be a MPEG1 with DirectMediaXtra: ANY windows
user can play it!

> Alternatively, you could create the sprites on the fly--put dummy sprites
offstage, and assign cast members to them when it comes time. Pretty
simple, really,

Thanks. I will think about this!

Michael

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



AW: switching between several quicktime movies

2002-11-05 Thread Michael von Aichberger
> Another approach would be to track everything as you are, and when you
want
> to switch videos, move the current video off-stage, stop it, change the
> file name of the sprite, reset the movie time, and move it back on stage.
> I'm a one-frame kind of guy, so I would tend to use that approach.

Hi Kerry!

I have thought of that, but in fact I don't have 3 Quicktime movies, but 2
Quicktime movies and 1 MPEG1 movie that is played back using Tabuleiro's
DirectMediaXtra.

So just changing file names is not an optionn. I will have to think about
placing the videos in different frames ... unless someone else's got another
idea ...

Thanks anyway!

Michael


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



AW: switching between several quicktime movies

2002-11-05 Thread Michael von Aichberger
> I notice that you are using 384 x 288 for the mpg1, I've done some
> testing on this and on older PC's 352 x 288 seems to give the best
> reproduction.

Hi Dave!

I have never thought of using 352 x 288 and stretching it to the original
aspect ratio. I thought that stretching would deteriorate playback. Are you
sure that it workd better for you?

Has anyone else done this (352 x 288) before?

Thanks
Michael


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



switching between several quicktime movies

2002-11-04 Thread Michael von Aichberger
Hi list!

I am currently producing a cd-rom with just one digital video (4 mins) on
it, but this in 3 formats / sizes.

Here are the sizes:
1 quicktime sorenson 3, 320 x 240, 12.5 fps mono
2 mpg1/directmediaXtra, 384 x 288, 25 fps stereo
3 quicktime sorenson 3, 384 x 288, 25 fps stereo

All three movies can be viewed at 100 % or at 200 %

I want the user to be able to switch from one size/quality to another while
the movie is running.

I already have it running and on my fast pc it works fine. On poor PCs
however it mostly doesn't work at all.

Here is how I did it:

I have the 3 video cast members in 3 sprites that are placed vertically in
the score.

I use Lingo to place any video that is not running off the screen and have
it paused.

When the user clicks on a button to change the quality, I first save the
movietime of the video that is running, stop that video, place it off
screen, make some cleanup of the stage, locate the new movie to the saved
position of the first video, place it on screen and let it run.

As I said, it works, but the performance is worse than I expected (on win2k
machines / dir 8.5 / qt6). I wonder if it would be better to place the video
sprites horizontally, one after the other in the score and jump from one to
the other, instead of having all 3 sprites in the score at the same frame.
I could rearrange all to check that out, but before I do that, I thought
maybe one of you had experience he/she could share and save me that tedious
task. ?!

Thanks for any comment!

Michael

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



AW: sending emails with baOpenURL

2002-10-29 Thread Michael von Aichberger
ok, I found it: 

urlEncode(RETURN)


Sorry for posting.
Michael
[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!]



sending emails with baOpenURL

2002-10-29 Thread Michael von Aichberger
Hi list!

I want to enable the user of a cd-rom to send emails with his own e-mail
software such as Outlook.

Fot this I could use buddyAPI's baOpenURL command:

ok = baOpenURL("mailto:"; & where & "?subject=" & subject & "&body="& body,
"normal")

This works but the body text appears in one single line only. How do I
encode a line break in the URL-string?

(RETURN, numToChar(10), numToChar(13) didn't work ...)

I know that this is not exactly Lingo, but it I am sure that some of you
know the answer to this simple question and it would help me a lot!

Thanks for any help!

Michael

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



digital video not working when in external cast

2002-10-23 Thread Michael von Aichberger
Hi list,

In a CD-ROM project I had 3 digital video cast members (2 x QT, 1 x
MPEG/tabuleiro directmedia) in my internal cast, had them in sprites on the
stage, everything worked fine (Win2K, Dir 8.5.1). Now I have to make a
hybrid version of the cd-rom. The DirectmediaXtra not being available for
the MAC, I decided to play the MPEG through Quicktime in the MAC version
(instead of through the Tabuleiro Xtra in the PC version)

I wonder how this is best done. I thought I'd take the 3 videos out of the
internal cast and place them in 2 external casts, one for PC, one for the
MAC. As I did that for the PC version, the videos wouldn't play anymore.
(Just a black square on the screen). In authoring mode, ctrl-alt-esc made
them finally start playing and play fine, in a projector: no way.

Has anyone a clue to how to solve this problem?

Thanks in advance

Michael

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



AW: AW: image of a text member

2002-10-17 Thread Michael von Aichberger
> Have you tried using getPixel(x, y, #integer) ?

Thanks James, very interesting. I will remember that.

After all, I did get it work using copyPixels. I had to use copyPixels
anyway, because I had to care for variable length of text. So when
copypixeling the 32bit image into a 24bit image, the alphachannel seems to
be used. Anyway, this worked for me:

 le = textMem.text.length
  p = charPosToLoc(textMem, le).locH
  img1 = tickerMem.image
  img2 = image(p, 10, 24)
  srcRect = rect(0, 2, p, 12)
  img2.copyPixels(img1, img2.rect, srcRect, [#ink: #copy])


img2 is image I can explore with the "normal" getPixel command.

Thanks
Michael

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



AW: image of a text member

2002-10-17 Thread Michael von Aichberger

> Did you try putting the new bitmap on stage? When you get the image of a
text member you get an alpha channel as well - notice it's 32 bits. When you
put it on stage you should see it correctly

I didn't want it to be on stage. I wanted to get its pixel with getpixel.
And with getpixel I got the same as what the paint window was showing.
Thanks anyway
Michael

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



AW: image of a text member

2002-10-17 Thread Michael von Aichberger

Thanks to all for their replies.

@Buzz:
> alpha.image = member("Text").image.extractAlpha()

Thanks Buzz, nice workaround!

Michael

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



image of a text member

2002-10-16 Thread Michael von Aichberger

Hi list,

can you reproduce this (Dir 8.5.1 Win2K):

Create some text in a text member (text color and bgcolor color don't
matter):
member("test")

In the message window type:

x = new(#bitmap)
x.image = member("test").image

The result is a bitmap member, the thumbnail of which is the correct
reproduction of the text, but when I double click it, it opens in the paint
window showing just a solid bar (instead of the text). The bar has the color
of the text).

If I choose red as the text color and blue as the bgcolor, I end up with two
bars in one line, the first bar is red, the second is blue.

(If I analyse the bar with getpixel(), I get the same result)

What is wrong?

Thanks in advance
Michael

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



synchronize Director with Graphics adapter

2002-10-01 Thread Michael von Aichberger

Hi list!

I guess some of you have already experienced this effect:

Creating full frame video-like animations at a video-like frequency (25 fps
to 30 fps in Director), results in a flickering image.

I think the effect is due to the fact that the frequency Director uses to
update the stage is not synchronized with the frequency the graphics adaptor
displays the stage. In fact, what is causing the flickering is that you see
only one part of a specific Director frame plus one part of the next
Director frame. With the hard line that marks the transition of the two
frames constantly changing.

In my opinion the solution of the problem would be to synchronize the output
of Director with the output of the graphics adaptor. If Director would be
running at 30 fps and the graphics adaptor at 60 Hz, for every other cycle
of the graphic adapter output there would be exactly one new Director frame.

Has any of you already solved that problem? Does anybody of you know of a
specific graphic adapter that would be able to be synchronized by Director?

If so, thanks for sharing your knowlege!

Regards
Michael

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



controlling DMX

2002-09-26 Thread Michael von Aichberger

Hi everybody!

Has any of you ever controlled DMX lamps with Director?

I know of one way to do it (with Dataton control equipment and the SMARTPAX
scripting Xtra), but it can only control the first 32 channels in a DMX
chain.

I might have to control more than a thousand lamps and that very fast. Any
other way to do that?

Thanks
Michael

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



AW: web page in director

2002-09-24 Thread Michael von Aichberger

Thanks, I'll try it!

Michael

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



web page in director

2002-09-24 Thread Michael von Aichberger

Hi List!

Is it possible to capture the image of a web page (a "screenshot", not just
the text part of it) into an image object in director to use it in a
presentation?

Thanks for any suggestions ...

Michael


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



AW: How to stop a loop.

2002-09-19 Thread Michael von Aichberger

related question:

Does anybody know why sound continues to run smooothly during a tight repeat
loop? After all, I presume sound is also using the CPU, isn't it?

Michael

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



MultiuserXtra peer-to-peer time lags

2002-09-12 Thread Michael von Aichberger

Hi list,

I have still problems using the Multiuser Xtra in a peer to peer setup.

Here is what I have to do: I have hooked up 6 fast PCs, running Win2000, in
a peer-to-peer manner, TCP/IP protocol, 100 Mbit/s. Each of them runs a
projector, one of them serves as the server

errCode = pConn.waitForNetConnection("server user",1627, 6))

the other 5 are clients:

errCode = pConn.connectToNetServer(pUserID,"", gPL.serverIP, 1627, "sync")

In general it works fine, but synchronization is poor. For test purpose the
"server" sends a message to all clients, and on receipt of the message the
clients display a white flash. I would expect all white flashes to appear
with no noticeable delay. Instead, the flashes come one after the other, in
no reproduceable order, the delay time between the command given and the
last flash is about 0.2 to 0.3 seconds.

For the type of presentation this is not acceptable.

Has anyone done this before and got better results? Anything I could
improve?
I have read about UDP, but didn't test it, as it was said that data could
get lost, which I cannot afford to permit.

Any other idea?
Thank you very much for your help!

Regards
Michael


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



AW: OOP question

2002-09-11 Thread Michael von Aichberger

Hi Daniel!

> You could easily test it by a) watch the freebytes / freeblocks
both commands don't work in Windows (at least not for me: win2000, Dir 8.5G)
I would be lucky if I could use them

> change the image
good idea, maybe I'll do that, unless someone else confirms the impression
you're under ...

Thanks anyway
Michael

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



OOP question

2002-09-11 Thread Michael von Aichberger

Hi List!

Here's a simple question for the OOP gurus among you:

Suppose I have a script object with a property that contains an image.

>From that object I create many many instances of ANOTHER - one other -
script object, different from the script object that holds the image and
creates the objects.

And by creating all those new objects I am passing this one image as a
parameter to be then used in all those objects as a property.

And I am not working with ancestors or such.

Is that one image filling more memory now or is it only passed to the many
other objects by reference?

Thanks for your help!

Michael

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



  1   2   3   >