A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Capture Output?

  1. #1
    Senior Member
    Join Date
    Nov 2003
    Posts
    385

    Capture Output?

    I am not sure even what to call this but if I have set a text field value and other various values with functions in AS3 to where I can trace the values in the output panel... How do I then capture that data to be sent to fields in a shopping cart? Make sense?

  2. #2
    Will moderate for beer
    Join Date
    Apr 2007
    Location
    Austin, TX
    Posts
    6,801
    No.

    You've got the data in some text fields. You could use the text property of those textfields wherever you're doing your shopping cart stuff. But I would hope that you actually have some variables with that data and the text fields only reflect those variables rather than being the data storage themselves.

  3. #3
    Senior Member
    Join Date
    Nov 2003
    Posts
    385

    Thanks!

    I don't quite understand... I havn't built it yet. I'm just trying to understand how you send information out of Flash. Maybe it's like using FlashVars?

  4. #4
    Will moderate for beer
    Join Date
    Apr 2007
    Location
    Austin, TX
    Posts
    6,801
    Oh, I thought the question was about accessing data you've got in text fields somewhere.

    Are you using some 3rd party shopping cart package? Does it have an AS3 api? If so, use that. Otherwise, you may need to use a URLLoader and URLVariables to post values to an HTTP resource on your server. But really, there are a lot of different ways that flash can communicate with a server, so you need to narrow it down before we can give you meaningful advice.

  5. #5
    Senior Member
    Join Date
    Nov 2003
    Posts
    385
    I see... that is very helpful. I don't even have the project yet so I have time to look into AS3 API and such and then hopefully I'll know better what I am asking. Thanks!

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