PDA

View Full Version : Reading Dynamic Data


MorganJohn
07-17-2002, 12:59 PM
Hi

I have a flash app and am having problems loading in dynamic data.

Its a simply dynamic text box, reading a cold fusion file.

The thing is it reads the file is I load the flash file (its html file) by clicking it in explorer
i.e. the address bar says F:\websites\flash\jm\version4.html

but if I load the same file through http://servername/flash/jm/app/version.html it wont read the file.

It also reads the file fine testing movie in flash itself.

Im just wondering if anyone knows the reason for this is?

The actions script is simply

stop ();
text="Loading Data...";
_root.loadVariables("http://www.figleaf.com/development/advf5/readwrite.cfm?action=read");

MorganJohn
07-17-2002, 01:21 PM
Hi Again

Its ok, I just found out its a security issue by macromedia

tg
07-17-2002, 02:09 PM
if your using coldfusion, you might try reading the page in with <cfhttp>.

MorganJohn
07-18-2002, 09:53 AM
Hi,

Im using asp now and have it working fine. I have the flash app reading in dynamic data from a sql server via asp.