Re: find behavior shortcut

2002-11-28 Thread Luke
Phil Gross wrote

> Can someone remind me if there is a keyboard shortcut to find sprites that use
> a behavior selected in the Cast? The context menu for a behavior's cast member
> has Find in Score, and repeating that does the trick, but it seems like there
> should be a keyboard shortcut, and also one for
> Find in Score Again.

(With the cast member selected), use Command-H 

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



find behavior shortcut

2002-11-28 Thread Phil Gross
Can someone remind me if there is a keyboard shortcut to find sprites that use a 
behavior selected in the Cast? The context menu for a behavior's cast member has Find 
in Score, and repeating that does the trick, but it seems like there should be a 
keyboard shortcut, and also one for
Find in Score Again.

Thanks,
Phil

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  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: octree colision

2002-11-28 Thread Agustín María Rodríguez
Mamão - Toolshed escribió:

I am looking for a 'avatar-alike' colision detection and slide - the 
best results I saw under director

	Hi, Luis. I know Octree is great but is there a reason for not using 
modelsUnderRay()? It can be optimized very well. A not_very_optimized 
example could be founf at www.directordev.com > the island.

HTH
--
Agustín María Rodríguez | [EMAIL PROTECTED] | www.OnWine.com.ar


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


octree colision

2002-11-28 Thread Mamão - Toolshed
	I am looking for a 'avatar-alike' colision detection and slide - the best 
results I saw under director
was that Octree Xtra developed by noisecrime. Is that an exclusive xtra for 
them to use?? do they sell it??

I need it bad 8) is there another xtra to do that?


Luiz Gustavo

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi  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: behaviours - counting instances

2002-11-28 Thread Daniel Plaenitz
At 21:24 28.11.2002 +0100, Roland wrote:



I have attached a behavior on a few sprites. How can I find out (number) on
how many sprites the behavior has been attached to in order to place this
number in a variable.


As in most cases there is more than one way to that aim. You could add a 
handler to that behavior like this one:

-- simple behavior method to list all instances of this particular behavior
on appendToLSpnOfInstances me,dL
  if dL.ilk = #list then dL.append( me.SpriteNum )
end


now you press the play button, open the message window and enter the following:

-- create an empty list, first
dL = []

