I'm using embedded FlashPlayer in windows forms application. I'd like execute action script functions from C# passing unicode strings as arguments.
According to adobe to invoke actions script function one should call CallFunction with a string that contains xml request. But they didn't say anything about character encoding of the xml request (I need to pass utf8 characters). I'm a bit worried as the function invocation fails if the xml is indented which suggest that it is parsed manually.
Questions:
- Is safe to pass utf8 characters as parameters to functions calls?
- How long can be the request parameter for CallFunction?
- I'd like to hear about any better way to invoke AS functions from C# app.
- Do you see any other potential problems with such usage of Flash Player?