Re: Case-sensitive symbol quirk

2004-09-13 Thread James Newton
On 13/9/04 8:00 pm, "Ross Clutterbuck" <[EMAIL PROTECTED]> wrote: > I'm trying to set a variable to #dsl but Director is insisting on using > #DSL, but all other symbols I assign (#enet, #internal, #subnext, etc) all > remain as-written. Hi Ross, If this is for a projector, you can cure it as fol

Re: useFastQuads

2004-09-07 Thread James Newton
On 7/9/04 3:09 am, "Stephen Ingrum" <[EMAIL PROTECTED]> wrote: > I'm using copypixels to dynamically create a series of thumbnail images. > In testing useFastQuads, I see no difference in speed or quality. > Shouldn't I see some difference? Hi Stephen, If the sides of your quad are parallel (ie.

Re: List question

2004-07-23 Thread James Newton
On 22/7/04 10:32 pm, "Matt Wells" <[EMAIL PROTECTED]> wrote: > My two lists: > > List1 = ["": 0, "": 10] > List2 = ["": 10, ": 19] > > What I need is: > > List3 = ["": 0, "":10, > "": 19] Hi Matt, My solution is similar to Irv's. Differences are: + The structure of the input lists is the same

Re: Fontmapping on the fly (is Chat)

2004-06-24 Thread James Newton
On 24/6/04 10:58 am, "Alex da Franca" <[EMAIL PROTECTED]> wrote: > for chats (-> exchanging text between > platforms) I usually simply convert to html and > send the html instead of text. Hi Alex, Even for chat, that seems very inefficient to me. You end up sending a much larger string than is n

Fontmapping on the fly

2004-06-24 Thread James Newton
Hi Lingoists, My current project requires me to import and export text files in Windows format on both Windows and Macintosh machines. These files will contain high-ANSI characters, which are coded differently on the different platforms. The files may originally have been created on a Macintosh,

Re: The Xtras

2004-06-20 Thread James Newton
On 20/6/04 11:28 am, "Petro Bochan" <[EMAIL PROTECTED]> wrote: > I'd like to know what xtras (all of them that are available > under the Xtras folder in Dir app) are needed for any projector > excluding the authoring ones. Hi Peter, put the movieXtraList By default, in MX04, this returns: -

Re: Stub projector starts very slow

2004-06-18 Thread James Newton
On 18/6/04 3:28 pm, "Hermann Brandi" <[EMAIL PROTECTED]> wrote: > I register the PrintOMatic MX Xtra and the V12 on that > movie. Will this be the problem? According with the PrintOMatic > documentation I have to put the Xtra on the first movie of the projector to > be properly registered. Hi Her

Re: Text question

2004-06-16 Thread James Newton
On 16/6/04 8:00 pm, "Matt Wells" <[EMAIL PROTECTED]> wrote: > I want to read a couple of paragraphs from a database. (So this project > would be a shockwave project.) Into a editable text field. What I need > to do is highlight a specified word(s) in the text field and insert an > html tag on the

Re: Event processing

2004-06-12 Thread James Newton
On 12/6/04 9:57 am, "Jakob Hede Madsen" <[EMAIL PROTECTED]> wrote: > And then you will have structure of sprites and movieScripts that is > glued to frame one... Hi Jakob, What you say is true, and indeed I only use startMovie in this way in movies that are most unlikely ever to require a change

Re: Event processing

2004-06-12 Thread James Newton
On 12/6/04 1:25 am, "Tony Bray" <[EMAIL PROTECTED]> wrote: > Most "new" users that I have taught have expected startMovie to be > called before the beginsprite on frame 1. The users, and I have also > been one, have initialised movie variables, etc. on StartMovie and > expected these initalised obj

Re: Event processing (was: pass with prepareMovie not possible?)

2004-06-11 Thread James Newton
On 11/6/04 6:33 am, "Robert Tweed" <[EMAIL PROTECTED]> wrote: >> & 3D worlds get certain events that only apply to them > Got a list? Still haven't got into the 3D stuff yet. Hi Robert, You'll find a list at the RegisterForEvent entry in the Lingo dictionary. Also, don't forget the primary ev

Re: pass with prepareMovie not possible?

2004-06-10 Thread James Newton
On 10/6/04 1:31 pm, "Jakob Hede Madsen" <[EMAIL PROTECTED]> wrote: > Hi James, I'm still a little baffled that everyone seems to agree > that 'pass' doesn't work for movieEvents. I did a test in D10 Mac, > and it showed that 'pass' does indeed pass 'startMovie/prepareMovie' > events, with the cave

Re: pass with prepareMovie not possible?

2004-06-10 Thread James Newton
On Jun 9, 2004, at 4:07 AM, Roland Schroth wrote: > It is important that I can have more than one movie script with > preapareMovie and startMovie procedures. Hi Roland, If you *really* want to do this, use the following handlers in the first movie script that is to have an "on prepareMovie()" ha

Re: W3D texture export

2004-06-01 Thread James Newton
On 1/6/04 7:25 am, "Emre Eldemir" <[EMAIL PROTECTED]> wrote: > how can i extract to texture by Lingo. Hi Emre, Here's a roundabout way to retrieve an image from a texture: 1. Determine the dimensions (in pixels) of the texture 2. Create a plane model with the equivalent dimensions (in world uni

Re: decimal to binary conversion...

2004-04-28 Thread James Newton
On 28/4/04 12:23 pm, "2702NET" <[EMAIL PROTECTED]> wrote: > Anyone have code for decimal to binary conversion you wouldn't mind > posting? Hi J, This is about 30% faster than other leading brands :-) Cheers James o

Re: Tell won't work

2004-04-28 Thread James Newton
On 28/4/04 2:46 am, "juan colon" <[EMAIL PROTECTED]> wrote: > Im trying to communicate a miaw with another movie. no > luck at all. all get is script error > "Cannot perform tell" Hi Juan, Possible causes: * the window reference you are using is incorrect * the handler you are calling in the MIA

Re: Checking file (and path) validity

2004-04-19 Thread James Newton
On 19/4/04 3:15 am, "Alan Neilsen" <[EMAIL PROTECTED]> wrote: > Ultimately, I want a Shockwave movie embedded in a web-page that > will find the user's CD-ROM drive letter, and open a file from that drive. Hi Alan, Shockwave is a sandboxed environment. You cannot obtain information about a user'

Re: SIL again

2004-04-18 Thread James Newton
On 18/4/04 11:19 am, "Peter Bochan" <[EMAIL PROTECTED]> wrote: > MoveObject_Behavior: > > property sp > > on beginSprite(me) > sp = sprite(me.spriteNum) > end > > on exitFrame(me) > sp.locH = sp.locH + 1 > end > > I run the movie and in the Message Window: > >

Re: FileIO Xtra trouble

2004-04-02 Thread James Newton
On 2/4/04 4:47 pm, "Valentin Schmidt" <[EMAIL PROTECTED]> wrote: > ... I found out that this function always returns true if a file with > the same filename as the filename in parameter fn (which is a full path) > exists in the moviepath, i.e. if fn doesn't exist, but a file with the > same name e

Re: Cursor command not working

2004-03-22 Thread James Newton
On 22/3/04 3:10 pm, "Mendelsohn, Michael" <[EMAIL PROTECTED]> wrote: > What would cause a cursor command not to work in a mouseWithin handler? Hi Michael, Are you using sprite(x).cursor = y anywhere in the movie for that particular sprite channel? sprite(x).cursor = y has priority over cursor(z

Frame events (was: What happend to fps?)

2004-03-18 Thread James Newton
On 18/3/04 12:32 pm, "Agustín María Rodríguez" <[EMAIL PROTECTED]> wrote: > Is there a reason why you reaaly need this on prepareFrame? If not then > it would be better to put that code into an enterFrame handler because > is where Director expects the heavy code. Leave prepareFrame just for > stu

Re: Something New on the Menu?

2004-03-11 Thread James Newton
On 10/3/04 1:31 pm, "Allen Stare-IMM" <[EMAIL PROTECTED]> wrote: > I've got a couple of good sized projects coming up that are going to be huge > mazes of menus. My same old fly-outs and drop downs have served me well for > many years, but I was hoping to dress things up a little bit. Just looking

XPost: OSControl Xtra 2.1 now available

2004-02-24 Thread James Newton
vation procedure for DMX 2004 modifies the way site licences work. Even if you have not yet upgraded to DMX 2004, we recommend that you use the new version of the OSControl Xtra, as this includes new bug fixes. Regards, James James Newton The OpenSpark Xtras Team <[EMAIL PROTECTED

Re: timeOut

2004-02-23 Thread James Newton
On 23/2/04 1:26 pm, "Peter Bochan" <[EMAIL PROTECTED]> wrote: > Now, what I want to do is create a timeOut object. After instantiating myObj > I do this: > myTimer = timeOut("timer1").new(2000, #showInfo, myObj) > But instead I get a script error "Object expected". Hi Peter, Are you working with

Re: Dropdown List

2003-07-25 Thread James Newton
On Friday, July 25, 2003, at 04:41 PM, Peter Bochan wrote: Does anyone know how can i make the dropdown list derived from field cast member to drop only down? Because when i'm set on the bottom value and want to choose an upper one, the dropdown list drops only up? Hi Peter, The "Drop Down Lis

Re: GetPixel() to compare colors

2003-06-06 Thread James Newton
On Wednesday, June 4, 2003, at 01:53 PM, Rodrigo Peres wrote: I'm using getPixel to compare 2 images and return the differences between them. After I run a list of points and check if some points are diferent from the bgcolor (white). The problem: The image is scanned so there's a lot of "dust"

Re: very clunky script, need suggestions

2003-04-03 Thread James Newton
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I'm always jumping to the vocab movie and back to whence I came. Hi Chris, Why don't you show the vocab movie in a separate window (MIAW). That way, the main movie never leaves the frame it's on, and never needs to be reset. Cheers, James [To re

BUG: return MUI result from castLib 2 on Mac D8.x (x-post)

2003-04-01 Thread James Newton
In a Macintosh D8.x projector, the MUI xtra will fail to complete execution of an alert() or a runDialog() call if: 1. The return() command is used on the output value 2. The script containing the instructions for the MUI alert is not in castLib 1 This error does not occur on Windows, on Mac i

Re: Inputing text in director (fields)

2003-03-29 Thread James Newton
Simon Wheatley (lists) <[EMAIL PROTECTED]> wrote: > Is there any way I can allow my users to type as much text as they want into a > field, no matter how many visible characters wide it is? Something like the > google search box, where if you type more into it than can be visible it > shifts and hi

Re: timeout objects and jumping ot movies

2003-03-28 Thread James Newton
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > So...even if you have a global timeoutobject, or a global object with a > private timeout object, the minute you jump to a new movie it kills the > timer but keeps the object? persistent Syntax timeoutObject.persistent Description Object p

Re: Next up: a MUI question

2003-03-24 Thread James Newton
Mendelsohn, Michael <[EMAIL PROTECTED]> wrote: > You create a new instance of the MUI xtra from within the handler > creating the dialog box, as opposed to how I did it. I just > created one instance of the xtra on startmovie, and just keep > using it. Is your way better for some reason? Hi Mich

Re: Next up: a MUI question

2003-03-21 Thread James Newton
Mendelsohn, Michael <[EMAIL PROTECTED]> wrote: > Now, a MUI question: > > In a callback handler, I have a drop down menu that if certain items are > selected, they should enable a button in the MUI. Is this possible? From > within the callback, can you alter the initialized MUI? Hi Michael, H

Re: Calculating an arc

2003-03-15 Thread James Newton
Colin Holgate <[EMAIL PROTECTED]> wrote: > the interesting part of the problem was working out > where the center of the circle is located. Hi Colin, Extracting the code from your explanation, I get: on FindCenter(p1, p2) dx = p2[1]-p1[1] dy = p2[2]-p1[2] angletocenter = atan(dx,dy) - pi*

Re: Calculating an arc

2003-03-15 Thread James Newton
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I need to calculate an arc for a small paint program in director. It will be a > constant 90 degrees between two mouse clicks and should be "right side up" or > "up side down" if the last click was higher or lower than the first. Then it > needs to be

Re: inverting 4bit bitmap w/IL

2003-03-14 Thread James Newton
Cole Tierney <[EMAIL PROTECTED]> wrote: > I'm trying to invert a 16 color indexed greyscale bitmap with imaging > lingo. I thought this would be a no brainer. > > I first tried copyPixels with #notcopy ink. This appears to work, but > there seem to be subtle rounding errors. Hi Cole, Using the i

Re: inverting 4bit bitmap w/IL

2003-03-12 Thread James Newton
Cole Tierney <[EMAIL PROTECTED]> wrote: > I'm trying to invert a 16 color indexed greyscale bitmap with imaging > lingo. Hi Cole, Are you setting the palette of the new image to your custom palette? Could you send me your image and its custom palette so that I can test it? Cheers, James [To r

Re: Programming movements - non-straight

2003-02-25 Thread James Newton
Fraser Campbell <[EMAIL PROTECTED]> wrote: > I'm currently trying to create a floating 'balloon-type' movement in one of my > projects and am currently stumped. > > does anyone know of any good pointers/starters to programming such movements - > i'm fine with straight lines :-) Hi Fraser, There

Re: Problems with the getpropertydescriptionlist...

2003-02-08 Thread James Newton
Richard Hebert <[EMAIL PROTECTED]> wrote: > [This] doesn't works for me: > >property pCFGM, pCFGS > >on getPropertyDescriptionList me > list = [:] ... > addProp list, pCFGM, [#comment:"CFGM:",#format:#boolean,#default:0] > addProp list, pCFGS, [#comment:"CFGS:",#format:#boolean,#default:0] ..

Re: Child objects and the scriptInstanceList

2003-02-05 Thread James Newton
Eric Greene <[EMAIL PROTECTED]> wrote: > 'add Sprite(pThisSpriteNum).scriptInstanceList, me'. > > That works to add the child to this list, but I can't get it back off so > easily. Hi Eric, Open your Internet connection then type this in the Message window: go movie "http://perso.planetb.fr/

Re: create a mask of an image

2003-01-21 Thread James Newton
Michael von Aichberger <[EMAIL PROTECTED]> wrote: > Imagine a 24-bit color image. > > If I copyPixel this image into a 1-bit image, then I get kind of a mask, > some pixels are white, others are black. It seems that all pixels above a > threshold have been turned to white and below that threshold

Re: FindingNotWantedFonts

2003-01-14 Thread James Newton
Bruce Powell <[EMAIL PROTECTED]> wrote: > "...Director will use a default font to display the following: Geneva" ... > Is there some way for me to locate all font typefaces used by > castmember? Hi Bruce, Below you'll find the handler that I use in cases like this, where only #text members are

Re: Eye Surgery

2003-01-13 Thread James Newton
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I am developing 'Eye Surgery process' in director MX, using imaging lingo... > After cutting, peel effect is also looking ok., But i have to use > copyPixels()with quad and rect. > > At this point getting difficulty to convert cut marks data to rect.

Re: Copypixels from one "alpha-ed" image to another

2002-12-19 Thread James Newton
Kurt Griffin <[EMAIL PROTECTED]> wrote: > I'm copying a dupe of the image of a text member into a dupe of the > image of a png member. Given the fact that both carry alpha images, the > result is not surprising - the copypixels op pastes the text in, but > also cuts a rect the size of the text imag

Re: How to rotate a copypixel image?

2002-12-12 Thread James Newton
Fabrice Closier <[EMAIL PROTECTED]> wrote: > I have one script running where i use 2 members bitmap + 1 text member > to generate a new composite of the 3... i need to [minimize and] rotate > the text info before making the composite. > how do i do this? Hi Fabrice, Here's a variation on Buzz's

Re: recursive use of handler

2002-11-27 Thread James Newton
Erik Phalet <[EMAIL PROTECTED]> wrote: > 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 ? Hi Erik, You're almost there: on createList oldList, newList if not ilk(newList,#list) then newList = [] e

Re: bug in getPixel()?

2002-11-05 Thread James Newton
Francesco Scarfato <[EMAIL PROTECTED]> wrote: > hello everybody, i've a trouble with getPixel. > if fill the stage with shapes that have the follow color > > rgb(255, 000, 000) --> red > rgb(000, 255, 000) --> green > rgb(000, 000, 255) --> blu > > than i copy some shapes on the stage with fill (

Re: Horizontal display bar

2002-10-29 Thread James Newton
Shailendra Vijayvergia <[EMAIL PROTECTED]> wrote: > i want to > display one line information in the text box. If the length of > information string is bigger than text-box width, then it should > display information in parts, ie, it will diplay a part of the > information at a time and other par

Re: AW: image of a text member

2002-10-17 Thread James Newton
Michael von Aichberger <[EMAIL PROTECTED]> wrote: > I didn't want [the image of the text member] to be on stage. I wanted > to get its pixel with getpixel. And with getpixel I got the same as > what the paint window was showing. Hi Michael, Have you tried using getPixel(x, y, #integer) ? Here'

Re: FTP via Director

2002-10-16 Thread James Newton
mike cash <[EMAIL PROTECTED]> wrote: >I was wondering if anyone knew of an Xtra that would aid in > the FTPing of a file... > the app I'm working on will save out a ".txt" file that > will have to be FTP'd to a specified server. Hi Mike, I'd recommend Daniel Devolder and Ravi Singh's Shockfiler

Re: Text and Field cast member

2002-10-12 Thread James Newton
Shailendra Vijayvergia <[EMAIL PROTECTED]> wrote: > for text cast member, i'm getting error "lineHeight" property not > found for text cast member. What's substitute or option available > in text cast members to find out lin height. Hi Shailendra, There is no substitue: you have to work it out

Re: scaling images question...

2002-10-10 Thread James Newton
g r i m m w e r k s <[EMAIL PROTECTED]> wrote: > I've got a bunch of images that I need to scale to fit a maxWidth and > maxHeight; trouble is these images are all sorts of possible dimensions. > > Say we want to fit a 320x240 area, if I request a rescaling for a rect of > 640x480, it will of cou

Re: Moving a hilite on a scrolling text member

2002-10-06 Thread James Newton
Paul Steven <[EMAIL PROTECTED]> wrote: > I have a scrolling TEXT member that I would like to display a hilite > (simply a quickdraw shape) when a line is clicked... I would like > this hilite to remain over the selected line as the text member is > scrolled. I am using the custom scrollbar behavio

Re: Keypad functionality

2002-10-06 Thread James Newton
Shailendra Vijayvergia <[EMAIL PROTECTED]> wrote: > I'm trying to develop ...[the] keypad functionality of mobile phone. Hi Shailendra, I've sent you a small movie, off-list, that acts as a mobile phone keypad. It uses two main behaviors: * a key button behavior that ascribes letters to each k

Re: 3D Page flip effect???

2002-09-25 Thread James Newton
Jason Je <[EMAIL PROTECTED]> wrote: > I want to create a book with page flip effect... Hi Jason, Thanks for giving me an excuse to mention my book, which has five chapters on Imaging Lingo (and a deep debt to Werner Sharp):

Re: textfield1 is full, lets use the second

2002-09-24 Thread James Newton
Fabrice Closier <[EMAIL PROTECTED]> wrote: > i'am building a template for print where 3 colomnes are builded in. > > what i want to achieve is to see if first col is full, if yes, to let > continue text into col 3, if 2 is also full fill the third as well. > if also full, add sort of (...) at en

Re: AW: MUI question "@AllUsers"

2002-09-09 Thread James Newton
Michael von Aichberger <[EMAIL PROTECTED]> wrote: > I now loop through the PeerConnectionList to address all clients. Hi Michael, There is no need to loop through the list. You can set the list itself to be the recipient, and the server will automatically loop through it and send the message to

Re: paletteIndex to integer

2002-09-09 Thread James Newton
Michael von Aichberger <[EMAIL PROTECTED]> wrote: > I want just the integer value of [paletteIndex( 105 )]. > In this case 105. Hi Michael, You answered your own question as far as the getPixel() command is concerned. If you need to get the index value of a color, you can do it like this: tCol

Re: bouncingsprite

2002-09-09 Thread James Newton
phillb <[EMAIL PROTECTED]> wrote: > Im looking for some some lingo/coding help in dragging a sprite from a set > pattern /grid so that it bounces between the original x, y loc and the > drop area which is random. Hi Phil, Here's some D6 code that deals with dragging, dropping and bouncing:

Re: MUI question "@AllUsers"

2002-09-09 Thread James Newton
Michael von Aichberger <[EMAIL PROTECTED]> wrote: > I'm ... using a peer-to-peer connection with the MUI-Xtra. > ...everything works fine, except using "@AllUsers" Hi Michael, @AllUsers doesn't exist when you have a peer-to-peer connection. Indeed, no group activity is possible; this needs to b

Re: editable field

2002-09-04 Thread James Newton
Erik Phalet <[EMAIL PROTECTED]> wrote: > the first behaviour I need for this field goes like, when the > user just types "30404", the result should be "00:03:04:04" ... > is it possible to select all the text in a field at beginsprite Hi Erik, Assuming that you mean #field and not #text: prop

Re: line connecting two points

2002-09-01 Thread James Newton
Buzz Kettles <[EMAIL PROTECTED]> wrote: > I can't seem to get a vector to quad ... Hi Buzz, You can't deal with each corner separately, but you can skew and rotate it to modify the quad to a limited extent: put sprite(1).quad -- [point(0.0,0.0),point(102.0, 0.0),point(102.0, 102.0),point(0.0,1

Re: text member html question...

2002-08-09 Thread James Newton
g r i m m w e r k s <[EMAIL PROTECTED]> wrote: > Ok so I'm trying to use a simple html table for text member layout, and all > in all it's fine, but it seems to make the cell too high -- almost like > adding a line under it. > > Any pointers? Hi grimmwerks, If you create a table and look at th

3D spot lights and low-polygon models

2002-07-30 Thread James Newton
Hi everyone, I've posted a tutorial on using 3D spot lights with low-polygon models at: Cheers, James [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, e

Re: spotlights vs. lowpoly objects ?

2002-07-29 Thread James Newton
Therese <[EMAIL PROTECTED]> wrote: > I've run into some trouble that concerns spotlights and large lowpoly > objects. It appears as when I animate a spotlight over the low poly > object the light just flickers as it crosses the polygons, and > sometimes it isn't visible at all. Hi Therese, A spo

Re: Trouble condensing this

2002-07-16 Thread James Newton
Neil Sandbach <[EMAIL PROTECTED]> wrote: > repeat with i = 1 to 8 > member("canvas").image.draw(getAt(glistOfPointsCatA, i), > getAt(glistOfPointsCatA, i+1), > [#shapeType:#line, #lineSize:2, #color: rgb(150, 0, 0)]) > end repeat Hi Neil, If your glistOfPointsCatA has only 8 items, i+1 will

Re: constraint to area

2002-07-08 Thread James Newton
Rodrigo Peres <[EMAIL PROTECTED]> wrote: > Imagine a black background (sprite) and over it a big image that goes out of > the stage because it's size. I want to drag it to see all of it, but when > the edges of the bigger image begins visible it stops so that the user can't > see the black behind

Re: imaging lingo...

2002-07-01 Thread James Newton
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > specifically I want to deal with text members; I've got to fake a > different kind of rollover/highlight... Hi grimmwerks, Here's a behavior that fakes multiple selection highlights using Imaging Lingo:

Re: little printing help...

2002-06-24 Thread James Newton
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I'm using printomatic full, but I need to get the stage to > print, but well, as all the text, etc, are flash members... > > Printing the stage prints out at 72dpi. ... > Is there perhaps a way I can capture a large image of the > stage in imaging

Re: Coloring lines of field member

2002-06-21 Thread James Newton
Irv Kalb <[EMAIL PROTECTED]> wrote: > How can you set different rgb values for different lines in a field > member (not a text member). > > e.g., the color of line 1 of member("foo") = rgb(100, 200, 300) -- Hi Irv, the forecolor of line 1 of member "foo" = 11 the forecolor of line 1 of membe

Multiple Text Selection

2002-06-18 Thread James Newton
Hi everyone, I've posted a new behavior to: This describes a Multiple Selection behavior for Text members, and includes a demonstration plus downloadable files. Enjoy, James [To remove yourself from this list, or to change to digest mode,

Re: IL question

2002-06-18 Thread James Newton
Buzz Kettles <[EMAIL PROTECTED]> wrote: > Do you know if copypixels supports [#ink : #reverse]? Hi Buzz, According to Werner Sharp, the formula for reverse ink is: destination = destination XOR source. Truth table for XOR: | 0 1 ---|--- 0 | 1 0 | 1 | 0 1 (Though I imagine th

Re: Error with Names sprites by James Newton...

2002-06-13 Thread James Newton
Rob Romanek <[EMAIL PROTECTED]> wrote: >The code says to make a call use > > call (#handlerName, sprites(#theName)) > > since sprites handler returns a list of sprites in the form of [(sprite > 1), (sprite 2), etc] then in the behaviours attached to the sprites the > me in the handler is a refe

Re: Error with Names sprites by James Newton...

2002-06-12 Thread James Newton
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Has anybody used the named sprites behavior by James Newton? (you can find > it in http://perso.planetb.fr/newton/) > > It works very well in authoring mode, and solves the problem of referencing > sprites by channel number

Re: multiuser

2002-06-10 Thread James Newton
DrEvil <[EMAIL PROTECTED]> wrote: > Is there any way to ... have the html page the movie is embedded > in to pass arguments to the movie when it runs? Hi Jeremy, You can find a movie that does this (plus plenty of other multiuser stuff at: <

Re: Hex to decimal formula

2002-06-07 Thread James Newton
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I've been trying to decipher some formulae I found online which > convert hex to decimal numbers, with a view to re-writing it in > lingo, but my head is hurting already. Hi Chris, You'll find below the fastest 32-bit conversion handlers that I am

Re: AW: logical terms

2002-06-03 Thread James Newton
Michael von Aichberger <[EMAIL PROTECTED]> wrote: > How do I get the user to formulate his query? Hi Michael, I think this depends on the sophistication of the users that your project is aimed at. For casual users you might have four fields: FEATUREImage MUST show at least one of t

Re: QUESTION: populating a list

2002-06-02 Thread James Newton
karen steely <[EMAIL PROTECTED]> wrote: > > blockList=["oneURL", "anotherURL"] ... > I want to manage the blockList externally so that if > the URLs change, I don't have to reload the movie. > I've got a blocklist.txt file in the same folder as > movie. ... > How can I get those URLs into my blo

Re: logical terms

2002-06-02 Thread James Newton
Michael von Aichberger <[EMAIL PROTECTED]> wrote: > based on 24 flags that can be set or not set, the user should be able > to define a logical formula that is used as a filter. > > My file names contain the 6-digit hex code and some other numbers > > "give me that particular picture if it has ei

Re: right-to-left text and word-wrapping

2002-05-31 Thread James Newton
Kerry Thompson <[EMAIL PROTECTED]> wrote: > "What is the sum of 6.25 + 3.5?" > would be written something like this: > "?6.25 + 3.5 fo mus eht si tahW" Hi Kerry, Does this mean that users enter numbers from left to right like this? 3 si ip fo eulav ehT 3. si ip fo eulav ehT 3.1 si ip fo e

Re: right-to-left text and word-wrapping

2002-05-30 Thread James Newton
Andrew Dempsey <[EMAIL PROTECTED]> wrote: > Does anyone out there have any experience with > using languages that go right-to-left (such as > Arabic or Hebrew) in text cast members? Hi Andrew, It turns out to be surprisingly simple. Place a text member on the stage, select the sprite and then t

Re: Importing a snippet of code

2002-05-29 Thread James Newton
karen steely <[EMAIL PROTECTED]> wrote: > I've written a function that iterates thru a list and > I want to manage the list remotely. > > The Lingo Dictionary doesn't tell me how to read an > external file and insert it into the code _here_. Hi Karen, Here's one solution, for you to adapt to y

Re: text box problem

2002-05-16 Thread James Newton
Andrew Dempsey <[EMAIL PROTECTED]> wrote: > Does anyone know how to make a textbox "scroll" to the > left as you write in it, so that even if the amount of > text surpasses the length of your field, you can still > see the cursor and the current letter you are typing? Hi Andrew, As it happens, I

Re: Stopping behaviours attaching to sprites

2002-05-09 Thread James Newton
Ross Clutterbuck wrote: >> My MP3 scripts rely on a field member being present in the cast. If there >> are no field members present I would like to cancel the entire attachment >> operation (similar to hitting cancel on a GPDL box). Hi Ross, Try adding the following property and handler to you

Re: behavior tutorial

2002-05-02 Thread James Newton
Carlos Lorenz <[EMAIL PROTECTED]> wrote: > I want is to understand why behaviors can be written in order > to affect channel sprites when an event occurs. > > Maybe if you have simple examples I could read and start to > practice it would be great. Hi Carlos, You'll find a number of examples, s

Re: behavior tutorial

2002-04-29 Thread James Newton
Carlos Lorenz <[EMAIL PROTECTED]> wrote: > I´m quite new to Lingo and would like to learn > to write behaviors. Hi Carlos, Can you describe the project that you are working on? If you could give me an idea of the type of interactions you are trying to create, I could talk you through writing a

Re: How Can I tell? (if Irv is in a field)

2002-04-24 Thread James Newton
Mattie Wells (E-mail) <[EMAIL PROTECTED]> wrote: > How can tell if someone is currently in a field? > And how do I tell when they have left that field? Hi Mattie, There are a number of ways you could do this. If you're only interested in a particular field, a simple behavior will do the trick:

GetHandlers() and HasHandler()

2002-04-19 Thread James Newton
Hi everyone, The handlers() functions returns only the handlers in a given instance. It ignores the fact that the instance may have an ancestor which can handle events that are not treated in the instance itself. Events can also be sent to sprites and to lists (sendSprite, sendAllSprites, call,

Re: How do I learn lingo scripting?

2002-04-11 Thread James Newton
Howdy-Tzi <[EMAIL PROTECTED]> wrote: >> Mostly my contributions consisted of things like "This sample >> movie gives a font substitution notice on Windows." > > And man oh man did I get tired of seeing those comments after the > fifth time or so. Hi Warren, I believe that Director 8.5 warns you

Re: list all files inside a folder (that has manyfolders in it)?

2002-04-09 Thread James Newton
Changhsu P. Liu <[EMAIL PROTECTED]> wrote: > Is there a way to list all the files inside a folder where there are many > folders inside a folder and more folders inside each individual folders. Hi Changhsu, Here is a handler that uses recursion to create a nested property list with the format:

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

2002-04-09 Thread James Newton
noelle cheng <[EMAIL PROTECTED]> wrote: > I have used a behavior originally written in D7 by James Newton for my > program... > JUMP BACK BUTTON Hi Noelle, The line continuation character ¬ was changed to \ in Director 8 to avoid cross-platform complications. The character ¬ i

Re: 'go to the frame' from an on stepframe handler(is: timeOut objects and movie events)

2002-04-01 Thread James Newton
Michael von Aichberger <[EMAIL PROTECTED]> wrote: > on stepframe me > go to the frame > end > > This doesn't stop the playback head - why? Hi Michael, The stepFrame handler is triggered when you go to a new frame. If you could go to a different frame from inside the stepFrame handler, you wo

Re: Highlight or change formatting (clarifications)

2002-03-27 Thread James Newton
Kerry Thompson <[EMAIL PROTECTED]> wrote: > I'm not entirely clear on why the 1-bit bitmap works better, but it > does seem more receptive to having its image changed. Hi Kerry, What problems do you see with a 32-bit bitmap, and what works better with a 1-bit bitmap? > I take a similar approac

Re: Highlight or change formatting (clarifications)

2002-03-27 Thread James Newton
Teo Petralia <[EMAIL PROTECTED]> wrote: > I have created a 32 bitmap graphic with Photoshop with color yellow > then I have created an Alpha channel that I made white always with > Photoshop then I have imported it inside Director and placed on the > following sprite channel of the text member bu

Re: How to move a sprite to a target point ????

2002-03-26 Thread James Newton
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I am trying to move one sprite from one point1 of the screen (this is a > random point) to one specific point2 > > Does someone know how can I prompt this sprite to move from this point1 to > that point2 in the shortest and more straight path po

Re: Highlight or change formatting

2002-03-26 Thread James Newton
Teo Petralia <[EMAIL PROTECTED]> wrote: > I'm trying to do an exercise where the user click on a word and > that word and the previous one (usually but not necessarily is > the previous one) is highlighted, then the user click on another > word always in the same paragraph and that word+previous

Re: Re : Re: SMS from Lingo

2002-03-21 Thread James Newton
Chaiya Whangmongkollert <[EMAIL PROTECTED]> wrote: > I tried it but .. It's very hard code for me. > Please, help me to finished this code.. Hi Chaiya, -- CREATE TWO BEHAVIORS 1. Create a script member and paste the Letter Input behavior into it 2. Set the script type of the script member to be

Re: SMS from Lingo

2002-03-20 Thread James Newton
Chaiya Whangmongkollert <[EMAIL PROTECTED]> wrote: > If i have many button .. I can't insert the next character in to the display > textfield. > like this .. (button1 contains character ABC,button2 contains character > DEF,button3 contans GHI) > 1st click on1st button ...A > 1st click on2nd butto

Ambient and directional light (was: What's fastest, easiest wayto light 3D sprite?)

2002-03-18 Thread James Newton
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > if I could just have an ambient light stay with the camera and light > directly on what's in front of it, then I'd be perfectly fine. Hi Darl, I suggest you use a single directional light. This will shine on all your models from the same angle, ju

Re: calculating the point of intersection of two lines

2002-03-18 Thread James Newton
Michael von Aichberger <[EMAIL PROTECTED]> wrote: > Suppose you have two straight lines, defined by two points: > > Let's say > > point(x1, y1) and point(x2, y2) for line 1 > > and > > point(x3, y3) and point(x4, y4) for line 2. > > What's the algorithm for calculating the point where these t

Re: a horizontal kind of scrolling

2002-03-14 Thread James Newton
Mats Leidö <[EMAIL PROTECTED]> wrote: > I am trying to mimick the phonebook and text scroll behaviour of a cell > phone... If for example the name and the number is too long for one > line... my cellular... shows as many characters as fits in one line, > then waits, then shows the rest Hi Mats,

  1   2   >