This content has been marked as final. Show 10 replies
I am sorry to hear that you are having issues. I too have had some issues, but have been able to resolve them using this forum. I do not use web services or cold fusion, but I do use Java, in fact I have a complex java setup that uses the Spring and Hibernate frameworks. But now that I have a full understanding of how things work, I feel much more comfortable using Flex Data Services.
If you would like to post some code, we may be able to assist you. I know that the folks from Adobe frequent this board and review all inquiries, so I am sure your issues can be resolved.
BTW, why not just use the Cold Fusion native connection capablities?
I too am stumped! I Have CF 7 with the updates I have been trying to get the Part 1: Creating and running a contact manager app. to work but no luck I get errors and know where to ask questions. Cant there just be a simple demo showing a drop down box getting filled from an SQL server DB using CF and Flex?
Can you post the errors that you are getting?
There are 4 errors. I think if the first one is fixxed they will all be fixed.
Error / dataservice/contact/contactmgr.mxml:31
Definition samples.contact could not be found.
30: import mx.rpc.events.*;
31: import samples.contact.*;
where did you install the samples?
make sure that where you installed you have a samples dir with a contact dir inside and a Contact.as file inside that dir.
My structure is like this:
---contact (The 4 .cfc are in here)
------db (The mdb is in here)
------------contact ... Contact.as
also the 3 .mxml files and the png are in the samples folder.
Im not sure if this is correct.
I am not sure why this is not working other than the fact that I have experienced problems older projects when moving to the released version of Flex. What we had to do was create a new project in Flex Builder and then recreate the files, build, etc.
I was hoping to get away from having you do this.
ok , after a full day of learning flex i foudn it's very easy to conect to webservices ... but still AS3 make very diffecult , we get used to AS2 and now there is so meny things changed in AS3 , for exemple , let say Tree component , where is setIsBranch or addtreeNode functions , and there is so many things have been changed and i get confused ! Some things become to easy and some things become to hard ,so as i understand 'Flex' makea new revalution to Flash Applications ,AS3 have new steps and new ways , so i will wait for Flash 9 with AS3 Documantation .. anyway , flex is easy and it's looks nice , and realy cool .....
Check out http://labs.adobe.com, Flash 9 is available as a preview, with support for AS3.
In my opinion AS3 is a HUGH improvement over AS2. The biggest issue with AS2 was the fact that it is not object-oriented. Now ActionScript is standards compliant, object-oriented, and more complete product.
I understand your pain, I have had my share of issues, but give it a chance... it will grow on you.