header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Manish
Points:0
Posts:0

2/17/2011 5:18:34 AM

Title: overriding function in as3


Hi all

I am learning OOP concepts could you please explain on the following:

Why we do the overriding function in as3 and what is the advantage of it in the class?

Regards,
Manish



1
Wilbur
Points: 510
Posts:0
2/18/2011 9:42:49 AM



we override a function in as3 to replace or add some functionality of a function in class with our new function .

say we have a class which creates textbox , now we want that the textbox should have some default text also. In such case we can override the textbox creating function inside that class and write our new function which will create the textbox and also add the default text inside.


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 8+1 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions