save input box text to new text file list
A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: save input box text to new text file list

  1. #1
    Junior Member
    Join Date
    May 2009
    Location
    Ahmedabad, Gujarat, INDIA
    Posts
    6

    Unhappy save input box text to new text file list

    Hy

    Please help me

    I have an inputbox which take data as ouput_txt and covert into variable tmessage which in turn go to new text file

    the code

    import flash.text.TextField;
    import flash.text.StaticText;
    import flashx.textLayout.elements.TextRange;
    var tFR:FileReference = new FileReference();
    var tMessage = output_txt;

    tFR.save(tMessage,'.txt');

    The problem is the text file reads [object TextField] only

    second problem how can i use it as a list I mean may i make number of entry and each time file is automatically updated in notepad file ?

    I have attached fla file


    please help me out


    please
    Attached Files Attached Files

  2. #2
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    883
    Hi,

    This might help you clear some problems, http://board.flashkit.com/board/show...-in-a-txt-file , last post

  3. #3
    Junior Member
    Join Date
    May 2009
    Location
    Ahmedabad, Gujarat, INDIA
    Posts
    6

    input text problem

    Quote Originally Posted by fruitbeard View Post
    Hi,

    This might help you clear some problems, http://board.flashkit.com/board/show...-in-a-txt-file , last post
    Thanks it works but i want other way means I want multiple entry to save in text file list

  4. #4
    Senior Member
    Join Date
    Apr 2008
    Location
    Rotorua / New Zealand
    Posts
    111
    Hi there,

    It sounds all very basic! unfortunately it is in FLASH which I'm not that familiar with but then FLEX & AS3 is all the same in a way with some small changes.
    So my own advise would be to use READ, WRITE, APPEND auto-update etc. as Xml it would be easy to do and it is very effective & you can write it as a .txt .html .xml etc. file. But then there is still the question if this all is needed for the web or desktop or else? regards aktell

  5. #5
    Junior Member
    Join Date
    May 2009
    Location
    Ahmedabad, Gujarat, INDIA
    Posts
    6
    THANKS for advice I am just learning .....

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