Re: Esc key and exitLock in Dir 10

2004-07-26 Thread Sean Wilson
It seems that even in Dir 10 there's no way to trap the Esc key when exitLock is set to false. I other words, suppose I want to enable the standard OS X ways of quitting the application--the X button and the Quit command in the system menu--but don't want Esc to close the projector. Is there a

Re: misbehaving scrollbar on Mac OS X

2004-07-26 Thread Sean Wilson
The problem I see is that when the text member is given a #scroll boxType, the scrollbar that appears looks like a portion of the normal scrollbar: it has only the up-arrow, and a portion of the slider. While requiring more work to implement, could you use an OSControls scroll bar to replace th

Re: Line Spacing?

2004-07-29 Thread Sean Wilson
I was messing around setting the line spacing in my project and now when I changed the font size the line spacing will not change automaticly now I have to change it manually. Is there a way to change it back to automatic line space? member("TextMember").fixedLineSpace = 0 should allow it to "auto

Re: Esc key and exitLock in Dir 10

2004-08-01 Thread Sean Wilson
You're right, Jeff--I still can't trap the Escape key when the projector runs under OS X. I wanted to use Escape for other purposes, like I do in Windows. Bummer. Hang on - can't you set the exitLock so that it won't quit your projector and set a keyDownScript to monitor for the escape key's ke

Re: Esc key and exitLock in Dir 10

2004-08-01 Thread Sean Wilson
in OS X closeRequest is called BEFORE the keyDownScript handler or a keyDown test can be applied--Esc seems to bypass that test. Darn! I'm all out of suggestions... [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 th

Re: Setting vector colors

