-
Please look at
http://www.reedassociates.com/kmstuff/parsing.html
http://www.reedassociates.com/kmstuff/parsing.fun
I am doing an AS tutorial, but it is heavily geared with step by steps for Flash 5... I am confused as to how I woudl get the three parsed variables to update once the full variable (whole name) is changed.
Can this be done automatically as soon as the full variable is changed, or does it require a refresh action button?
Can someone provide examples based on my fun file?
Thank you very much!
-
I'm thinking something like this could be achieved with a method not yet implemented called updateafterevent http://www.macromedia.com/support/fl...fterevent.html
Perhaps if you refrence the Flash 5 tut??
-
Thanks to Hilary's prodding, this method is in place as of several versions ago.
-
how would the updateafterevent be used in this case? It looks as if it looks for a movie clip, which I am not using.
-
you would place your form in the MC and then check for a key press, such as the tab key press.
Alternativly you could acomplish this by making 2 copies of your frame and then moving Your AS to Frame 2. On The third Frame you would Add a Goto Frame and Play Action.
This is actually kind of freaky...
See this example...
1. Create 2 Text Boxes. Make sure they are named txt1 and txt2.
2. Make to copies of the frame by pushing the append to end button.
3. Add This Action Script to Key Frame 2:
_root.txt2=_root.txt1
4. Now add a Goto Frame and Play Key Frame 2 action to Frame 3.
5. Preview in a browser or standalone... when you enter something into Text Box 1 it apears in Text Box 2 and auto updates itself- Viola... Auto Update without using a MC.
You can follow this process for your file.