At 5:04 PM -0700 7/21/03, you wrote:
Hello list,

My problem is now solved.  Thanks to all who responded I really learned a
lot about keyboard interaction and different techniques and approaches.

My solution was very simple and something I did not try during my hours of
frustration.  I simply changed the event from 'on keyDown' to 'on keyUp' and
this seemed to solve all the problems I was having with the culprit swf
file.

I did implement Buzz's suggestion of having an editable text member off
stage and it worked to some degree. I had to continually update 'the
keyboardFocuseSprite' in a prepareframe event, because the
keyboardFocuseSprite statement only applies to a text sprite currently on
'the screen', 'the screen' being the keyword. If it is off the screen 'the
keyboardFocusSprite' was being reset back to -1.I'm not sure what you mean here -

I was referring to the sprite's position being outside of the defined 'stage' rect.


I find now that the stage can be zoomed & panned, it's much easier to stick something out in the 'pasteboard' area so that it can do stuff, but not be seen.


I still don't know why my particular swf file killed Director's keyboard events, but it would be nice to have a more comprehensive reference from Macromedia on the Director/Flash combination.

perhaps that flash file had a flash button within it? or perhaps within one of it's movie clips ...

  I'd like to see more on the
'order of precedence' when it comes to using Flash in Director and their
events.

Sometimes information like this (order of precedence) only get defined by trying things & finding out what happens - sometimes Director itself can provide the best documentation of what it does.


glad to have helped
-Buzz



I'm still learning and appreciate this list and all it does for everyone.


Tia,
Todd


[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 and helping with programming Lingo. Thanks!]

[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 and helping with programming Lingo. Thanks!]

Reply via email to