> I couldn't find a horizontalGap property on TileList, and trying to
> manually add a tag when the code hinting said no just resulted in a
> compiler error.

Sorry, strike all my FUD about TileList... I was think of Tile (which
I was using inside of a scrollable container to get a smooth,
fractional TileList).

> Could you tell me a bit more about monkey patching? Where does the
> file need to be, and how do you get it to be picked up as if it were in
> the mx namespace?

Google "flex monkey patching" and you'll find some good resources.
Basically, if you create a class with the same package structure as
the one in the SDK you want to replace (e.g.,
MyProject/src/mx/containers/TileList, or whatever) it'll override
anything in a linked library.

I had to do this with the DragManager (actually DragProxy) in order to
get it to respect the mouseEnabled flag and to handle it equivalently
to what the Flash Player does (which would make since, given that
DragEvents are sub-classes of MouseEvents).

Troy.

Reply via email to