Flash CS3 - Flash CS4

Free tutorials and scripts for all.
Actionscript 3.0

Flash & .net Webservice error and doubt..

This is a discussion on Flash & .net Webservice error and doubt.. within the Off Topics forums, part of the English Forums category; Hi Developers, i designed a photo gallery, i used .net webservice to get path for the picture, (picture is in ...


Go Back   Forum Flash CS3 Flash CS4 > English Forums > Off Topics

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 24-07-08, 13:14
vasudevan
 
Join Date: Jul 2008
Posts: 2
Rep Power: 0
mvasu239 is on a distinguished road
Unhappy Flash & .net Webservice error and doubt..

Hi Developers,

i designed a photo gallery,
i used .net webservice to get path for the picture, (picture is in server).

i'm getting the result from the webservice and the gallery is working as what we need,but when uploaded it into site it is not working,

i've checked the domain security, cross domain policy and everything, but its not working even it get the results from the webservice,

Note: the webservice is working properly..

My level in scripting is Beginner...
Suggest me any other method to call and get the results effectively,



i've give my actionscript code here,
--------------------------------------------------------
import mx.services.*;
import mx.utils.Delegate;

System.security.allowDomain("http://new.easyatst.com","http://easyatst.com","http://www.easyatst.com","http://ramadmin.easyatst.com");
System.security.loadPolicyFile("ramadmin.easyatst. com/crossdomain.xml");
status_ui.text = "Connecting to easyatst.com";
var lLog:Log = new Log(Log.VERBOSE, "myLog");
var lWebService:WebService = new WebService("mywebservice.asmx?wsdl", lLog);

lWebService.onFault = function()
{
trace("WHOOPS!");
};
lWebService.onLoad = Delegate.create(this, _performExampleCall);

function _performExampleCall()
{

status_ui.text = status_ui.text+"\n Connected Successfully..";
var lPendingCall:PendingCall = lWebService.GetAllText();
lPendingCall.doDecoding = false;

lPendingCall.onResult = Delegate.create(this, _parseResult);
}

function _parseResult(pResults:Object)
{
trace(pResults);
}

-------------------------------------------------------

i belive i get the solution here,
Thanks.

Last edited by Onsitus; 24-07-08 at 13:23..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #2 (permalink)  
Old 29-07-08, 09:11
vasudevan
 
Join Date: Jul 2008
Posts: 2
Rep Power: 0
mvasu239 is on a distinguished road
Re: Flash & .net Webservice error and doubt..

i got results as it is...
i made a mistake in crossdomain.xml file..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
problema con webservice e flex 3 valva FLEX builder 3 1 16-10-08 15:39
Actionscript 3 Unload error rhx2060 advanced Actionscript 3.0 0 23-08-08 14:53
Actionscript 3 PLEASE i need your help error #1009 Flepbell Actionscript 3.0 newbies 2 14-07-08 16:33
Actionscript 3 Error#1010 ??????? illogicomio Actionscript 3.0 base 0 26-06-08 15:10
Preloading Error! freesoul Actionscript 3.0 newbies 2 04-12-07 06:10


All times are GMT. The time now is 04:57.


Powered by vBulletin versione 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC4
Forum SiteMap


FlepStudio
by Filippo Lughi
P.IVA 03605860406