Hi firstly let me give a little background and describe what I would like to achieve.
We currently have a javascript widget which sits in a users webpage allowing them to send data back to our server (a SMS service), this is achieved by providing the user with auto generated code (html) they can stick in thier webpage which includes our base javascript etc.
We would like to provide a tiny piece of auto generated actionscript to achieve a similar result. The code would allow users to provide our service in banners (ad rotated etc).
Ultimately the actionscript would[LIST=1]
[]Provide a configurable object (holding variables - associative array)
[]Load a second SWF and pass the variables (object) through to the second SWF. This is to avoid the user having a large dump of code they need to work with and needs to work cross domain.
[*]The second SWF would hold the bulk of our code, create and call our existing javascript widget and also add an image to the original image which is clickable (calls an event in js).[/LIST]Ive worked out how to call js from flash with no issues but not having much luck with getting swf1 talking to swf2 nicely, Im currently using loadMovie but not even sure this is the right method.
Im well versed in object orientated programming and also javascript but dont have a clue when it comes to flash / actionscript so if people could just point me in the right direction with what I should read up on that would be great, thanks.