|
INTERVIEW QUESTIONS
WEB
ACTION SCRIPT
DETAILS
Question: How do you add event listeners in mxml components. Now AS3 components?
Answer: * addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void * removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void * dispatchEvent(event:Event):Boolean * hasEventListener(type:String):Boolean * willTrigger(type:String):Boolean
|
|
|
Category |
Action Script Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 8651 users |
Added on |
9/22/2014 |
Views |
67404 |
Rate it! |
|
|
Question:
How do you add event listeners in mxml components. Now AS3 components?
Answer:
* addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void * removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void * dispatchEvent(event:Event):Boolean * hasEventListener(type:String):Boolean * willTrigger(type:String):Boolean Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
Why would you want to keep a reference to a ChangeWatcher and call unwatch()?
|
View Answer
|
|
What is the difference between ChangeWatcher.watch, and BindingUtils.bindProperty?
|
View Answer
|
|
Explain how binding works in mxml components in flex?
|
View Answer
|
|
What design patterns have you used? in Actionscript and java?
|
View Answer
|
|
What keyword allows us to implement abstraction better in flex?
|
View Answer
|
|
What is cairnghorm in flex? how do we use it?Have you worked with Cairnghorn in flex?
|
View Answer
|
|
What are runtime shared libraries in flex?
|
View Answer
|
|
What are sealed classes in flex?
|
View Answer
|
|
What is dynamic keyword used for in actionscript?
|
View Answer
|
|
How do we overload functions in actionscript?
|
View Answer
|
|
How polymorphism works on actionscript?
|
View Answer
|
|
What keyword allows you to refer to private variables of a class in flex?
|
View Answer
|
|
How does item renderer work? How do we add item renderer at runtime in flex?
|
View Answer
|
|
What is state? what is the difference between states and ViewStack in flex?
|
View Answer
|
|
What is MVC and how do you relate it to flex apps?
|
View Answer
|
|
What is the difference between sealed class and dynamic classes in flex?
|
View Answer
|
|
How do we use css styles in flex?
|
View Answer
|
|
what are three ways to skin a component in flex?
|
View Answer
|
|
How do you use a repeater in actionscript?
|
View Answer
|
|
How do we call javascript from Flex actionscript?
|
View Answer
|