PDA

View Full Version : Getting values from ASP into Flash


mancroft
07-09-2003, 11:18 AM
Hello

I am trying to retrieve data from an asp file called auctinfo.asp and display it in a flash file embedded in an Ebay page.

The user on ebay types in a reference number which takes them to a page where the swf file is automatically embedded thus:

<EMBED SRC="http://www.blah.com/auctlayout/1.swf?itemnumber=57765456&auctid=8670" (etc...)

what i need to do is connect from the flash 1.swf to the asp file (already written and working) and drag in various variables such as listprice and display them on the ebay site.

The problem is that because the ?itemnumber= and &auctid= will be different for each product displayed i can't figure out how to send details from the flash to the asp file for any particular ?itemnumber= and &auctid= combination and then return and display details such as itemprice, manufacturer name etc.

Any help on this will be MOST welcome!

Thanx.

photoman
07-09-2003, 04:17 PM
use a flash remoting server with actionscript

Morgoth
07-10-2003, 07:10 PM
I don't think you can get flash to give the ASP page any variables unless you Redirect the loaded ASP page to a new page (or same one) with new variables added either by 'post' or 'get'.

Do you see what I mean?

Edit:
Just a reminder, a flash swf will load after the ASP on a page has been executed.