The initial ActionScript code defines the minimum width and height for the skin. The Select
Skin dialog box shows these values and they are used at runtime to prevent the skin from
scaling below its minimum size. If you do not want to specify a minimum size, leave it as
undefined or less than or equal to zero.
// minimum width and height of video recommended to use this skin,
// leave as undefined or <= 0 if there is no minimum
layout_mc.minWidth = 270;
layout_mc.minHeight = 60;
Each placeholder can have the following properties applied to it:
Property
mc:MovieClip
anchorLeft:Boolean
anchorRight:Boolean
anchorBottom:Boolean
anchorTop:Boolean
If both the
anchorLeft
horizontally at runtime. If both the
control will be scaled vertically at runtime.
To see the effects of these properties, see how they are used in the Flash 8 skins. The
BufferingBar and SeekBar controls are the only ones that scale, and they are laid on top of one
another and have both the
to the left of the BufferingBar and SeekBar have
their right have
anchorRight
You can try editing the
rather than at the bottom. You simply need to move the controls to the top, relative to
, and set
video_mc
anchorTop
534
FLVPlayback Component (Flash Professional Only)
Description
The instance on the Stage for this control. If not set,
layout_mc.foo_mc.mc
Positions the control relative to the left side of the
FLVPlayback instance. Defaults to
anchorRight
false
Positions the control relative to the right side of the
FLVPlayback instance. Defaults to
Positions the control relative to the bottom of the
FLVPlayback instance. Defaults to
is explicitly set to
Positions the control relative to the top of the
FLVPlayback instance. Defaults to
and
properties are
anchorRight
anchorTop
and
anchorLeft
set to
. All controls have
true
movie clip to make a skin where the controls sit at the top
layout_mc
equal to
true
would default to
is explicitly set to
, and then it defaults to
true
, the control will be scaled
true
and
anchorBottom
properties set to
anchorRight
set to
anchorLeft
anchorBottom
for all controls.
.
foo_mc
unless
true
, and then it defaults to
true
.
false
, unless
true
anchorTop
.
false
.
false
properties are
true
. All controls
true
, and all controls to
true
set to
true
, the
.
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?