home *** CD-ROM | disk | FTP | other *** search
- function ShowCursor(bShow, strCursorID)
- {
- if(bShow)
- {
- if(this.CurrentCursor eq strCursorID)
- {
- Mouse.hide();
- _root.CustomCursor.play();
- this._visible = true;
- }
- else
- {
- if(_root.CustomCursor != undefined)
- {
- unloadMovie(_root.CustomCursor);
- }
- this._visible = false;
- this.attachMovie(strCursorID,"CustomCursor",100);
- Mouse.hide();
- startDrag("_root.CustomCursor",1);
- this._visible = true;
- this.CurrentCursor = strCursorID;
- }
- }
- else
- {
- Mouse.show();
- this._visible = false;
- }
- }
-