A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: [CS3] Need to access Flash output

  1. #1
    Junior Member
    Join Date
    Dec 2004
    Posts
    13

    [CS3] Need to access Flash output

    Hi,

    I hope I explain this properly and If I've posted this in the wrong forum, forgive my naivete.

    I want Flash to computer two pieces of information based on selections made with user input. I want those two pieces of information, part # and a price to be sent to an external "something". It could be a text file, a database etc. I just need those pieces of information so I can do something further with them outside of Flash such as sending them to a shopping cart. The "choices" can be hard coded in to the .fla file or can be drawn from an external database if that has any relevance to my question.

    Thanks,

    Steve

  2. #2
    Senior Member
    Join Date
    Aug 2007
    Posts
    291
    Are you looking for someone to build this for you? Or are you looking for someone to tell you how to do it, because it would be pretty complicated if you're not very familiar with Flash.

  3. #3
    Senior Member guardiankitty's Avatar
    Join Date
    Dec 2006
    Location
    Here
    Posts
    215
    What I usually do is send the data that needs to be saved to a webserver, and use PHP to save the data to a txt file.


    Here are some links that may be of help:
    http://www.php.net/
    http://us.php.net/manual/en/function.fopen.php
    http://us.php.net/manual/en/function.fwrite.php
    http://us.php.net/manual/en/function.fclose.php




    Also, if there is anyway of doing this on the local computer, I would really like to know too, I know fscommand (http://www.adobe.com/support/flash/a...ionary372.html) can run executables from the computer, which can create files... my only issue with that, is passing the information from flash to the exe.

    Hope that helps... good luck

  4. #4
    Junior Member
    Join Date
    Dec 2004
    Posts
    13
    Quote Originally Posted by Taidaishar
    Are you looking for someone to build this for you? Or are you looking for someone to tell you how to do it, because it would be pretty complicated if you're not very familiar with Flash.
    That's an excellent question. I know that I can have it done by other methods but this is sort of a long-term project for me. That said, I would be interested in discussing a framework offering the basic functionality I require where I can add the UI, pictures etc. as well as making use of database (array?) input so that after I set up the first "wizard" I can repeat the process using similar products that require a separation for whatever reason.

  5. #5
    Junior Member
    Join Date
    Dec 2004
    Posts
    13
    Quote Originally Posted by guardiankitty
    What I usually do is send the data that needs to be saved to a webserver, and use PHP to save the data to a txt file.


    Here are some links that may be of help:
    http://www.php.net/
    http://us.php.net/manual/en/function.fopen.php
    http://us.php.net/manual/en/function.fwrite.php
    http://us.php.net/manual/en/function.fclose.php




    Also, if there is anyway of doing this on the local computer, I would really like to know too, I know fscommand (http://www.adobe.com/support/flash/a...ionary372.html) can run executables from the computer, which can create files... my only issue with that, is passing the information from flash to the exe.

    Hope that helps... good luck
    Interesting approach as it heads in a direction I wouldn't have anticipated. Thanks for the links. It gives me a place to start.

    Regards,

    Steve

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