SV: [Flashcoders] Input field bug in firefox when embedding swfwithWMODE as transparent og opaque
Hi John, Thanks for your reply. I have looked at mozilla.org but didn't find much. It's really not that fancy - just Windows XP and Firefox (v 2.0.0.4) and since Firefox represents more than 33% of the users these days its a browser i'm afraid we can't just ignore. (http://www.w3schools.com/browsers/browsers_stats.asp ) Unfortunately it was an issue I didn't see coming upfront and since we agreed with our client to suppport Firefox we need to find a way around this. Thanks again. Cheers Martin -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af John Dowdell Sendt: 18. juni 2007 15:33 Til: flashcoders@chattyfig.figleaf.com; Flashcoders mailing list Emne: RE: [Flashcoders] Input field bug in firefox when embedding swfwithWMODE as transparent og opaque Re: Some version of Firefox apparently stops ALT-key characters entered in SWF textfields when WMODE is used. That might be true. First step would be the Firefox documentation -- check OS & browser version against known issues, and either ask your audience to upgrade or just stopping trying to be so fancy in the frail and varied browsers. It's also possible that this particular content triggers an odd failure in a particular browser brand/OS/version combo -- making a very simple HTML file, as well as a barebones SWF, and testing it on different machines with different keyboards would be the fastest way to detect this. jd ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Input field bug in firefox when embedding swf with WMODE as transparent og opaque
Hi, I just finished creating af website where various swf files is embedded transparently. This is done in order to be able to place javscript popup wondows on top of the flash. Unfortunately I discovered that this causes a weird bug in firefox. Apparently no special characters (produces by the Alt Gr key) works in the input fields when running the flash in firefox which makes it hard for the user to type in their email adress for instance. When I set the WMODE to normal everything worls fine again, but then my javascript popups don't work properly. Anyone knows how to fix this and still use the transparent option? Cheers Martin hennelund ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] ComboBox issue with attached movieclip
Hi, I attach a movieclip from library which includes a instance of ComboBox. After attachment I wait 3 frames then I populate the Combo in a for loop by calling the addItem() method. Problem is that I can't activate/open the combobox onClick. I can see that the title of the ComboBox is proper filled out and checking on the length of it says it contains the elements that it should, but it just won't open What is wrong? Simple Code ex: // cbAlder.addItem("< 18", "< 18"); for (i=18 ; i<=50 ; i++) { cbAlder.addItem(i, i); } //. Thanks a lot in advance Martin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] How to generate a swf and convert it to a downloadable screensaver serverside?
Hi all, Hope someone has a solution to this issue. I client of mine wants a 'create screensaver' feature on their flash website. Based on some default flash template the user should be able to customize it and finally download it as a personal screensaver. In the old days I would use Generator to create and export the customized swf - but it has been deprecated for since flash 6!? After that step I would then need to convert the generated swf to a screensaver/exe file on the server which finally can be downloaded by the user. The question is if that is possible at all and if so which setup/software would I need. BTW I'm on a .Net platform if that matters. Thanks a lot Martin Hennelund ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
SV: [Flashcoders] Movieclip To BitmapData won't work with .flv
Ok thanks a lot I guess I saw this one coming :( /Martin -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af John Grden Sendt: 26. september 2006 06:44 Til: Flashcoders mailing list Emne: Re: [Flashcoders] Movieclip To BitmapData won't work with .flv it won't work at all with an flv streaming over RTMP - you can't use bitmapData with it at all. Yeah I know, it sucks. On 9/26/06, John VanHorn <[EMAIL PROTECTED]> wrote: > > first thing that comes to mind is a cross domain issue. are you loading > the > flv from another domain? if so, bitmapdata.draw will not work. > > On 9/25/06, Martin Baltzer Hennelund <[EMAIL PROTECTED]> wrote: > > > > Hi all, > > > > I'm using the BitmapData Object to take a "snapshot" of the pages in my > > flash app and it works fine on movieclips without a flv video player > inside. > > But on of the pages has an movieclip inside it which is playing > > (streaming) a flv file and when I try to take a snapshot of this page > > movieclip the bitmap objects returns empty (It is created but is blank). > > When I remove the movieplayer mc the bitmapdata is created correctly! > > > > What am I doing wrong or is this flash bug? > > > > Cheers Martin > > > > Heres my code > > > > //-- > > public function toBitmapData(mContent:MovieClip):BitmapData{ > > > > var width:Number = Math.min( Math.ceil(mContent._width), 2880); > > var height:Number = Math.min(Math.ceil(mContent._height), 2880); > > > > var oBmp:BitmapData = new BitmapData(width,height, true, 0x55ff); > > > > oBmp.draw( mContent ); > > > > //debugging > > var m:MovieClip = _level0.createEmptyMovieClip("mcTest", 9); > > m.attachBitmap(oBmp, 1); > > > > return oBmp; > > } > > //-- > > > > -Oprindelig meddelelse- > > Fra: [EMAIL PROTECTED] [mailto: > > [EMAIL PROTECTED] På vegne af Josh Santangelo > > Sendt: 25. september 2006 11:09 > > Til: Flashcoders mailing list > > Emne: Re: [Flashcoders] Mute Flash Application, mac. > > > > There is a bug which you could potentially exploit for this. > > > > http://www.adobe.com/cfusion/webforums/forum/messageview.cfm? > > catid=184&threadid=1000550&enterthread=y > > > > Note the last post. If MIDI is not set to 44.1, Flash can't output > > any audio. > > > > -josh > > > > On Sep 22, 2006, at 10:27a, aaron smith wrote: > > > > > Does anyone know of an application that can mute flash or browsers > > > for a > > > mac? > > > > > > or maybe a way to do it through the terminal? > > > > > > thanks. > > > ___ > > > Flashcoders@chattyfig.figleaf.com > > > To change your subscription options or search the archive: > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > Brought to you by Fig Leaf Software > > > Premier Authorized Adobe Consulting and Training > > > http://www.figleaf.com > > > http://training.figleaf.com > > > > > > > ___ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > ___ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > > > > -- > John Van Horn > [EMAIL PROTECTED] > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- [ JPG ] ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Movieclip To BitmapData won't work with .flv
Hi all, I'm using the BitmapData Object to take a "snapshot" of the pages in my flash app and it works fine on movieclips without a flv video player inside. But on of the pages has an movieclip inside it which is playing (streaming) a flv file and when I try to take a snapshot of this page movieclip the bitmap objects returns empty (It is created but is blank). When I remove the movieplayer mc the bitmapdata is created correctly! What am I doing wrong or is this flash bug? Cheers Martin Heres my code //-- public function toBitmapData(mContent:MovieClip):BitmapData{ var width:Number = Math.min( Math.ceil(mContent._width), 2880); var height:Number = Math.min(Math.ceil(mContent._height), 2880); var oBmp:BitmapData = new BitmapData(width,height, true, 0x55ff); oBmp.draw( mContent ); //debugging var m:MovieClip = _level0.createEmptyMovieClip("mcTest", 9); m.attachBitmap(oBmp, 1); return oBmp; } //-- -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Josh Santangelo Sendt: 25. september 2006 11:09 Til: Flashcoders mailing list Emne: Re: [Flashcoders] Mute Flash Application, mac. There is a bug which you could potentially exploit for this. http://www.adobe.com/cfusion/webforums/forum/messageview.cfm? catid=184&threadid=1000550&enterthread=y Note the last post. If MIDI is not set to 44.1, Flash can't output any audio. -josh On Sep 22, 2006, at 10:27a, aaron smith wrote: > Does anyone know of an application that can mute flash or browsers > for a > mac? > > or maybe a way to do it through the terminal? > > thanks. > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
SV: [Flashcoders] Problem with parsing Webservice result correctly!
Hmm...got another project where flash interprets ArrayOfString perfectly, which makes me believe that the problem is on the server side...just don't now where to look... Anyway if I should follow your advice I assume that it will cause some problems server side since the developer would need to return a XMLNode instead of an Array right? Well I will try it out... Thanks a lot /Martin -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Stefan Thurnherr Sendt: 4. september 2006 13:00 Til: Flashcoders mailing list Emne: Re: [Flashcoders] Problem with parsing Webservice result correctly! Might be that you need to explicitely indicate that ArrayOfString is an array (in XML terms: a sequence), i.e.: [...] feild1 feild2 [...] In our experience Flash can only successfully populate an Array if that "sequence" indication is there. HTH, stefan. On 9/4/06, Martin Baltzer Hennelund <[EMAIL PROTECTED]> wrote: > Hi > > Thanks for your effort but I don't think that this could help all though its > really interesting :-) > > Cheers > Martin > > > -Oprindelig meddelelse- > Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Merrill, Jason > Sendt: 1. september 2006 13:50 > Til: Flashcoders mailing list > Emne: RE: [Flashcoders] Problem with parsing Webservice result correctly! > > Also, if this helps: > > http://www.sephiroth.it/tutorials/flashPHP/webServiceConnector/ > > Here is the WSDL is uses: > > http://www.xmethods.net/sd/2001/BabelFishService.wsdl > > > Jason Merrill > Bank of America > Learning & Organization Effectiveness - Technology Solutions > > > > > > > >>-Original Message- > >>From: [EMAIL PROTECTED] [mailto:flashcoders- > >>[EMAIL PROTECTED] On Behalf Of Merrill, Jason > >>Sent: Friday, September 01, 2006 7:38 AM > >>To: Flashcoders mailing list > >>Subject: RE: [Flashcoders] Problem with parsing Webservice result > correctly! > >> > >>Be sure you wait for the result from the webservice and then try to > >>access the data. I had the same problem in a recent thread (C# .NET > >>and Webservices) and realized I needed to be sure I not only waited > for > >>the method to load, but also waited for the webservice method to > finish. > >>Was a duh moment for me. Then I could use the result as an object in > >>Flash, even a very complex one: > >> > >>var thisEffect:String = Obj.Content.Topics[i].Images[n].Effect; > >> > >>So it definitely is supported and works, you may just not have waited > >>long enough for the result? > >> > >>Jason Merrill > >>Bank of America > >>Learning & Organization Effectiveness - Technology Solutions > >> > >> > >> > >> > >> > >> > >>>>-Original Message- > >>>>From: [EMAIL PROTECTED] [mailto:flashcoders- > >>>>[EMAIL PROTECTED] On Behalf Of Martin Baltzer Hennelund > >>>>Sent: Friday, September 01, 2006 5:27 AM > >>>>To: Flashcoders mailing list > >>>>Subject: [Flashcoders] Problem with parsing Webservice result > >>correctly! > >>>> > >>>>Hi, > >>>> > >>>>Flash apparently fails to correctly parse a webservice function that > >>>>returns a class/Object/Struct (Using Csharp to create the > webservice). > >>>> > >>>>The following is returned from the service when hitting it in IE and > >>is > >>>>perfectly fine. > >>>> > >>>> > >>>>http://www.w3.org/2001/XMLSchema"; > >>>>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > >>>>xmlns="http://XXX/";> > >>>> > >>>>ArrayOfString > >>>> > >>>>feild1 > >>>>feild2 > >>>> > >>>> > >>>> > >>>> > >>>>The reply is equal to a class/Object with the name "WsReply" with > two > >>>>public fields one called "type" which is of type string and the > second > >>>>"ArrayOfString" which is an array of strings. > >>>> > >>>>But when the reply is parsed by Flash (mx.services.WebService) it > >>looses > >>>>the values inside the array even though the array is correctly &
SV: [Flashcoders] Problem with parsing Webservice result correctly!
Hi Thanks for your effort but I don't think that this could help all though its really interesting :-) Cheers Martin -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Merrill, Jason Sendt: 1. september 2006 13:50 Til: Flashcoders mailing list Emne: RE: [Flashcoders] Problem with parsing Webservice result correctly! Also, if this helps: http://www.sephiroth.it/tutorials/flashPHP/webServiceConnector/ Here is the WSDL is uses: http://www.xmethods.net/sd/2001/BabelFishService.wsdl Jason Merrill Bank of America Learning & Organization Effectiveness - Technology Solutions >>-Original Message- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Merrill, Jason >>Sent: Friday, September 01, 2006 7:38 AM >>To: Flashcoders mailing list >>Subject: RE: [Flashcoders] Problem with parsing Webservice result correctly! >> >>Be sure you wait for the result from the webservice and then try to >>access the data. I had the same problem in a recent thread (C# .NET >>and Webservices) and realized I needed to be sure I not only waited for >>the method to load, but also waited for the webservice method to finish. >>Was a duh moment for me. Then I could use the result as an object in >>Flash, even a very complex one: >> >>var thisEffect:String = Obj.Content.Topics[i].Images[n].Effect; >> >>So it definitely is supported and works, you may just not have waited >>long enough for the result? >> >>Jason Merrill >>Bank of America >>Learning & Organization Effectiveness - Technology Solutions >> >> >> >> >> >> >>>>-Original Message- >>>>From: [EMAIL PROTECTED] [mailto:flashcoders- >>>>[EMAIL PROTECTED] On Behalf Of Martin Baltzer Hennelund >>>>Sent: Friday, September 01, 2006 5:27 AM >>>>To: Flashcoders mailing list >>>>Subject: [Flashcoders] Problem with parsing Webservice result >>correctly! >>>> >>>>Hi, >>>> >>>>Flash apparently fails to correctly parse a webservice function that >>>>returns a class/Object/Struct (Using Csharp to create the webservice). >>>> >>>>The following is returned from the service when hitting it in IE and >>is >>>>perfectly fine. >>>> >>>> >>>>http://www.w3.org/2001/XMLSchema"; >>>>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; >>>>xmlns="http://XXX/";> >>>> >>>>ArrayOfString >>>> >>>>feild1 >>>>feild2 >>>> >>>> >>>> >>>> >>>>The reply is equal to a class/Object with the name "WsReply" with two >>>>public fields one called "type" which is of type string and the second >>>>"ArrayOfString" which is an array of strings. >>>> >>>>But when the reply is parsed by Flash (mx.services.WebService) it >>looses >>>>the values inside the array even though the array is correctly >>populated >>>>with two fields (And it is a real array). >>>> >>>>When I do a for...in trace on the onResult object I get the following >>>> >>>>ArrayOfString: undefined,undefined >>>>type: ArrayOfString >>>> >>>>Anyone know why this is happening? When I read the Webservice >>>>documentation it seems like flash should support classes/Objects as a >>>>webservice return type??? >>>> >>>>Thanks a lot in advance >>>>Martin Baltzer >>>> >>>>Heres my very simple code for reference:) >>>> >>>>/ >>>>import mx.services.Log; >>>>import mx.services.WebService; >>>> >>>>class dk.xxx.test.TestWS { >>>> >>>> >>>> public function TestWS() { >>>> >>>> >>>>var wsLog:Log = new Log(Log.NONE); >>>>wsLog.onLog = function(txt) { >>>>trace("wsLog:" + txt); >>>> >>>>}; >>>> >>>>var myService:WebService = new >>>>WebService("http://.com/Service.asmx?WSDL";, wsLog); >>>> >>>> >>>>myService.onFault = function(fault) >>>>{ >>>>// Your code here. >>>>var s: String = "
SV: [Flashcoders] Problem with parsing Webservice result correctly!
Hi, Hmm... I thought I was sure of that since I'm getting the reply back in my serviceCall.onResult() method. Are you saying that I can't be sure that data is loaded correctly at that time? Actually the problem is being narrowed down to the "ArrayOfString" return type. I receive undefined on all the array positions and as I see it it is out of my hands...Maybe this I srealted to .NET since a former project runs just fine Thanks a lot Martin -Oprindelig meddelelse- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Merrill, Jason Sendt: 1. september 2006 13:38 Til: Flashcoders mailing list Emne: RE: [Flashcoders] Problem with parsing Webservice result correctly! Be sure you wait for the result from the webservice and then try to access the data. I had the same problem in a recent thread (C# .NET and Webservices) and realized I needed to be sure I not only waited for the method to load, but also waited for the webservice method to finish. Was a duh moment for me. Then I could use the result as an object in Flash, even a very complex one: var thisEffect:String = Obj.Content.Topics[i].Images[n].Effect; So it definitely is supported and works, you may just not have waited long enough for the result? Jason Merrill Bank of America Learning & Organization Effectiveness - Technology Solutions >>-Original Message- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Martin Baltzer Hennelund >>Sent: Friday, September 01, 2006 5:27 AM >>To: Flashcoders mailing list >>Subject: [Flashcoders] Problem with parsing Webservice result correctly! >> >>Hi, >> >>Flash apparently fails to correctly parse a webservice function that >>returns a class/Object/Struct (Using Csharp to create the webservice). >> >>The following is returned from the service when hitting it in IE and is >>perfectly fine. >> >> >>http://www.w3.org/2001/XMLSchema"; >>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; >>xmlns="http://XXX/";> >> >> ArrayOfString >> >> feild1 >> feild2 >> >> >> >> >>The reply is equal to a class/Object with the name "WsReply" with two >>public fields one called "type" which is of type string and the second >>"ArrayOfString" which is an array of strings. >> >>But when the reply is parsed by Flash (mx.services.WebService) it looses >>the values inside the array even though the array is correctly populated >>with two fields (And it is a real array). >> >>When I do a for...in trace on the onResult object I get the following >> >>ArrayOfString: undefined,undefined >>type: ArrayOfString >> >>Anyone know why this is happening? When I read the Webservice >>documentation it seems like flash should support classes/Objects as a >>webservice return type??? >> >>Thanks a lot in advance >>Martin Baltzer >> >>Heres my very simple code for reference:) >> >>/ >>import mx.services.Log; >>import mx.services.WebService; >> >>class dk.xxx.test.TestWS { >> >> >> public function TestWS() { >> >> >> var wsLog:Log = new Log(Log.NONE); >> wsLog.onLog = function(txt) { >> trace("wsLog:" + txt); >> >> }; >> >> var myService:WebService = new >>WebService("http://.com/Service.asmx?WSDL";, wsLog); >> >> >> myService.onFault = function(fault) >> { >> // Your code here. >> var s: String = ""; >> for (var x:String in fault){ >> s += "\n" + x +": " + fault[x]; >> } >> trace("fault:" + s); >> }; >> >> >> var serviceCall = myService.getTest(); >> serviceCall.onResult = function(result:Object) { >> var s: String = ""; >> for (var x:String in result){ >> s += "\n" + x + ": " + result[x]; >> } >> trace(s); >> >> >> }; >> >> } >>} >> >>___ >>Flashcoders@chattyfig.figleaf.com >>To change your subscription options or search the archive: >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >>Brought to you by Fig Leaf Software >>Premier Authorized Adobe Consulting and Training >>http://www.figleaf.com >>http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Problem with parsing Webservice result correctly!
Hi, Flash apparently fails to correctly parse a webservice function that returns a class/Object/Struct (Using Csharp to create the webservice). The following is returned from the service when hitting it in IE and is perfectly fine. http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns="http://XXX/";> ArrayOfString feild1 feild2 The reply is equal to a class/Object with the name "WsReply" with two public fields one called "type" which is of type string and the second "ArrayOfString" which is an array of strings. But when the reply is parsed by Flash (mx.services.WebService) it looses the values inside the array even though the array is correctly populated with two fields (And it is a real array). When I do a for...in trace on the onResult object I get the following ArrayOfString: undefined,undefined type: ArrayOfString Anyone know why this is happening? When I read the Webservice documentation it seems like flash should support classes/Objects as a webservice return type??? Thanks a lot in advance Martin Baltzer Heres my very simple code for reference:) / import mx.services.Log; import mx.services.WebService; class dk.xxx.test.TestWS { public function TestWS() { var wsLog:Log = new Log(Log.NONE); wsLog.onLog = function(txt) { trace("wsLog:" + txt); }; var myService:WebService = new WebService("http://.com/Service.asmx?WSDL";, wsLog); myService.onFault = function(fault) { // Your code here. var s: String = ""; for (var x:String in fault){ s += "\n" + x +": " + fault[x]; } trace("fault:" + s); }; var serviceCall = myService.getTest(); serviceCall.onResult = function(result:Object) { var s: String = ""; for (var x:String in result){ s += "\n" + x + ": " + result[x]; } trace(s); }; } } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] test - please ignore
Just need to see if I can write to the list. Sorry for the inconvenience, ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com