Hello,
Yes, but this method looks a little bit different than onSetFocus. If you apply the method of onRollOver to your field's instance name, it won't change the text. I had to cheat and position a button around it, but there's got to be a better way with scripting. I made an FLA to...
Hello Everyone,
I was at the website www.philipkoether.com and noticed something unusual. If you scroll to the bottom and rollover the text field, the text disappears! I didn't think that Flash allowed for methods of onRollOver to be used on a text field instance? Of course you can simulate the...
Thank you for taking the time to help me with this issue, your actionscripting helped me so much. If anyone needs the code with some conditional statements, it is below. I also added an extra line to the cutString function at the end. Thanks a million wangbar, you're brilliant. :)
cutString =...
Thank you very much for your help, I really appreciate it! I played around with the script a bit and was able to use the function with the onSetFocus. However I was unable to use the script with the onKillFocus function such as on that website. Such as clicking out of the bounds of the text...
Greetings,
I went to this website the other day and was perplexed by the effect in the text field. If you go to http://www.webagent007.com/2003.htm and scroll to the bottom where is says "enter your email address" that is an amazing effect! I've used the onSetFocus and onKillFocus...
Greetings,
I've made an FLA demonstrating the key down function. When the user presses the "Enter" button, an action will be invoked on different frames. To download the FLA go to:
http://www.thedarkcontent.com/tutorial.fla
Sincerely,
Jamie Michels www.thedarkcontent.com
Greetings,
You can take it a step further with the Flash MX onKillFocus function. This function will cause the text field to return to its original state when the user clicks anywhere out of the bounds of the text field. The script below demonstrates:
field1.onSetFocus = function() {
if...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.