Error in Cursor Manager
I'm trying to use a cursor manager in my flex application. I got a piece of code where I set a cursor and remove a cursor. However, when i write the following statement in flex application inside CDATA:
cursorID = CursorManager.setCursor(waitCursorSymbol);
i get the error:
call to possible undefined method setCursor through a reference with static type class.
Although i have imported the classes
But if i write the same line in an actionscript file, i dont get any error.
Please help me, as im not a very good coder in this field.