Skip to Content
0
Former Member
Apr 02, 2008 at 04:48 AM

Error in Cursor Manager

13 Views

Hi all,

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

import mx.managers.CursorManager;

import flash.events.*;

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.

Thank you,

Gita