PDA

View Full Version : CD-ROM data feeded from a URL (.asp)?


blirette
09-13-2006, 06:16 PM
Hi

I'd like to know if it's possible to feed data on a CD-ROM running a Flash file calling a .ASP that would generate a content in the Flash?

I've done it before on a .swf file on the Web calling a PHP file but I don't know if it's possible from a CD-ROM...

Thanks for your time.

Cota
09-13-2006, 06:42 PM
ASP and PHP require a specific webservice to process. It should be possible to call an ASP file from the web via CD-ROM, that is of course in theory. Best advice, trial and error.

blirette
09-13-2006, 07:36 PM
ASP and PHP require a specific webservice to process. It should be possible to call an ASP file from the web via CD-ROM, that is of course in theory. Best advice, trial and error.

Yeah, my early tests make my think it's possible. I've used your post (http://www.actionscript.org/forums/showthread.php3?t=67379) as a template, which worked out fine.

Is there a way to detect if the user is connected to the Internet? Because now I'm using a counter to stop trying to get the URL if the guy isn't connected. Any better way?

Thanks Cota.

Cota
09-13-2006, 07:55 PM
Loadvars will tell you that. the onLoad will be false if it coulnt contact that file. Which would indicate that there is no internet.