random text characters. . .
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: random text characters. . .

  1. #1

    Post

    I'm trying to get random text characters to display on my movie (in a fixed position).

    I know that somewhere on the web, an example .fla exists, but I can't find it. It's a long shot, but I don't suppose any has stumbled across such a thing?

    regards

    onedot

  2. #2
    Senior Member
    Join Date
    Mar 2000
    Posts
    597

    Post

    I don't have the fla you're looking for but you can use this to do the same.

    Create a text veriable called "letter" at the position you want the character to appear.

    then use

    Set Variable: "letter" = chr(random(255)+1)

    This will choose a random character and display it in the variable "letter".

    Hope it helps,

    Rich

  3. #3

    Post

    Thanks for your help, Rich.

    I did find the fla I was looking for but it was far too complex for my simple requirements!!

    Your way works exactly as I need it to and I can understand what it's doing!!!

    onedot

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

Poll by Flashkit.com