I've tried just using the default component skin as a style and I'm getting the same behavior. It seems that no matter what, if I set the verticalScrollBarStyleName property it's going to give me the error. What's interesting is on creation, the right edge of the scrollbar is not aligned with the right edge of the tilelist that is its parent container. If I remove the style property, the scrollbar is right aligned with the tilelist on creation. Does anyone have any ideas?
--- In flexcomponents@yahoogroups.com, "bryanpoopbartow" <[EMAIL PROTECTED]> wrote: > > So, I've tried using the Obsidian scrollbar style from scalenine. > Same issue. So, now I'm thinking it has something to do with the > TileList itself, as multiple skins are exhibiting the same behavior. > > --- In flexcomponents@yahoogroups.com, "bryanpoopbartow" > <bryanbartow@> wrote: > > > > I'm using the <mx:Style> tag to define skins for a vertical scrollbar. > > The skins look just as they should. However, after clicking on > > either one of the arrows or thumb, the whole scrollbar shifts to the > > right one or two pixels. The skins are symbols contained in a SWF. I > > have defined bounding boxes for each skin in the SWF. I should also > > mention that my skins are the same width (15 pixels) as the default > > scrollbar component. This behavior is not exhibited in the default > > scrollbar, however. Has anyone encountered this issue before or have > > any ideas what I might be missing that could be causing this? I'm > > pasting my <Style> tag below, in case it helps. > > > > <mx:Style> > > .RTOTileListVScrollBar > > { > > upArrowUpSkin: > > Embed(source='/bin/interface/RTOTileListVScrollBar.swf', > > symbol='upArrowUp'); > > upArrowOverSkin: > > Embed(source='/bin/interface/RTOTileListVScrollBar.swf', > > symbol='upArrowOver'); > > upArrowDownSkin: > > Embed(source='/bin/interface/RTOTileListVScrollBar.swf', > > symbol='upArrowDown'); > > thumbUpSkin: > > Embed(source='/bin/interface/RTOTileListVScrollBar.swf', > > symbol='thumbUp'); > > thumbOverSkin: > > Embed(source='/bin/interface/RTOTileListVScrollBar.swf', > > symbol='thumbOver'); > > thumbDownSkin: > > Embed(source='/bin/interface/RTOTileListVScrollBar.swf', > > symbol='thumbDown'); > > downArrowUpSkin: > > Embed(source='/bin/interface/RTOTileListVScrollBar.swf', > > symbol='downArrowUp'); > > downArrowOverSkin: > > Embed(source='/bin/interface/RTOTileListVScrollBar.swf', > > symbol='downArrowOver'); > > downArrowDownSkin: > > Embed(source='/bin/interface/RTOTileListVScrollBar.swf', > > symbol='downArrowDown'); > > trackSkin: > > Embed(source='/bin/interface/RTOTileListVScrollBar.swf', > symbol='track'); > > } > > </mx:Style> > > >