AS Concatenate input box
Hi all, I currently have this code working on a site so that a user can input their username, it gets added to http://dida.wildern.org/ and then the user is redirected to that particular webpage.
Please could you advise on how to EITHER, allow this code to work in a Flash Movie (that will be published to the web) OR a suitable alternative written in actionscript.
here's how you would do it in Actionscript.
1. make a text input/text field and a button on the stage.
2. put a listener/handler on the button that will redirect you
Please could I have just slightly more guidance on where to add this code?
Sorry to be a pain!! :)
no probs, we all have to start somewhere :)
To code in Actionscript you just have to open up the template, go to the first frame, and open up the actions panel (F9). You can place all your code there. This is what is referred to as 'coding on the main timeline'. Not sure what your template looks like but some templates are subclassed. If this is the case, just add the code to the document class (probably called 'Main' or something like that)
Most likely it's just on the main timeline.
Hope that helps!
|All times are GMT +1. The time now is 02:45 PM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.