kairivera
04-08-2008, 06:32 PM
Hi,
I'm an ActionScript noob and I inherited this code from a previous developer wherein the previous implementation of the service was in PHP. Now, we're doing it in Java and I can already connect via the servlet-jndi setup.
Problem is, I used the suggested class PageableResultSet for the query results (from the flashgateway library) and accepted by AS as RecordSet.
I'm getting these two errors:
<blockquote>
**Error** C:\Documents and Settings\Maria\Local Settings\Application Data\Macromedia\Flash 8\en\Configuration\Classes\mx\remoting\RsDataFetch er.as: Line 24: There is no method with the name 'addEventListener'.
mRecordSet.addEventListener("modelChanged", this);
**Error** C:\Documents and Settings\Maria\Local Settings\Application Data\Macromedia\Flash 8\en\Configuration\Classes\mx\remoting\RsDataFetch er.as: Line 47: There is no method with the name 'requestRange'.
mHighestRequested = mRecordSet.requestRange( range );
Total ActionScript Errors: 2 Reported Errors: 2
</blockquote>
Any help, suggestions would be greatly appreciated. I'm stumped! :(
I'm an ActionScript noob and I inherited this code from a previous developer wherein the previous implementation of the service was in PHP. Now, we're doing it in Java and I can already connect via the servlet-jndi setup.
Problem is, I used the suggested class PageableResultSet for the query results (from the flashgateway library) and accepted by AS as RecordSet.
I'm getting these two errors:
<blockquote>
**Error** C:\Documents and Settings\Maria\Local Settings\Application Data\Macromedia\Flash 8\en\Configuration\Classes\mx\remoting\RsDataFetch er.as: Line 24: There is no method with the name 'addEventListener'.
mRecordSet.addEventListener("modelChanged", this);
**Error** C:\Documents and Settings\Maria\Local Settings\Application Data\Macromedia\Flash 8\en\Configuration\Classes\mx\remoting\RsDataFetch er.as: Line 47: There is no method with the name 'requestRange'.
mHighestRequested = mRecordSet.requestRange( range );
Total ActionScript Errors: 2 Reported Errors: 2
</blockquote>
Any help, suggestions would be greatly appreciated. I'm stumped! :(