Ask a Question related to Macromedia Flash Data Integration, Design and Development.
-
okpoubelle #1
Pb Webservice Flash8
Hello everyone!
first pls excuse my english...
I'm trying to get data from a webservice placed on an other server, parse the
data and display it in a datagrid.
I'm using the WebServiceConnector component.
I placed a crossdomain.xml on the remote server, allowing my domain
(<allow-access-from domain="*.mydomain.corp" secure="false" />)
Everything works fine within Flash. (Ctrl+Enter)
Data is recovered, parsed and diplayed propoerly.
But when i try somewhere else, it doesn't work at all.
(local swf, local html, nor in http on mydomain)
I placed dynamic txt fields to trace the status of the webserviceconnector,
throught a listener on "status" event.
I have of course an other listener for "result" event, which launches parsing
and display.
Within Flash, i see the "status" changing from
"StatusChange" {callsInProgress:1}
to
"StatusChange" {callsInProgress:0}
and then, the "result" event is triggered.
But when trying online, the "status" stays on
"StatusChange" {callsInProgress:1}
and the "result" event is never triggered.
Looking on the httpheaders of the page, i can see the webservice is called
with success (Method:GET Result:200, Type text.xml;charset=utf-8).
I though it was a security issue, so in my html, i set
<param name="allowScriptAccess" value="always" />
And in my flash, i put:
System.security.allowDomain("*");
System.security.allowInsecureDomain("*");
And still, i can't access the data...
Any idea ?
Thanks thanks thanks
okpoubelle Guest
-
flash8
flashplayer keeps closing me down when playing games even after installing again. any solutions? -
Interesting Flash8.ocx Problem
Hello, I'm working on Multiplayer Board game which is developing on Flash Communication Server. At the developing stages, i'm checking in... -
Flash8.ocx does not work in VS2005 C#
Title: Flash8.ocx does not work in VS2005 C# Product Versions: MS .NET Framework Version 2.0.50727 MSVS2005 Version 8.0.50727.42 Macromedia Flash... -
Flash8 and VB6
hi, I'm trying to use ExternalInterface for calling one function in Visual Basic 6. My flash name is film.swf I saw that VB6 intercepts tha... -
flash8.ocx problem
When installing macromedia flash player 8 i keep getting the error "Error 1904. Module C:\Windows\System32\Macromed\Flash\Flash8.ocx failed to... -
okpoubelle #2
Pb Webservice Flash8
Hello everyone!
first pls excuse my english...
I'm trying to get data from a webservice placed on an other server, parse the
data and display it in a datagrid.
I'm using the WebServiceConnector component.
I placed a crossdomain.xml on the remote server, allowing my domain
(<allow-access-from domain="*.mydomain.corp" secure="false" />)
Everything works fine within Flash. (Ctrl+Enter)
Data is recovered, parsed and diplayed propoerly.
But when i try somewhere else, it doesn't work at all.
(local swf, local html, nor in http on mydomain)
I placed dynamic txt fields to trace the status of the webserviceconnector,
throught a listener on "status" event.
I have of course an other listener for "result" event, which launches parsing
and display.
Within Flash, i see the "status" changing from
"StatusChange" {callsInProgress:1}
to
"StatusChange" {callsInProgress:0}
and then, the "result" event is triggered.
But when trying online, the "status" stays on
"StatusChange" {callsInProgress:1}
and the "result" event is never triggered.
Looking on the httpheaders of the page, i can see the webservice is called
with success (Method:GET Result:200, Type text.xml;charset=utf-8).
I though it was a security issue, so in my html, i set
<param name="allowScriptAccess" value="always" />
And in my flash, i put:
System.security.allowDomain("*");
System.security.allowInsecureDomain("*");
And still, i can't access the data...
Any idea ?
Thanks thanks thanks
okpoubelle Guest
-
okpoubelle #3
Re: Pb Webservice Flash8
Oops double post... Can someone delete one of them ?
Thanks
okpoubelle Guest
-
okpoubelle #4
Re: Pb Webservice Flash8
Maybe a clue:
if, somewhere in the animation I do an
myWebSConnector.trigger();
I see "StatusChange" {callsInProgress:1} changing to "StatusChange"
{callsInProgress:0}.
But nothing appears (the event "result"is not triggered).
okpoubelle Guest
-
JardaBar #5
Re: Pb Webservice Flash8
There are some changes in security layer in Flash Player ... to resolve this
problem, read this articles:
[url]http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.html[/url]
[url]http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html[/url]
Or simply use this cross domain file (crossdomain.xml) ... if you have no time
to read all specifications :-)
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM
"http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
<allow-access-from domain="*" secure="false"/>
<allow-http-request-headers-from domain="*" headers="*" secure="false"/>
</cross-domain-policy>
[url]http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.htmlhttp://ww[/url]
w.adobe.com/devnet/articles/crossdomain_policy_file_spec.html
JardaBar Guest



Reply With Quote

