lingo-l 2d Lingo generateNormals

2006-01-17 Thread Alan Skinner
Hi everybody. Im creating meshes/models form lingo. I am having a bit of trouble with normals. Normally you set number of normals to 0 then call generateNormals(#smooth) yeah Well basically I have the normal data already and want to use that so I don't call generateNormals but I do set the

Re: lingo-l MIAW.forget() problem

2006-01-17 Thread Frank Di Luzio
- Original Message - From: arjen [EMAIL PROTECTED] To: Lingo programming discussion list lingo-l@lists.fcgnetworks.net only a restart of director will help, and is needed, as the text- editor at one point will get too slow to work with. Maybe your adding stuff to the actorlist and

Re: lingo-l scriptInstanceList

2006-01-17 Thread Rob Romanek
Hey Michael, I don't think that should be happening. You should still get a list, I just did a quick test to confirm on Win XP D10.1 Having a behaviour with no params gives me -- [offspring test 1 3731674] Any way you might be clearing out the scriptInstanceList via code? Even earlier on

RE: lingo-l scriptInstanceList

2006-01-17 Thread Mendelsohn, Michael
Hi Rob... Thanks for responding. I have no idea why it returned []. Anyway, I switched the code to reference the scriptList instead, and I'm able to do what I want that way. It's a mystery why scriptInstanceList isn't working there, because it works everywhere else I use it. Perhaps you're

lingo-l closeRequest

2006-01-17 Thread postneutral. Michael Felstau
Hi, I tried the closerequest as it is described in the following Technote: ( http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19196) Capturing quit (exit) requests when exitLock is enabled The On closeRequest event handler contains statements that run when a user has attempted

RE: lingo-l scriptInstanceList

2006-01-17 Thread Thomas Higgins
Thanks for responding. I have no idea why it returned []. Anyway, I switched the code to reference the scriptList instead, and I'm able to do what I want that way. It's a mystery why scriptInstanceList isn't working there, because it works everywhere else I use it. Perhaps you're right in

RE: lingo-l MIAW.forget() problem

2006-01-17 Thread Thomas Higgins
any ideas on how to avoid this? What type of windows are they? Do you have them set to be dockable at all? My concerns are that the authoring environment itself may be tracking the windows within the authoring UI space, this feels especially possible if you have them set to tool windows that are

RE: lingo-l scriptInstanceList

2006-01-17 Thread Mendelsohn, Michael
Thanks, Tom and Rob for responding. I do appreciate it. - MM Agreed, do check your code as any behaviors found in the scriptList should get instanced at run-time and then be found in the scriptInstanceList, unless you do something to change that. I too can confirm on my end that all seems

lingo-l re - maintaining proportions

2006-01-17 Thread Michael Nadel
This question has been plauging me for a long time and I'm sure there must be a simple answer. Is there a way to make a repeat loop to make a sprite grow and shrink in a way that will maintain proportions? Thanks everyone for your great answers! Michael Nadel MediArt.Corp Creativity is

Re: lingo-l MIAW.forget() problem

2006-01-17 Thread arjen
it's just a regular window, and docking is disabled. i've noticed this behaviour before, but now it's especially anoying because the window is playing back a large quicktime. you can imagine what happens if director tries to play 10 of those. the reason i need this window, is that i want to

Re: lingo-l scriptInstanceList

2006-01-17 Thread Alex da Franca
Am 17.01.2006 um 15:53 schrieb Mendelsohn, Michael: Hi list... I'm running into an issue with scriptInstanceList. Sprite(1) has a behavior with some params, and sprite(2) has a behavior with no params. Putting sprite(1).scriptInstanceList gives the expected array. Putting

Re: lingo-l re - maintaining proportions

2006-01-17 Thread arjen
On Jan 17, 2006, at 7:55 PM, Michael Nadel wrote: Thanks everyone for your great answers! let me add one thing regarding floats vs. integers; if you're using a parentscript- or behaviourinstance to animate your sprite, it's usually a good idea to modify script-properties rather than

RE: lingo-l MIAW.forget() problem

2006-01-17 Thread Thomas Higgins
it's just a regular window, and docking is disabled. Ok, that definitely lessens my concerns over the authoring environment tracking it in some way (lessens, not removes ;) ). i've noticed this behaviour before, but now it's especially anoying because the window is playing back a large

Re: lingo-l 2d Lingo generateNormals

2006-01-17 Thread Alex da Franca
Am 17.01.2006 um 18:56 schrieb Thomas Higgins: -- builds a simple two-sided triangle mesh on buildTriangleMesh (tWorld, tMaxDim) ... end buildCylinderMesh :-) how misleading, Mr.Higgins ! coming up with normals for a cylinder mesh is much more funky, if you don't want to see the seam

RE: lingo-l 2d Lingo generateNormals

2006-01-17 Thread Thomas Higgins
-- builds a simple two-sided triangle mesh on buildTriangleMesh (tWorld, tMaxDim) ... end buildCylinderMesh :-) how misleading, Mr.Higgins ! Ahhh yes, that right there is a copy/paste error. I've made a number of simple mesh generation functions for the various provided

Re: lingo-l MIAW.forget() problem

2006-01-17 Thread arjen
On Jan 17, 2006, at 2:49 PM, Frank Di Luzio wrote: Maybe your adding stuff to the actorlist and not disposing them? Maybe you are creating new cast members and not disposing of them properly? Try to free some memory by using the memory inspector window. This will unload any stuff that is

RE: lingo-l MIAW.forget() problem

2006-01-17 Thread Thomas Higgins
_global.pinch = script(pinch).new() _global.pinch.destroy() And to fill out the story then, your pinch script's sole purpose is to copy/paste between windows then? You don't have any timeout object references that get left dangling or anything inside that script object despite calling

Re: lingo-l MIAW.forget() problem

2006-01-17 Thread arjen
thank you thomas, this is quite extensive, and the examples mentioned on the end are (i think) really helpfull, i'm going to try those later! On Jan 17, 2006, at 8:24 PM, Thomas Higgins wrote: For the sake of debugging, have you tested this without QuickTime in the mix? I'm just

Re: lingo-l MIAW.forget() problem

2006-01-17 Thread arjen
hi thomas, the mails from this list come-in in a very strange order at my end.. any way, to respond to your question; _global.pinch = script(pinch).new() _global.pinch.destroy() On Jan 17, 2006, at 8:45 PM, Thomas Higgins wrote: And to fill out the story then, your pinch script's sole

RE: lingo-l MIAW.forget() problem

2006-01-17 Thread Thomas Higgins
now that's a really great suggestion. i understand that you want to understand and solve the bug/problem i posed, but this i a great way for me to get around the need to restart director each time. and is this possibly also more efficient than using a MIAW? Helping find and isolate bugs is