r-dog
03-01-2006, 06:24 PM
i've been trying to figure out what i'm about to ask here at work for the last week and I can't seem to find anything online that can help me... I thought it might be worth a shot asking you.
I'm trying to skin components in Flash 8... It's pretty straight forward to get the colors and graphics right... but instead of using an actual bar as a scroller - I need to use a small ball-icon. The problem is that when I publish the file, the "scrollBall" refuses to be in the correct position. It's at the top of the content, but the ball is about 70 pixels down the scrolltrack instead of resting at the top...
I think that there's an invisible element somewhere that determines the size of the scroller - so, try as I might to use a ball-scroller - it's still measuring the size of the scroller as if it were a bar... I don't know if that makes any sense...
Hopefully you understand what i'm saying... I must have read through every tutorial online about skinning components - to no avail... There was a post on a forum about a "instanceName.setSizePercentage()" bit of actionscript that's suppossed to override the defaults, but I can't seem to figure that out either... Given the nature of most problems I have with Flash, the solution to this one is probably really simple.
Thanks in advance for any help anyone can offer...
http://www.fostergross.com/test/cresford/screenCap.jpg
I'm trying to skin components in Flash 8... It's pretty straight forward to get the colors and graphics right... but instead of using an actual bar as a scroller - I need to use a small ball-icon. The problem is that when I publish the file, the "scrollBall" refuses to be in the correct position. It's at the top of the content, but the ball is about 70 pixels down the scrolltrack instead of resting at the top...
I think that there's an invisible element somewhere that determines the size of the scroller - so, try as I might to use a ball-scroller - it's still measuring the size of the scroller as if it were a bar... I don't know if that makes any sense...
Hopefully you understand what i'm saying... I must have read through every tutorial online about skinning components - to no avail... There was a post on a forum about a "instanceName.setSizePercentage()" bit of actionscript that's suppossed to override the defaults, but I can't seem to figure that out either... Given the nature of most problems I have with Flash, the solution to this one is probably really simple.
Thanks in advance for any help anyone can offer...
http://www.fostergross.com/test/cresford/screenCap.jpg