Form parameters
You can set the following authoring parameters for each Form instance in the Property inspector
or in the Component inspector:
autoload
indicates whether the content specified by the contentPath parameter should load
automatically (
true
default value is
true
contentPath
specifies the contents of the form. This can be the linkage identifier of a movie clip
or an absolute or relative URL for a SWF or JPEG file to load into the slide. By default, loaded
content is clipped to fit the slide.
visible
specifies whether the form is visible (
Form class (Flash Professional only)
Inheritance
MovieClip >
Screen class (Flash Professional only)
ActionScript Class Name
The Form class provides the runtime behavior of forms you create in the Screen Outline pane in
Flash MX Professional 2004.
Method summary for the Form class
The following table lists methods of the Form class.
Method
Form.getChildForm()
Methods inherited from the UIObject class
The following table lists the methods the Form class inherits from the UIObject class. When
calling these methods from the Form object, use the syntax
Method
UIObject.createClassObject()
UIObject.createObject()
UIObject.destroyObject()
UIObject.doLater()
UIObject.getStyle()
UIObject.invalidate()
UIObject.move()
UIObject.redraw()
UIObject.setSize()
), or wait to load until the
.
UIObject class
> Form
mx.screens.Form
Description
Returns the child form at a specified index.
Description
Creates an object on the specified class.
Creates a subobject on an object.
Destroys a component instance.
Calls a function when parameters have been set in the Property and
Component inspectors.
Gets the style property from the style declaration or object.
Marks the object so it will be redrawn on the next frame interval.
Moves the object to the requested position.
Forces validation of the object so it is drawn in the current frame.
Resizes the object to the requested size.
method is called (
Loader.load()
) or not (
) when it first loads.
true
false
>
UIComponent class
formInstance.methodName
Form class (Flash Professional only)
). The
false
> View >
Loader component
>
.
431
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?