Re: lingo-l bluring images

2003-01-09 Thread Andreas Gaunitz P11
It's definitely possible but you need to laern imaging lingo. That's 
not too much to ask, it's simple and useful.

Check out the ducumentation for blurimage xtra. They talk a little 
about how blur is obtained:
http://www.smoothware.com/blurimage.html


-A.


hi, folks
i have to make a script that blurs an image according to a custom 
slider. it´s for simulating the way lenses work on telescopes, 
putting things out and on focus. could it be done with imaging 
lingo? if so, could you please just point me the right direction? 
what kind of image property could achieve such thing? i must say 
that i´m not really familiar with imaging lingo.
thanks a lot in advance,
q


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

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



Re: lingo-l Writing sound members

2003-01-08 Thread Andreas Gaunitz P11
Heh!

Well I for one always wanted to be able to write to a sound buffer 
just like you do to an image buffer, to be able to compute/ 
synthesize sounds using Director.

But if you could do that, then you'd want to play the sound without 
delay or queueing too. And then Director would be quite a diferent 
app I guess.

-A.


ha! never mind. i wasn't asking about beatnik. i've used it. gotta 
love email misunderstandings. i was curious about what the original 
poster, Carl, was trying to do. i should have stated more clearly: 
all true. now, Carl, you've got my curiosity going but thanks 
for the effort Andreas, it was a good description ;-)

regards,
evan

Andreas Gaunitz P11 wrote:

 Wow, I'm not sure I can explain this more clearly... I'll try 
though: There is a program supplied with the Xtra, called Beatnik 
Editor Pro. In BEP you import midi files and samples. You create 
instruments from the samples, by giving them a key range, filter 
settings, loop settings etc. The midi notes, and the instruments 
they will use, are then compiled into a file called RMF file. The 
.RMF file is what the Xtra plays, and what I would call a MIDI file 
on steroids.

 -A.


 all true. now you've got my curiosity going though -- if you're 
not providing samples, where is the origination of the sound? 
through different clips the user supplies? just tones? .?

 -evan

 Andreas Gaunitz P11 wrote:

  I have the beatnik Xtra. IIRC it cannot alter sounds at all in 
the sense of writing a sound to a member or a RAM slot.

  What it does is it lets you import sound setups made up of 
samples (cycled or one shot), and it can apply filtering and some 
fx (a rudimantary reverb etc) to the sounds.

  It's good for what it does - sort of a quicktime instrument/ 
midi file on steroids, but all setup work with the samples needs 
to be done beforehand and then compiled into a file (like a 
midi file w/ sounds included) and supplied to the xtra.

  -A.




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


--

_  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _


m u t a n t
m e d i a   solutions for success


Evan Adelman | 917.916.7378 | 598 Broadway  NY NY 10012
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] | www.mutantmedia.com
http://www.mutantmedia.com



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

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



Re: lingo-l Writing sound members

2003-01-07 Thread Andreas Gaunitz P11
This is a matter of curiosity right now.

In the past, I've used Glen Picher's BinIO Xtra to read and write 
external .aif files and have since been intrigued by the idea of 
using lingo to create or modify a sound member directly in the cast.

Possible? Where would I start? Is there an Xtra?


--
Carl West   [EMAIL PROTECTED]   http://eisen.home.attbi.com


First I want to say is I don't know. But I can do some reasoning: 
Changing something in the cast means that you will have to either a) 
change the projector binary on the disk (not what you want) or b) 
Find the audio file representation in RAM and write to that RAM spot. 
AFAIK there are no inbuilt methods and no Xtras for altering an audio 
file/ RAM chunk, like eg imaging lingo does with an image.


-A.


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


Re: lingo-l Writing sound members

2003-01-07 Thread Andreas Gaunitz P11
I have the beatnik Xtra. IIRC it cannot alter sounds at all in the 
sense of writing a sound to a member or a RAM slot.

What it does is it lets you import sound setups made up of samples 
(cycled or one shot), and it can apply filtering and some fx (a 
rudimantary reverb etc) to the sounds.

It's good for what it does - sort of a quicktime instrument/ midi 
file on steroids, but all setup work with the samples needs to be 
done beforehand and then compiled into a file (like a midi file w/ 
sounds included) and supplied to the xtra.

-A.


of course there's always the defunct beatnik xtra that allows for 
user interaction with and manipulation of sound, but then that would 
be a whole nother pack of treats (like getting your hands on the 
right tools, getting your hands on a fully functional xtra, etc, 
etc). and i don't *think* beatnik allows for saving of what the user 
has done to external filesbut it may be worth a look?

-evan

Carl West wrote:

Andreas Gaunitz P11 wrote:


This is a matter of curiosity right now.

In the past, I've used Glen Picher's BinIO Xtra to read and write
external .aif files and have since been intrigued by the idea of
using lingo to create or modify a sound member directly in the cast.

Possible? Where would I start? Is there an Xtra?







First I want to say is I don't know. But I can do some reasoning:
Changing something in the cast means that you will have to either a)
change the projector binary on the disk (not what you want) or b)
Find the audio file representation in RAM and write to that RAM spot.




That's what I was suspecting.



AFAIK there are no inbuilt methods and no Xtras for altering an audio
file/ RAM chunk, like eg imaging lingo does with an image.




And that's what I feared.




--

_  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _  _


m u t a n t
m e d i a   solutions for success


Evan Adelman | 917.916.7378 | 598 Broadway  NY NY 10012
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] | www.mutantmedia.com
http://www.mutantmedia.com



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

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



Re: lingo-l Writing sound members

2003-01-07 Thread Andreas Gaunitz P11
Wow, I'm not sure I can explain this more clearly... I'll try though: 
There is a program supplied with the Xtra, called Beatnik Editor Pro. 
In BEP you import midi files and samples. You create instruments from 
the samples, by giving them a key range, filter settings, loop 
settings etc. The midi notes, and the instruments they will use, are 
then compiled into a file called RMF file. The .RMF file is what the 
Xtra plays, and what I would call a MIDI file on steroids.

-A.


all true. now you've got my curiosity going though -- if you're not 
providing samples, where is the origination of the sound? through 
different clips the user supplies? just tones? .?

-evan

Andreas Gaunitz P11 wrote:

 I have the beatnik Xtra. IIRC it cannot alter sounds at all in the 
sense of writing a sound to a member or a RAM slot.

 What it does is it lets you import sound setups made up of samples 
(cycled or one shot), and it can apply filtering and some fx (a 
rudimantary reverb etc) to the sounds.

 It's good for what it does - sort of a quicktime instrument/ midi 
file on steroids, but all setup work with the samples needs to be 
done beforehand and then compiled into a file (like a midi file 
w/ sounds included) and supplied to the xtra.

 -A.


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



Re: lingo-l java fun..

2002-12-26 Thread Andreas Gaunitz P11
Wow! This is great. Director is crawling out of its shell!

-A.




INM has a new xtra in beta test - to call java classes from
Director...looks interesting...

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

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



Re: lingo-l Detecting a RETURN key ...

2002-12-14 Thread Andreas Gaunitz P11
Another problem ... I want to write a handler which counts the number of
words a user types into an editable text sprite. The idea is that the
handler:

1. counts the number of words which are entered, as they are typed;
2.  disallows anything more than 6 words;
3. issues a pop-up message explaining that more than 6 words is not
permitted;
4. responds to the enter key by bringing up the next editable sprite on the
stage.

John Lodge



John,

Put this on a text sprite. Should get you started.

-A.

--

on beginSprite me
  sprite(me.spriteNum).member.editable = TRUE
end


on keyUp me
  myText = sprite(me.spriteNum).member.text

  if mytext.word.count  7 then
pass
  else

case charToNum(the key) of
  8: pass -- backspace

  3: go the frame + 1 -- enter
  13: go the frame + 1 -- carriage return

  otherwise
alert no more than 6 words please

end case

delete word 7 of myText
sprite(me.spriteNum).member.text = myText

  end if
end





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



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

2002-12-12 Thread Andreas Gaunitz P11
OK. I think you should try the James Newton handler, but the 
principle is like this:

You can use a rotation matrix to rotate a vector (or another matrix). 
a point (x, y) in an image is a vector.

A 2d rotation matrix looks like this:

[a, b]
[c, d]  where a = cos a#, b = -sin a#, c = sin a#, d = cosa#

(a# = alpha = the angle)

To rotate a vector you multiply the matrix with the vector, which is 
simplified to:

x_new = x_old * a + x_old * c
y_new = y_old * b + y_old * d


This will rotate the image around the center, but you need to decide 
the size of the new image before starting to write pixels to it, so 
using Newton's handler saves you some hazzle.


-A.



Matrix, matrix...hum... kan you develop a bit more?
or any place where i can find a tut on this?

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

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

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

 Fabrice


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


 -A.


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


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

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



Re: lingo-l set cursor to last line of field

2002-11-28 Thread Andreas Gaunitz P11
Hello List

When my movie enter in a specif frame where have a
editable field, it´s text is all select, and I want
the cursor in the last line of a field, is it
possible???

Any ideas??

tnks in advance...



Bárbara,

1) Select the field sprite and look at it in the property inspector. 
Make sure to _deselect_ the editable property.
2) Then select the field _member_ and set it to editable.

Thats it.


-A.



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


Re: lingo-l Oh my... QT in shockwave

2002-11-28 Thread Andreas Gaunitz P11
From: Andreas Gaunitz P11 [EMAIL PROTECTED]



I've been trying to play (stream) Quicktime movies in a shockwave
movie for 2 days. I can't get them to play. I've tried most things I
can imagine among others:



Symptoms:
Some movs show only the first frame but don't play. Movs don't show
at all. Movs show only a white square.

Platform:
QT 5, D8.5, Mac, IE5, Netscace 4.7, sorensson.



If you are testing locally, make sure everything's in a dswmedia
folder as per your Director documentation. Also, the data rate of the
QuickTime movies is probably way too high when you try to run the video
over a web connection.


Thanks for your reply. It works locally as in preview in browser. 
It does not work when on a www server.


