Creating a list of names and putting them into a computer file

I am trying to create a list of names which is generated by a swf file that contains buttons representing letters of the alphabet. The user generates a name by clicking on the letter buttons until the letters of the name have been spelled out and then clicking on a “Submit” button to add each name to the list. The names are generated inside the swf file but I want the list of names to be deposited in a file within a folder of the computer and remain there as a permanent record after the swf file has been closed. I can do the Actionscript 3 programming associated with the letter buttons but I would like to know how to send the names to the computer file.

Here is some simplified code which illustrates the problem I am having. I have four buttons A2_btn thru D2_btn. These buttons can be clicked to put a sequence of letters into the input text window called requestedItem_txt. The button called submit_btn can be clicked to put the sequence of letters (preceded with a comma) into the window called requestedItemList_txt and append the sequence of letters (and comma) to whatever is already in the window. This part is working satisfactorily. I also want to write the contents of the requestedItemList_txt window into a file on my computer as a permanent record each time the submit_btn button is clicked. I get an error message for the flush statement and I don’t get any file written on my computer. This problem completely baffles me so I would appreciate any help you can provide.
A2_btn.addEventListener(MouseEvent.CLICK, btnA2Press);
function btnA2Press(event:MouseEvent):void
    requestedItem_txt.appendText("a");
B2_btn.addEventListener(MouseEvent.CLICK, btnB2Press);
function btnB2Press(event:MouseEvent):void
    requestedItem_txt.appendText("b");   
C2_btn.addEventListener(MouseEvent.CLICK, btnC2Press);
function btnC2Press(event:MouseEvent):void
    requestedItem_txt.appendText("c");
D2_btn.addEventListener(MouseEvent.CLICK, btnD2Press);
function btnD2Press(event:MouseEvent):void
    requestedItem_txt.appendText("d");
var sharedOb:SharedObject = SharedObject.getLocal("savedData");
var flushResult:Object = sharedOb.flush();
submit_btn.addEventListener(MouseEvent.CLICK, submit_btnPress);
function submit_btnPress(event:MouseEvent):void
    requestedItemList_txt.appendText(","+(requestedItem_txt.text));
    requestedItem_txt.text = ("");
    SharedObject.getLocal("savedData");
    trace(SharedObject.getLocal("savedData"));
    flush("requestedItemList_txt.text");
stop();

