Why dont you make only 1 swf containing all the cursors you need on different frames (using Flash Professional). Then just use gotoAndStop(frameNr) to change cursor in flex. Or you can also make an array of cursor elements if you want to import all cursors seperatley and use index position to change cursors.
I'm not sure how to change frame number, becouse serCursor method requires a class parameter and the gotoAndStop method is available only for object of a class.
So when I try this:
var cursor:swfCursor = new swfCursor;
it gives an error on the third line.
I'll try to make an array and let know if it works.
the array solution works. Thak you for help.
Although the first solution with one symbol with many frames would be a better one, but still I'm not sure how use it.
Yes it would be better one but the issue there would be how to get instance of cursor class which is created by cursorManager and that i dont know. I saw that setCursor only returns id of cursor not not the instance itself. Maybe there is a mehtod which returns cursor instance via id.