What does calling preventdefault() on an event do? How is this en forced?
Answer / Gaurav Kumar Sinha
Calling preventDefault() on an event object prevents the default action of the event from occurring. This can be useful to stop a browser's default behavior, such as following a link or submitting a form. In ActionScript, you can access the event object with the Event.currentTarget property and call preventDefault() like this: event.preventDefault(). The event object is often passed as a parameter to event handlers.
| Is This Answer Correct ? | 0 Yes | 0 No |
Differences between defining bindings in mxml and actionscript?
Have you built any components with actionscript? If so explain how you did it?
How can you show a jpg image in dynamic text field?
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.
What are wmv files?
What are the different types of multimedia?
What is Adobe After Effects used for?
How to Convert jpg to doc file?
What are the multimedia authoring tools?
What is elearning?
Mention some of the image formats used in multimedia?
What is the importance of typography in multimedia?