HTML and CSS Reference
In-Depth Information
Objective complete - mini debriefing
In Flash, we create a symbol named PowerArrow . This is the symbol name that we can use
with new lib.PowerArrow() to create an instance of these graphics. It contains a small
red rectangular symbol. We name the instance of this rectangle powerBar . The following
screenshot shows the instance of the PowerBar symbol to be named powerBar :
Then, we can access these graphics directly inside the PowerArrow instance:
var graphic = new PowerArrow();
graphics.powerBar; // we have access to the powerBar from PowerArrow
instance.
 
Search WWH ::




Custom Search