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 follows:
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. the
On 22/7/04 10:32 pm, Matt Wells [EMAIL PROTECTED] wrote:
My two lists:
List1 = [text align=right: 0, text align=left: 10]
List2 = [/text: 10, /text: 19]
What I need is:
List3 = [text align=right: 0, /texttext align=left:10,
/text: 19]
Hi Matt,
My solution is similar to Irv's.
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
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
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:
--
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 Hermann,
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 objects to
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 in
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 event
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()
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 caveat that
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 units)
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 MIAW does
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's
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:
t =
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 exists
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).
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
stuff like
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
for
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]
http
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 DMX 2004?
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
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
[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
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
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 hides
[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
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 Michael,
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,
Here's
[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 draw to
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*.75
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 image
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's a
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 they
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
[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.
Hi
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 image out
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 = []
end if
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 (o simple
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 part will
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 Xtra,
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's
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 by
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 key
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 behaviour
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):
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 end
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:
property
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,
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 the
Hi everyone,
I've posted a tutorial on using 3D spot lights with low-polygon models at:
http://www.duguk.org/articles/3D_002/article.htm
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,
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
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 it.
[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:
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 member foo =
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 that
Hi everyone,
I've posted a new behavior to:
http://www.duguk.org/articles/TEXT_001/article.htm
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,
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 reference to
[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 wonderfully. However, when I
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:
http://nonlinear.openspark.com/book/Multiuser.sit
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 the
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 blockList list?
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 either a
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 eulav ehT
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
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 your
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
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,
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 ¬ is numToChar(194
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 would
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 but
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 is
[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
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
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 button ..AD
Centre Generation Emploi [EMAIL PROTECTED] wrote:
Is there any way to select individual lines within a scroll text field?
Bonjour Ann,
* You can use the hilite command to highlight one block of text
at a time in a field member
* You can use the selection property to highlight one one block
MFarooqui [EMAIL PROTECTED] wrote:
I would like to be able to click a number of points on the stage and have
the area calculated .
Hi Mushtaq,
You could divide the area up into triangles, then calculate the area of each
triangle.
on getArea(point1, point2, point3)
hMin = min(point1.locH,
Jayp [EMAIL PROTECTED] wrote:
if its still larger than a certain size it doest repeat the
processdo I need some dsort of repeat loop...
Hi Jayp,
Don't use a repeat loop, use a ratio. Presumably you also want to limit the
height. The following handler does not work off exitFrame, so you
Stanly Kadamala [EMAIL PROTECTED] wrote:
I just want to know how we can handle if we need to use more than 1000
channels.
Hi Stanly,
You can use #filmloop and #movie members (Linked Director Movies or LDMs) to
create sprites which have their own internal sprites.
Try this experiment with
Jayp [EMAIL PROTECTED] wrote:
What am I doing wrong here...
sprite (me.spritenum).member.width = (thenewwidth)
sprite (me.spritenum).member.height = (thenewheight)
Hi Jayp,
You are instructing Director to change the size of a member. Director much
prefers to change the size of a sprite.
Michael von Aichberger [EMAIL PROTECTED] wrote:
Hello list!
I am trying to copy a quadrangular but NOT rectangular area of one image to
THE SAME quadrangular area of another image of the same size.
...
pointsL = [point(453,161), point(476,165), point(469,204),point(446,200)]
...
Now it
Colin Holgate [EMAIL PROTECTED] wrote:
there are difficulties, as you'll discover if you select a
range of characters. That can be taken care of as well...
Hi Michael, Kurt and Colin,
Here's a handler to take care of this.
Cheers,
James
PS: the Filter Input Characters behavior is
Tom Hines [EMAIL PROTECTED] wrote:
Once a behaviour has been assigned to a sprite and the parameters set via the
Parameters dialog pop-up window, can those initial parameter values be
set to different values without having to reassign the behaviour to the
sprite?
Hi Tom,
Select the sprite,
Rodrigo Peres [EMAIL PROTECTED] wrote:
I've built a dropdown menu using shapes to simulate the hilite effect. I
putted a yellow shape (copy) behind and a black shape (reverse) in front
appear blue, that was my goal. But now I need my text to be white under the
shape
Hi Rodrigo,
I use two
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hey - trying to use this guy, but the files I'm getting from playing with
it aren't the zipped files.
I know it's unsupported, but is there anything on DOUG, etc that perhaps
overviews this?
Hi Grimmwerks,
I've written a wrapper script that
86 matches
Mail list logo