What is the average data rate of the QuickTime movies you are using? You
can find this by opening the movie info dialog in QuickTime Player
Pro. For a video clip to stream (start playing right away) over a 56k
dialup connection, it would have to have an overall data rate of around
3.5 - 4.0 KBytes/sec (that's video AND sound). Getting it that low takes
a compression application like Cleaner and some real skill. By
contrast, an ordinary DV format video clip (that you'd play on a TV set)
has a data rate of around 3.5 MB/sec! That means if you try to stream
a video clip at that data rate over a 56k modem connection, you have
about a thousand times too much data. You can't really get around that
obstacle with a few lines of Lingo - you need to do some work on the
video clips themselves first.


OK, but this is not exactly the case. Its 380 x 180 pixels, data rate 
140 K/sec. But we have a MAJOR internet connection at this 
university. Maybe it's the data rate anyway? I can't do very much 
about the movies right now, need to talk to the woman that submitted 
them first. We don't have Cleaner, so I need to import them into 
Premiere and render them from there, or use good old Movieplayer Pro.




Do you happen to know where to find a simple turtorial of how to stream QT!?!

---

MM has various technotes on that. For just the QT part, the book
QuickTime For The Web is a very good reference.

Steve Bennett
www.ifmp.net


Yeah I've tried everything in at least 5 technotes, dating as far back as D6.5.

I'll try to lower the data rate severely though, just for testing's 
sake. What points to the data rate sollution is that it works a lot 
better if I use the preloadNetThing and wait 'til it's done before 
starting playback. Now that I think of it, those preloads seem to 
take way longer than the actual duration of the clips, so I guess 
streaming is not a possibility, he he.


OK, thanks.

-A.


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


Re: lingo-l pausing a lingo program

2002-11-27 Thread Andreas Gaunitz P11
hi there,

does anyone out there know how to have director pause for a specified period
of time while the processor is running? I would like it to iterate a loop
after pausing for a certain number of ms.

thanx!




Ramesh,

I would probably use go the frame instead of pause, but if you 
really want to proceed with this, try this in a frame script:


-- Gaunitz 2002 --

on exitFrame me
  timeOut(waitTO).new(2000, #nextStep, me)
  pause
end


on nextStep me
  timeOut(waitTO).forget()
  go the frame + 1
end

--


-A.

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


Re: lingo-l ANN: Director MX

2002-11-27 Thread Andreas Gaunitz P11
What I'd really like to see is a shared code-base and consistent
object-model between both Flash and Director. If both of them used the same
low-level rendering engine (which Lingo would have access to, of course,
through imaging Lingo) and could each access any property of any object in
either language, then it should be a lot easier to mix the two.

This would basically mean that Flash and Director would be the same thing,
except that Flash would be a scaled down plugin with no support for
secondary scripting languages (i.e., Lingo, but while your at it...); Xtras,
etc. Shockwave/Director would be like Flash plus a load of other cool stuff
including more direct access to the low-level rendering engine. To me, this
seems like an obvious natural progression towards convergence for the two.

- Robert



Cool!

-A.


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



Re: lingo-l recursive use of handler

2002-11-27 Thread Andreas Gaunitz P11
Hello,
Is it possible to return the result of a recursive loop to the handler that
called the loop, instead of to the previous instance of the handler itself ?
I am not sure the question is accurate, but you can check out what I mean
with this example-moviescript.

on startMovie
  myList = [5,6,7]
  myPropList = createList(myList)
  put myPropList
end

on createList oldList, newList
  if not ilk(newList,#list) then
newList = []
  end if
  if oldList.count  0 then
newList.add(oldList[1])
oldList.deleteAt(1)
createList(oldList, newList)
  else
propertyList = [#propName:newlist]
  end if
  return propertyList
end

The value that is returned to startMovie is VOID, while I need it to be the
constructed propList.
If I put a breakpoint on the line return propertyList, I see what is
happening, but how can I pass my return value through this stack ?

sincerely,



Erik,

This will not work because the propertyList will never be 
constructed. The if statement only causes a recurse if 
oldList.count  0. The else will never happen. This would however 
work:

on startMovie
  myList = [5,6,7]
  myPropList = createList(myList, [])
  put myPropList
end


on createList oldList, newList
  --  if not ilk(newList,#list) then
  --newList = []
  --  end if

  if oldList.count  0 then
newList.add(oldList[1])
oldList.deleteAt(1)
createList(oldList, newList)
  end if

  if oldList.count = 0 then
propertyList = [#propName:newlist]
  end if

  return propertyList
end


...although I find the whole construction a little awkward. Why do 
you want this recursive setup anyway?


HTH
-A.


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


Re: lingo-l recursive use of handler

2002-11-27 Thread Andreas Gaunitz P11
THX for the quick reply, Tab !

Andreas, I am using recursion in a project where I use DOM-lingo to work a
bunch of XML stuff.
A recursive setup can simplify things there, and is sometimes (as far as I
see) the only solution.

sincerely,

	Erik Phalet



OK, I guess you're right. It doesn't make much sense in the example 
you sent, but I take it it's a simplified version (which I'm grateful 
for) pointing out the problem...

-A.


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


Re: lingo-l USB controlled robot arm?

2002-11-21 Thread Andreas Gaunitz P11
I'm not sure what you're asking, but yes, I'm using imaging lingo 
every day to analyze, manipulate and synthesize images.

getPixel()
copyPixels()
image()

...etc.


-A.


At 11.18 +0100 2002-11-21, [EMAIL PROTECTED] wrote:
A small Q... what do you mean with ..the images are going to be analysed with
Lingo.. ?
Have you actually managed to analyse pixel by pixel, with colour 
values or..??!!
I'm curious... Have something in mind going into trials of the same if so...

  Matching me..



 Why do I want to use Director at all? Because Lingo is what I master,
 and the images are going to be analysed with Lingo.



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

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



Re: lingo-l USB controlled robot arm?

2002-11-20 Thread Andreas Gaunitz P11
Hi,


This goes to all you people answering my question:
I have not found anything that is controlled by an Xtra, or Lingo. 
There are a number of USB or parallel port controlled arms out there, 
but they seem to use their proprietary software, so it's no use for 
me.

Right now it seems I'm going to use a plotter instead. It's movements 
can be controlled by writing stuff like...

penup;
moveto 20, 50;
pendown;
moveto 300, 222;

...to the Com port. Writing to a Com port can be done with 
DirectXtras' directCommunication Xtra. Com port = serial port, so I 
will have to migrate on this one, or use an old Mac. Don't suppose 
old Mac is an alternative though, because I need to get images in 
by Firewire/ DV camera, and analyse them before writing to Com.

I'm still interested in Lingo-controlled robot stuff, if anybody 
should find something.


-A.


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


Re: lingo-l USB controlled robot arm?

2002-11-20 Thread Andreas Gaunitz P11
What do you need this arm to do? I have been hunting down arm / loader
combinations for a client and have come across some Japanese companies that
seem to do various combinations of these. Haven't quite found what I'm
looking for yet :( We have approached an industrial design company here to
design the functionality we require, but it's looking expensive.

A
- Original Message -
From: Andreas Gaunitz P11 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 19, 2002 2:01 PM
Subject: lingo-l USB controlled robot arm?



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

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


 -A.



We're talking low budget project. It doesn't have to be very exact, 
or be able to move very freely, but it needs to be reasonably sturdy. 
I want it to draw a painting, using oil colors.

-A.


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


Re: lingo-l USB controlled robot arm?

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

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

OK, but I don't need any of the above. I could easily do it with a 
plotter and Director, if the plotter lifts the pen high enough over 
the paper when moving (so the brush stands clear of the paper). I'm 
investigating the alternatives: What kind of plotter would be best - 
a vinyl cutter using a scalpel? Or could I use a robot arm instead?

There are a number of cheap robot arms out there, but they use 
proprietary software. The by far simplest solution for me would be if 
there was an arm that could be controlled by an Xtra. Second best, 
arm control program reads data from a text file on disk that I can 
change from Director. Third best: Arm o plotter is controlled by 
writing simple stuff to a Com port on the computer. This alternative 
only rates as nr3 because I would need to do it on a PC. No Com port 
on modern Macs.

Why do I want to use Director at all? Because Lingo is what I master, 
and the images are going to be analysed with Lingo.


-A.



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


lingo-l sprites going white!?!

2002-11-20 Thread Andreas Gaunitz P11
I have a normal sprite on stage. I also have a number of dynamically 
created sprites on stage. puppetSprite = 1, assign a member etc. All 
sprites contain bitmaps. It all works like expected.

When I move the normal sprite on stage, in Director's edit - not 
playback - mode, some of the dynamic sprites go white (not invisible 
or transparent, but white). They insist on being white until I do

on reset me, _nr
  puppetSprite _nr, 0
  puppetSprite _nr, 1
  sprite(_nr).member = member(some member)
end

Should I save the movie and open it again the sprites will still be 
white until I do me.reset()

I've checked most sprite properies I can think of, like color, 
foreColor, ink, blend (can't be the cause, I know...), etc.

BTW, the members are not changed, only the sprites.

I've done this kind of sprite handler, creating sprites on the fly a 
number of times and never had this problem before. Any ideas?


-A.



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


lingo-l USB controlled robot arm?

2002-11-19 Thread Andreas Gaunitz P11
Do any of you happen to know where to get info/ pricing about a nice 
USB controlled robot arm?

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


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


Re: lingo-l shaped stage

2002-11-19 Thread Andreas Gaunitz P11
Works. You can even animate it.

-A.



Are you referring to a masked MIAW? As in setting a 1-bit cast member as the
MIAW.windowType? If so, that *should* work on the Mac too, but I've never
done it.

Give it a try.

Ross

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



Re: lingo-l MPEG1 files on a MAC

2002-11-17 Thread Andreas Gaunitz P11
Just a quick question. I want to play MPEG1 files on a MAC as I have
limited space.


Not addressing your question, but that is strange argument. If 
space is of concern, Sorenson would yield better quality/size ratio.

I have a hunch that Tabuleiro is working on a Xplat Xtra. May be 
worth checking out.

Will it play Sorenson movies without QuickTime being installed on the PC?



Just a word of warning! If you're aiming at cross platform it might 
be a good idea to avoid Sorensson.

I (and some other people I've been talking to) am experiencing 
problems playing Sorenson files on Win/ Quicktime 5  6. I get 
stuttering sound or stuttering video, different problems on different 
machines.

I think I will have to render it as Motion JPEG 2 to get it to work 
(?) The files do, however, play very smoothly on Mac.


-A.


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


Re: lingo-l MPEG1 files on a MAC

2002-11-17 Thread Andreas Gaunitz P11
It's strange, though: it works on some machines but not on others. 
Over here a Dell laptop plays fine, a Dell desktop does not. Both 
machines latest quicktime, hardware less than 6 months old.

BTW, what do you use instead of QT - what playback utility and what 
file format?

-A.


Well said.
For this reason I've been avoiding QT on Windows since QT 4, the 
last workable version, in my opinion.
Disabling Direct Draw helps, but is not an acceptable option.


Bertil Flink
Creative Media
[EMAIL PROTECTED]



- Original Message -
From: Andreas Gaunitz P11 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, November 16, 2002 11:29 AM
Subject: Re: lingo-l MPEG1 files on a MAC



 Just a word of warning! If you're aiming at cross platform it might
 be a good idea to avoid Sorensson.

 I (and some other people I've been talking to) am experiencing
 problems playing Sorenson files on Win/ Quicktime 5  6. I get
 stuttering sound or stuttering video, different problems on different
 machines.

 I think I will have to render it as Motion JPEG 2 to get it to work
 (?) The files do, however, play very smoothly on Mac.



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

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



Re: lingo-l cursor trails

2002-11-17 Thread Andreas Gaunitz P11
hi, sorry if this is a bit basic, but i am new to lingo, and i am 
trying to create a mouse trail using a series of cast members. i 
tried placing them on the score and making each one Loch and Locv 
values follow each other and then use a delay commmand but this 
didnt seem to work.
if anyone can help i would be really greatful.
thanks in advance.
mike

Not so basic at all. You need to do something like:

1) create a number of subsequent sprites in the score
2) create a behavior script that that knows how hamy frames has 
passed since the movie started.
3) It's also important that the script can differentiate between the 
different sprites, and that it knows the numbers of the first and the 
last sprites.
4) compare the number of frames passed with the sprite number. If 
they are the same, then set the sprite's loc to the mouseLoc. 
Otherwise leave it on its old loc.

Try to drop this on your sprites. Don't forget to set the 
pFirstSprite and pLastSprite to the right values. It's not optimized, 
but it works. The effect depends on your frame rate and your number 
of sprites. 50 fps and 12 sprites looked real nice...  =)


-A.


-
-- Creating trails from the cursor --
-- A. Gaunitz 2002-11-17 
-

property pFrameCounter
property pFirstSprite
property pLastSprite


on beginSprite me
  pFirstSprite = 1
  pLastSprite = 12

  pFrameCounter = pFirstSprite
end


on exitFrame me

  if pFrameCounter = me.spriteNum then
sprite(me.spriteNum).loc = the mouseLoc
  end if

  if pFrameCounter = pLastSprite then
pFrameCounter = pFirstSprite
  else
pFrameCounter = pFrameCounter + 1
  end if

end

-



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


Re: lingo-l Editing binary files?

2002-11-11 Thread Andreas Gaunitz P11
 You can use FileIO xtra if you write your data one byte at a time.
 Slow, but it works.


director-online has two very good articles on this.

Reading Binary Files with FileIO
http://www.director-online.com/accessArticle.cfm?id=1087

Writing Binary Files with FileIO
http://www.director-online.com/accessArticle.cfm?id=1089

just be careful with '0' characters :-)

hth

Fraser



Thanks s much for this link. Just what I always wanted.

-A.


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



Re: lingo-l Getting rid of Internal?

2002-10-24 Thread Andreas Gaunitz P11
So, in case it is not obvious, the thing is for as many of us as 
possible to 'wish' for this using the ritual which has become sacred 
to our brotherhood. (And sisterhood). The incantation for this 
particular magickal rite is;

mailto:wish-director;macromedia.com?subject=Scriptable%20Authoring%20Environmentbody=Please%20make%20the%20Director%20authoring%20environment%20fully%20scriptable

Ha ha, cool link!

I'm not sure what the exact benefits of a scriptable director would 
be though. Isn't every projector or SW we make just a subset of the 
Director environment, with the chosen functionality included? It can 
easily be configured (programmed) to generate content using imaging 
lingo etc... Please give some examples of what a Scriptable Director 
can do!


-A.


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


lingo-l Just out of curiosity (repeat loop)

2002-09-21 Thread Andreas Gaunitz P11

In some cases it's convenient to use 'repeat with anItem in aList', 
to roll through the entries of a list. However, pretty often I 
realize I need a counter for one reason or other, so i resort to use 
'repeat with itemCounter = 1 to aList.count'.

I have often wondered if there's a hidden counter somewhere that 
Director uses when counting throough the items using 'repeat with 
anItem in aList'? If so, can I check the value of that counter and 
use it?

No big deal, just curious.

-A.



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



Re: lingo-l How to stop a loop.

2002-09-19 Thread Andreas Gaunitz P11




repeat with x = 1 to Myvar

   if the mouseDown then
 exit repeat
   else
 -- do your stuff
   end if

end repeat



-A.



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

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

global stop

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

on a button got a stop = true, global stop

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


Fabrice

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

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



Re: lingo-l How to stop a loop.

2002-09-19 Thread Andreas Gaunitz P11


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

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


-A.


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



Re: lingo-l Direct to Stage niggles

2002-09-18 Thread Andreas Gaunitz P11

What platform?

Just some simple suggestions:

Did you set the stagecolor = the background color in your DtS Quicktime?

Did you try putting a shape that covers the whole stage behind the 
QT, that has the same color?

A little more work:

Did you try to move the QT off stage just before it stops playing?


-A.



Hi all

I have a fullscreen video that transitions (within the footage itself) to
the subsequent interactive interface. It all looks and works a treat, except
for a flickering that occurs when the video stops. My first thought was that
it was the 'Direct to Stage' turning itself off at the end, which it was.
Switching this off does solve the problem, but because the movie is
fullscreen (well, 800x600) it really chugs.

I'm pretty sure I've seen interfaces before that do transition from video
files, and they were  all seemless. So I'm guessing some lovely person out
there holds the key to getting round this? Any ideas?

Cheers

Ben

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

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



Re: lingo-l parent script

2002-09-18 Thread Andreas Gaunitz P11

I've got a cd from someone where I have to change things.
the problem is that I have to change a parent script. After changing 
some line and deleting some he still does the things I have deleted 
and desn't do the things I have added. How come? what do i have to 
do to make it work?

Tom


It's extremely difficult to tell from here. There are any number of 
things that could make something like this happen. Some suggestions:

1) You're changing the wrong lines of code. Maybe it's not these line 
that are actually used on stage.
2) You're changing the right code but you are coding wrong.
3) You're changing code in a handler that is infact not used.
4) You're changing a handler in a script that is not used.
5) The parent script is generated or altered on-the-fly, thus 
changing/ overriding your code when playing the movie. (Less likely)

