I have been testing an application in Nokia E61 and N95, and I have noticed some strange situation. I'll explain the files that are involved in this example:
data.xml (a data file, with this content)
result=hi, if you can read this, the application runs ok.
test.swf (the swf which loads data.xml, a 1 frame timeline. FL 1.1 file)
index.wml (a WML file with a link to the swf)
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
<card title="Test Page">
<a href="test.swf">Open Test SWF</a><br/>
The results of my test are these:
If I open the swf from the WML page, the swf can not read the data.xml
If I open the swf directly in the browser it can read de data.xml
The swf can not read the file never.
With these results, I'm a bit confused.
If I open a swf from a browser via link, can the swf read data from relative paths?
If I open a swf directly in the browser, can the swf read data from relative paths? What's the differece between E61 and N95 to show different results in the same situation (maybe the Flash Lite version?).
I'll be really surprised if swf opened via browser from a remote server in Internet, can not access data from this (its) server!
Thanks in advance for your comments to this questions