PDA

View Full Version : External Buttons to Modify .swf


Shadow Porpoise
11-11-2009, 05:13 PM
Alright

I've created an .swf to be used as a customization tools for users on our website. There are five buttons in the .swf and each button calls a function (an AS3 function that's inside the .swf) that changes a specific variable.

What we need is a way to have the buttons outside of the .swf and somewhere on the webpage. Once a button is clicked, it tells the .swf to call its corresponding function. Can someone point me in the right direction?

Thanks

sneakyimp
11-21-2009, 05:41 PM
I found a pretty specific tutorial (http://www.permadi.com/tutorial/flashjscommand/) for that problem by googling (http://www.google.com/#hl=en&source=hp&q=controlling+flash+with+javascript&aq=0&aqi=g1&oq=controlling+flash+with+java&fp=a50ffc77dda4c0bc).