calling another mxml function in other mxml file in flex [closed]
i have defined some functions in a component mxml file let us say
addbutton()开发者_StackOverflow
now i want to call this function in main mxml file. How can i do that.
best regards
var anyname:addGroup = new addGroup();
anyname.addGroupe();
This will work.
Simple.
yourComponentId.addButton()
精彩评论