etc.

Please elaborate a little on what the script does right now, and in 
what way you want to change it.


-A.


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



Re: lingo-l Best way of setting up cuepoints in video

2002-09-10 Thread Andreas Gaunitz P11

A word of warning: I haven't used cuepoints in video, but I sure have 
in audio (.aif). I have also used the movieTime to sync stuff with 
video. From my expercience, using movieTime is more tight than using 
cuepoints.

For my sharp projects, I've mainly used quickTime movies on a Mac.

I did some comparisons using an audio-only QT, with cuepoints. I 
found the movieTime to be more tight than isPassedCuePoint() or 
whatever.


-A.



Greets to all

It's looking likely that a number of projects I'm
working on are going to be requiring stage events to
sync with or be triggered by digital video. I've found
that checking for the movieTime of the video isn't
accurate enough so I'm looking at embedding cuepoints.

I'll work out all the Lingo myself (but I shall call
on you guys n girls if I get stuck) but I'm stuck on
how to get them in.

Any tips on procedure and required software?

Cheers as always

Ross

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
[To remove yourself from this list, or to change to digest mode, go 
to http://www.penworks.com/lingo-l.cgi  To post messages to the 
list, email [EMAIL PROTECTED]  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]

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



lingo-l File selection from Shockwave, another way

2002-08-29 Thread Andreas Gaunitz P11

Another idea: Do you think it would be possible to have the html 
dialog that not uploads the file itself, but just the name of the 
file to a Multiuser server. Then the MUS can pass the name back to 
the shockwave. The shockwave can then browse the disk for the file, 
and eventually upload it to the MUS?

It seems that the problem would be to associate the selected file 
name with the right shockwave movie. How would the MUS know which 
shockwave that owns a certain file... Hmmm, maybe the file 
selection html page could be created by the SW, and include an 
identifier. The shockwave will then open its selfmade html upload 
page in a new frame on the same page... The html posts a file name to 
the MUS, the MUS gives the file name back to the shockwave, the 
shockwave uploads the file to the server?


-A.


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



Re: lingo-l File selection from Shockwave

2002-08-29 Thread Andreas Gaunitz P11

On Thursday, August 29, 2002, at 07:18 AM, Andreas Gaunitz P11 wrote:

  Asking one last time...  =)  Does anybody know a way to get a file 
open dialog in a Shockwave, so the user can select a file on 
his/her disk?

Can't be done.

The nearest you can get is to use JavaScript's upload command, but 
what you do with the file once it's on your server is very much your 
problem. ;)


Not a problem. SMUS takes care of it!

-A.

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



Re: lingo-l MWM Graphic

2002-08-22 Thread Andreas Gaunitz P11

On the D7 installation CD there was a folder with all the stuff. (It 
was copied to your drive when installing.) I'm not sure about later 
versions...

-A.


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

Thanks in advance,

George Carlile
[EMAIL PROTECTED]

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

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



Re: lingo-l moving objects with time

2002-08-21 Thread Andreas Gaunitz P11

Elvin,


Is there a way move an object pixel per pixel throughout time?
Say, I want to move an object/image 50 pixels. over .. say 6 seconds?


Easiest way is to divide the distance by the time to find the 
distance to move the sprite each exitFrame. Keep the next location 
for the sprite in a variable. (The sprite will only move a fraction 
of a pixel each time.)

Use the frameTempo to compensate for different frame rate settings.

Here's a behavior to play with:



property distSlice
property nextLocH
property destLocH


on beginSprite me

   theDistance = 50
   theTime = 6.0 -- Must be a float!

   timeSlice = theTime * the frameTempo -- Nr of times to move
   distSlice = theDistance/ timeSlice -- Amount to move each time

   nextLocH = sprite(me.spriteNum).locH -- Start pos of sprite
   destLocH = sprite(me.spriteNum).locH + theDistance -- End pos
end


on exitFrame me

   if destLocH  sprite(me.spriteNum).locH then -- Check if done
 nextLocH = nextLocH + distSlice -- Compute next location
 sprite(me.spriteNum).locH = nextLocH.integer -- Move sprite
   end if

end




-A.




Whilst I'm here.. I might as well ask. Umm

I want to be able to change the characters in a given textfeild randomly?
Like a scrabbled word?

Thanks..

Elvin M. Certeza, Jr.
http://www.alphalink.com.au/~certeza/



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

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



lingo-l Random chars, was: moving objects with time

2002-08-21 Thread Andreas Gaunitz P11


I want to be able to change the characters in a given textfeild randomly?
Like a scrabbled word?

Thanks..

Elvin M. Certeza, Jr.
http://www.alphalink.com.au/~certeza/


Here's a bhv that changes the text randomly.

