A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [cs3]

  1. #1
    Junior Member
    Join Date
    Apr 2008
    Posts
    9

    [cs3]

    Hi i ned help in displaying dynamic text in a text filed.

    I have a simple button, that when released should appear some text in a dynamic text field :


    Code:
    btn.onRelease = function ()
    {
    	mc.txt = "hi";
    };
    I also have a movie clip called "mc", which has a dynamic text filed called "txt"


    Help...
    Attached Files Attached Files

  2. #2
    Senior Member
    Join Date
    Oct 2004
    Posts
    2,049
    did you give your dynamic text field an instance name? and this code would be for AS2.

    sample: mc.DynamicTxt.text = "hi";

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