Tengo un problema
para un foro que estoy haciendo le ingresado un Header en Flash, el cual va todo bien, aparece y todo el problema es cuando le doy click a los botones... no pasa nada!!
no me manda a las Urls que le pongo, se supone esta bien miren el còdigo es este!
Código ActionScript :
on (release) { //Goto Webpage Behavior getURL("http://localhost/Hell/rivals.php?action=platforms","_self"); //End Behavior }
Ese es el Script del Boton, solo se activa si coloco el target en "_black"
pero oviamente me lo abre en una nueva ventana y quisiera que lo abra en la misma!
no funciona ni con "_Top" ni "_Parent"
el coodigo original del PHP es este!
Código PHP :
<a href="{U_PLATFORMS}" title="{L_PLATFORMS}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_PLATFORMS}</a>
y la Url a la que nos manda esto es: http://localhost/Hell/rivals.php?action=platforms
la raiz es localhost, esto porque monte un servidor para modificarlo bien antes de subirlo!
Aqui les dejo el Script completo de mi plantilla "OverAllheader.html"
la plantilla esta basada en Subsilver
Código PHP :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}"> <head> <title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title> <!-- IF S_ENABLE_FEEDS --> <!-- IF S_ENABLE_FEEDS_OVERALL --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{U_FEED}" /><!-- ENDIF --> <!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{U_FEED}?mode=news" /><!-- ENDIF --> <!-- IF S_ENABLE_FEEDS_FORUMS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_FORUMS}" href="{U_FEED}?mode=forums" /><!-- ENDIF --> <!-- IF S_ENABLE_FEEDS_TOPICS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_NEW}" href="{U_FEED}?mode=topics" /><!-- ENDIF --> <!-- IF S_ENABLE_FEEDS_TOPICS_ACTIVE --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_ACTIVE}" href="{U_FEED}?mode=topics_active" /><!-- ENDIF --> <!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FORUM} - {FORUM_NAME}" href="{U_FEED}?f={S_FORUM_ID}" /><!-- ENDIF --> <!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&t={S_TOPIC_ID}" /><!-- ENDIF --> <!-- ENDIF --> <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" /> <meta http-equiv="content-language" content="{S_USER_LANG}" /> <meta http-equiv="content-style-type" content="text/css" /> <meta http-equiv="imagetoolbar" content="no" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9" /> <meta name="resource-type" content="document" /> <meta name="distribution" content="global" /> <meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" /> <meta name="keywords" content="" /> <meta name="description" content="" /> <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script> <script src="Scripts/swfobject_modified.js" type="text/javascript"></script> {META} <link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" /> <link rel="shortcut icon" href="{T_IMAGESET_PATH}/favicon.ico" type="image/x-icon" /> <!--[if IE]><link rel="stylesheet" href="{T_THEME_PATH}/ie.css" type="text/css" /><![endif]--> <!--[if lte IE 6]> <script defer type="text/javascript" src="{T_TEMPLATE_PATH}/pngfix.js"></script> <link rel="stylesheet" href="{T_THEME_PATH}/ie6.css" type="text/css" /> <![endif]--> <script type="text/javascript"> // <![CDATA[ <!-- IF S_USER_PM_POPUP --> if ({S_NEW_PM}) { popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg'); } <!-- ENDIF --> function popup(url, width, height, name) { if (!name) { name = '_popup'; } window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width); return false; } function jumpto() { var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}'); var per_page = '{PER_PAGE}'; var base_url = '{A_BASE_URL}'; if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0) { if (base_url.indexOf('?') == -1) { document.location.href = base_url + '?start=' + ((page - 1) * per_page); } else { document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page); } }} /** * Find a member */ function find_username(url) { popup(url, 760, 570, '_usersearch'); return false; } /** * Mark/unmark checklist * id = ID of parent container, name = name prefix, state = state [true/false] */ function marklist(id, name, state) { var parent = document.getElementById(id); if (!parent) { eval('parent = document.' + id); } if (!parent) { return; } var rb = parent.getElementsByTagName('input'); for (var r = 0; r < rb.length; r++) { if (rb[r].name.substr(0, name.length) == name) { rb[r].checked = state; } } } <!-- IF ._file --> /** * Play quicktime file by determining it's width/height * from the displayed rectangle area * * Only defined if there is a file block present. */ function play_qt_file(obj) { var rectangle = obj.GetRectangle(); if (rectangle) { rectangle = rectangle.split(',') var x1 = parseInt(rectangle[0]); var x2 = parseInt(rectangle[2]); var y1 = parseInt(rectangle[1]); var y2 = parseInt(rectangle[3]); var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1; var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1; } else { var width = 200; var height = 0; } obj.width = width; obj.height = height + 16; obj.SetControllerVisible(true); obj.Play(); } <!-- ENDIF --> // ]]> </script> <!-- MOD : MSSTI ABBC3 (v{S_ABBC3_VERSION}) - Start //--> <!-- INCLUDE ./../../abbcode/abbcode_header.html --> <!-- MOD : MSSTI ABBC3 (v{S_ABBC3_VERSION}) - End //--> <script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js"></script> <!-- Start Highslide --> <script type="text/javascript" src="{ROOT_PATH}highslide/highslide-full.js"></script> <link rel="stylesheet" href="{ROOT_PATH}highslide/highslide.css" type="text/css" /> <!-- End Highslide --> </head> <body class="{S_CONTENT_DIRECTION}"> <!-- IF S_USER_LOGGED_IN --> <div id="headerlogo"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="800" height="210" id="FlashID" title="Head"> <param name="movie" value="http://www.decreeofpain.net/Header.swf" /> <param name="quality" value="high" /> <param name="wmode" value="transparent" /> <param name="swfversion" value="6.0.65.0" /> <!-- Esta etiqueta param indica a los usuarios de Flash Player 6.0 r65 o posterior que descarguen la versión más reciente de Flash Player. Elimínela si no desea que los usuarios vean el mensaje. --> <param name="expressinstall" value="Scripts/expressInstall.swf" /> <!-- La siguiente etiqueta object es para navegadores distintos de IE. Ocúltela a IE mediante IECC. --> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="http://www.decreeofpain.net/Header.swf" width="800" height="210"> <!--<![endif]--> <param name="quality" value="high" /> <param name="wmode" value="transparent" /> <param name="swfversion" value="6.0.65.0" /> <param name="expressinstall" value="Scripts/expressInstall.swf" /> <!-- El navegador muestra el siguiente contenido alternativo para usuarios con Flash Player 6.0 o versiones anteriores. --> <div> <h4>El contenido de esta página requiere una versión más reciente de Adobe Flash Player.</h4> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Obtener Adobe Flash Player" width="112" height="33" /></a></p> </div> <!--[if !IE]>--> </object> <!--<![endif]--> </object> </div> <!-- ELSE --> <div id="headerlogo"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="800" height="210" id="FlashID2" title="Head"> <param name="movie" value="http://www.decreeofpain.net/Header2.swf" /> <param name="quality" value="high" /> <param name="wmode" value="transparent" /> <param name="swfversion" value="6.0.65.0" /> <!-- Esta etiqueta param indica a los usuarios de Flash Player 6.0 r65 o posterior que descarguen la versión más reciente de Flash Player. Elimínela si no desea que los usuarios vean el mensaje. --> <param name="expressinstall" value="Scripts/expressInstall.swf" /> <!-- La siguiente etiqueta object es para navegadores distintos de IE. Ocúltela a IE mediante IECC. --> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="http://www.decreeofpain.net/Header2.swf" width="800" height="210"> <!--<![endif]--> <param name="quality" value="high" /> <param name="wmode" value="transparent" /> <param name="swfversion" value="6.0.65.0" /> <param name="expressinstall" value="Scripts/expressInstall.swf" /> <!-- El navegador muestra el siguiente contenido alternativo para usuarios con Flash Player 6.0 o versiones anteriores. --> <div> <h4>El contenido de esta página requiere una versión más reciente de Adobe Flash Player.</h4> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Obtener Adobe Flash Player" width="112" height="33" /></a></p> </div> <!--[if !IE]>--> </object> <!--<![endif]--> </object> </div> <!-- ENDIF --> <div id="menubar"> <a href="{U_PLATFORMS}" title="{L_PLATFORMS}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_PLATFORMS}</a> <a href="{U_GROUPLIST}" title="{L_GROUPLIST}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_GROUPLIST}</a> <!-- IF S_USER_LOGGED_IN --> <a href="{U_ADDGROUP}" title="{L_ADDGROUP}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_ADDGROUP}</a> <a href="{U_GROUPCP}" title="{L_GROUPCP}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_GROUPCP}</a> <!-- ENDIF --> <a href="{U_TOURNAMENTS}" title="{L_TOURNAMENTS}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_TOURNAMENTS}</a> <a href="{U_BB3_PLAYER}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_BB3_PLAYER}</a> <!-- Start Ultimate Points --> <!-- IF S_POINTS_ENABLE --> <a href="{U_POINTS}"><img src="{T_THEME_PATH}/images/icon_points.gif" width="12" height="13" alt="*" /> {POINTS_LINK}</a><!-- IF S_USER_LOGGED_IN and S_USE_POINTS --> [ {USER_POINTS} ]<!-- ENDIF --> <!-- ENDIF --> <!-- End Ultimate Points --> <!-- BEGIN blog_links --> <a href="{blog_links.URL}">{blog_links.IMG} {blog_links.TEXT}</a> <!-- END blog_links --> <a href="{U_SHOP}"><img src="{T_THEME_PATH}/images/icon_shop.gif" width="16" height="11" alt="*" /> {SHOP_LINK}</a> <!-- Start DM EDS --> <!-- IF S_EDS_EXIST --> <a href="{U_DM_EDS}"><img src="{T_THEME_PATH}/images/icon_download.gif" width="12" height="13" alt="*" /> {L_DM_EDS}</a> <!-- ENDIF --> <!-- End DM EDS --> </div> <div id="pagebg"> </div> <a name="top"></a> <div id="container"> <div id="wrapper"> <div id="header"> </div> <div id="Separador1" style="height:80px;"> </div> <div id="contentbg"> <div id="contenttop"> <div id="contentbottom"> <div id="maincontent"> <div id="separador2" style="height:15px"> </div> <div id="menubar"> <table width="100%" cellspacing="0"> <tr> <td class="genmed"> <!-- IF not S_IS_BOT --><a class="link02" href="{U_LOGIN_LOGOUT}"><img align="absbottom" src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="{L_LOGIN_LOGOUT}" /> </a><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a> <!-- ENDIF --> <!-- IF U_RESTORE_PERMISSIONS --> <a class="link02" href="{U_RESTORE_PERMISSIONS}"><img align="absbottom" src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="{L_RESTORE_PERMISSIONS}" /> </a><a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a><!-- ENDIF --> <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> <span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF --> <!-- IF not S_IS_BOT --> <!-- IF S_USER_LOGGED_IN --> <!-- IF S_DISPLAY_PM --> <a class="link02" href="{U_PRIVATEMSGS}"><img align="absbottom" src="{T_THEME_PATH}/images/icon_mini_message.gif" width="12" height="13" alt="{L_MESSAGES}" /> </a><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a><!-- ENDIF --> <!-- ELSEIF S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) --> <a class="link02" href="{U_REGISTER}"><img align="absbottom" src="{T_THEME_PATH}/images/icon_mini_register.gif" width="12" height="13" alt="{L_REGISTER}" /> </a><a href="{U_REGISTER}">{L_REGISTER}</a> <!-- ENDIF --> <!-- ENDIF --> </td> <td class="genmed" align="{S_CONTENT_FLOW_END}"> <a href="{U_FAQ}"><img align="absbottom" src="{T_THEME_PATH}/images/icon_mini_faq.gif" width="12" height="13" alt="*" /></a> <a href="{U_FAQ}">{L_FAQ}</a> <!-- IF S_DISPLAY_SEARCH --> <a href="{U_SEARCH}"><img align="absbottom" src="{T_THEME_PATH}/images/icon_mini_search.gif" width="12" height="13" alt="*" /> </a><a href="{U_SEARCH}">{L_SEARCH}</a><!-- ENDIF --> <!-- IF not S_IS_BOT --> <!-- IF S_DISPLAY_MEMBERLIST --> <a href="{U_MEMBERLIST}"><img align="absbottom" src="{T_THEME_PATH}/images/icon_mini_members.gif" width="12" height="13" alt="*" /> </a><a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><!-- ENDIF --> <!-- IF S_USER_LOGGED_IN --> <a href="{U_PROFILE}"><img align="absbottom" src="{T_THEME_PATH}/images/icon_mini_profile.gif" width="12" height="13" alt="*" /> </a><a href="{U_PROFILE}">{L_PROFILE}</a><!-- ENDIF --> <!-- ENDIF --> </td> </tr> </table> </div> <br style="clear: both;" /> <br style="clear: both;" /> <!-- INCLUDE breadcrumbs.html --> <br /> <table width="100%" cellspacing="0"> <tr> <td class="gensmall"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ENDIF --></td> <td class="gensmall" align="{S_CONTENT_FLOW_END}">{CURRENT_TIME}<br /></td> </tr> </table> <!-- IF S_DISPLAY_SEARCH --> <p class="searchbar"> <span style="float: {S_CONTENT_FLOW_BEGIN};"><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> | <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></span> <!-- IF S_USER_LOGGED_IN or S_LOAD_UNREADS --> <span style="float: {S_CONTENT_FLOW_END};"><!-- IF S_LOAD_UNREADS --><a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a><!-- IF S_USER_LOGGED_IN --> | <!-- ENDIF --><!-- ENDIF --><!-- IF S_USER_LOGGED_IN --><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><!-- ENDIF --></span> <!-- ENDIF --> </p> <!-- ENDIF --> <br style="clear: both;" /><br /> <div id="wrapheader"></div> <script type="text/javascript"> swfobject.registerObject("FlashID2"); </script>
El swf es el Header.swf y Header2.swf
Uno sale cuando estan loggeados los usuarios y otro cuando no!
Sin mas por el momento les agradesco la atencion muchas gracias!