Understand your urgency.
If you are an expert coder with JS then a lot of things are possible. But accessing Advanced Actions from JS is one of the harder things to pull off. And for SWF output, you would be far better off trying to code the functionality in an SWF widget than in JS. HTML5 would be suitable for JS, but ONLY if you know your stuff.
The widget will be ONLY for HTML5 and Responsive projects.
Thanks RodWard
I wouldn't say I'm an expert JS coder by any means, but I had a dig around in the published project code and got a sense of what CPM.js is doing.
I found if I created an Advanced Action in Cp and assigned it to an object on a slide, so the Advanced Action is included in CPM.js I can call the Action by targeting the stage objects data like so: cp.runJavascript(cp.model.data.nameOfStageObject.oca);
I'm not sure if this is the best way or how well this will stand up across browsers and mobile devices (I need to test more), but it seems to work.
Would you have any other suggestions?