A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: small question

  1. #1
    Senior Member cyber reaper's Avatar
    Join Date
    Apr 2004
    Location
    israel
    Posts
    272

    small question

    is it possible to make an Edit Box with a variable ,just that instead of a number value it will have a word ,and to change the word if i give a command ?

    ex :

    Edit Box
    -----------

    intialize with text :

    Normal



    Variable : 1slugStatus
    ok....what ?

  2. #2
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    Not sure I understand the question but if you mean can you assing a variable to the editbox the answer is yes. It's there just under where you enter the default text. just put your variable name there. and when you change the variable the editbox will change.

  3. #3
    Senior Member cyber reaper's Avatar
    Join Date
    Apr 2004
    Location
    israel
    Posts
    272
    well...i ment something like that but i want the variable to be a word and not a number
    ok....what ?

  4. #4
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    same difference.

    Just use a string variable.

    for example assing the editbox to the varibale name then in script just set it

    name="bret" and the editbox will change to bret

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