3d sprite interfering with the lovely fields again... 2004-03-03 - By Brian Robbins
Back I've done this sort of thing before. Here's the code that I currently have attached to my text sprite:
on startChat me the keyboardFocusSprite = me.SpriteNum --Set the text to itself to avoid making the entire text highlighted pMyMem.text = pMyMem.text end
When I want to start editing I do a sendSprite(pChatSprite, #startChat)
The only possible differences that I can think of is that my sprite is always on the stage, and it is a text member not a field text. . .
Brian Robbins Senior Creative Technologist, Fuel Industries <http://www.FuelIndustries.com>
> -- --Original Message-- -- > From: dir3d-l-bounces@(protected) > [mailto:dir3d-l-bounces@(protected)] On Behalf Of > Barry Swan > Sent: Wednesday, March 03, 2004 10:21 AM > To: dir3d-l@(protected) > Subject: [Dir3d-l] 3d sprite interfering with the lovely > fields again... > > > This time, I want to have a field made visible that you can > edit. The pain part is I want the newly visible field to have > the focus on it. And yes... keyboardFocusSprite doesn't work > - you have to click on the field to begin typing. Anyway > found the (most likely obvious) solution to this? > > Barry > gerbil@(protected)
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|