A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [CS3] Run user-entered actionscript from input text box

Threaded View

  1. #1
    Working On An Online RPG grimm 88's Avatar
    Join Date
    Sep 2007
    Location
    Nowhere
    Posts
    280

    [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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center