A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: [F8] Loading Extra [return] Keys

  1. #1
    XRave tongxn's Avatar
    Join Date
    Apr 2005
    Location
    Somewhere near Here
    Posts
    870

    [F8] Loading Extra [return] Keys

    I been toying with a loadVariables system and I encountered a problem:
    if I use loadVariables from an text file the enter keys don't work, so is there any way to make the enters work? or should I key in a hell lots of spaces?

    Thanks!
    Tongxn
    p.s. I didn't bother to search
    When you actually know what "OMG I have so much homework!" means, you won't want to be me.
    Xrave

  2. #2
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    to save us playing the game of a 1000 guesses

    show some code
    show an example of your text file

  3. #3
    XRave tongxn's Avatar
    Join Date
    Apr 2005
    Location
    Somewhere near Here
    Posts
    870
    well OK sorry for the late reply:
    loadVariable(mynews.txt, 0);
    easy i named the var 30003
    and put some return keys into it.

    [markP doesnt like me posting txt files
    When you actually know what "OMG I have so much homework!" means, you won't want to be me.
    Xrave

  4. #4
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    so you have ?? - loadVariable(mynews.txt, 0);
    not correct syntax, should be - loadVariablesNum("mynews.txt", 0);

    and in your text file you have ?? - &easy=30003&

    so what are the return keys ??
    are they in Flash ??
    are they in the text file ??
    what format do they take ??

    fwiw .. ENTER key is reserved in the authoring environment
    you must Disable Keyboard Shortcuts to use it
    or test in the browser or swf file

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