I’m quite new to Flash but have created several useful, but basic things.
My current project involves the display of FlashPaper2 swf’s in response to specific passwords. So, I started with the Adobe FlashPaperDemo and added some bits, namely, a logon screen with one input field and a little code.
A test of the movie showed that I must first click on the input field before the cursor would appear and I could enter a password. Sensing that this was due to the field not having the focus, I added Selection.setFocus(“password”); on the timeline. This allowed me to enter a password without first clicking but there was no blinking cursor(carat).
If I enter an incorrect password, the code executes another setFocus and the cursor appears. When the movie is tested, there is no carat but when I play the swf in FlashPlayer8, there is a carat. When I browse to the HTML page containing the swf, it plays OK but no carat.
I’ve done quite a bit of searching and reading on the web and found lots of discussion on this topic but I can’t say I understand all it, so it’s quite likely that I’m missing something important.