Created
January 31, 2011 12:58
-
-
Save dz0ny/803991 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var rezervna_povezava:URLRequest = new URLRequest("http://www.domzamlade.si"); | |
| (inv_btn as SimpleButton).useHandCursor = true; | |
| inv_btn.addEventListener(MouseEvent.CLICK, | |
| function(){ | |
| if(root.loaderInfo.parameters.clickTAG != undefined ){ | |
| if (root.loaderInfo.parameters.clickTAG.substr(0, 5) == "http:"){ | |
| navigateToURL(root.loaderInfo.parameters.clickTAG)); | |
| } | |
| else{ | |
| navigateToURL(rezervna_povezava); | |
| } | |
| }else { | |
| navigateToURL(rezervna_povezava); | |
| } | |
| } | |
| ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment