If you want to adjust this for all components, you can edit the UI components source FLA.
Where those source FLA's are is system dependant, so you will have to lookfor them.
On win2k you can find them at:
C:\Documents and Settings\<user>\Application Data\Macromedia\Flash MX\Configuration\ComponentsNote that the 'Application Data' directory is a hidden one.
In that 'Components' folder, you'll find the 'Flash UI Components.fla'
Open it (if you get an error saying the file is already open, close the components panel).
Open the library. Look for the FboundingBox movieclip
Flash UI components > Component Skins > Global Skins > FBoundingBox Open it to edit.
Select the outline in the first frame of the Skin Elements layer and convert to Movieclip.
Make sure the center point is the top left corner of the outline.
Name it boundingBoxOutline.
On stage, give it an instance name of: boundingBoxOutline
In the second keyframe, delete the outline that is there and copy/paste (in place) the boundingBoxOutline mc from the first frame. Give it an instance name of: boundingBoxOutline2
//Add the following to the first keyframe, layer READ ME:
component.registerSkinElement(boundingBoxOutline, "backgroundOutline"
//Add the following to the second keyframe, layer READ ME:
component.registerSkinElement(boundingBoxOutline2,"backgroundOutlineDisabled"
You now have two new FStyleFormat properties
Last thing to do is to put the boundingBoxOutline MC in the right place in the library.
Flash UI Components > Core Assets - Dev Only > Other Assets.
You'll find the 'boundingBox' MC there as well.
Save the file.
If you have the Flash UI Component Set 2 installed, you'll have to do the same thing in that FLA.
While you're at it, you might be interested in doing the following as well:
Text in all components is often cut off at the bottom, especially characters like g, j, y...
To fix this, you can do the following:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.