Similar Messages

  • I got some books from the itunes store and put them into my library.  I created a playlist so that I could burn them to cds.  The title is there but no contents.  It won't even play the playlist.  How do I get the contents of the book?

    I got some books from the itunes store and put them into my library.  I created a playlist so that I could burn them to cds.  It won't even play the book, there are no contents.  How do I get the contents of the book?

    I'm guessing this is a problem unique to me as there have been no replies at all...  Thanks a bunch folks

  • Has anyone got a script to read a list of email addresses from a Mail message and put them into a group in Contacts?

    Has anyone got a script to read a list of email addresses from a Mail message header and put them into a group in Contacts?

    Now Tony, I know you can't hear my tone on a forum post but I was not complaining, simply stating facts . This change brought several people in my office to a grinding halt in a long established workflow that is really rather simple (and I thought was already assumed from the original post above ):
    1) Select a set of records in FileMaker Pro 12 and export only their e-mail addresses as a CSV file.
    2) Open that CSV file in Excel.
    3) Copy the column of e-mail address.
    4) paste into the appropriate recipient field in Mail.
    5) Send
    If I were to complain it would be about Apple's typically opaque approach to updates. There is no granular explanation of why changes were made or even "what" changes were made.
    Complaining is futile since Apple is Apple and is unlikely to change, but sometimes it is cathartic to "shout into the void" .
    I had thought about doing something with a formula in Excel and your suggestion was simple and helpful. Again, however, it is only a workaround for a long established helpful behavior that Apple has inexplicably broken/removed in Mavericks Mail.
    I, and the other posters here, would love to have the capability back rather than have to add previously unneeded steps to our workflows.
    Ultimately we may add scripting steps to the FileMaker side to export the address lists with commas inserted already if Apple ends up having permanently removed this feature.

  • And put them into stand alone albums on my iPhone 4?

    I want to take some pictures off the camera roll and put them into stand alone albums on my phone...how do I do this?

    go to photos.  click on edit.  click on add. it will ask a name.   then go into your camera roll.  at top right click on arrow.  then select the pics you want.  then click done. 

  • How do I get the pictures folders in photoshop 7 out of My window XP computer and put them into my new computer windows 8 photoshop12

    How do I get the pictures folders in photoshop 7 out of My window XP computer and put them into my new computer windows 8 photoshop12

    I am so sorry for you and your situation. Were you using iCloud photostream?
    Otherwise I do not see any chance for your precious photos.
    Congrats anyway on the little darling!

  • I have photos on my iphone 4 that i'm trying to transfer to iphoto.  The problem is when I plug the phone in, it only wants to transfer the new photos, not all.  How can I take all the photos off my phone and put them into iphoto?

    I have photos on my iphone 4 that i'm trying to transfer to iphoto.  The problem is when I plug the phone in, it only wants to transfer the new photos, not all.  How can I take all the photos off my phone and put them into iphoto? Even if there are duplicates, I'd like to make sure I get all the photos from my phone into iphoto.  Thanks

    To see all the photos on the phone, including photos that have already been imported into iPhoto, deselect the "Hide Photos Already Imported" checkbox. If the camera contains photos that have already been imported into iPhoto, those photos are hidden by default.

  • I filmed several takes of the same scene for a movie. I trimmed the best clips from each take and put them into the project screen. However, I can't figure out how to make it flow seamlessly as one scene. Can someone please help me??

    I filmed several takes of the same scene for a movie. I trimmed the best clips from each take and put them into the project screen. However, I can't figure out how to make it flow seamlessly as one scene. Can someone please help me??

    1-800-676-2775  apple support   tech support 1 800 275 2273
    If your computer is on one minute before it freezes, than you have one minute to secure your serial number.
    click the apple----->click about this Mac ------> click on version----> until you see the serial number.  You may have to do this a couple of times if it freezes before you have all the numbers.  A camera might help.
    Good Luck

  • Istalling third party instruments.. i have tried to go to application support and putting them into the sampler but they are still not showing up.. can someone help me

    istalling third party instruments.. i have tried to go to application support and putting them into the sampler but they are still not showing up.. can someone help me

    Hi
    So these are EXS24 Sampler Instruments?
    If yes... the .exs Instrument files need to go in
    Library:Application Support:Logic:Sampler Instruments
    Or
    <User>:Library:Application Support:Logic:Sampler Instruments
    CCT

  • Can I pull songs off my iPod and put them on my computer?

    My husband's iPod classic needs a new battery. The problem is that he didn't back up his songs on the computer, so the only place they exist is on his iPod. As you know, when I send his iPod in for a new battery, his songs will all be gone.
    So I was told recently that there is a way to pull songs off an iPod and put them into iTunes on a computer. Is this really possible? If so, does it involve new software or hardware? Can you give me specifics? Where is this software/hardware available? Our computer is a PC running Windows XP. I want to do this for him for his birthday. Any advice you can give me will be greatly appreciated!
    Thank you!

    For iTunes version 7 or later, then you can transfer purchased iTunes store music from the iPod to an authorized computer by using the "file/transfer purchases from iPod" menu. Note that the maximum of 5 authorized computers applies here.
    Find out how to do that here.
    How to copy iTunes purchases from an iPod to a computer.
    For all other non purchased content (your own CDs etc) try this method which works on some Windows PCs.
    Enable your iPod for disk use.
    See: iPod Disk Use.
    Open iTunes and select edit/preferences/advanced/general. Put a check mark in the box marked "copy files to iTunes music folder when adding to library" and also "keep iTunes music folder organized", then click 'ok'.
    Connect the iPod whilst holding down the shift/ctrl keys to prevent any auto sync, and if you see the dialogue window asking if you want to sync to this itunes library, click 'no'.
    Then go to file/add folder, open 'my computer', select your iPod and click 'ok'.
    The music files should transfer to your iTunes.
    If this doesn't work (and it may not because officially it's not supposed to), check out the instructions/suggestions here.
    Music from iPod to computer (using option 2). This a manual method using "hidden folders" and although it works, it is a little more involved than other methods.
    Much easier ways are to use one of the many 3rd party programs that copy music from the iPod to the computer.
    One of the most recommended is Yamipod. This is a free program that transfers music from iPod back to the computer. However, it does not transfer playcounts/ratings etc.
    Another free program is Pod Player.
    SharePod is also freeware.
    If you want to recover just the structure of playlists from the iPod (and not the actual song files themselves), there's iRepo for Windows. which I understand has this feature along with all the standard features for these programs.
    iPodRip also has the feature enabling you to reconstruct playlists.
    There is also CopyTrans. This does preserve ratings/playcounts etc if those are important to you but this program is not free. It also supports video transfer.

  • Trying to drag pdf files i have and combine them into one pdf file in the account i just purchased with Adobe. when i drag a pdf file over Adobe doesn't accept it. says it can not convert this type of file. but it is an Adobe file. Do I need to change it?

    Trying to drag pdf files i have and combine them into one pdf file in the account i just purchased with Adobe. when i drag a pdf file over Adobe doesn't accept it. says it can not convert this type of file. but it is an Adobe file. Do I need to change it in some other form befor dragging it?

    Hello djensen1x,
    Could you please let me know what version of Acrobat are you using.
    Also, tell me your workflow of combining those PDF files?
    Please share the screenshot of the error message that you get.
    Hope to get your response.
    Regards,
    Anubha

  • How can i take my pictures from my photo album and put them onto my computer without losing anything?

    Ok so my computer crashed and i had to restore my computer to factory settings so i took all my pictures off my computer and put them on my phone well i fixed my computer so now i wanna put the pictures back on my computer is there a way i can do it without having to email each pictures to myself?

    The picture sync is ONE-WAY -  computer to iphone.  Iphone is not a storage device or a backup device.
    It has always been very basic to always maintain a backup copy of your computer.  Use your backup copy to put the pics back.
    When you sync pics from your computer to your iphone they are reduced in resolution.  They will never be of the original resolution, but you can e-mail them to yourself.

  • I'd like to copy my iWeb photos & comments and put them into a Photo Book

    Instead of building a Photo Book from scratch in iPhoto, I'd like to copy several photo pages with comments from iWeb and transfer them into a Photo Book. I tried to copy/paste and this doesn't work - the comments do not get captured. Has anyone done this? Thanks.

    Command-Shift-4 will change your mouse into cross-hairs. Position at the upper left corner and drag to the right and down. When you have things lined up let go of the mouse and a new image file will be placed on your Desktop.
    This image file will probably not be high enough resolution to use in a printed Book, however. They require 300 dpi in most cases.
    To copy text from a Web page hold down the mouse as you drag across it and "Copy". "Paste" into any text editor to save the clippings.
    You can also paste text into most image editing apps like GraphicConverter.

  • Why can't I take email attach. videos and put them into dropbox or somewhere to save them?

    I am using an ipad 4th generation,  version 7.0.2,  IOS 7.1.2.  Memory 16GB,  processor dual coreA6X.
    My problem is: recently my daughter sent emails with video attachments of my granddaughter swimming.
    They came as 3MP and easily opened.  I now would like to get them off my email and I'm unable to do so.  I
    have downloaded both dropbox and power photo to put them in but I haven't been able to.  Both say tap the file
    and a drop down with "open in" will show.  I only get open, copy, open in new tab.  I have tried everything that I
    can think of.  I am not computer literate at all.  Please help me out.  Any and all ideas will be appreciated.
    Thank you all very much, Connie

    LIzdance40,
    thanks you you for a reply so fast. Yes I'm using Safari gmail.  I will see if I can use your idea to fix my problem. Connie

  • Taking clips from itunes movies and putting them into imovie

    I'm doing a school project and making a movie trailer and i need to take clips from a movie on my itunes and put it onto imovie so i can take clips from the movie. HELP PLEASE!!!

    How did the movie get into iTunes? Does it have digital rights copy protection? I guess you're not seeing the movie when you look in music in the iMovie media browser, is that right?

  • Grabbing numbers from an array of type double and outputting them into a text file

    In a program im creating i need to save some coordinates of a micropositioner i have into a text file,
    I have the coordinates saved into an array that has 6 digits of precision (6 places after the decimal point).
    I use the number to string conversion and wire that into the write to text file function in labview.  When i open the file
    the numbers that are only displayed are the ones to the left of the decimal point.  I know the number to decimal string function
    rounds the values so if i were to input 3.111111 it would only output the string "3" instead of "3.111111" . 
    So to get all the digits onto the file without rounding i multiplied the number by 10^6 but the decimal point will be lost at that point.
    Is there anyway i can convert numbers into strings without labview rounding to the nearest whole number also without having to multiply by 10^6 and without having to expect the user to know that the coordinates saved in a file are multiplied by an order of magnitude of a million ? 

    ed oh i guess i just missed that function on the pallete after i saw that the function went from number to hex, octal, etc. i assumed that the rest on that row would be some sort of conversion to a different base number, haha thanks.

Maybe you are looking for