Re: passwords

2006-05-17 Thread Daniel Nelson
Hello Michael, You'll need some level of encryption. Just be careful not to include the encryption key as a string! One approach is to use numToChar() to turn numbers into characters and concatenate these into keys. However, if you are storing information locally, then at some level it is

Re: rotating (translating) a quad

2006-05-11 Thread Daniel Nelson
ist, email lingo-l@penworks.com (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!] -- Daniel Nelson Blue Jade Creative Enterprises LLC [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo

Re: Fast-start projectors with MX 2004 10.1.1

2006-05-05 Thread Daniel Nelson
Why not use the Flash 8 Asset with the 10.1.0.11 Director? Regards, Daniel Going back to 10.1.0.11 isn't really an issue as I've used Flash 8 features so I need the Flash 8 Asset. [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To

Re: Fast-start projectors with MX 2004 10.1.1

2006-05-05 Thread Daniel Nelson
Can you go back to 10.1.0.11? -Daniel Yes, I've used the same version of Director to build the projector exe and supply the DLLs. I agree I've never had a problem building fast start projectors with Director 10.1.0.11 it's only since upgrading have I had this problem (something about having

Re: Fast-start projectors with MX 2004 10.1.1

2006-05-05 Thread Daniel Nelson
I use MX2004 fast start projectors for all of our projects and none of our customers have reported this problem. This problem indicates to me that the .dlls and the fast start projector aren't from the same version of Director. Are the .dlls in the Director Configuration folder the same as thes

Re: Fast-start projectors with MX 2004 10.1.1

2006-05-04 Thread Daniel Nelson
I see that you are referring to the Windows dlls...are the complaints coming from Windows users, or is it possible they are Mac users? -Daniel I've just had word from a few people testing a project that they're getting the "need Shockwave" message when trying to run my projector. I've been d

Re: How multi threaded is Director/Lingo and mutexes..

2005-12-20 Thread Daniel Nelson
Hi Alan, The only time I've found events to be not safely sequenced is when using certain xtras that trigger handlers based on external events. For example: baDropFile can trigger a dropFile event in the middle of another handler's execution. I think baMouseWheel also does this, though I'm n

Re: Director "chokes with no apparent reason"

2005-12-02 Thread Daniel Nelson
Also make sure that you don't have any memory leaks of your own, such as circular references between objects that prevent them from being garbage-collected. Regards, Daniel chris phillips wrote: i have seen this happen while using some xtras that have memory leaks. xml parser and ravjoystick,

Re: PDF - searching

2005-12-01 Thread Daniel Nelson
lingo-l@penworks.com (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!] -- Daniel Nelson Blue Jade Creative Enterprises LLC [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To

Re: Colorization of bitmaps

2005-10-24 Thread Daniel Nelson
Valentin's has better quality results, too. I didn't even know about the bgcolor parameter. That may help speed up a project I'm working on this week. Thanks Valentin! Kind Regards, Daniel Valentin Schmidt wrote: here a handler which produces a similar result, but without the pixel-wise Get

Re: Colorization of bitmaps - correction

2005-10-24 Thread Daniel Nelson
Error in the last one (repeat with j & i should start from 0). This is correct: on makeBlueScaleImageFromGrayscale anImage --pre: anImage is an 8-bit grayscale or a 32-bit representation of a grayscale image --post: a "bluescale" image is returned width = anImage.width height = anImage.

Re: Colorization of bitmaps

2005-10-24 Thread Daniel Nelson
Here you go: on makeBlueScaleImageFromGrayscale anImage --pre: anImage is an 8-bit grayscale or a 32-bit representation of a grayscale image --post: a new "bluescale" image is returned width = anImage.width height = anImage.height newImage = image(width, height, 32, TRUE) is8bit =

Re: no running program twice?

2005-10-21 Thread Daniel Nelson
(multi-instance is certainly the non-standard usage for Projectors Not if you develop apps! In Windows, any time one opens an rtf file, one gets a new instance of WordPad. Same with Word, Excel, etc. And even if one opens new documents into tabs within the current document or replace the

Re: Simple text handler

2005-10-18 Thread Daniel Nelson
I just did some tests, and you are right. It starts off much faster (8 to 10X), though with very large amounts of text (5000 lines of 500 characters per line), it dropped down to less than twice as fast. Thanks for the tip, Daniel Nope. It's an old-time director trick. With large chunks of

Re: Simple text handler

2005-10-18 Thread Daniel Nelson
Well, you can speed that up by always operating on the first line of tText, as in: newString = EMPTY temp = tText repeat with i = 1 to tLines aLine = temp.line[1] --modify aLine put aLine after newString delete line 1 of temp end repeat I'm pretty sure that would be slower, since each

Re: Simple text handler

2005-10-18 Thread Daniel Nelson
Hello Petro, I'd recommend changing approaches, but I'm not quite clear on what you want to do. My approach would be to repeat through with i = 1 to tLines, and rebuilding the string into an empty string. Then you would make edits by modifying the strings prior to appending them to the new str

Re: dot syntax to replace a char in a string?

2005-10-05 Thread Daniel Nelson
put "-" into someString.char[5] Cole Tierney wrote: Just can't seem to get it. The following verbose works, so I should just use it and be done with it. But I'm still curious. How would the following look in "contemporary" syntax: put "-" into char 5 of someString [To remove yourself from

Re: date and time

2005-09-22 Thread Daniel Nelson
Yes. It's a bit weird. I just found it by trial and error. Regards, Daniel _movie.systemDate() Thanks for that. Would you agree that this particular method (property?) belongs more aptly to the _system object? [To remove yourself from this list, or to change to digest mode, go to http:

Re: date and time

2005-09-21 Thread Daniel Nelson
_movie.systemDate() Regards, Daniel Alex da Franca wrote: Am 22.09.2005 um 01:34 schrieb Sean Wilson: "the systemDate" seems to be another of the omissions in the current round of docs but remains *much* more useful than most of the other date/time format offerings. not only it is m

Re: Major DMX 2004 MIAW docs shortcoming

2005-09-14 Thread Daniel Nelson
Yes, you are definitely right about that. I just tend to use the search function with a number of variations. But as you point out, it is rather hit or miss if you don't happen to enter the right search string. Regards, Daniel Aha there it is, but... how do I get to that page? It would ma

Re: Major DMX 2004 MIAW docs shortcoming

2005-09-14 Thread Daniel Nelson
t too long finding it out! <http://director-online.com/dougwiki/index.php/MIAW> Brennan -- Daniel Nelson Blue Jade Creative Enterprises LLC [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 lingo-l@

Re: Multiple Window

2005-08-26 Thread Daniel Nelson
Hello Samuel, Shockwave cannot open MIAWs. In a projector, MIAWs can open whatever movies you want. Kind Regards, Daniel Samuel Goto wrote: Hello, Can I have real multiple windows ( like parent/child ) in Shockwave ? PS As much as I know, MIAW isn`t real multi window ... it is

Re: Tab key

2005-08-17 Thread Daniel Nelson
Hi John, TAB is just a shorthand for numToChar(9). One approach to solving this is to set the keyboardFocusSprite to the next editable field. Of course, this requires knowing what that next sprite is. In order to do this, I would create some sort of sendAllSprites call on beginSprite in a hig

Re: no command-q if the exitLock = TRUE

2005-08-16 Thread Daniel Nelson
Hi Cole, Does the closeRequest handler do what you want? Or the Buddy QuitMsg xtra? Regards, 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 lingo-l@penworks.com (Problems, email [EMAIL P

[x-post] Advanced Print and Print Preview in Director

2005-08-12 Thread Daniel Nelson
Dear List, Last week, I made a presentation to the Minnesota Director User Group on an advanced printing and print preview alternative for Director. The methodology writes dynamic PDF files that are then printed and/or previewed using Integration New Media's Impressario xtra. The PDF writing

Re: Getting folders...

2005-07-27 Thread Daniel Nelson
ut you can directly query the app-data folder by using: tAppDataFolder = baEnvironment( "APPDATA" ) Cheers, Valentin -- Daniel Nelson Blue Jade Creative Enterprises LLC [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post

Re: script error in projector only

2005-07-26 Thread Daniel Nelson
-l@penworks.com (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!] -- Daniel Nelson Blue Jade Creative Enterprises LLC [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To p

Re: Trying to create OOP place Sprites in concentric circles

2005-07-15 Thread Daniel Nelson
http://www.penworks.com/lingo-l.cgi To post messages to the list, email lingo-l@penworks.com (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!] -- Daniel Nelson Blue Jade Creative Enterprises LLC [To remove yourself from this list,

Re: replace string question

2005-05-23 Thread Daniel Nelson
Check out the free PregEx extra. Search and replace made easy and processor friendly. Regards, Daniel arjen wrote: thanks for you responses, in the meanwhile i wrote a handler myself, just to not waste time searching. but i posted the question becuase i asumed there must be much more effici

Re: just curious...

2005-05-12 Thread Daniel Nelson
One reference to the object. Garbage collection deletes an object when there are zero references to it. To see this number go up, create multiple global variables in the message window that point to the same object. Regards, Daniel -- Daniel Nelson Blue Jade Creative Enterprises LLC [To

Re: OT:: Chinese Text

2005-04-13 Thread Daniel Nelson
opies of the text members in case they ever needed to be edited, and then converted the text members to bitmaps. This was back in 2000. Kind Regards, Daniel -- Daniel Nelson Blue Jade Creative Enterprises LLC [To remove yourself from this list, or to change to digest mode, go to http://www.penwork

Re: BuddyAPI Help

2005-04-13 Thread Daniel Nelson
If you mean you want "mike" to be a variable, to which the directory is assigned, then yes, but lose the quotes around the variable: set OK = baXCopy( the moviePath & "boo", mike, "*.*", "Always",true) I can just use the following in the below script: set OK = baXCopy( the moviePath& "boo", "m

Re: ParseURL bug?

2005-04-06 Thread Daniel Nelson
the xml xtra parseURL() lingo method fails to return an error with a malform xml file, it always returns void, which is a success response. I have been using getNetText and parseString() instead and this works fine... -- Daniel Nelson Blue Jade Creative Enterprises LLC [To remove yourself from

Re: where's my debug button ?

2005-03-03 Thread Daniel Nelson
My Director somehow doesnt give me the debug button anymore when an error occurs, anyone know how to get it back ? thanks in advance Any chance that you have an alertHook set? -Daniel -- Daniel Nelson Blue Jade Creative Enterprises LLC [To remove yourself from this list, or to change to digest

Re: Unicode-Class

2005-02-14 Thread Daniel Nelson
n lingo. Do you know if it's possible to install such a Director version on a single-byte OS (Win XP or OS X 10.3, both german), or does the OS have to be double-byte as well? Valentin -- Daniel Nelson Blue Jade Creative Enterprises LLC [To remove yourself from this list, or to change to dig

Re: Unicode-Class

2005-02-14 Thread Daniel Nelson
nicode") from U+ to U+ (more than 6 characters, that include all alfabets in the world). Daniel Nelson wrote: Oh, right, still only single byte unicode. But that's a start in the right direction! Daniel Nelson wrote: Thank you, Valentin! Unicode in Lingo without reliance on Flash w

Re: Unicode-Class

2005-02-14 Thread Daniel Nelson
Oh, right, still only single byte unicode. But that's a start in the right direction! Daniel Nelson wrote: Thank you, Valentin! Unicode in Lingo without reliance on Flash was my number one wish-list request. Now, as long as embedded fonts work, it looks like you've given us a way

Re: Unicode-Class

2005-02-12 Thread Daniel Nelson
Thank you, Valentin! Unicode in Lingo without reliance on Flash was my number one wish-list request. Now, as long as embedded fonts work, it looks like you've given us a way to do that! Thanks again, Daniel -- Daniel Nelson Blue Jade Creative Enterprises LLC [To remove yourself from this

Re: number of sprite channels.

2005-01-11 Thread Daniel Nelson
control-shift-d. Set the number of channels. Regards, 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 lingo-l@penworks.com (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping

Re: Lingo repeat loop versus other languages

2005-01-06 Thread Daniel Nelson
It's interpreted byte code. That can't compete with compiled machine code. Like the original idea behind Java (ie: write once run anywhere, not compiled Java). Anyone care to make a similar test in Java? But calls to native Director methods (imaging Lingo calls, for instance) are machine comp

Re: Zip files

2004-12-23 Thread Daniel Nelson
Hello Kerry, I've used the Buddy Zip Xtra in one project used internally. Found it on MediaMacros.com, if memory serves. I presume Buddy Unzip works fine. If interested, there is one caveat when using the Buddy Zip Xtra, noted below. Regards, Daniel When zipping a folder, the Buddy Zip Xtra

Re: Common Docs folder

2004-12-22 Thread Daniel Nelson
Buddy API baSysFolder() does a great deal more than the docs say. Maybe a search of direct-l will find what you need, or a search of the buddy api forum. Regards, Daniel Kerry Thompson wrote: I know there's a way to find out the shared documents folder. I thought it was in Buddy, in baSysFolder

Re: communication between 2 shockwave movies on the same html page

2004-12-20 Thread Daniel Nelson
Warning regarding the localConnection technique. If any MIAW is forgotten, it kills local connections between any other MIAWs, even if the forgotten MIAW is not involved in the localConnection. My original post to Direct-L follows: *Date: Thu, 30 Sep 2004 12:11:12 -0500 From: Daniel Nelson

Re: Grayscale Images

2004-12-20 Thread Daniel Nelson
Hello Ali, If you'll have the color images ahead of time, simply create a grayscale version of the image as well (using Fireworks or Photoshop, etc). Then import the two images into two members. Then, in a mouseEnter script, change the member of the sprite to the grayscale member, and on a mo

Re: dynamic outlined text

2004-12-17 Thread Daniel Nelson
As for a proper vector solution - I don't know of one in Director or Flash and would love to hear about one if it's possible... We did a project using vectorShapes to generate outlinable, rotatable text, but it is not a trivial task. The difficulty arises because vectorShapes have a maximum

Re: Expandable Windows

2004-12-16 Thread Daniel Nelson
Hello Jon, Here is an example movie that contains both resizing and repositioning behaviors triggered whenever the window is resized: http://www.bluejade.com/public_resources/director/dynamicwindow.dir Regards, Daniel [To remove yourself from this list, or to change to digest mode, go to http://w

Re: More than 256 colors in forecolor (for field)?

2004-12-07 Thread Daniel Nelson
Yes, definitely a field. I don't have DMX handy to test. Anyone? Regards, Daniel From the message window: member("test2").word[2].color = color(0, 0, 255) put member("test2").type -- #field member("test2").char[2..3].color = color(0, 0, 255) Changes the color as expected. Karl Cifius wrote: Are y

Re: More than 256 colors in forecolor (for field)?

2004-12-07 Thread Daniel Nelson
member("test").word[3].color = rgb(255, 0, 0) works for me on a field member. DMX 2004. Win XP SP2. Regards, Daniel Karl Cifius wrote: I don't think that will work since you need forecolor to be able to change the colors of different words in a field, right? "set the color of member 1 to rgb(2

Re: More than 256 colors in forecolor (for field)?

2004-12-07 Thread Daniel Nelson
Use color and bgcolor instead of forecolor and backcolor. Regards, 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 a

Re: Rendering Silhouettes

2004-11-19 Thread Daniel Nelson
Hi Ben, I haven't done much with 3D in Director, but it seems to me that you should be able to achieve silhouettes by adjusting the reflectivity of the shader applied to the object so that no light is reflected. Taking a quick look at the shader properties, I would think that the following wou