Skip to main content
Participant
August 23, 2011
Answered

HEEELP! SWF LINKS PROBLEM

  • August 23, 2011
  • 1 reply
  • 642 views

IVE LOADED AN SWF TO MY SITE www.frooties.klpmagic.com but the links in the swf dont work. the work fine otn my pc, that is locally but no onthe si. any one kno what may be causing it

This topic has been closed for replies.
Correct answer Ned Murphy

Just to rule it in/out try using a http://www. as a lead in for the url.  Also, just to make sure you are targeting the intended window...

  • "_self" specifies the current frame in the current window.
  • "_blank" specifies a new window.
  • "_parent" specifies the parent of the current frame.
  • "_top" specifies the top-level frame in the current window.

1 reply

Ned Murphy
Legend
August 24, 2011

No way anyone could guess.  YOu'll need to show code, explain your file system on the server, and provide links to check.

kikighAuthor
Participant
August 24, 2011

Am using drupal and this is how the file system goes like to the swf file in my file manager.---( public_html/frooties/sites/default/files/home_flash/newm2.swf.)

and i used this code to embed it to my home page

(


     

<!>>


<!<![endif]> !http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif|alt=Get Adobe Flash player|src=http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif! ]]> <!>></object> <!<![endif]></object></div>   )

 

this is the site you could check it out www.frooties.klp.com i donno what ive done wrong . everything loads fine but the liks dont work. i attached the swf to it.

Also this is the actionscript code i used to set the links.

//Go to the frooties.com website

gm_btn.addEventListener(MouseEvent.CLICK,gotoGm);

function gotoGm(evtObj:Event):void{

    var theSite:URLRequest = new URLRequest("http://frooties.klpmagic.com/content/game");

    navigateToURL(theSite,"_parent");

}

thanks

.