This content has been marked as final. Show 4 replies
I don't know any way to read from a database in flex.
You will have to write a webservice that does the database-reading for you.
Then you include your webservice via mx:WebService
Flex doesn't provide a way to access a database directly. You can use the mx:HTTPService to interact with a server side Java program which does the queries and returns your results in XML.
I wrote a java coding when i try to run MXML ,i will get folowing errors:
1)unable to load SWC fds.swc:multiple points
2)1017:the definition of base class Locale was not found
3)could not resolve <mx:Application> to a component implementation
what to do 4 this ???
Please pardon my newbeness, but how do you write a webservice to interact with a database?
I don't use any kind of java programming. Can this be done with ASP?