Hi I have a question. I am overridding the goToLinkTarget () method of flashpaper object. The reason is that the links to pages, where not opening in a new window. It works but somehow the anchors dont work anymore. I dont understand why because I am simply just forwarding the aguments. I hope someone can help me out. Here is my code
<code>
var originalFlashPaperAPI={
              goToLinkTarget: fp_document.goToLinkTarget
} //override method fp_document.goToLinkTarget = function (linktarget:String, window:Object):Void {
               if (arguments[0].indexOf("anchor")<0){
originalFlashPaperAPI.goToLinkTarget(linktarget,"_blank")
               }else{
                  //format is "anchor:foo"
                   //but when harcoded it also doesnt work
                   originalFlashPaperAPI.goToLinkTarget(linktarget)
               }

     }

</code>

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to