63 200
Assignments Done
99,3%
Successfully Done
In July 2018

Answer to Question #637 in Action Script | Flash | Flex | ColdFusion for d122

Question #637
How do I call a method from another class?
Expert's answer
You can call a method from another class in the following way:
package {
public class Class1 {
public function Class1() {
var obj : Class2 = new Class2()
// calling method of Class2 object from Class1 method
obj.someMethod()
}
}
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions