PIXNET Logo登入

美奇電腦

跳到主文

這裡有我的教學資料哦。

部落格全站分類:數位生活

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 3月 18 週日 201221:05
  • php執行javaScript的語法

php執行javaScript的語法  

echo "<script language=\"JavaScript\">"; 
echo "window.alert(\"你未登入\");";  //警告對話方塊
echo "location.href(\"./\");";  //到首頁
echo "</script>";

(繼續閱讀...)
文章標籤

css6 發表在 痞客邦 留言(0) 人氣(1,584)

  • 個人分類:PHP網頁套課資料
▲top
  • 3月 18 週日 201220:54
  • 歡樂水果盤

歡樂水果盤
類似吃角子老虎遊戲,投入硬幣後再按右下的PLAY就可以開始了,看看你今天的運氣如何呢?

我要玩

(繼續閱讀...)
文章標籤

css6 發表在 痞客邦 留言(0) 人氣(52)

  • 個人分類:小遊戲
▲top
  • 2月 11 週六 201201:34
  • Flash音樂控制音量

16.png  

動作:

import flash.events.Event;
import fl.events.SliderEvent

var sound:Sound=new Sound(new URLRequest("1.mp3"));  //載入1.mp3
var soundCtl:SoundChannel=new SoundChannel();  //宣告SoundChannel
var transformSound:SoundTransform=new SoundTransform();  //宣告SoundTransform
transformSound.volume=1; //預設音量:1最大聲,0~1
soundCtl.soundTransform=transformSound;  //設定SoundChannel的音量
var setre:Number=0;  //播放的位置
var soundVolume:Number=10;  //音量改成0~10

sound.addEventListener(Event.COMPLETE,$complete);  //音樂載入完成
function $complete($e:Event):void{  //音樂載入完成的執行函數
 soundCtl=sound.play();  //播放(位置=0,重覆次數:無限次)
 soundCtl.addEventListener(Event.SOUND_COMPLETE,$soundComplete);  //播放完畢的監聽事件
 stop_btn.addEventListener(MouseEvent.CLICK,$stop);  //停止鍵的監聽
 play_btn.addEventListener(MouseEvent.CLICK,$play);  //播放鍵的監聽
 pause_btn.addEventListener(MouseEvent.CLICK,$pause);//暫停鍵的監聽
 pre_btn.addEventListener(MouseEvent.CLICK,$pre);    //上一首鍵的監聽
 next_btn.addEventListener(MouseEvent.CLICK,$next);  //下一首鍵的監聽
 vol_btn.up_btn.addEventListener(MouseEvent.CLICK,$up);    //音量大聲鍵的監聽
 vol_btn.down_btn.addEventListener(MouseEvent.CLICK,$down);//音量小聲鍵的監聽
}
function $soundComplete($e:Event){  //播放完畢的執行函數
 if(cont<5){  //共有5首mp3
  cont+=1; //跳下一首
 }else{
  cont=1;  //跳第1首
 }
 soundCtl.stop();  //先停止上一首mp3
 sound=new Sound(new URLRequest(cont + ".mp3"));  //載入下一首mp3
 soundCtl=sound.play();        //播放
 soundCtl.addEventListener(Event.SOUND_COMPLETE,$soundComplete);  //播放完畢的監聽事件
}
function $stop($e:MouseEvent):void{  //停止的執行函數
 soundCtl.stop();  //音樂停止
 setre=0;          //音樂位置:0,所以按「播放」時,會從頭播放
}

(繼續閱讀...)
文章標籤

css6 發表在 痞客邦 留言(0) 人氣(427)

  • 個人分類:網頁設計
▲top
  • 2月 11 週六 201201:31
  • Flash音樂控制停止

import flash.events.Event;
import fl.events.SliderEvent

var sound:Sound=new Sound(new URLRequest("1.mp3"));  //載入1.mp3
var soundCtl:SoundChannel=new SoundChannel();  //宣告SoundChannel

sound.addEventListener(Event.COMPLETE,$complete);  //音樂載入完成
function $complete($e:Event):void{  //音樂載入完成的執行函數
 soundCtl=sound.play();  //播放(位置=0,重覆次數:無限次)
 soundCtl.addEventListener(Event.SOUND_COMPLETE,$soundComplete);  //播放完畢的監聽事件
 stop_btn.addEventListener(MouseEvent.CLICK,$stop);  //停止鍵的監聽
 play_btn.addEventListener(MouseEvent.CLICK,$play);  //播放鍵的監聽
 pause_btn.addEventListener(MouseEvent.CLICK,$pause);//暫停鍵的監聽
}
function $soundComplete($e:Event){  //播放完畢的執行函數
 if(cont<5){  //共有5首mp3
  cont+=1; //跳下一首
 }else{
  cont=1;  //跳第1首
 }
 soundCtl.stop();  //先停止上一首mp3
 sound=new Sound(new URLRequest(cont + ".mp3"));  //載入下一首mp3
 soundCtl=sound.play();        //播放
 soundCtl.addEventListener(Event.SOUND_COMPLETE,$soundComplete);  //播放完畢的監聽事件
}
function $stop($e:MouseEvent):void{  //停止的執行函數
 soundCtl.stop();  //音樂停止
 setre=0;          //音樂位置:0,所以按「播放」時,會從頭播放
}

