Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
aljeskica #1
How can I callError ocurring when Event Listener methodein "for statement" is called
Hy guys,
I would be gratefull if somebody could answer me how can I call a method from
flex in "for statement", that is actually in my remote service implemented. I
call the method loadAssetsResult() (event listener method in my action script)
and get a collection of objects back. In the same method I want to iterate
throught this collection and call another method from remote service, that is
specified for this object. Problem is when I call this remote method inside of
this loop statement. I get the error when I write my code like following one:
public function loadAssetsResult(event:ResultEvent):void {
for (i=0; i<event.result.length; i++) {
a = new Asset();
a.longName = event.result.longName;
a.shortName = event.result.shortName;
a.isin = event.result.isin;
a.nsin = event.result.nsin;
a.currentDayClose = event.result.currentQuote.dayClose;
//Schluskurs
assets.addItemAt(a, i);
RO.getIndicatorCollection(i);
}
DataBinding();
}
When I comment the row: RO.getIndicatorCollection() it works, of course
without these additional data that I get from that method. I need to call this
method inside loop statement (for each object), but I don't know how, without
getting this error?
please somebody help me with some ideas
br
Sheila
aljeskica Guest
-
PDImageSelectAlternate"is obsolete and never called in Acrobat 8". Howswitch to alternate images?
PDImageSelectAlternate "is obsolete and never called in Acrobat 8". Then how can I switch to alternate images to display in Acrobat 8 and 9? -
How to make "Adobe PDF" printer quiet (nobanner) when called from MSAccess?
I have an Access Database which creates reports set up to print to the "Adobe PDF" printer (Acrobat Standard 7.0.7). Everything works great except... -
Stream still "playing live" after close called
Hi, We have an Flash application that plays a streaming FLVs from FCS. Any connected clients also see the FLV. Heres a brief overview: 1. A... -
Cannot write files with script called by "system()"
Hello, I am currently working on a perlscript, that's called out of a PHP-script by the "system()" function call. The script works ok, when... -
New Longhorn Graphics Tool Called "Flashkiller"
New Longhorn Graphics Tool Called "Flashkiller": http://www.atnewyork.com/news/article.php/3104381/ Best wishes, Martin :( *...



Reply With Quote

