As3 function and arguments?
-
Hi guys, well here is my question im trying to create a function with differences arguments for example function doSomething(option1, option2, option3) { if(this == option1){ dosomething; } if(this == option2){ dosomething; } if(this == option3){ dosomething; } that's the function now i want to send the an option using on mouse event for example button.addEventListener(MouseEvent.Cli… here i wan to add the function with an specific argument) any help will be highly appreciate i hope it make sense
-
Answer:
What language are you using? Your pseudocode looks right though.
Charlye at Yahoo! Answers Visit the source
Related Q & A:
- How to access a nested function from another nested function in javascript?Best solution by devarticles.com
- how to call a function in Python in another function?Best solution by Yahoo! Answers
- How to implicitly check method arguments in Python?Best solution by stackoverflow.com
- What are the arguments for and against Vaccinations?Best solution by Quora
- What are some good arguments for getting a Facebook?Best solution by Ask.Metafilter.Com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.