[問題] 想請教各大大們一個問題
若我在網頁上做了三個按鈕,不想要讓它另開視窗,而是只想要點一下
超連結,就直接進入網頁中,那要如何修改程式碼呢??
我的程式碼如下,謝謝各位大大!
stop();
function a1(evt:MouseEvent):void{
navigateToURL(new URLRequest("http://web.jjes.tp.edu.tw/enable/index.php"));
}
chinese.addEventListener(MouseEvent.CLICK,a1);
function a2(evt:MouseEvent):void{
navigateToURL(new
URLRequest("http://www.jjes.tp.edu.tw/english/index.html"));
}
english.addEventListener(MouseEvent.CLICK,a2);
function a3(evt:MouseEvent):void{
navigateToURL(new
URLRequest("http://www.jjes.tp.edu.tw/nobarrier/index.htm"));
}
accessibility.addEventListener(MouseEvent.CLICK,a3);
function a4(evt:MouseEvent):void{
navigateToURL(new URLRequest("http://web.jjes.tp.edu.tw/enable/index.php"));
}
skip1.addEventListener(MouseEvent.CLICK,a4);
------------------------------------------------
是不是改滑鼠事件就好了呢?要怎麼修改呢?
我用的軟體是adobe flash的cs5,謝謝!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 163.21.153.253
→
02/15 15:08, , 1F
02/15 15:08, 1F
推
02/15 15:22, , 2F
02/15 15:22, 2F
→
02/15 15:22, , 3F
02/15 15:22, 3F
→
02/16 14:24, , 4F
02/16 14:24, 4F
Flash 近期熱門文章
PTT數位生活區 即時熱門文章