Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Для Actionscript 2.0:
- on (release) {
- if (_root.link1.substr(0,5) == "http:") {
- getURL(_root.link1, "_blank");
- }
- }
- //Для Actionscript 3.0:
- MyClickTagButton.addEventListener(
- MouseEvent.CLICK,
- function():void {
- if (root.loaderInfo.parameters.link1.substr(0,5) == "http:") {
- navigateToURL(new URLRequest(root.loaderInfo.parameters.link1), "_blank");
- }
- }
- );
Add Comment
Please, Sign In to add comment