Re: Setting the Text Cursor

2006-01-18 Thread Kurt Griffin
Smells like a bug to me. I made a bare bones movie to test it out - the following button behavior works if sprite(1) contains an editable field, but not if it contains an editable text member: on mouseUp me _movie.keyboardFocusSprite = sprite(1) _movie.selStart = 3 _movie.selEnd = 3 put

RE: Setting the Text Cursor

2006-01-18 Thread David Benman
Dopey me. I am working with text members. Thanks Tom.I keep forgetting the selection thing more times than I care to, uh, er, remember. David, Any ideas what I'm doing wrong? Using 'the selStart' and 'the selEnd' is for editable fields only, if this is editable text then use the member's se

Re: Dynamically duplicating SWF in Director

2006-01-18 Thread Rob Romanek
Hey Alan If you are using DMX 04 check out channel(x).makescriptedSprite(memberRef, loc) channel(x).removeScriptedSprite() hth, Rob On Wed, 18 Jan 2006 16:31:20 -, Alan Skinner <[EMAIL PROTECTED]> wrote: It seems I have to have some sprites on the stage already I then download the

RE: Setting the Text Cursor

2006-01-18 Thread Thomas Higgins
David, > Any ideas what I'm doing wrong? Using 'the selStart' and 'the selEnd' is for editable fields only, if this is editable text then use the member's selection property. Cheers, Tom Higgins | Product Manager | Director & the Shockwave Player Adobe Systems Incorporated http://weblogs.macro

RE: Dynamically duplicating SWF in Director

2006-01-18 Thread Thomas Higgins
> Ive previously used flash and attachMovie to fully dynamically attach > the new sprite to the stage. > > I take it that's not possible in director and I must use > these *PUPPET* sprites? Yup, mostly correct. In Director there is the legacy puppetSprite function, but in MX 2004 we added makeSc

Re: Dynamically duplicating SWF in Director

2006-01-18 Thread Rob Romanek
Hey Alan If you are using DMX 04 check out channel(x).makescriptedSprite(memberRef, loc) channel(x).removeScriptedSprite() hth, Rob On Wed, 18 Jan 2006 16:31:20 -, Alan Skinner <[EMAIL PROTECTED]> wrote: It seems I have to have some sprites on the stage already I then download the

RE: closeRequest

2006-01-18 Thread Thomas Higgins
> > @ Thomas: > > Yes, it seems that the BuddyApi Messagebox causes the problem. > > Thank you too. But what is your different way, you mentioned? > > no idea, if this would change anything regarding closeRequest, but > here a MUI xtra substitute for baMsgBox: > ... Well, my "other way" was to s

RE: Dynamically duplicating SWF in Director

2006-01-18 Thread Alan Skinner
It seems I have to have some sprites on the stage already I then download the swf, create a dynamic member and then I can switch these sprites members to the new dynamic one, bit sucky I think! Ive previously used flash and attachMovie to fully dynamically attach the new sprite to the stage. I

RE: Checking for Installed Apps?

2006-01-18 Thread Tim Welford
I use BuddyAPI's baFindApp() function, You give it a file extension, and it returns a string pathname to the application (Or an empty string if none is found) If you need to find a specific program that does not have an associated file type, or is not the primary program for that file, you could f

Checking for Installed Apps?

2006-01-18 Thread Paul Fretheim
Is it possible to check for installed applications with Lingo? Thanks in advance. Paul Fretheim Inyo Pro [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

Re: Dynamically duplicating SWF in Director

2006-01-18 Thread Valentin Schmidt
hi alan, you can duplicate an existing flash member either with oldFlashMem.duplicate(newMemPosition) or with new(#flash, member(newMemPosition, newMemCastlibNameOrNum) ).media = oldFlashMem.media cheers, valentin Alan Skinner wrote: I think I found it tMember = new(#flash, castLib "Lib

Setting the Text Cursor

2006-01-18 Thread David Benman
I have a complex text input member that I put on the screen, put some new text in it, scroll if necessary, and then allow the user to input text. I now want to put the latest text at the top and then allow the user to type from there. However, my attempts to place the cursor at position n have

RE: Dynamically duplicating SWF in Director

2006-01-18 Thread Alan Skinner
I think I found it tMember = new(#flash, castLib "LibName") -Original Message- From: Alan Skinner Sent: 18 January 2006 14:18 To: Lingo programming discussion list Subject: RE: Dynamically duplicating SWF in Director Bit of background which I should have mentioned. My XML file con

RE: Dynamically duplicating SWF in Director

2006-01-18 Thread Alan Skinner
Bit of background which I should have mentioned. My XML file contains a list of buttons which I want to create on the stage. Each button (where button=flash object!) will call a specific callback and perform some function. Each button is actually some text and 2 inner buttons, the button name an

Dynamically duplicating SWF in Director

2006-01-18 Thread Alan Skinner
Hi everybody. I have a .swf clip that I want to be able to dynamically add to my director scene. I want to add as many as my .xml config specifies. Is this possible? If so how would this be done? Cheers alan -- This email and any files transmitted with it are confidential and intended sol

Re: closeRequest

2006-01-18 Thread Valentin Schmidt
hi michael, By the way: do you know, where I find a list of all keycodes? unfortunately, no. but, of course, you could create such a list yourself (on keyDown..put the keyCode..end) by successively stroking all keys :-) @ Thomas: Yes, it seems that the BuddyApi Messagebox causes the proble

Re: closeRequest

2006-01-18 Thread postneutral. Michael Felstau
Hi Valentin, thank you! The fix works fine. By the way: do you know, where I find a list of all keycodes? @ Thomas: Yes, it seems that the BuddyApi Messagebox causes the problem. Thank you too. But what is your different way, you mentioned? Regards Michael [To remove yourself from this list,