How can I do to make a communication between flex (swf) application and angular2 application?
I know how to do with js and flex but I don't see how flex can find a angular2 method.
With JS : just need method like :
function flexUp() {
console.log('Flex Up');
}
and in flex, call the JS method :
ExternalInterface.call("flexUp");
I'm newbie in the JS/Angular2 world.
You can fire events in flex and listen to them in Angular Angular 2 - communication of typescript functions with external js libraries
or make methods from Angular components, directives, or services globally known like explained in Angular2 - how to call component function from outside the app