- Home /
listen for flash events
I have a project targeted to the Flash platform and I'm using an actionscript class that upon contacting a server dispatches an event. Is it possible to trigger a C# function when the event is dispatched?
Does C# have eventlistening and if so does it translate when exporting to flash from Unity?
Answer by mrdoktor1974 · Apr 19, 2012 at 03:20 PM
Thanks... I solved it by making an instance of a class and starting a coroutine waiting for the data instead :)
Then you should mark your answer as correct, so other know that this question is solved.
Answer by Paulius-Liekis · Apr 17, 2012 at 11:04 AM
That is definitely possible, although I don't remember exact logic/syntax. Try reading about Flash and SendMessage function in Unity.
Your answer
Follow this Question
Related Questions
checking for keyboard input with exceptions 0 Answers
Event is not being implemented from interface 0 Answers
Why UI event handlers dont get memory leaks if listener not removed 1 Answer
Help with networking in flash 3 Answers
How to call AS from Unity 0 Answers