Define a string that contains all the characters you think should be 
allowed. Randomize a number between (1 and the length of the string). 
Get the corresponding character from the string, put it at the end of 
the new text. Repeat as long as the new text is shorter that the old 
text.

Is this what you mean?


-A.




on mouseDown me

   approvedChars = abcdefghijklmnopqrstuvwxyz0123456789
   newText = 

   repeat with charNr = 1 to sprite(me.spriteNum).member.text.length

 randomCharIndex = random(approvedChars.length)
 newChar = approvedChars.char[randomCharIndex]
 put newChar after newText

   end repeat

   sprite(me.spriteNum).member.text = newText
end




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



Re: lingo-l getting list of files in remote folder...

2002-08-21 Thread Andreas Gaunitz P11

Grimmwerks,

That's easy, but you need to configure the www server like this: If 
no index.html exists in a folder, then show directory contents 
instead. This is just one check box on a Mac server, I don't know 
about windows.

Once you've done that you can just do a 
getNetText(www.something.com/folder) to get a html page with the file 
listing embedded. Then you just need to strip away the graphics, 
html code etc

I've noticed some shakiness when doing this tho... A lot of times it 
only works the 2nd time i issue the getNetText(). Don't have a clue 
to why.

So I switched over to using the Shockwave Multiuser Server instead, 
which is a tad more capable. If you want to do it using SMUS, have a 
look at the server side scripting command called getAt() which is not 
what you'd expect it to be.

-A.


I realize that the server permissions must be set as such, rather than a
404...

but if I do a request on a folder/index.html that doesn't exist, will I get
a list of the folders, ie a browser? Is there any other way of getting
remote files in a browser, ie getNthfilename(http)?

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

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



Re: lingo-l getting list of files in remote folder...

2002-08-21 Thread Andreas Gaunitz P11

  I think each browser does something special to get back a 
fabricated html page

  hth

Found a way to get the convoluted html using the old xtranet (Terry had a
browser example from gmatter as well).

But I think I'll just use my directFTP after all.

I would've expected the index.html text that the browser puts out when
requesting a directories contents that are allowed to be seen. you know,
like a browser does.


I'm not quite sure I understand. It's not the browser that produces 
the html, it's the www server. You can design the page template to be 
output yourself, if you like, as long as you have access to the 
server.

-A.


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



Re: lingo-l getting list of files in remote folder...

2002-08-21 Thread Andreas Gaunitz P11


But getnettext returns an empty string, rather than the server's CREATED
html for the file listings.

It's no big deal, but odd.


Yes it's odd. It's not helping you, but it works for me with a Mac server.

