Expand my Community achievements bar.

SOLVED

I think 'FLex' not worth it !

Avatar

Former Community Member
Well i tried to do the most simple connection through
webservices to coldfusion component , and i tried so many times and
no result . if it's so hard to make simple connection to coldfusion
so why spend mony on that ? I tried to find somthing simple
examples to see how easy connect to coldfusion component and i see
it's not so easy as flex devlopers describ that ! well is there any
most simple example for dums like me to make connection to
coldfusion data through flex ?
1 Accepted Solution

Avatar

Correct answer by
Level 3
Eddy -



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?



Ken

View solution in original post

10 Replies

Avatar

Correct answer by
Level 3
Eddy -



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?



Ken

Avatar

Level 2
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?

Avatar

Level 3
Can you post the errors that you are getting?

Avatar

Level 2
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.*;

Avatar

Level 3
make sure that where you installed you have a samples dir
with a contact dir inside and a Contact.as file inside that
dir.

Avatar

Level 2
My structure is like this:



Samples

---contact (The 4 .cfc are in here)

------db (The mdb is in here)

---dataservice

------contact

---------samples

------------contact ... Contact.as



also the 3 .mxml files and the png are in the samples folder.


Im not sure if this is correct.



Thanks

George

Avatar

Level 3
George -



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.



Ken

Avatar

Former Community Member
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 .....

Avatar

Level 3
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.