1 Reply Latest reply on Mar 7, 2014 8:17 AM by kglad

    Display text from file on click.AS2

    KarinaSkarina

      Hello again!

       

      Once again I have a question for You! So I made a button and an output text window to show a text from file and it works, when I play my swf file, but I need the text  to show only after the click of the button, not right away when the swf file is opened.

       

      So .I press on the button, then press F9 for actionscript panel and write the following code, but its not working :

       

       

       

      button.onRelease = function(){

      myText_txt.text.show";

      }

       

      myText_txt is the instance name for the text output field and its a dynamic text.

       

      I am only a begginer in Flash and im sorry, if my code is incorrect...

      Could You please tell me what am I doing wrong?