Have you built any components with actionscript? If so explain how you did it?
Answer / Gyanesh Kumar
Yes, I have built custom components using ActionScript. To create a component, you typically create an AS file that extends the UIComponent class and define its structure, properties, and behaviors. The Component can then be added to the display list like any other DisplayObject. Here's an example:
package {
import flash.display.*;
import flash.events.*;
public class MyComponent extends UIComponent {
private var _label:TextField;
public function MyComponent() {
init();
}
protected function init():void {
_label = new TextField();
addChild(_label);
}
public function setLabel(value:String):void {
if (_label) _label.text = value;
}
}
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Can I dynamically instantiate a webservice or httpservice in actionscript?
Difference between Media Player and Media Element?
What are the features of jpeg 2000 standard?
What is the importance of typography in multimedia?
What is video-on-demand?
How DLNA is better for music sharing as compare to other technologies ?
Why are my valueobject member variables undefined in the results from my remoteobject requests?
What software tools are commonly used in multimedia production?
What is the base for DLNA?
Define midi?
What is wave pattern of the sound?
Explain the role of each type of server required in a multimedia system and the type of storage media that should be used for it.