You mean like this in a CSS file?:
CursorManager {
busyCursor: Embed(source="busy.png");
busyCursorBackground: Embed(source="busyBg.png");
}
DragManager {
copyCursor: Embed(source="copy.png");
defaultDragImageSkin: Embed(source="dragImage.png");
linkCursor: Embed(source="link.png");
moveCursor: Embed(source="move.png");
rejectCursor: Embed(source="reject.png");
}
Or switching cursors on an event, maybe.
Juan
scalenine.com
degrafa.com
--- In [email protected], "ben.clinkinbeard"
<[EMAIL PROTECTED]> wrote:
>
> Not sure I follow you. How do you glean a class from those styles?
>
>
> --- In [email protected], "Michael Schmalle"
> <teoti.graphix@> wrote:
> >
> > Thats why for all of my custom components and managers I created a new
> > CursorManager that wraps the mx one.
> >
> > In each of the managers or components I have;
> >
> > /*
> > * The move cursor skin for the MoveManagerFX.
> > */
> > moveCursorSkin:Embed(source="moveCursor.png");
> > /*
> > * The move cursor's x offset.
> > */
> > moveCursorXOffset:-10;
> > /*
> > * The move cursor's y offset.
> > */
> > moveCursorYOffset:-10;
> >
> >
> > styles.
> >
> > Where the styles names are organized by;
> >
> > cursorName + "Skin";
> > cusrorName + "XOffset";
> > cursorName + "YOffset";
> >
> > The custom cursor manager then uses the styleName of the client to
> get what
> > ever cursor is needed. There then can easily be set in styles
anywhere.
> >
> > Peace, Mike
> >
> > On 9/18/07, ben.clinkinbeard <ben.clinkinbeard@> wrote:
> > >
> > > Pretty sure its not possible but just looking for confirmation.
> Since
> > > CursorManager.setCursor() expects a class I assume thats the
only way.
> > > Correct?
> > >
> > > Thanks,
> > > Ben
> > >
> > >
> > >
> >
> >
> >
> > --
> > Teoti Graphix
> > http://www.teotigraphix.com
> >
> > Blog - Flex2Components
> > http://www.flex2components.com
> >
> > You can find more by solving the problem then by 'asking the
question'.
> >
>