2004-08-18 Thread Sean Wilson
I'm trying to set the color of a vector graphic at runtime. I need to give it an rgb value, but it seems to only want to take palette colors. Here's my code: channelColorList = [160104100, 192138100, 189180112, 135162111, 112147110, 101155153, 98134145, 95113146, 127104147, 131095122] sprite(c

Re: Sprite alpha?

2004-08-19 Thread Sean Wilson
I'm creating some sprites at run-time, and they're showing up with odd colors. They should be a nice grey color, with a drop-shadow. Instead, the colors are all over the place--grey, lime green, lemon yellow, but with drop shadows. Sometime earlier you allocate this channel to a sprite that need

Re: Exitlock=true, titlebar=true - closebutton doesn't work?

2004-08-24 Thread Sean Wilson
At 04:35 a.m. 25/08/2004, you wrote: Hey all -- trying to do the old school 'see quitscreen before exiting' thing in 2004. I've got exitlock to true, and am only showing the closebutton on the titlebar; I've got a main movie handler of 'on closewindow' but it doesn't seem to be getting called; when

Re: Time arithmetic

2004-08-24 Thread Sean Wilson
MOD is your friend And so is dateObject.seconds and framesToHMS() At 2:05 PM -0400 8/24/04, you wrote: Is there a built-in way to do time arithmetic like you do date arithmetic? I can get the number of days between two dates with something like date(, mm, dd) - date (, mm, dd) (thank

Re: baOpenFile, a level up

2004-09-02 Thread Sean Wilson
you can't use the "@" identifier for the moviepath with xtras. With version 3.6 (Windows), Buddy API added support for the @ operator. -Sean. [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 PR

Re: MUS Peer-to-peer

2004-09-03 Thread Sean Wilson
I guess my question is what's the best way to handle these disconnects? Firstly, be sure to read these technotes: Cheers, -Sean.

Re: Projector on NT Problem

2004-09-13 Thread Sean Wilson
It is working fine on all the test systems here and on almost all the test platforms on the client end. Unfortunately, on Win NT, SP6 - the moment the projector is launched, a Dr. Watson error is thrown. Which version of Director did you use to create the projector? (This does not happen at our en

RE: Runmode with respect to scriptExecutionStyle

2004-09-22 Thread Sean Wilson
> no amount of scriptexecutionstyle = 9 was able to > convince it to deal with my D9 MIAW syntax. What syntax are you referring to? The scriptExecutionStyle property only affects the behavior of the window() function itself: scriptExecutionStyle = 9: If you provide a name to the window function an

(OT) Mac: move up a folder

2004-10-10 Thread Sean Wilson
Hi All, Given that "..\" will navigate up one directory from the current one on Windows, what is the Mac equivalent? Is it as simple as "..:"? And is it the same for <= OS9 and OSX? Cheers, -Sean [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo

Re: (OT) Mac: move up a folder

2004-10-11 Thread Sean Wilson
You want to do that in Lingo? I'm wanting to construct a full path to feed to FileXtra4 (which doesn't support '@' and variants), but having given it some more thought all I need to do is "drop" a directory when re-constructing the path at run time thus by-passing any need for "..\" or whatever

Re: Re: (OT) Mac: move up a folder

2004-10-12 Thread Sean Wilson
Here're a few lines that may be helpfull: http://putnamhill.net/codeshop/dir/cdup.html Thanks for that Cole! -Sean. [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

Re: getNetText and netDone question

2004-10-09 Thread Sean Wilson
I'm trying to pull an XML page from Amazon (using their REST API) and it works great from the message window, but the handler must work too fast. When it gets to checking netDone, it isn't done yet. Is there a way to have it wait until it is done? I'm not getting any netError or any other error

RE: Imaging Lingo

2002-01-31 Thread Sean Wilson
> Has anyone read this book? It was just published, right? That's right. My copy's winging its way to the Antipodes as I write. > Is it worth its' weight in gold? Too early to say. That is, I haven't read it yet. However, the book has been hotly anticipated (by myself, at least) since the annou

RE: Linking dcrs problem

2002-02-03 Thread Sean Wilson
> I'm a bit stuck at the moment with one of my projects. I have a > series of dcr files that are all linked, yet when i play them on the > net i get an error like this; > > Unable to open file "the url" > > and then this error > > File "the url" is protected and cannot be opened > > how can i link

RE: jerky rotation

2002-02-06 Thread Sean Wilson
> Have you looked at the link I sent? It solves all the issues I > can think of. Very nice Colin. So ... how'd you do it? -Sean. [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] (

RE: getNetText -> getStreamStatus -> error = 4152?

2002-02-07 Thread Sean Wilson
> I'm performing a getNetText to an ASP page which calls a COM object and > writes an XML response back to my Shockwave engine. The list returned by > getStreamStatus immediately contains an #error property of 4152. I looked > through the docs, and searched the Tech Notes, but there's no mention o

RE: creating a bitmap cast member

2002-02-10 Thread Sean Wilson
> always creates a 16-bit image, even though the tif file may be a > 16-million > colors picture. What's the colorDepth of your monitor set to? HTH, -Sean. [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,

RE: how do u concatenate vars inside repeat loop?

2002-02-10 Thread Sean Wilson
> here is the part of the code that needs fixing: > > global gnumPlayers--(this derived from text user input earlier.) > repeat with i= 1 to (gnumPlayers) > global (ginventorylist & i) = [:] > > end repeat You could try: repeat with i= 1 to (gnumPlayers) (the globals)[symbol("gInvent

RE: sure-fire cross platform video support?

2002-02-12 Thread Sean Wilson
> I was wondering there was anyone willing to discuss a general approch, > that resulted in a sure-fire, fool-proof way of supporting digital > video, running in a projector on cross-platform CDrom. > > I would go with QT and use quickTimePresent() and quickTimeVersion() to > check the plugin, the

RE: Extra development and .net

2002-02-13 Thread Sean Wilson
> I'm just getting started with extra development and i'm wondering if it is > possible to develop extras using the .net framework and managed C++? > > Also is it possible to use the new C# language to develop extras? > > If not is this being worked with so it will be possible in the > near fut

RE: 3D authoring xtra

2002-02-17 Thread Sean Wilson
> While looking at the Xtras I got an idea for creating a small > utility that uses > the 3D obj converter in a stand-alone application. I have looked on the > Macromedia site, but can find no information that pertains to actually > communicating with the Xtra. From what I can tell, it seems to on

RE: copypixels and quads

2002-02-18 Thread Sean Wilson
> 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. How about creating an image object, filling it with black, copyPixelling it to another image object using the quad you need then using this image as a ma

RE: copypixels and quads

2002-02-18 Thread Sean Wilson
> both workarounds came to my mind as well, but I didn't want to use masks, > because they are slow to render. ? I was suggesting you use the mask image in a copyPixels parameter list dImage.copyPixels(sImage, dRect, dRect, [#maskImage: mImage]) thus there is no "rendering" as such. By renderin

RE: Buddy API

2002-02-20 Thread Sean Wilson
> >> I am having a problem where under Director 8.5 and Buddy API, I have a > >> behavior, which I've used on more than one project using Director 7.02, > >> which goes out and opens a file in a destination relative to > the projector. > It returns a file not found reply. So how are you building

RE: Buddy API

2002-02-20 Thread Sean Wilson
> The path is defined as /files/anyfile.pdf A few more questions/comments: 1). This is not a fully qualified path. Wouldn't you expect something more along the lines of 'D:\files\anyfile.pdf'? Presumably your applicationPath is prepended. 2). Why are there forward slashes in there? Are we talking

RE: Buddy API

2002-02-20 Thread Sean Wilson
> This code was purchased when I bought my buddy API application. It was an > add-on offered. Specifically, it is the "open PDF file" AND the "open any > file" behavior. Should I assume from this that you're not confident about modifying these behaviors to include an alert line so you can see the

RE: Opening browser

2002-02-20 Thread Sean Wilson
> How do you open browsers pointing to a specific website like > macormedia.com using lingo? on mouseUp me gotoNetPage "http://www.macromedia.com"; end Strangely, this works for me with version 7, 8 & 8.5, but not 8.5.1! Anyone else care to try? -Sean. [To remove yourself from this list, or

RE: Opening browser

2002-02-20 Thread Sean Wilson
> Strangely, this works for me with version 7, 8 & 8.5, but not 8.5.1! > Anyone else care to try? Sorry, I need to qualify that. It works from an 8.5.1 projector, but not in the authoring environment. At least, not for me. -Sean. [To remove yourself from this list, or to change to digest mode,

RE: Opening browser

2002-02-20 Thread Sean Wilson
> Is it possible your network > preferences have the "Launch Browser When Needed" option unselected? Thanks Kraig. That was it. -Sean. [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 PROTEC

RE: a simple list question!

2002-02-20 Thread Sean Wilson
> tempList = initialList.duplicate() ^^^ HTH, -Sean. [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 i

RE: Stupidly EASY question

2002-02-21 Thread Sean Wilson
> How do I call for eg. The 3 record called loc > > Ie.. [member: 2, loc: 12,4, size: 100,100, member: 5, loc: 17,3, size: > 50,100, member: 9, loc: 9,4, size: 190,100] I would suggest that, looking at your list, it might be better structured as a linear list of property lists. eg. [[membe

RE: Stupidly EASY question with more detail

2002-02-21 Thread Sean Wilson
> In my list I have 2 properties. #membernumber and #location > > How do I use a repeat loop to count through 100 sprites and add them... > This is what ive already used but its giving me weird results > Please help > repeat with i = 1 to 100 > q = sprite (i).membernum > w = sprite

RE: Getting into a .dcr file

2002-02-21 Thread Sean Wilson
> I have a .dcr file from and old project. I need to get into it and get a > flash movie out of it. The original work files were all lost thanks to a > hard drive crash. I have been trying to open the movie in a > window and then > telling the window to save itself as a .dir with the saveMovie com

RE: Getting into a .dcr file

2002-02-21 Thread Sean Wilson
Sorry, I meant to get the names as well: > if member(m,l).type = tType then tName = member(m,l).name > tMedia = member(m,l).media > tell (the stage) > tMem = new(tType) > tMem.media = tMedia tMem.name = tName >

RE: Stupidly EASY question The NEXT stage

2002-02-21 Thread Sean Wilson
> Having got my new list eg.. > -- [#MemberNumber: 2, #Vertical_location: 320, #Horizontal_location: > 150] > -- [#MemberNumber: 2, #Vertical_location: 340, #Horizontal_location: > 160] > -- [#MemberNumber: 1, #Vertical_location: 360, #Horizontal_location: > 170] > -- [#MemberNumber: 1, #Vertical_

RE: illegaloperation error

2002-02-25 Thread Sean Wilson
> i have put all dll files ini file but still error has > come. sometime if i click on exe file to start projet > it's give error on click on exe file. so please give > me any solution. You are going to have to supply a bit more information before anyone can help. Exactly which dll files and whe

RE: do command execution in list assignment?

2002-02-25 Thread Sean Wilson
> I don't always know that it is going to be a script. There are times > when > I want to use this to instantiate a stack of xtras, in which case I > would need: > > newStackObject = new(xtra stackScrip/XtraName) > > I tried to address this by using typeofstack, which would be either > "xtra" o

RE: ExitLock in D8.51?

2002-02-25 Thread Sean Wilson
> Has anyone heard anything about exitLock having issues in > Director 8.x? I > have a product that was fine under D7, but with the port to D8.51, now > exitLock seems not to be working - you can use ctrl-F4 (or is it alt-f4?) > to shut it down; never used to, and we haven't touched that code. >

RE: Parameter Oddities, Director<->Flash

2002-03-03 Thread Sean Wilson
> For some reason or another, flash cannot call my director objects > directly (or at least, I have yet to be able to get that to work). To > work around this problem, however, I created a handler called > "flashstackaccess" which accepts a parameter "stackcmd" and executes > that. Could your fl

RE: web speed

2002-03-04 Thread Sean Wilson
> i would like to know if it would be possible to check the user connection > speed and return a value . in director 8 Download a file of a known size a number of times and average out the speeds obtained. Check downLoadNetThing/preloadNetThing, getStreamStatus, and clearCache in the dicti

RE: application title bar fonts

2002-03-04 Thread Sean Wilson
> Does anyone know what font is used in the title bars of windows > applications? For example, when you open Director, in the blue title bar, > it has the Director icon, then says, Director 8.5 in a white aliased font. > I need that font! Any ideas of the name and where I could find it? Right-c

RE: how to read from an .ini file

2002-03-04 Thread Sean Wilson
> Does anyone know how to read in information from an .ini file so > that it can > be put into separate variables within Director? Can this be done with the > FileIO xtra? It can be done with FileIO, but it's more work than necessary when you have Buddy API at your disposal. Download it from: h

RE: dot syntax for "put "b" into char 3 of aString"?

2002-03-06 Thread Sean Wilson
> aString.char[3] = "b" does not work although the old syntax put "b" into > char 3 of aString works. aString = aString.char[1..(index - 1)] & newChar & \ aString.char[(index + 1)..aString.length] but why bother when the old school works so much easier? (Let's not start a thread about

RE: Re : Ram & film loops

2002-03-14 Thread Sean Wilson
> Does Director automatically pre-load the cast members > used in a film loop when it is called in the score. Provided there is enough free RAM, yes. To do so manually, rather than resorting to creating a filmloop, look up "preLoadMember()" in the Lingo dictionary. HTH, -Sean. [To remove yours

MIAW and prepareMovie, openWindow

2002-03-14 Thread Sean Wilson
Would anyone else care to confirm that opening a MIAW from the stage's prepareMovie handler causes the MIAW's prepareMovie handler to fail? And when run as a projector, the openWindow, prepareMovie and beginSprite (for a sprite in frame 1) events display a different order from the authoring enviro

RE: MIAW and prepareMovie, openWindow

2002-03-14 Thread Sean Wilson
> This is a known issue - > & it doesn't exactly 'fail', that message doesn't get sent in a MIAW, > so the handler never gets called. It does get sent/received (in the MIAW) if opened from the startMovie handler, but not if you open the MIAW from a prepareMovie handler in the stage. -Sean. [To

RE: MIAW's as properties

2002-03-17 Thread Sean Wilson
> I have a nagging doubt that a reference to my parent script is > being stored > somewhere, and since it still contains a handle to the MIAW, the file is > not being forgotten. Could that be possible? Absolutely. AFAIK, 'forget'ting a window removes it's reference from the windowList. It doesn't

RE: calculating the point of intersection of two lines

2002-03-17 Thread Sean Wilson
> 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 two lines > intersect? Convert them both into the form

RE: Tracking a Button

2002-03-18 Thread Sean Wilson
> I would like to add a counter to one of the buttons > track how many people using the program. Try using FileIO to write some text into a named file either on the local machine or onto another networked machine. I think you'll find documentation for FileIO at MM's site. HTH -Sean. [To remove

RE: screen grabbing

2002-03-20 Thread Sean Wilson
> I am capturing the stage with the following commands: > > myImage=(the stage).image > member(10).image = myImage > > This works fine, but is there a way to capture part of the stage ... > i.e. a certain rect(a,b,c,d) of the stage? Look in the dictionary for the 'crop()' imaging lingo command

RE: internet connection

2002-03-27 Thread Sean Wilson
The #internetConnected property is known to be flaky. For example, if I unplug my network cable (that gives me access to a shared DSL) it still reports #connected. The ONLY reliable way is to suck it and see. Try downloading a small file from a known good site. If that fails, try a file from a dif

RE: Changing an icon of the projector

2002-04-03 Thread Sean Wilson
> > >I used MicroAngelo to change it is icon, however when I save > > >it it changes an icon, but the projector size reduces to 44 kb and > > >it can't be run. There was an acknowledged problem with version 5.5 of Microangelo. The latest version (5.53) fixes this. There are instructions specific

RE: Slightly OT: PDF and FDF files

2002-04-08 Thread Sean Wilson
> If anyone has experience building PDF files with associated FDF > files, can you please let me know if this claim of absolute file > paths for the FDF file is correct? Or is there a way to specify a > relative path - e.g., relative to the current program. If there is, > please let me know how

RE: XTRA Suggestion

2002-04-11 Thread Sean Wilson
> If you were looking for suggestions on how to format a question to > tease people, then I don't have any suggestions, you're already very > good at it. (I think he was asking more along the lines of what the AutoComplete xtra provides. Still, your guess is as good as mine) http://www.peghole.c

RE: Size of Projector

2002-04-12 Thread Sean Wilson
> Is there any workaround/way of creating a projector less than 1MB so as to > make it easy on the Autorun? Yes. Don't bundle xtras and DLLs into the projector. Beside your file, create a folder called 'Xtras' Into this folder, from your D8.5 installation folder, *copy* the following DLLs: Dira

RE: always on top

2002-04-15 Thread Sean Wilson
> please, there is a way to do a projector that is always on > top, not going > to a second plane when other window is active? Buddy API. Find it at: http://www.mods.com.au The function/call you want is: baSetWindowState( baWinHandle(), "StayOnTop" ) (it's free for 2 functions, so you'

RE: installMenu question

2002-04-16 Thread Sean Wilson
> I am working with a stub projector that loads another dir movie. The stub > contains no installMenu command, but the second movie (the dir file) > does. When I try to load this movie I get an error. The install is in the > prepareMovie Movie Script of the second movie. My ESP xtra(TM) is playin

RE: Change projector icon

2002-04-18 Thread Sean Wilson
> I know that there is a way of changing the projector icon to If you alter the 'projector.skl' then every projector you create will have this new icon. If you want to give each projector it's own individual icon, one of the easiest ways is to use Microangelo. Download a copy from http://www.im

RE: shockwave error

2002-04-18 Thread Sean Wilson
> Somebody know how to get what is the error? Find your Shockwave installation folder (eg. "C\Windows\System\Macromed\Shockwave 8\). Locate the file named 'Shockwave.ini', and un-comment (remove the ";") from the section [Lingo] DisplayFullLingoErrorText=1 This *should* provide more information

RE: How Can I tell?

2002-04-23 Thread Sean Wilson
> if ilk(sprite(spriteNum).member) = #field then I think that ilk(sprite(spriteNum).member) will always evaluate to #member. What Irv was perhaps looking for was sprite(spriteNum).member.type which will return #field when attached to a field sprite. I also think that what was being asked will b

RE: HELP with 3d director

2002-04-28 Thread Sean Wilson
> I'm trying to create a primitive or place a max model in > director. I need the model to be placed in a w3d object I already > have on the stage. Any suggestions or sample code will be greatly > appreciated. Look at loadFile() and/or cloneModelFromCastmember() in the dictionary. -Sean. [To

RE: forecolor field text , "integer expected"

2002-05-05 Thread Sean Wilson
> How can I set the color´s line of a field text member with hexadecimal > representation or RGB values ? Try setting the 'color', as opposed to the 'foreColor'. It should accept rgb triplets and hex values. member(pmember).line[2].color = rgb(0,0,0) HTH, -Sean. [To remove yourself from this l

RE: forecolor field text , "integer expected"

2002-05-06 Thread Sean Wilson
>>> How can I set the color´s line of a field text member with >>> hexadecimal representation or RGB values ? >> Try setting the 'color', as opposed to the 'foreColor'. It >> should accept rgb triplets and hex values. >> member(pmember).line[2].color = rgb(0,0,0) > unfortunately, this syntax ge

RE: building a new object and getting it's properties

2002-05-09 Thread Sean Wilson
> I'm having trouble with a little script, what I need to do is, say I > have ten items in my game and each item has three properties, properties > are name, age and colour. > I am creating each object using the following: > > set objOne = new(script "buildObject","PeterPan",10,"WHITE") > > I have

RE: saving external files

2002-05-12 Thread Sean Wilson
> Im building a Director movie for cd rom and I need to include a function > that enables a user to click on a link to save a file. I need to get > director to locate the file on the cd and then ask the user for a save > location on the users HD. Is there an easy way to do this using lingo? I don

RE: manipulating Shockwave movies

2002-05-13 Thread Sean Wilson
> Wow, how the hell u do that? Do you mean set/getPref, or using the MU xtra? In either case, RTM is a good place to start ;) waitForNetConnection(), connectToNetServer(), and setNetMessageHandler() will be the first terms you'll want to come to grips with when using the xtra. There are some ex

<    1   2