-- now ask the behavior instances to line up,
-- and pass them the reference to our list
sendAllSprites( #appendToLSpnOfInstances, dL )

-- so lets count them
put dL.count()
-- 15

-- have a look
put dl
-- [39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61, 63, 65, 67]


Obviously this only works if that handler name is unique, so if you have to 
different sorts of behaviors coexisting which both need to get counted you 
would need to change the name in the other script to keep them from 
answering the wrong call. If you need that a lot you might consider using 
uniqu ids instead of unique handler names:

-- simple sample beh
property myID

on beginSprte me
  myId = #lameScript
end

-- insert some cute code here

-- slightly less simple behavior method to list
-- all instances of this particular behavior
on appendToLSpnOfInstancesByID me,dL,dId
  if myId <> dId then return
  if dL.ilk = #list then dL.append( me.SpriteNum )
end

-- EoS --


which you would use like:

dL = []
sendAllSprites( #appendToLSpnOfInstances, dL, #lameScript )


HTH

Daniel

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi  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: behaviours

2002-11-28 Thread Erik Sandbergen
Hi Roland,

You can put this in a movie script:


on getScriptInstanceCount whichScript
  tempList = []
  
  repeat with i = 1 to the lastChannel
if sprite(i).member.number > 0 then
  if sprite(i).scriptList.count > 0 then
repeat with k = 1 to sprite(i).scriptList.count
  if sprite(i).scriptList[k][1].name = whichScript then
tempList.add(i)
  end if  
end repeat
  end if
end if
  end repeat  
  
  return tempList.count
end


In the message window enter:

put getScriptInstanceCount("name of behaviour")

It will return the number of sprites to which the behaviour is attached. The function 
above: 
- steps through each channel in the score
- checks if a sprite is present
- checks to see if any behavior is attached to the sprite
- checks to see how many behaviors are attached
- checks if any of these behaviors match the name of the one you passed as whichScript
- adds the sprite number to a list
- the last line returns the count of the list i.e. the number of sprites the behavior 
is attached to

You can return the complete list of sprites the behavior is attached to by removing 
the '.count' property from the return line.

Hope this helps,
Erik

--
-- Erik Sandbergen
-- Integration New Media, Inc.
-- Montréal, Canada
-- www.IntegrationNewMedia.com
--


> -Original Message-
> From: Roland [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 28, 2002 3:25 PM
> To: [EMAIL PROTECTED]
> Subject:  behaviours
> 
> 
> Hello all
> 
> I have attached a behavior on a few sprites. How can I find 
> out (number) on
> how many sprites the behavior has been attached to in order 
> to place this
> number in a variable.
> 
> Thanks for your replay
> 
> Roland
> 
> [To remove yourself from this list, or to change to digest 
> mode, go to http://www.penworks.com/lingo-l.cgi  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!]



behaviours

2002-11-28 Thread Roland
Hello all

I have attached a behavior on a few sprites. How can I find out (number) on
how many sprites the behavior has been attached to in order to place this
number in a variable.

Thanks for your replay

Roland

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  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: 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: 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: Oh my... QT in shockwave

2002-11-28 Thread ifmp
RE:
--
>From: Andreas Gaunitz P11 <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject:  Oh my... QT in shockwave
>Date: Thu, Nov 28, 2002, 3:57 AM

>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.

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.

So you need to have the data rate way down, but still retain as much
image quality as possible. You can do this with QT Player Pro or any
number of video editing applications, but Cleaner (formerly owned by
Terran, now Discreet) is much better.


>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











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



LDM was(Re: ANN: Director MX)

2002-11-28 Thread Rob Romanek


Alexandre Cop wrote:


Rob,



Would you know if nested director movies get a similar support?


Keep on bugging Macr for this cause they might notice for the
next release.


I've done that since D8 Beta




They've known about it since before then too, I'm sure because with most 
versions the LDM situation has improved slightly. DMX's focus is not a 
rewrite of the core director engine but to improve the authoring 
environment, bring in the Flash compatibility, and port to OSX. All of 
which are major undertakings. I'm hoping to find some time to seriously 
play with the Flash object stuff cause it looks very cool especially to 
open up communication with CF etc. Also the new object inspector and 
changes in the debugger look great. As soon as the dust settles from 
this release they'll be looking forward to the next so hopefully some 
more bugging will result to enhancements to the core engine.



What's the performance like LDM v MIAW?




I haven't worked out any hard numbers but LDM performance is very robust 
once you get them working :-) If I find some time over the next month or 
so I'll try to get some comparisons up of LDMs vs MIAWs vs Flash Sprites.

later,

Rob



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


set cursor to last line of field

2002-11-28 Thread Bárbara Tâmisa
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 Tâmisa

___
Yahoo! Acesso Grátis
Internet rápida, grátis e fácil. Faça o download do discador agora mesmo.
http://br.acesso.yahoo.com/
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]



Re: ANN: Director MX

2002-11-28 Thread Robert Tweed
- Original Message -
From: "Fabrice Closier" <[EMAIL PROTECTED]>
>
> i saw DMX wil export dvd, what does this mean exactly? That a projector
> could be exported as "Ready to be burned" dvd?

No, it's exactly the same as always: you can create DVD-ROM's with Director;
big deal. I think the big DVD(r) logo on the DMX page is *very* misleading
in this respect, especially since the DVD export Xtra that was available for
Director a couple of years ago has apparently been removed from the Market
for quite some time. AFAIK, no-one has come up with a replacement, let alone
bundled it with DMX.

- Robert

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



Re: Oh my... QT in shockwave

2002-11-28 Thread ice
Put them as bare files in same root as the www-page startup. (Starts to search 
from there..if not said path..). The authoring and real use are two different 
styles in reactions. Have that in mind. You're not getting what you see in 
shipping it to web. DCR-way is a bit young yet...
Makes it easier to investigate from there, hopefully.

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

> Dear list,
> 
> 
> 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:
> 
> - Just put them on stage
> - Import small referrence movies instead of the real ones, then put 
> the dcr on server (I don't know why but I read about it in a Technote)
> - start with movie paused, allow some time, then make it play
> - preloadNetThing, then set member.filename to the preloaded thing. 
> This is the most successful technique so far, but it's difficult to 
> use with the sprite layout of the project (that I didn't invent) and 
> I want them to stream, not download first...
> - etc
> 
> Symptoms:
> Some movs show only the first frame but don't play. Movs don't show 
> at all. Movs show only a white square.
 


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



Re: Cast member not found

2002-11-28 Thread ice
Have you used 'void' ? 
if gLookup = void then ...
end if

Have also made an alike hypertext, but swapping in between pictures in a 
database made like a sort of text, sound and pictural type. and in one field I 
got this keyword-swapper. Push for a word and everything of pictures and texts 
changes. Same there as I got problems in clicking in empty spaces and not 
activated premature fields or getting in noncense into the global variables.
The databases hypertext fields has all to be filled up first, whcih is anohter 
sign of it's lacking code for that too.. 
I'm not sitting by the working machine and it was a while ago I had crasched 
into that trouble. 
As I recall the keywords was set for each cast in a looong if-script (probably 
was set prolonged through some extra handlers or moviescripts) and at the end 
the error-handling was set by the 'else'-sentence syntax ending all. It's there 
you should get your stuff bluntly said in first aid. 

Or you could mock it with some 'clearGlobals', but that is dangerous if other 
globals are involved.. All of needed globals must then be reactivated again... 
and it sucks. 

And then you get a probable lust for setting colours on the keywords; PRE- AND 
POST- and maybe DURING (active) with 'forecolor..' and background colours.
'hilite' doesnt really work 100% perfect in fields, have some sort of lackings 
depending also what you are after to achieve. 
And I've seen fields having greater potentals for other applicas like the 
copy/paste, if you'd like to throw that in for services. Text members are not 
yet as for me seen working for these things up to Director 7, don't know for D8-
D8.5..
Most of the mentioned applicas are linked to each other and all must go joined 
interacting into each others. 
And it works pretty well with fields. It makes it so much easier to change 
texts and pictures or even sounds, precisely as in a big Microsoft dictionary 
of which name I allready have forgotten ... Pretty easy to make such with 
external casts in cst/cxt-files aside in same root. 


+
Quoting Sharon Moeller <[EMAIL PROTECTED]>:

> In a dictionary application, the user clicks on a word, thus a variable
> called gLookup is populated with that word
> 
> I am then swapping the definition sprite with that new word
> 
> On mouseUp me
>   sprite(15).member = member gLookup
> End
> 
> The problem is when a definition isn't in the cast.  How do I write the
> error checking to compensate?


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



Re: ANN: Director MX

2002-11-28 Thread Alex da Franca
At 9:00 Uhr +0100 28.11.2002, Fabrice  Closier wrote:

I took the tour on M site yesterday... two little questions:

i saw DMX wil export dvd, what does this mean exactly? That a 
projector could be exported as "Ready to be burned" dvd?

Also saw a builded in 3d objects inspector... what does this means? 
That Ullala's 3dpi is builded in or is that another one?

it's the new Object Inspector, which you saw in action, it has not 
much in common with the 3DPI.
It is a very cool new feature, which lets you inspect all director 
objects and variables.
so it offers all functionality the old watcher window offered, but 
additionally it let's you inspect nearly all director objects, in 
that you can expand the object reference in the OI and view all 
subproperties and change most of them in place even if the movie is 
running.
you can add member references as well as sprite references to be 
inspected in the OI. thus you can add a 3-D member or a sprite 
containing a 3-D member and view all its palettes and the values for 
their properties. you can edit them also.
but the 3DPI offers far more than that.
the 3DPI not only lists and let you change the properties, but also 
offers buttons to call all methods provided by the SW3D xtra, with 
widgets for the parameters.
when you edit values in the OI there is no error checking, like you 
have in the 3DPI. entering invalid values in the OI just throws a 
script error, like it would be the case if you'd do the same with 
plain lingo yourself in the message window.
talking of the message window, the 3DPI has that great customizable 
tracing feature.
there are so many features, that the 3DPI offers, that it would take 
much time to list them all.
there are the picking functions, the parent child hierarchie in the 
member tab, which lets you change the parent child hierarchie in a 
straightforward manner, there are previews etc. etc. etc.
If you use the 3DPI you may know most of these great features already.

This doesn't mean, that I want to diminuish the use of the OI, like I 
said already the OI is a very powerful and useful feature, which will 
save you much time you spent in the debugger in previous versions of 
director.

--

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


Oh my... QT in shockwave

2002-11-28 Thread Andreas Gaunitz P11
Dear list,


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:

- Just put them on stage
- Import small referrence movies instead of the real ones, then put 
the dcr on server (I don't know why but I read about it in a Technote)
- start with movie paused, allow some time, then make it play
- preloadNetThing, then set member.filename to the preloaded thing. 
This is the most successful technique so far, but it's difficult to 
use with the sprite layout of the project (that I didn't invent) and 
I want them to stream, not download first...
- etc

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.


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


-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: Transform(command)

2002-11-28 Thread chnexus
Meiky wrote:

> hi,
> I' ve tried  to put transform(n1,n2,n3, ... ,n14,n15,n16) in the variable
> tTransform, Like this: (in message window)
> 
> tTransform = transform(0.4872,-0.0562,0.,0.,
> 0.0795,0.1722,0.7071,0., -0.0795,-0.1722,0.7071,0.,
> 19.2884,1.7649,4.2426,1.)
> 
> Like in the 3D Lingo Help  but it's doesn't work
> director say :
> 
> script error : wrong number of parameters
> 
> What's wrong?

There's anything wrong, though that type of access is not allowed.
By Chris Nuuja, 20 Apr 2001

"An incorrect transform can crash many hardware drivers and we don't 
 have a way to protect against that.  If you stick to the transform 
 methods/properties, you can't create a bad transform.  If you roll 
 your own, then you can.  Generally, lingo doesn't let you crash 
 regardless of how invalid your code is.  As you've discovered, we've 
 left in a back door.  Use it at your own risk."

The back door the replay referred to is this, in its simplest form:

t = transform()
t[1] = float_value_1
t[2] = float_value_2
...
t[16] = float_value_16

Although simple, that's just the way I would load a new t or change
an existing one. I mean don't use repeat loops if not strictly
necessary.

Hope this help.

Franco

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



Re: Transform(command)

2002-11-28 Thread Alex da Franca
At 11:43 Uhr +0700 28.11.2002, Meiky - wrote:

hi,
I' ve tried  to put transform(n1,n2,n3, ... ,n14,n15,n16) in the 
variable tTransform, Like this: (in message window)

tTransform = transform(0.4872,-0.0562,0.,0., 
0.0795,0.1722,0.7071,0., -0.0795,-0.1722,0.7071,0., 
19.2884,1.7649,4.2426,1.)


Like in the 3D Lingo Help  but it's doesn't work
director say :

script error : wrong number of parameters

What's wrong?


You simply can't do that. It is disabled to prevent you from creating 
invalid transforms too easy.
transform() is a function, which expects no parameters and returns 
the identy transform.
the help is wrong.
you can set the single transform values, though.

on mBuildTransform aList
  retval = transform()
  if ilk(aList) <> #list then return retval
  if aList.count < 16 then return retval
  repeat with n = 1 to 16
retval[n] = aList[n]
  end repeat
  return retval
end

now call:

tTransform = mBuildTransform([0.4872,-0.0562,0.,0., 
0.0795,0.1722,0.7071,0., -0.0795,-0.1722,0.7071,0., 
19.2884,1.7649,4.2426,1.])

but be prepared, that something screws up, if you are not 100% sure 
that the values yield a valid transform.
--

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


Re: ANN: Director MX

2002-11-28 Thread Fabrice Closier
I took the tour on M site yesterday... two little questions:

i saw DMX wil export dvd, what does this mean exactly? That a projector 
could be exported as "Ready to be burned" dvd?

Also saw a builded in 3d objects inspector... what does this means? That 
Ullala's 3dpi is builded in or is that another one?

Fabrice

Charlie Fiskeaux II heeft op woensdag 27 november 2002 om 16:39 het 
volgende geschreven:

Obvious natural progression?  Not really.  Director has always been a
platform for creating high-end multimedia apps/presentations that's also
robust enough to also support custom application development of varying
kinds.  Flash has always been an animation platform with coding added so
that it's positioned as a pseudo-replacement for HTML; i.e. it's 
primarily
for web use.  There are drastic considerations for the two different 
uses
that simply cannot be merged without losing functionality in both cases.

Personally, I think Director MX's Flash integration is very cool, but we
have to be careful about wanting it to go too far.

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


- Original Message -
From: "Robert Tweed" <[EMAIL PROTECTED]>
To: "Lingo-L" <[EMAIL PROTECTED]>
Sent: Tuesday, November 26, 2002 10:28 PM
Subject: Re:  ANN: Director MX


- Original Message -


On a related topic, one of the biggest questions I want
answered about the new tighter integration of Flash is
whether we can now have as many Flash sprites on the stage
as we want without instantly crippling performance.


Well, I never like phrases like "have as many Flash sprites on the 
stage
as we want without instantly crippling performance". You may want 15, 
but
the next guy wants 50. ;) That aside, we did not change the fact that 
each
Flash sprite gets its own instance of the Flash Xtra and thus the 
memory
and performance demands of multiple SWF sprites is the same as in 
previous
releases.

That's essentially what I was asking, but I am not familiar enough with 
the
details of implementation to know why performance of Flash objects in
Director is so much lower than if the same objects were arranged in a 
single
Flash movie.

We are most definitely looking into changing this so that all Flash
sprites play under one Xtra instance but that's a *significant* change 
to
the Xtra that we felt was far too much work to accomplish in this 
release
given everything else that is going on. We have a keen eye on this 
moving
forward as it would be a big boost for using multiple assets in a 
single
movie.

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

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi  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!]