Tally List : mailing list management, archiving, and analysis
click for archive home
 
Archive of:
Flash
Macromedia Flash List
 
home
24 hour view
quick stats
weekly updates
 
all tallylists
corporate solutions
archive your favorite
help / feedback


Search the Tallylist search by keyword:

About Flash :
product's home
product's list home
 
  Archived TallyList / Flash: 
Subject: Re: Selection Object
Muzak (157p/+0r)     Posted: Wednesday 09 May 2001
This post: 33 views, +0 rating

That's because as soon as you hit the button, there is no focus on any Input Textfield :-) but the focus is on the button instead.

Try that action in an onClipEvent(enterframe) attached to a movieclip.

onClipEvent(enterframe){ str=selection.getfocus(); }

to see the selected textfields name, place a dynamic textfield in the MC the action is attached to, and name it 'str'.

here's something I did a while back: http://www.flashingdutchman.com/libraries/actionscripts/selection.html http://www.flashingdutchman.com/libraries/actionscripts/selection.zip

Muzak

----- Original Message ----- From: "System Administrator" <cjaeger@visualfood.ch> To: "flasher from chinwag" <flasher@lists.chinwag.com> Sent: Wednesday, May 09, 2001 1:48 PM Subject: [flasher] Selection Object

> Hi, > > Anyone in luck with Selection.getFocus(); ? > This should just return a string with my textfiled/variable path right? > All I'm getting is null even if I have text selected in the respectable > field. > Just for fun here's the code: > > on (press) { > str = Selection.getFocus(); > } > > I'm on a Mac and getting paranoid. > > Cheers for any help > > Cornelius > www.visualfood.ch

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The Chinwag site carries a wealth of Flash resources. Find useful links, suggested reading and archives at:

** http://www.chinwag.com/flasher ** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ You are subscribed to flasher as: flash@tallylist.com To unsubscribe, email leave-flasher-479872H@lists.chinwag.com


Similar Subject Line Posts (+/- two weeks of this post)
Re: Selection Object  09 May 2001 (this post)   (33 v/ +0 r)
Selection Object  09 May 2001   (14 v/ +0 r)
 

Send a reply to the Flash list!
click to send a reply! NOTE: Many lists will reject your post unless you have already registered with them. Also - don't forget the right account to send from (for those with multiple emails!)

Feedback: If this post was exceptionally helpful, please help by giving this post a positive review.

 

TallyList : copyright Ububik - 2000