How to use functions to disable and re-enable container SWF's control?
I supplied a flash ad to a digital publication, the magazine ones where the pages flip. My ad has different pages you can view when you hover over the top tabs. On each of these pages are words or buttons that you can click on to direct you to a URL. I used the simple code (Actionscript 1.0, Macromedia Flash MX) below to achieve this:
PHP Code:
on(release){
getURL("www.link.com","_blank");
}
This works fine, but when the files were uploaded into the digital publication, they have a zoom feature that basically disables my code.
Below are the instructions they gave me to make it work, but I have no idea how to use this. I have searched for this all over and don't understand. Any help if appreciated!
Any user-interactive elements (e.g., buttons) must use the following two functions to disable and then re-enable the container SWF’s control over interactions:
1) _root.overButton(); //to deactivate the container SWF’s control over viewer events;
2) _root.outButton(); //to reactivate the container SWF’s control over viewer events.
example:
PHP Code:
btn_mc.onRollOver = function(){
_root.overButton();
…
}
btn_mc.onRollOut = function(){
_root.outButton();
…
}
stop();