PDA

View Full Version : use 'select all', 'cut', 'paste' shortcuts in flash form


honers
12-08-2004, 05:04 PM
I am trying to figure out how I can allow the user to use the 'select all' , 'copy', 'paste', etc...keyboard short cuts in an input text field on a flash form embedded in a html page. Check it out:

http://jointhecampaign.com/pages/?pg=connect&adm=add

Select on a text field, enter some text and then use your computer's standard 'select all' keyboard short cut to try to select all the text (mac: apple-a, pc: ctrl-a). As you can see the entire html page selects instead of just the text in that field. The 'select all', 'cut', 'paste' short cuts workswhen running the swf outside of an html page, but not while embedded. Any suggestions?

BTW, please don't select 'finish' to enter your record in the DB or I am going to have to spend a lot of time deleting all the test entries. Thanks.

-Kevin

CyanBlue
12-08-2004, 06:54 PM
I just tested and it works fine as it should be... I don't get to see the whole HTML page selected when I pressed Ctrl-A...
WXP Pro/FP 7.0.19.0

honers
12-09-2004, 04:02 PM
ah...you are correct...it is only on the Mac that there is this problem. I had incorrectly assumed it was a cross platform issue and had not tested it on my PC...sorry! It seems to work fine on the PC in Firefox and IE. On the Mac it is usable in IE although the entire screen highlights along with whatever is in the text field. In Safari for the Mac it seems that all the shortcuts are disabled in Flash forms.

Any one else had any experience with this on the Mac browsers?