Welcome, Guest. Please login or register.
Did you miss your activation email?
05/22/12, 07:19
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  General
| |-+  Flex, Air, FlashBuilder, Catalyst (Moderators: ..:: Mazhar Hasan ::.., kofi addaquay)
| | |-+  using callbacks
0 Members and 2 Guests are viewing this topic. « previous next »
Pages: 1 [2] Print
Author Topic: using callbacks  (Read 3143 times)
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6175


View Profile WWW Email
« Reply #15 on: 10/11/09, 02:08 »

c'mon - this is an easy one:

TypeError: Error #1034: Type conversion failed: Object@8cf0c19 cannot be converted to mx.rpc.events.ResultEvent

This way you learn a little german Wink
Logged

happy flashing
Cool
Ronald
kofi addaquay
Global Moderator
Senior Programmer
*****
Posts: 450



View Profile WWW Email
« Reply #16 on: 10/11/09, 02:16 »

Easy one you say!! Haha if it was russian or japanese no problem. Umm german .. Hmm not yet my brother!

Ok so the only place you are using ret:resultEvent is causing this. My first guess is that u are assigning the textfield string to an object and it doesnt like it :p
Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6175


View Profile WWW Email
« Reply #17 on: 10/11/09, 04:47 »

return is an array consisting of two fields
one is called msgCode and consists of an integer, the other is a string called msg.

This did work in another Flex application - all I did, is copying working code into this application.
I am even calling the same service Wink
This is, what confuses me.
Logged

happy flashing
Cool
Ronald
kofi addaquay
Global Moderator
Senior Programmer
*****
Posts: 450



View Profile WWW Email
« Reply #18 on: 10/11/09, 09:09 »

Hmm that could be the problem then. Especially if u are using AMFPHP. did you configure your services-config xml ? Maybe the php paths are also different. Could be quite a few things Ron. Let me know

Logged
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6175


View Profile WWW Email
« Reply #19 on: 10/11/09, 09:50 »

you are right - it does not find that file - where do i have to copy it to, to make him find it?
The folder structure is quite confusing - flex spreads files allover the place.

I thought, it will allways be a subfolder of the project folder - but it seems not to be.

I didnt find any deeper info of how to configure the work environment.

This is extremely important, if you have several projects running parallel.
Logged

happy flashing
Cool
Ronald
Ronald Wernecke
Administrator
Systems Administrator
*****
Posts: 6175


View Profile WWW Email
« Reply #20 on: 10/11/09, 13:28 »

ok - I found it is supposed to go into the sources directory - but its not working.
If I add -services to the compiler arguments, it says:
Severity and Description   Path   Resource   Location   Creation Time   Id
Configuration error encountered on line 1, column 8: 'The processing instruction target matching "[xX][mM][lL]" is not allowed.'      FITMAN   Unknown   1255285522703   178

I am so much lost - I know, I forgot something - but as more I do as more I get lost.
Logged

happy flashing
Cool
Ronald
Pages: 1 [2] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
anything