|
-
Working On An Online RPG
[CS3] Run user-entered actionscript from input text box
i am using actionscript 2, so any code examples need to be in that... unless it is only something which can be achieved in AS 3, in which case it would be impossible to incorporate into my current project, and i also have almost no knowledge of AS 3, but it would still be useful to know
Hi... i have been trying to research this but so far i haven't been able to find anything on the subject
basically... i want to have an input text box, for example with a variable name of 'enterscript' and when the user clicks a button i want whatever actionscript has been entered into the 'enterscript' text box to be run as if it were the on (release) action of the button
this would then mean that the user can write actionscript and see what it does to the movie as they do it, which would be extremely useful for me, and it would also mean that you can dynamically change what the button does... any suggestions???
Last edited by grimm 88; 07-24-2008 at 05:31 AM.
-
Developing For Dunkets
I don't think you can. If anyone knows I'd love to be proven wrong!
-
Working On An Online RPG
well... in that interactive buddy came you can write your own script and it runs... but that is some other programming language made up specifically for the game i think... but it shows that this kind of thing could be possible... and if not with actionscript then instead with some other language
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|