function $play($e:MouseEvent):void{  //播放的執行函數
 soundCtl=sound.play(setre,0);
}

function $pause($e:MouseEvent):void{  //暫停的執行函數
 setre=soundCtl.position;  //紀錄音樂的位置
 soundCtl.stop();          //音樂停止
}

(繼續閱讀...)
文章標籤

css6 發表在 痞客邦 留言(0) 人氣(485)

  • 個人分類:網頁設計
▲top
  • 2月 11 週六 201201:29
  • Flash播放連結的音樂

動作:

import flash.events.Event;
import fl.events.SliderEvent

var sound:Sound=new Sound(new URLRequest("1.mp3"));  //載入1.mp3
var soundCtl:SoundChannel=new SoundChannel();  //宣告SoundChannel

sound.addEventListener(Event.COMPLETE,$complete);  //音樂載入完成
function $complete($e:Event):void{  //音樂載入完成的執行函數
 soundCtl=sound.play();  //播放(位置=0,重覆次數:無限次)
}

 

(繼續閱讀...)
文章標籤

css6 發表在 痞客邦 留言(0) 人氣(26)

  • 個人分類:網頁設計
▲top
  • 2月 11 週六 201201:16
  • 指針時鐘

11.png

插入>>新增元件>>影片片段,如下圖:

15.png

屬性:

12.png13.png14.png  

(繼續閱讀...)
文章標籤

css6 發表在 痞客邦 留言(0) 人氣(18)

  • 個人分類:網頁設計
▲top
  • 2月 11 週六 201201:01
  • Flash日曆及時間

5.png

拉5個文字框

4.png  

屬性:

6.png7.png8.png9.png10.png  

(繼續閱讀...)
文章標籤

css6 發表在 痞客邦 留言(0) 人氣(41)

  • 個人分類:網頁設計
▲top
  • 2月 11 週六 201200:50
  • Flash顯示日期及時間

先用文字工具拉二個動態文字

1.png  

// p>

屬性:

2.png3.png  

(繼續閱讀...)
文章標籤

css6 發表在 痞客邦 留言(0) 人氣(323)

  • 個人分類:網頁設計
▲top
  • 2月 02 週四 201210:33
  • 台灣製DAB-PET-六分胸背拉繩組(心型彩鑽)粉紅色-小中型犬(狗)專用

21201175711581_107.jpg21201175711581_665.jpg  未命名-1.jpg  

 

商品新上架,限量特價中。

胸背尺寸:12.7公釐*34~51公分

拉繩尺寸:12.7公釐*120公分長

(繼續閱讀...)
文章標籤

css6 發表在 痞客邦 留言(0) 人氣(488)

  • 個人分類:寵物
▲top
  • 2月 02 週四 201209:56
  • 台灣製DAB-PET-六分胸背拉繩組(運動風)土色-小中型犬(狗)專用

21201175714034_98.jpg未命名-1.jpg21201175714034_275.jpg  

商品新上架,限量特價中。

胸背尺寸:19公釐*47~68公分

拉繩尺寸:19公釐*120公分長

特價:270元

(繼續閱讀...)
文章標籤

css6 發表在 痞客邦 留言(0) 人氣(97)

  • 個人分類:寵物
▲top
«1234...13»

露天拍賣

廣告-自已

個人資訊

css6
暱稱:
css6
分類:
數位生活
好友:
累積中
地區:

文章分類

  • 網頁設計 (34)
  • 學生作品 (3)
  • 心得雜想 (10)
  • 維修工具 (8)
  • 平面設計 (9)
  • 作業系統 (1)
  • Office (6)
  • 小遊戲 (5)
  • 免費好康 (12)
  • 新資訊 (2)
  • PHP網頁套課資料 (23)
  • 寵物 (4)
  • Android手機軟體 (1)
  • C# (1)
  • 未分類文章 (1)

文章搜尋

參觀人氣

  • 本日人氣:
  • 累積人氣:

留言板