Did you try using getNetText(ftp://user:[EMAIL PROTECTED]/folder) 
instead of http? It has been working better for me.


-A.


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



Re: lingo-l getting list of files in remote folder...

2002-08-21 Thread Andreas Gaunitz P11

Yes, for some reason I have trouble getting it to work too - now! I 
must open the filemaker port in the firewall to be able to backtrace 
my code.  Can't do it from here or at this time (03.10 am).


-A.


At 1:13 AM +0200 8/22/02, you wrote:
But getnettext returns an empty string, rather than the server's CREATED
html for the file listings.

It's no big deal, but odd.


Yes it's odd. It's not helping you, but it works for me with a Mac server.

Did you try using getNetText(ftp://user:[EMAIL PROTECTED]/folder) 
instead of http? It has been working better for me.


-A.

data point: http:  ftp: both fail for me too

URL = htp://kettles.best.vwh.net/demos/

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

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



lingo-l Multiuser Server choking Win server!?!

2002-08-20 Thread Andreas Gaunitz P11

Sigh...

My ISP accepted to run SMUS 3.0, but when they realized it takes 98% 
processor on a Windows 2000, PIII 1GHz they removed it. This is with 
NO traffic at all - just running the server.

It seems odd. When I run it on a Mac on my LAN it doesn't affect the 
performance of the computer at all. I would rather say it's very lean.

-A.


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



Re: lingo-l Multiuser Server choking Win server!?!

2002-08-20 Thread Andreas Gaunitz P11

Thanks for chicking this Neil,

The ISP stated that administering the server got considerably slower 
after starting the SMUS. I'm not sure, but I _think_ they mean 
administering via a www/ browser interface.

I still sounds fishy though.

-A.



I just tried it out on my own system and it does indeed show that it 
is using 98% of the CPU. I don't think that's true tho'. My system 
runs just fine with the MUS running.
Maybe it's like older versions of Director that would report using 
100% of the CPU when in fact it wasn't. I wonder if this is known by 
MM.

...Neil

At 02:36 PM 8/20/2002 +0200, you wrote:
Sigh...

My ISP accepted to run SMUS 3.0, but when they realized it takes 
98% processor on a Windows 2000, PIII 1GHz they removed it. This is 
with NO traffic at all - just running the server.

It seems odd. When I run it on a Mac on my LAN it doesn't affect 
the performance of the computer at all. I would rather say it's 
very lean.

-A.

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

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



Re: lingo-l Multiuser Server choking Win server!?!

2002-08-20 Thread Andreas Gaunitz P11

I checked on my Mac (antique Powerbook, 500 MHz, G3). The OS lends 
SMUS about 25% of CPU time, but that's not what it actually _uses_, 
if i start some other applications the SMUS amount decreases.

-A.


I just tried it out on my own system and it does indeed show that it 
is using 98% of the CPU. I don't think that's true tho'. My system 
runs just fine with the MUS running.
Maybe it's like older versions of Director that would report using 
100% of the CPU when in fact it wasn't. I wonder if this is known by 
MM.

...Neil

At 02:36 PM 8/20/2002 +0200, you wrote:
Sigh...

My ISP accepted to run SMUS 3.0, but when they realized it takes 
98% processor on a Windows 2000, PIII 1GHz they removed it. This is 
with NO traffic at all - just running the server.

It seems odd. When I run it on a Mac on my LAN it doesn't affect 
the performance of the computer at all. I would rather say it's 
very lean.

-A.

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

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



Re: lingo-l Multiuser Server choking Win server!?!

2002-08-20 Thread Andreas Gaunitz P11

I have had the MUS running on my own system for a couple of days at 
a time with no noticeable decrease in performance of the rest of my 
apps running.

Typical apps running _while_ the MUS is on.
2-3 Versions of Director
Flash
IE
Netscape
Fireworks
Photoshop
3ds Max
Eudora
Lots of File Windows.

I still have no decrease in performance.

I just tried this...I started the MUS, launched 
IE,Director,Homesite,Sound Forge,Dreamweaver,Fireworks and Flash. I 
opened the Windows Task Manager and clicked on different apps to 
give them focus. I opened files, closed files, dragged items around, 
played some director files and the CPU usage for the MUS fluctuates 
as I do this. It has dropped as low as 52%. It looks like the MUS 
uses whatever cycles are available to it at that time. It doesn't 
hog the CPU.
...Neil


Yes, this is my conclusion too. But I wonder what the ISP got wrong though...

-A.


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



Re: lingo-l Flickering Quicktime Movie

2002-08-17 Thread Andreas Gaunitz P11

On the Mac there's an App called Mediacleaner (don't know if there is 
a Win adaption) that is _very_ useful. In Mediacleaner you can open a 
QT or other format, and resize, crop, set compression method etc for 
audio and/ or video. Then just hit the Process button and go have a 
coffee.

If you're comfortable using preselected rates/ settings you can do 
most of it in Apple Quicktime Player Pro too (another excellent piece 
of software). Open the movie, File Export movie as QT movie Use: 
and there are the compression rates. Try 2x CD-ROM Sorensson.

-A.


I compressed the file but how do I limit the data rate?
- Original Message -
From: Andy Innes [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 16, 2002 18:26
Subject: Re: lingo-l Flickering Quicktime Movie


  Have you compressed the file as much as possible and limited the data rate
  for CD playback?

  A
  - Original Message -
  From: Beertje [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Saturday, August 17, 2002 12:14 AM
  Subject: lingo-l Flickering Quicktime Movie


   Can anyone tell me why my QuickTime move is flickering in the projector?
I
   plays fine in the dir file but not in the actual projector.
  
   Thanks in advance
  
   George Carlile
   [EMAIL PROTECTED]
  
   [To remove yourself from this list, or to change to digest mode, go to
  http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
  [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L
is
  for learning and helping with programming Lingo.  Thanks!]

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


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

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



Re: lingo-l Flickering Quicktime Movie

2002-08-17 Thread Andreas Gaunitz P11

OK, thanks. This is really muddy waters. Good to know.

-A.


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

  Wow. I really wonder what you mean. Do you mean flash in a lower
  sprite channel than video?

  -A.


No, not in a sprite channel, but ...aw crap. on the stage. Say if flash had
a rect(0,0,320,200) and the quicktime had rect(0,201, 320,400) or something.
Above it in stage space. But if the flash and QT were next to each other it
would be fine.

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

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



RE: lingo-l Trouble importing W3D files on-the-fly

2002-08-17 Thread Andreas Gaunitz P11

The file name of the w3d file has proven to have great impact on the 
success too. No spaces allowed!

But I'm up and running! (Well mostly walking so far, but I expect to Run soon.)


-A.


Andreas,
Sorry for the delayed response on this one, but I just don't get the 
same results as you do. I made four test movies that issue a 
preloadNetThing to pull a W3D to the local cache and when that's 
complete I then create a new 3D member and use loadFile to merge the 
retrieved file with the new member. I did this in four combinations:

- preloadNetThing and loadFile both use a relative URL
- preloadNetThing and loadFile both use a full URL
- preloadNetThing uses a relative URL while loadFile uses a full URL
- preloadNetThing uses a full URL while loadFile uses a relative URl

In all cases I was able to load the file into the member without 
error using the following code:

tNewMem = new(#shockwave3d)
tNewMem.name = new3d
tNewMem.loadFile(http://myDomain.com/star.W3D;, FALSE, TRUE)

Of course the above was done only after having issued a 
preloadNetThing command and waited for successfull completion of 
that download (netDone was TRUE and netError returned OK). Have a 
look at my test files if ya like:

http://poppy.macromedia.com/~thiggins/loadFile

I'm just not certain as to why things are failing for you as I just 
don't see the same results. To be safe, you're sure that your 
relative URL built using the movie path does in fact match the full 
URL? Perhaps your relative URL and full hardcoded URL are not the 
same and thus the error? In my test cases they are the same and I'm 
not getting the same behavior so maybe that's part of the problem.

Hope that helps.

Cheers,
Tom

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

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



Re: lingo-l better to make spritenum a property or useme.spritenum?

2002-08-15 Thread Andreas Gaunitz P11

Don't know, but I always use me.spriteNum for clarity.

-A.


When creating behaviours is it better to

property spritenum
on prepareFrame me
sprite(spriteNum).locH = 30
end

or just

on prepareFrame me
sprite(me.spriteNum).locH = 30
end

or is it just personal preference?

Lewis


This e-mail (and any attachments) is confidential and may contain personal
views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system, 
do not use,
copy or disclose the information in any way nor act in reliance on 
it and notify
the sender immediately. Please note that the BBC monitors e-mails sent
or received. Further communication will signify your consent to this.

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

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



RE: lingo-l Trouble importing W3D files on-the-fly

2002-08-13 Thread Andreas Gaunitz P11

Tom,

Thank you very much for your testing. It's comforting to know that it 
actually should work. I think Buzz Kettles might have provided the 
solution, but I haven't been able to try it: I need to add a MIME 
setting for .W3D to my server. Right now the W3Ds get downloaded as 
text files, and that seems to the problem in a nutshell.

Unfortunately I have no idea what the MIME type should be... I didn't 
find anything useful when I searched the Technotes for (mime type 
w3d) etc. Do you happen to know? I just improvised a MIME type of 
(.W3D and x-w3d).

(BTW I don't use a relative URL, but exactly the same as the one I 
used for preLoading.)


-A.


Andreas,
Sorry for the delayed response on this one, but I just don't get the 
same results as you do. I made four test movies that issue a 
preloadNetThing to pull a W3D to the local cache and when that's 
complete I then create a new 3D member and use loadFile to merge the 
retrieved file with the new member. I did this in four combinations:

- preloadNetThing and loadFile both use a relative URL
- preloadNetThing and loadFile both use a full URL
- preloadNetThing uses a relative URL while loadFile uses a full URL
- preloadNetThing uses a full URL while loadFile uses a relative URl

In all cases I was able to load the file into the member without 
error using the following code:

tNewMem = new(#shockwave3d)
tNewMem.name = new3d
tNewMem.loadFile(http://myDomain.com/star.W3D;, FALSE, TRUE)

Of course the above was done only after having issued a 
preloadNetThing command and waited for successfull completion of 
that download (netDone was TRUE and netError returned OK). Have a 
look at my test files if ya like:

http://poppy.macromedia.com/~thiggins/loadFile

I'm just not certain as to why things are failing for you as I just 
don't see the same results. To be safe, you're sure that your 
relative URL built using the movie path does in fact match the full 
URL? Perhaps your relative URL and full hardcoded URL are not the 
same and thus the error? In my test cases they are the same and I'm 
not getting the same behavior so maybe that's part of the problem.
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: lingo-l find next and previous values in list***

2002-08-11 Thread Andreas Gaunitz P11

Sorry, I don't relly get it. Can you type an example of the list?

-A.


Hi, I'm sorry but i didn't explain rigth. The problem is that I have all the
castmembers filled but only  a few of them has this parameter. So the user
could be in an member that don't have your number in list and this is the
problem.
example the user is seeing the image from member 20, but this image is not
in list because it's name doesn't have the parameter. and the next value in
list is 32 ( the next image near that has the parameter) so.. how can i made
this jump?? I have to types of navigation a linear one (+ 1 and -1) and this
non-linear that jumps from where user is to the next point the has a
parameter...


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



Re: lingo-l Stupid script window!

2002-08-11 Thread Andreas Gaunitz P11

At 08:08 2002-08-11, Robert Tweed wrote:
I get really annoyed by the key bindings in the script editor. Does anyone
know how, without using an external editor (which is even more irritating) I
can set keys like [ctrl]+[right-cursor] to the Windows default of next
word, instead of next script. I just can't get out of the habit because
this is a shortcut I use all the time when editing other files.

If there's a way, I'd love to hear it, too. In case you aren't 
aware, though, you can use [Alt]+[Cursor keys]. I haven't been able 
to train my muscles into that tiny variation, but you might have 
more success.

[Alt]+[Cursor keys] is standard in a lot of Mac applications...

-A.




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



lingo-l Downloading .W3D / SW 3d files in Multiuser application

2002-08-11 Thread Andreas Gaunitz P11

About downloading .W3D in a Multiuser application:

I've been investigating more in the problem with downloading W3D 
objects from a http server and then importing them into a shockwave 
movie.

It seems preloadNetthing() downloads the file from server to the 
local cache, but the netMIME is text/html so I guess the W3D is for 
some reason treated as text. When importing the file into a new SW3D 
member using loadFile like this:

fresh3dMem = #shockwave3d.new()
fresh3dMem.loadFile(theUrl, TRUE, TRUE)

I just get a Error 2147221484 and an empty #shockwave3d member (obviously).

What to do? I can't use FTP because the server runs in passive mode, 
which D8.5 does not support. Could I use Multiuser Server to read the 
file with readvalue() and then pass it to the Shockwave as a 
variable? How?


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



Re: lingo-l Downloading .W3D / SW 3d files in Multiuser application

2002-08-11 Thread Andreas Gaunitz P11

I think the answer is no. I just uploaded the W3D files to a HTTP 
server using FTP as binary Raw Data. You mean I have to map the W3D 
suffix to a MIME type in the HTTP server application... that seems 
logical in an Internet backwards way. I guess an old Mac server won't 
be preconfigured for this.

Thanks for this interesting clue!

-Andreas



Is the .W3D file extension MIME-mapped on the server it's coming from?

-Buzz

At 7:36 PM +0200 8/11/02, you wrote:
About downloading .W3D in a Multiuser application:

I've been investigating more in the problem with downloading W3D 
objects from a http server and then importing them into a shockwave 
movie.

It seems preloadNetthing() downloads the file from server to the 
local cache, but the netMIME is text/html so I guess the W3D is 
for some reason treated as text. When importing the file into a new 
SW3D member using loadFile like this:

fresh3dMem = #shockwave3d.new()
fresh3dMem.loadFile(theUrl, TRUE, TRUE)

I just get a Error 2147221484 and an empty #shockwave3d member (obviously).

What to do? I can't use FTP because the server runs in passive 
mode, which D8.5 does not support. Could I use Multiuser Server to 
read the file with readvalue() and then pass it to the Shockwave as 
a variable? How?


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

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

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



Re: lingo-l Stupid script window!

2002-08-11 Thread Andreas Gaunitz P11

If there's a way, I'd love to hear it, too. In case you aren't 
aware, though, you can use [Alt]+[Cursor keys]. I haven't been 
able to train my muscles into that tiny variation, but you might 
have more success.

[Alt]+[Cursor keys] is standard in a lot of Mac applications...

that's hard to believe, considering there's no Alt key on the Mac keyboard ...

did you mean cmd-arrows?

On the contrary, it's easy to believe: I meant the key labelled alt 
on my Powerbook Bronze keyboard! It sits between the Ctrl key and the 
Cmd key.

-A.


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



Re: lingo-l Stupid script window!

2002-08-11 Thread Andreas Gaunitz P11

OK. In Swedish the Option key has always been called the Alternativ key.

-A.



Doh!
right you are!

I didn't remember that Apple added that little reminder label onto 
the Option key when the web started referencing the alt key to do 
things.

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



Re: lingo-l lingo-lIf new value that dont calculate

2002-08-11 Thread Andreas Gaunitz P11

Yes this is quite possible to solve. But can you tell me a little 
more about the situation:

You set up the calculation to take place... when? When something is 
typed into one of the 2 first fields? on exitframe? when clicking a 
button?

One way to go would be to let the calculation be triggered by keyUp 
events in the 2 input fields. Then you would get this kind of 
behavior while typing in input field 2:

|In1 |In2 |Sum  |
|10  |1   |10   |
|10  |12  |120  |
|10  |126 |1260 |

When typing in the Sum field nothing happens, because it doesn't trig 
a calculation.

The code could be a lot simpler if you hardcoded the member and 
sprite names into the behaviors, but I wanted to make it as universal 
as possible.

Put this in a behavior. Put the behavior on each of the input fields:

--

on keyUp me
   firstValue = sprite(me.spriteNum).member.text

   sendAllSprites(#setFirstValue, firstValue)
   sendAllSprites(#sendSecondValue, me)
   sendAllSprites(#addValues)
end


on sendSecondValue me, _caller

   if _caller  me then
 secondValue = sprite(me.spriteNum).member.text

 put sending 2nd value:   secondValue
 sendAllSprites(#setSecondValue, secondValue)
   end if
end

--

-- And put this in a behavior on the sum sprite:

--

property firstValue
property secondValue


on setFirstValue me, _firstValue
   firstValue = _firstValue
end


on setSecondValue me, _secondValue
   secondValue = _secondValue
end


on addValues me
   sum = firstValue + secondValue
   sprite(me.spriteNum).member.text = sum.integer.string
end

--


Hello,

I'm having a problem that I'm sure one of you brilliant people will have
no problem with.

I have a simple calculation (three fields: two input fields and one Sum
field, it simply adds the two input fields)

What I need to have happen is if the user would put a value that would
differ from the value created by the calculation into the sum field; I
no longer have need for the calculation to take place.

So, I've racked my brain on this and came up with a global variable that
if the user clicks the sum field then no calculation. Works Great but,
if you would like to tab to the sum field it never recognizes that you
put your own value into the sum field.

So I need to find a way of having this work so, if the user tabs to the
sum field and changes the value it will no longer calculate.

Any ideas and suggestions would be greatly appreciated.

Thank you,

Mattie


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

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



Re: lingo-l cd name/listing from director

2002-08-10 Thread Andreas Gaunitz P11

Yea I did it too a while ago.

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

-A.


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

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

  -A.


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

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

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



lingo-l Trouble importing W3D files on-the-fly

2002-08-09 Thread Andreas Gaunitz P11

I am experiencing severe trouble when attempting to import W3D files 
to a shockwave on-the-fly from a URL.

This code works excellently:

   fresh3dMem = new(#shockwave3d)
   fresh3dMem.loadFile(the moviePath  scene.W3D, FALSE, TRUE)

But this does not:

   fresh3dMem = new(#shockwave3d)
   fresh3dMem.loadFile(http://etc.etc.etc/scene.W3D;, FALSE, TRUE)

even if I have done a preloadNetThing on the W3D file. Same procedure 
with a jpg instead of W3D works well (of course).

Please note: The W3D files are not linked as members, but should 
rather be loaded from a (Internet) directory, containing an arbitrary 
number of W3Ds.

I've tried loadFile(), setting the fileName and importFileInto()... 
The best thing I can get is Error 2147221484.

Any suggestions most appreciated!




-A.


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



Re: lingo-l cd name/listing from director

2002-08-09 Thread Andreas Gaunitz P11

Go download the Buddy API xtra, then type

--

global buddy

on startMovie
   buddy = xtra(budapi).new()
   put baDiskList()
end

--

You will get a list of the available drives. On Windows you can ask 
for the type of a drive using baDiskInfo(drivename, type).

On the Mac I think you could use baDiskInfo(drivename, free) to 
look for a disk with very few free bytes. That one should be the CD, 
but of course there's going to be a problem if you have a diskette 
inserted.

When browsing the files you can use baFileList(driveName, *.jpg) 
(Win) or baFileList(driveName, jpeg) (Mac) for finding the files 
in a directory and baFolderList for getting the folders.

Or use Director's internal getNthFilenameInFolder() function.


-A.


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

is there somewhere technotes on this?
Fabrices

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

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



Re: lingo-l cd name/listing from director

2002-08-09 Thread Andreas Gaunitz P11

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

-A.


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

is there somewhere technotes on this?
Fabrices

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

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



Re: lingo-l find next and previous values in list

2002-08-08 Thread Andreas Gaunitz P11

-- Moving to the right in a list:

memberList = [21, 32, 43, 54]

oldMemNum = sprite(blabla).memberNum
oldMemIndex = memberList.getPos(oldMember)
newMemIndex = oldMemIndex + 1
newMemNum = memberList[newMemIndex]

sprite(blabla).memberNum = newMemNum

-- Watch out for the ends of the list


HTH
-A.



Hi list,

I have a big cast with lot of images. Some images have an identifier in it's
names like s or m so, I want to create a button that let's the user
jumps to the specific images with this parameter. In the startmovie i made a
repeat and built a list[] with the number od members that have the parameter
s or m. Now the problem how can I jump between this list. Example if my
member (on stage) is number 4 and the next in list is 10 how can I tell the
director to go to sprite(blabla).member = member(10) ??? and so on.

Thank's in advance

Rodrigo


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

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



Re: lingo-l tight soundloops in shockwaves

2002-08-03 Thread Andreas Gaunitz P11

Therese,


In D8 or later, use sound objects instead.

sound(soundChannel).queue
sound(soundChannel).play   ...etc.

Example:
sound(2).queue([#member: member(myAIFFmember), #loopCount: 0])
sound(2).play()

It will be tight unless
a) You are queueing  playing several very short sounds in a row
b) You have several sound objects that you need to start at the exact 
same moment (impossible)
c) You are using WinNT in which case you cannot use sound objects at all


HTH
-A.



hi list.
  ok this should be a easy one how do i create a perfect 
soundloop that works in shockwave mode?
I have tried doing it automaticly and manually with soundbusy but 
the loop isnt tight enough.

plz help /therese

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

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



Re: lingo-l mac wont play mp3

2002-07-23 Thread Andreas Gaunitz P11

Heike,


I'm not sure I understand the problem... Weren't the MP3s already 
imported on the Win side when you ported the project to Mac?

In D8.0 i Drag  dropped an MP3 on the castLib and made a sprite with 
this behavior:

on mouseDown me
   puppetSound 3, member(Shaggy - Oh Carolina)
end

It works, both in Author  Runtime.

I uploaded a file type changing utility that makes iTunes MP3 out of 
any MP3. Try to convert MP3 and see if it works better:

http://bokning.konstfack.se/gdi/andreas/lingoL/Make_iTunes.sit


-A.



hello,

i've just re-tested our project on a mac and it turns out that it refuses to
play the mp3s i have imported (via file - import). i have looked at the tech
note about how qt4 can prevent the insertion of mp3 audio into director.
i've gone through the steps (disabling quick time exchange in quick time,
putting the mp3s on a dos disk, putting them on the mac again), the files
are now no longer claimed by quick time, but they still wont play. when i
try re-importing them into director i get an import error (85) every time
and the import is aborted. the tech note says that i should import the mp3s
into director via insert - media element - shockwave audio. but... then i
end up with an swa cast member, which wont react to my scripts .-((

any ideas what i could do to make this thing function?

thanks,
heike .-)



   heike schmidt
   gekko mbh * rathausallee 10 * 53757 sankt augustin * germany
   fon 02241 - 944 97 39 * fax 02241 - 94497 33 * web www.gekko.de


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

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



Re: lingo-l Help with calling a script

2002-05-18 Thread Andreas Gaunitz P11

I'm not sure why you can't put your code in frame 2 instead of frame 
1? It's usually a good idea to allow 1 or 2 frames for Director to 
catch up, after loading a movie.

Please note: If you are affecting another sprite in your 
beginSprite handler, the other sprite needs to already be 
instanciated. This means that if your code is attached to a sprite 
with a lower sprite number than 16, it will not work as sprite 16 
doesn't exist yet. If your code resides in sprite 16 or greater, it 
should work.

If you can't move the code to frame 2, you can always use a timeOut object:




-- Allowing 100 ms before calling startMe:

on beginSprite me
   timeOut(delayedInit).new(100, #startMe, me)
end


-- The timeout will call startMe every 10th of a second
-- so we need to kill it after the first call:


on startme me -- Added the me object reference

   timeOut(delayedInit).forget() -- Killing the timeOut object

   sprite(16).AreaOfInterest=rect(100,2300,200,2500)
   playbackbuffermovie (sprite 16, whorufinished.mov, #loop)
   sprite(16).FieldOfView=45
   -- end if -- PLEASE REMOVE THIS!!!
end




HTH  Good luck

-Andreas



Hello all,

I am using the QTVR2 xtra for putting video into a QTVR sprite. If I
place the script, to place the movie into the qtvr on a button, play the
movie and keep the playhead on the same frame, and then use the button
it works.

However I need to be inserted straight away, so I tried putting it on
exitframe but it does'nt work because it is being called all the time,
so I tried it on a beginsprite but this throws an error that the
property  AreaOfInterest is not found.

I'm guessing this is because the QTVR xtra, or Pano is not loaded yet
but I don't know how to get around this problem,

Can anyone help?

The code I'm using is below:


on beginsprite me

   startme
end


on exitFrame me
   go to the frame

end

on startme

 sprite(16).AreaOfInterest=rect(100,2300,200,2500)
 playbackbuffermovie (sprite 16, whorufinished.mov, #loop)
 sprite(16).FieldOfView=45
   end if
end


-KEV-

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

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



lingo-l Flash bash

2002-05-14 Thread Andreas Gaunitz P11

OK, this is not the Flash forum, but I'm not a Flash user either...

Did you ever experince that flash stretches and nudges pixel 
images? I think it's mostly during transitions... Have a look here 
http://www.grey.se/digital/kunder/stocon/ if you like.

So is it impossible to get expected results when using transitions  
pixel images in Flash?


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



RE: lingo-l Flash bash

2002-05-14 Thread Andreas Gaunitz P11

Thanks a lot for the links guys!

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



Re: lingo-l Random listItem - Was: (no subject)

2002-04-28 Thread Andreas Gaunitz P11

I have tried a few different things like putting the note names into 
a list, like [#noteA, #noteB,#noteC] and so on.

on noteA
sprite(1).member = key1Hilite
repeat while soundbusy 1
end repeat
sprite(1).member = key1
end

But I am having trouble getting at the Playlist randomly.
What would be the correct way to get at a random instance in a list like this?


notes = [#noteA, #noteB, #noteC]
rndNote = notes[random(notes.count)]


-A.



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



Re: lingo-l under a major crunch, quick imaging lingo solution

2002-04-28 Thread Andreas Gaunitz P11

This is awesome?!? Can anybody confirm?

-A


thanks for everyone#s help.
I am writing on a german keyboard and can´t find all the keys. I found
thaT if i rotated the sprite(any sprite with rotation of 0 degrees) by .01
degree the framerate doubled, so that was my solution. weird but it
worked.
thanks,

b


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

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



lingo-l Shockwave safe file open dialog?

2002-04-23 Thread Andreas Gaunitz P11

Hi list,


Do yo know of any free display a file open dialog box xtra that is 
Shockwave safe?

I'm supposed to upload a user selected image file (from a Shockwave) 
to a ftp server.

I was contemplating using the netXtra instead of directFtp, but with 
the netXtra you cannot select a file on the disk... you can only 
upload a file if you already know the file name  path.


-A.


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



Re: lingo-l script of mousewithin

2002-04-15 Thread Andreas Gaunitz P11

It probably depends on where the script is.

on mouseWithin me
   --
end

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

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

the mouseMember

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

-A.


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

all is fine

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

its no effect

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

its work fine

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




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



Re: lingo-l may behaviors originally written in D7 be used inD8.5?

2002-04-09 Thread Andreas Gaunitz P11

In D8+, Use backslash instead: \


-A.


on getBehaviorDescription me
   return ¬
JUMP BACK BUTTONRETURNRETURN¬


Is this ¬ not acceptable in D8.5?

If so, how would I modify this?


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



lingo-l Re: Push Lingo to the limit - FFT

2002-04-03 Thread Andreas Gaunitz P11

You'll need to do FFT of course. Check out http://www.as-ci.net/asFFTXtra/

-A.


So has anyone written an MP3 player with a graphic eq
to go with it. I wish Lingo had more robust audio
programming capabilites built in.

Cheers,
JS



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



Re: lingo-l on beginSprite used in frame scripts

2002-03-30 Thread Andreas Gaunitz P11

What I'm getting at is what is the purpose of the 'on prepareFrame' 
handler when the 'on beginSprite' handler can be used in a frame 
script?
Is the 'on beginSprite' handler meant to be used in a frame script? 
Or an 'on prepareFrame' handler to be used in a sprite script for 
that matter?


Drekinn


I'm not sure of when to use the prepareFrame handler, but I can tell 
you I use on beginSprite in both frame and sprite behaviors all the 
time.


-A.


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



Re: lingo-l My turn to incur the wrath of the list

2002-03-27 Thread Andreas Gaunitz P11

If I try:

--
From: Christian Wach [EMAIL PROTECTED]
To: [EMAIL PROTECTED]

unsubscribe lingo
--


Why don't you suse the links in the header of the mails you get from the list?
It seems you use some alternative formating everytime. If yiou use 
the link it will render:

To: [EMAIL PROTECTED]
From: Your adress
Subject: unsubscribe

Also make sure you use a computer with the same email settings (email 
adress) as the one you used for subscribing.


-Andreas


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



lingo-l Re: lingo-l[OT] What quicktime compression format?

2002-03-20 Thread Andreas Gaunitz P11

P11=Planet 11 ?, i så fall; hälsa Jocke och Calle från pryonen nr.1

OK, jag hälsar.

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



Re: lingo-l What quicktime compression format?

2002-03-20 Thread Andreas Gaunitz P11

This is a good reference if you dont already know about it:

http://www.siggraph.org/education/materials/HyperGraph/video/codecs/Default.htm

Matt

Can't open this link?!? I'll try later.


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



Re: lingo-l What quicktime compression format?

2002-03-20 Thread Andreas Gaunitz P11

I'm trying to have 2 video tracks in one movie, and let the user 
chose which track he wants to see at any moment of the playback.


I've done a lot of that. The problem is that the new video track you 
switch to has to go back to its previous key frame, and build up the 
current frame, all the time trying to deal with a still playing 
movie.

Ah, so my guessing was quite not too far off then.


You can reduce any problems a lot by pausing the movie while you do 
the switch, giving it some time to get its act together before 
playing it again,

Unfortunatley it's not an option in this case.


  or/and you could make the key frames more frequent. If you're using 
Sorenson, you may find that the key frame spacing was set to be 
quite wide apart, because Sorenson is often used for web video, 
where infrequent key frames may help to keep the file size down. Try 
setting the key frames every one or two seconds, and also pause the 
movie as you switch tracks.

Yes, I've been using Sorensson (from Adobe Premiere) until now. I 
could use any codec but I guess Sorensson is still adequate if I use 
more frequent keyframes.


Thanks for the help!

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



Re: lingo-l What quicktime compression format?

2002-03-20 Thread Andreas Gaunitz P11

You can reduce any problems a lot by pausing the movie while you 
do the switch, giving it some time to get its act together before 
playing it again,

Unfortunatley it's not an option in this case.


I'm not talking about a huge delay, just enough that the movie 
doesn't get jerky. Something like this:

set the movierate of sprite s to 0
settrackenabled(sprite s,1,false)
settrackenabled(sprite s,2,true)
updatestage
set the movierate of sprite s to 1

Hm, I'll try it. The movie is one long fly-through, so it's pretty 
sensitive. I don't expect a perfect result anymore but It'd be nice 
to reduce jerkyness to a minimum.  :-P

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



Re: lingo-l user pasting text

2002-03-20 Thread Andreas Gaunitz P11

pasteClipboardInto pastes the text into (the member) itself, 
replacing the previous member.

To avoid, you could either store the old name of the mamber and reuse it, like:

   pasteMem = member(2)
   oldName = pasteMem.name
   oldNr = pasteMem.memberNum
   member(oldNr).pasteClipBoardInto()
   member(oldNr).name = oldName

Or you could paste the text in another member temporarily, and then 
transfer the contents to your paste recieving member:

   tmpMem = member(2)
   pasteMem = member(3)
   member(tmpMem).pasteClipBoardInto()
   member(pasteMem).text = member(tmpMem).text

Both will work.


-A.


I was going to say ignore my last message as ive discovered 
thepasteClipBoardInto lingo. BUT.when I use this it just 
replaces the existing empty text box with a new one containing the 
pasted text but changing the name of the sprite. How can I maintain 
the name of the text sprite but just paste text into it?


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



lingo-l What quicktime compression format?

2002-03-19 Thread Andreas Gaunitz P11

Guys,

What quicktime compression format compresses each frame as an 
independant image, as opposed to using keyframes and a sort of 
incremental compression, where every image depends on the previous?

Thank you.

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



Re: lingo-l protecting bitmaps ???

2002-03-15 Thread Andreas Gaunitz P11

Hey, nice thread!

You could use the alpha channel (the fourth color channel) to embed 
data, if it's not being used for transparency. Not all img formats 
support alpha though. Eps, Png and Tiff do, but not jpeg.

One advantage of doing this is that you could tell you customer to 
just paste you copy protection image into the alpha channel in ie 
Photoshop, so the image won't need to go through Director in the 
first place.

Then you'd need to use iLingo to look for the special pixel sequence 
in the alpha channel of the imported img.

-A.



Would you be using BinaryIO to check the stego before importing, or 
using getPixel after importing?  If the latter, would you need an 
xtra to make sure the image gets imported at 32-bit even if the 
user's display is at 16?

At 1124 -0600 3/14/2002, Howdy-Tzi wrote:
...
1. The program loads a target image file.
2. The program tries to destego the identifier string.
3. If it's there, you poroceed happily. Else, you kick up an alert
talking about wrong formats.

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



Re: lingo-l Midi-io

2002-03-07 Thread Andreas Gaunitz P11

As it goes I wouldn't pay anything for a BETA version either.

It is unfinished and therefore not marketable.

I think they have a cheek asking for money for a beta.


OK, but the term beta can be stretched. I've been developing with 
MIDIio as a crucial component for a month (part time of course), and 
it works very well. (MacOS 9.1, MIDIio demo version)

What is NOT implemented yet is nothing that affects performance, just 
some minor convenience thingies.

That said, if I want to release my one-month-of-work software as 
shareware, I must register MIDIio, and I don't think it will pay off. 
So I guess I'll go on using it in author mode!!!


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



Re: AW: lingo-l access to the name of a parent script fromwithin the script

2002-03-06 Thread Andreas Gaunitz P11

Michael,

OK, sorry about that. I didn't know as I never use ancestors, but 
either use handlers to adress objects within objects or an explicit 
path:

Explicit path:
An object sequencer has a memory object RAM which keeps notes 
and control data etc for a synth. The RAM object has a list property, 
pattern.

tmpPatternData = sequencer.RAM.getCurrentPattern()

I prefer this to using ancestors because the explicit adressing of 
handlers helps me keep track of the structure of the program. 
Hopefully my structure is so logical that it helps rtaher than gets 
in the way =)

-A.




Hi Andreas and Kraig!

I just played with your suggestions and found out that

me.script gives the name of the ancestor script, not its own name.



In my case, the name of my parent script is oPPC04:

on new me
   me.ancestor = new(script oPPC)
   put me   -- gives offspring oPPC04 2 20fb24
   put me.script-- gives (script oPPC)
   return me
end



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



Re: lingo-l access to the name of a parent script from withinthe script

2002-03-05 Thread Andreas Gaunitz P11

Suppose you have a parent script named myScript.

How can I access that name from within the parent script, something like:


property pMyName

on new me
   me.pMyName = me.member.name
   return me
end


on new me
   pMyName = me.script
   return me
end


-A.


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



Re: Re: lingo-l Re: How to find a member?

2002-03-04 Thread Andreas Gaunitz P11

_When_ do you need to know if a member is used at a certain marker? 
When the movies starts? or when you arrive at that marker?

If it's the former, please checkout Pranavn's reply. If it's the 
latter, then put something like this in the frame script at every one 
of you markers:

on beginSprite me
numberOfSpriteChannels = the lastChannel -- Thanks Pranavn!

repeat with spCh = 1 to numberOfSpriteChannels
  put sprite(spCh).member
end repeat

end


(It's the same script code but a different handler name and a 
different location of the script)

This will put the sprite channel's member in the message window, as 
you know. If you need to use this information in your scripts, you 
will probably want to put the information in a variable instead.

-Andreas



Thank you for your reply.. If i have only one marker then i can use 
the script u v suggested.. But i have totally 150 markers in my 
movie.. please suggest what should i do now.

Rani

On Sat, 02 Mar 2002 Andreas Gaunitz P11 wrote :
Rani,

I have a problem.. I have a text member in my cast and i want to 
know whether the member is used in score or not. If it is used.. 
in which frame it is used.

Yah yah i know that using the 'Find in score' menu option we can 
know that in authoring mode.. But i want to know whether the 
member is used or not in runmode.


Well, in that case you need to ask every sprite which member 
currently it uses.


on startMovie

numberOfSpriteChannels = 200

repeat with spCh = 1 to numberOfSpriteChannels
  put sprite(spCh).member
end repeat

end


-A.


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

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

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



Re: lingo-l Encryption

2002-03-04 Thread Andreas Gaunitz P11

Depending on how safe it needs to be, I think ExOR-ing a codeword 
string with your file is pretty good safety/(amount of work) rate.

It is almost impossible to make a completely uncheatable game w 
Director. A good hacker can get into your global variables at runtime 
and set them to a hi score if he wants, but that's pretty hitech.

-A.


Im thinking of encrypting my save game files that my forthcoming 
play by email game will use, so that no one can cheat.

What xtras can I use for this? Free only please, or would I have to 
program the lingo for such a routine myself?
[To remove yourself from this list, or to change to digest mode, go 
to http://www.penworks.com/lingo-l.cgi  To post messages to the 
list, email [EMAIL PROTECTED]  (Problems, email 
[EMAIL PROTECTED]). Lingo-L is for learning and helping with 
programming Lingo.  Thanks!]

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



RE: lingo-l Encryption

2002-03-04 Thread Andreas Gaunitz P11

One way to do it is to download the dcr, make a new movie in 
director, open the dcr in a MIAW and type showglobals in the 
messagewindow. Then use tell to set the globals of the MIAW.

showglobals will show the global objects too, but it's more difficult 
to get into them and view their properties. You can set them if you 
know their names or can guess them (try score or pScore for example).

-A.


By hacking, I presume?

Sorry, Im not sure, I was told this by another member, Im not even 
sure they can.

-Original Message-
From: Robin [mailto:[EMAIL PROTECTED]]
Sent: 04 March 2002 08:57
To: [EMAIL PROTECTED]
Subject: Re: lingo-l Encryption


on 3/4/02 2:47 PM, Peter King at [EMAIL PROTECTED] wrote:

How do hackers accomplish this?

  A hacker can get into your global variables? Maybe I should 
encrypt them too!
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: lingo-l Re: How to find a member?

2002-03-02 Thread Andreas Gaunitz P11

Rani,

I have a problem.. I have a text member in my cast and i want to 
know whether the member is used in score or not. If it is used.. in 
which frame it is used.

Yah yah i know that using the 'Find in score' menu option we can 
know that in authoring mode.. But i want to know whether the member 
is used or not in runmode.


Well, in that case you need to ask every sprite which member currently it uses.


on startMovie

   numberOfSpriteChannels = 200

   repeat with spCh = 1 to numberOfSpriteChannels
 put sprite(spCh).member
   end repeat

end


-A.


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



Re: lingo-l problem with imaging lingo

2002-02-27 Thread Andreas Gaunitz P11

Eva,


Could it be a memory issue?  It seems strange that 3-5 images work fine in
one of my gallerys but exceeding that number so far has always given me the
error.

I also find it strange, and I don't thjink it's likely to be a memory 
issue, beacuse you aren't straining the computer very hard. If you 
had 200 images then I would be more anxious.

Do you get exactly the same symptom if you rearrange the order of the 
members in the images cast? If it always complains on member 5, what 
happens if you put member 5 first?

Does it always complain on exactly the same image member, or is 
somewhere between nr 3 to 5 in the same movie?

Did you try to remove all image members and insert a different set of 
images, for example only the images that work from each movie? Do 
some of the imported images or their members have strange characters 
in their names? Sorry, but we have to narrow down the problem here...


Two, are you using jpegs?

Yes

All RGB jpegs, or some RGB some CMYK? Please do try to resave and 
reimport them in another format: Mac RGB pict, Win RGB bmp. For some 
reason I think this will solve, or at least reveal, the problem.


Double checked the xtra folder .jpeg import xtra there.
My members are 32 bit and I am pretty sure I changed his display member for
all of the movies.

Which Xtras folder did you double check? Director's or the movie's? 
If the movie's: Why don't you include Xtras in the projector instead?

Another thing: You are using the JPEG import Xtra. This was a part of 
the Director 7 package, and is obsolete in D8+, as jpeg fuctionality 
is built-in. (No Xtra needed as long as you only use jpeg.) But in D7 
there was no imaging lingo... !?

I'm speaking about Mac here, still not sure what platform you're on, 
and if the Xtras might be different on Win (though I wouldn't hink 
so).


BTW: is the code from lesson 1, used for importing external files, 
included in your project? If so, there might be a problem when 
Projector tries to load external files from an empty or non-existent 
folder, especially if the folder contains something else than an 
image. Delete the folder and create a new one with the same name and 
location!


HTH
-A.

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



Re: lingo-l Sprite channels more than 1000 in D8

2002-02-27 Thread Andreas Gaunitz P11

Stanly,

I don't know of a way to get more than 1000 sp channels. When I run 
into this kind of problem, I use Imaging Lingo to create one complex 
image member, rather than a lot of sprites. Thank GOD for Imaging 
Lingo!!!

-A.


Hi All,

I  just want to know how we can handle if we need to use more than 1000
channels.
Because the project I am working on, D8 under windows, is a Math Tool where
I have
different objects. For example I got an object representing 100s if I drag
one and
I click on it, it will break into 10x10=100

Same way 10s 100s 1000s. If I click on 1000s it will break into 100x10 and
again I can break the
100x10 and so on.
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: lingo-l from .dir to .dir frame?

2002-02-27 Thread Andreas Gaunitz P11

Mark,

Check the online help for go command.

-A.


hello,
I'm making 2 movies.The first movie contains 2
buttons.one button says go to Movie start.
The second one SHOULD say go to Movie start FRAME 23.
So my question is how can I go to an specific position
(frame)in another movie(.dir).
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: lingo-l problem with imaging lingo

2002-02-27 Thread Andreas Gaunitz P11

Eva,


It doesn't seem to be catching on any particular image.

OK, so it's not the images.


It seems to be
directly related to the volume of images.  For example initially the smaller
galleries work fine but if I continue through and look through the other
galleries (granted the larger galleries post the previously discussed error
message.) and I come back to the smaaller galleries that were working before
they proceed to sieze up too.

OK, so it seems more and more like a memory problem. What happens if 
you crank the projector's memory allocation?

On the whole I think the idea of storing the image pixels (you're 
doing a .duplicate()) in a list seems heavy (esp. unoptimized if it's 
jpegs) - the list will hold all the uncompressed images which may be 
rather heavy. It seems more optimized to just .duplicate() one image 
at a time to a buffer, do your stuff, erase the buffer, and then take 
the next image. But it depends, maybe you need all the images at once?

Let me ask you, there was a mention of having different galleries in 
different movies... do you make sure to erase the old list of images 
before entering the next movie? If it is a global, or contained as a 
property in a global object it might reside in memory unless erased. 
But then again, if you use the same name for the global in the next 
movie, it will be overwritten anyhoo.


Again I am not using lesson one but two.  All of my members are held in
internal casts not relative path folders.

Sorry, I thought lesson 2 was an extension of lesson 1.


I always keep an external folder within my project for all of my xtras to
eliminate overhead by having them in each individual movie.

The extras are not stored in the movie, but in the projector, of 
which you only have one, or am I missing the point?


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



Re: lingo-l Dynamic text formatting

2002-02-27 Thread Andreas Gaunitz P11


I read it as some
imported formatting instructions. In that case, you don't really need the
selection commands. What you want to look into are the chunk expressions and
formatting commands

Actually you don't even need that, if what you're importing is 
either RTF or HTML, since #text members not only can import that, 
but display it with a modicum of accuracy.

Yes, but it is the question of changing the coloration of some of the 
words, according to a settings file or settings text!

 From the online help:
member(myQuotes).char[4..7].color = rgb(200, 150, 75)


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



Re: lingo-l problem with imaging lingo

2002-02-26 Thread Andreas Gaunitz P11

A loong shot:

Are you on a Mac? Are you making projectors? If so, try to increase 
the projector's memory allocation, or check the Use system memory 
box when creating the projector.

-A.


Okay:

Scratch part of that previous post.  Now the problem seems to be with any
gallery that exceeds 5 images...???  What the??  I've read through Will's
code about a billion times and that definately is not in it.  Also note
everything still works just peachy in authoring mode.

the link to the article is here:

http://director-online.com/buildArticle.cfm?id=1055

Thanks in advance
-Eva Crawford

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

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



Re: lingo-l setaProp Question...

2002-02-26 Thread Andreas Gaunitz P11

on setBlockOff varName, spriteNo
  global Blocks

  set the member of sprite spriteNo to member(Off)
  -- Blocks.setaProp(varName, 0) -- false
  -- setaProp Blocks, varName, 0 -- false
  Blocks[varName] = 0 -- false
  updateStage
end

---

as you can see I was playing with setBlockOff function to set the 
value of the Blocks list, and when I see the data from the debugger, 
it's actually changing the name of the property not the value of the 
property...
When the process is in the second repeat loop of the displayButtons 
function, it invokes setBlockOff function and the value for the 
Blocks list goes like this... If you see the first item, it is 
written like click00: 0 whereas the second item is written like 
#click10: 0

put Blocks
-- [click00: 0, #click10: 0, #click20: 0, #click30: 0, #click40: 
0, #click50: 0, #click60: 0, #click70: 0, #click80: 0, #click90: 0, 
#click01: 0, #click11: 0, #click21: 0, #click31: 0, #click41: 0, 
#click51: 0, #click61: 0, #click71: 0, #click81: 0, #click91: 0, 
#click02: 0, #click12: 0, #click22: 0, #click32: 0, #click42: 0, 
#click52: 0, #click62: 0, #click72: 0, #click82: 0, #click92: 0, 
#click03: 0, #click13: 0, #click23: 0, #click33: 0, #click43: 0, 
#click53: 0, #click63: 0, #click73: 0, #click83: 0, #click93: 0, 
#click04: 0, #click14: 0, #click24: 0, #click34: 0, #click44: 0, 
#click54: 0, #click64: 0, #click74: 0, #click84: 0, #click94: 0]



This should work:

Blocks[varName] = 0 -- false

but you are confusing data types. You have defined your property list 
as containing only symbols (#click00) and then you try to change 
items in the list using a string (click00)

set varName = Blocks.getPropAt(x) -- Try this
set varName = string(Blocks.getPropAt(x)) -- Instead of this

If you prefer verbose syntax to dot: try setProp instead of setAprop. 
The latter inserts a new property if there isn't already one with the 
same name.

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



Re: lingo-l problem with imaging lingo

2002-02-26 Thread Andreas Gaunitz P11

property not found
if pImage list [i].width  pImage list [i].height then

Hm, this line makes no sense.


#width
Script error

I feel like it must have something to do with the actual photos themselves
but I just don't get it.  I even tried to replace Will's images in the
sample movie he replied and got the same error. Again everything worked
great in authoring mode.

It seems some of your images are in a format that director can't 
import or display. This is probably because you haven't included the 
proper Xtras in your projector. Go to Modify-Movie-Xtras and check 
Include in projector for every media type you are going to include 
or import during runtime. Or convert the images into some other image 
format using Photoshop.


HTH

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



Re: lingo-l invisible sprite flashes

2002-02-25 Thread Andreas Gaunitz P11

I'm not sure what you mean... Are you in 
http://www.dougseib.com/shockv.html or in http://www.dougseib.com ?

In http://www.dougseib.com/shockv.html I don't see any flashing when 
clicking contact. But the Contact sprite flashes when I click 
about, portfolio or links the second time.

Does it only flash in SW or is it the same in author mode?

Aha, I just saw you previous postings... it seems you are jumping to 
markers. Now I have 2 suggestions:

1) Exactly in which moment (what handler) do you make the contact 
sprite invisible? If you don't do it every time you return to home, 
then try to extend the contact sprite so that it exists on the 
other markers too, even though it is invisible. (By doing so, 
Director won't be as surprised by the invisible sprite when you are 
jumping to home - it has to take it into account all the time.)

2) When you jump to the home marker, did you try to jump to 1 frame 
before the actual home frame where the contact sprite is? Sometimes 
director needs a little extra time to catch up, before making sprites 
invisible etc.


-A.


I have an invisible sprite set up as contact info - it is on the main page.
My navigation is set up to return home on second click, when the invisible
contact info flashes.

you can see it at www.dougseib.com if it will help.

Any fixes or suggestions will be greatly appreciated.

Tia,

the student and rookie,

Doug

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

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



Re: lingo-l invisible sprite flashes

2002-02-25 Thread Andreas Gaunitz P11

yes, tried to have it a few frames after home starts, but still clicking
others makes it blink - I had originally had it stretched over the timeline,
but being centered as I wanted would sometimes leave links/interactivity
covered and not useable.h.has to be an answer...thanks for the
info and your time Andreas!

OK, there's a better way to make stuff invisible: Instead of using 
the flaky visible property, try moving the sprite offstage.

replace every
sprite(x).visible = FALSE
with
sprite(x).locH = -1000

and
sprite(x).visible = TRUE
with
sprite(x).locH = 200 -- or wherever you want it


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



Re: lingo-l Really Hard Question !

2002-02-25 Thread Andreas Gaunitz P11

Hi people. Im trying to build an isometric map. Ive constructed the
following using an example source file of the net. To understand what I
was doing ive printed out the code and re annotated to my understanding
and I think im doing ok. APART from 1 aspect. I changed the size of my
isometric image. Now and the images over lap.can anyone whos expert
enough tell me which bit of this script I should chang to alter th
positioning of the iso metric images  thanx.jon. ps. If u can sort
this you're a genius.

Heres the script.

property pCols, pRows
property pW, pH

...snip


I'm sure this is not so difficult, but not having the members and 
names, sprite numbers etc makes it a little harder.

-A.

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



  1   2   >