Go Back   Webmaster Malaysia Forum » Website Design & Development » Website Design

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 13-10-2003, 10:48 AM
min_ah's Avatar
Novice Webmaster
 
Join Date: Aug 2001
Location: coo'leem
Posts: 55
Rep Power: 89
min_ah is on a distinguished road
Send a message via ICQ to min_ah Send a message via Yahoo to min_ah
Question Screen Saver

sayer ader buat information kiosk in flash.. so.. nak tanya.. camna kalau kiter nak buat macam ader screen saver... bile idle dalam 10 minit.. dia masuk screen saver [means kita dah sediakan satu page as a screen saver]... then bila ader org touch screen tu.. dia akan masuk ke main page kiosk tuh.. ader sapa leh bantu saya
__________________
AkU @daLaH aKu
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 13-10-2003, 12:20 PM
lcf's Avatar
lcf lcf is offline
Pro-Blogger
 
Join Date: Feb 2003
Location: Kluang, Johor
Posts: 2,376
Rep Power: 116
lcf will become famous soon enough
Send a message via ICQ to lcf Send a message via MSN to lcf Send a message via Yahoo to lcf
mmm...
"put a counter to count the time, if reached 10 minutes then Goto and Play a frame. On key press, reset counter and goto and play main page. "

I do not script in Flash, but i think that's the logic u may need.
__________________
LiewCF | Malaysia Bloggers Forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 13-10-2003, 06:34 PM
AbgCooL's Avatar
Senior Webmaster
 
Join Date: Jun 2002
Location: In a house...
Posts: 208
Rep Power: 81
AbgCooL is on a distinguished road
if kiosk tu guna operating system yang ada screensaver.. bole enable screensaver... if not.. buat satu top layer dalam flash.. buat movie clip kat layer teratas tu... loadkan movie yang nak dijadikan as screensaver... make sure dalam movie yang ada screensaver tu setkan supaya bila mouse bergerak.. movie stop and unloaded... buatkan juga bila idle utk 10 minute .. load balik the required movie dekat layer teratas...

ciawz...

p/s: if tak pasti ape den katakan.. PM me
__________________
<b>A</b>bg<b>C</b>ooL<br><i>Cool as you can be</i>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 13-10-2003, 06:39 PM
kuman's Avatar
Inspired Webmaster
 
Join Date: Sep 2001
Location: Penang
Posts: 121
Rep Power: 89
kuman is on a distinguished road
Send a message via ICQ to kuman
betul cakap lcf tu ... tq

ok ni nak masuk bahagian teknikal ::

nanti awak kene buat 2 movie clip ... satu untuk "timer" ... dan satu untuk "event" ...



dalam "timer" ada dua frame ... frame pertama ada ::

Quote:
elapse = (getTimer() - _root.lastAct ) / 1000;
if (elapse >= _root.timeForSS) {
// letak kat sini kod panggil screen saver .. macam bawah ni
_root.ss.gotoAndPlay(2)
//ss tu nama movie screen saver awak le
this.stop();
}


dalam "event" lak ada::

Quote:
onClipEvent (mouseMove) {
_root.lastAct = getTimer();
_root.timer.gotoAndPlay(2);
_root.ss.gotoAndStop(1);
}



dekat root .. awak letak variable _root.timeForSS ...

so kalo nak 10 minit ... assignkan ::

Quote:
_root.timeForSS = 600; // dalam saat

.................................................. ......

Atau kompius gak ... download file yang diaatachkan ...


Attached Files To view attachments your post count must be 0 or greater. Your post count is 0 momentarily.

Last edited by kuman; 14-10-2003 at 01:45 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 13-10-2003, 09:21 PM
lcf's Avatar
lcf lcf is offline
Pro-Blogger
 
Join Date: Feb 2003
Location: Kluang, Johor
Posts: 2,376
Rep Power: 116
lcf will become famous soon enough
Send a message via ICQ to lcf Send a message via MSN to lcf Send a message via Yahoo to lcf
kuman, attach code juga kah?
good job!
__________________
LiewCF | Malaysia Bloggers Forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 13-10-2003, 09:24 PM
mauntech's Avatar
Not WM,review as regular
 
Join Date: Sep 2003
Location: PJ
Posts: 323
Rep Power: 68
mauntech is on a distinguished road
Send a message via ICQ to mauntech Send a message via Yahoo to mauntech
mungkin tukang open topik nih tgh pening nak baut benda ni..psl tuh blom reply lagi.
__________________
Road Trip Project: Show Your Courtesy
Give us your thoughts & Ideas
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 16-10-2003, 10:32 AM
min_ah's Avatar
Novice Webmaster
 
Join Date: Aug 2001
Location: coo'leem
Posts: 55
Rep Power: 89
min_ah is on a distinguished road
Send a message via ICQ to min_ah Send a message via Yahoo to min_ah
Smile

salamz..

thankz all yang reply and help me on this matter... thankz kuman sebab bagi example..

anyway baru datang keje ari nih.. so ari nih la baru masuk wm nih.. pc kat umah plak dah anyway i'll try all the examplez yang korang kasik..
__________________
AkU @daLaH aKu
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 16-10-2003, 11:47 AM
white_neck's Avatar
Senior Webmaster
 
Join Date: Jan 2003
Location: dreamland
Posts: 240
Rep Power: 75
white_neck is on a distinguished road
Send a message via Yahoo to white_neck
penerangan terbaik la kuman..
siap attachment tu...
caya la...
__________________
^_^ <== stay happy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 16-10-2003, 01:08 PM
New kid on the block
 
Join Date: Aug 2001
Location: kedah
Posts: 3
Rep Power: 0
hadiena is on a distinguished road
tq bebanyak, penerangan yang kuman kasik tu memang clear betul..

dah try..tapi ada ubah sket..
kalo idle dalam beberapa minit..akan back ke main scene..

boleh back ke main scene tu..tapi bila klik nak ke scene lain takleh lak..

-------------------------------------

onClipEvent (mouseMove) {
_root.lastAct = getTimer();
....
--------------------------------

lastAct tu..mclip kan..betul ker..
naper tak jumpa pung instance nih..

tq..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 16-10-2003, 01:59 PM
kuman's Avatar
Inspired Webmaster
 
Join Date: Sep 2001
Location: Penang
Posts: 121
Rep Power: 89
kuman is on a distinguished road
Send a message via ICQ to kuman
aiseh .... saya kompius sket ape yang nak dibuatnye ...

yang saya buat tu ....

kalo idle beberapa saat die aktifkan screen saver .... ss tu sepatutnya cover seluruh main scene le kalo tak nak bagi nampak main scene ...

lepas mousemove, die close ss tu ....

tapi sekarang ni nak ubah macam mana ..

macam kalo masa Screen Saver tu idle beberapa saat ... ditutup lak ke ss tuh?

Quote:
tapi bila klik nak ke scene lain takleh lak..
kilk kat mana ni ... dekat main scene kaa ... dekat ss?

explain sket lagik .. kompius ni ....

................

lastAct tu buakan MM .... die variable untuk tentukan dah berapa lama idle ....

kan dalam kod ::

elapse = (getTimer() - _root.lastAct ) / 1000;


okeh ?

Last edited by kuman; 16-10-2003 at 02:02 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 16-10-2003, 03:59 PM
min_ah's Avatar
Novice Webmaster
 
Join Date: Aug 2001
Location: coo'leem
Posts: 55
Rep Power: 89
min_ah is on a distinguished road
Send a message via ICQ to min_ah Send a message via Yahoo to min_ah
kuman and all ... hadiena ngan saya nih seangkatan.. yang cikgu kuman kiter kasik example ss.zip tuh dapat berjalan ngan lancar.. thankz very much

saudari hadiena nih ader buat perubahan skit... cth : kiosk nih ader 9 pages.. so user dah view sampai ke page 7.... dia tinggalkan cenggitu jerk.. so.. bila dah 10 minit idle.. dia akan ke page 1... yang tuh dah buat and jalan seperti yang sepatutnya... tapi bila masuk ke page 2 dia akan play sampai frame yang sebelum kiter letak timer & event tuh... and dia akan masuk terus ke page 1... so.. kiosk tuh dah tak leh view plak dari page 2 hingga ke page 9... so.. ader silap kat mana lagik ekk kuman..
__________________
AkU @daLaH aKu

Last edited by min_ah; 16-10-2003 at 04:48 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 16-10-2003, 04:06 PM
New kid on the block
 
Join Date: Aug 2001
Location: kedah
Posts: 3
Rep Power: 0
hadiena is on a distinguished road
opppss…soklan tak jelas..

cth awak..kalo idle bebrapa minit..akan activekan screensaver (ss) tu..
bila ada mousemove, ss tu akan ilang...

tapi saya nak cuba buat camni…

flownya...
dari Welcome scene [user klik Enter] >
Main Scene [kat cni kalo idle..akan ke Welcome scene balik] >
pastu kalo user nak masuk balik..kena klik Enter tu lagi..yg kat Welcome scene tu

pehtu saya ada tukar kat frame 1 timer tu:

----

elapse = (getTimer() - _root.lastAct ) / 1000;
if (elapse >= _root.timeForSS) {
_root.gotoAndPlay("welcome"); << nak ke Welcome scene tu..
this.stop();
}

------

actually, saya taktau cemana cara yang paling sesuai nak buat..
dari movieclip terus ke Scene..tu cara yang saya guna.. hehe
cara yang betulnya cemana aa..kot kat cni problemnya

dah test..
bila Main scene tu idle..boleh terus ke Welcome scene tu..tapi lepas klik Enter kat Welcome scene..akan play Main scene..

tapi, play sampai frame sebelum frame yang ada letak timer & event tu ja..pastu terus ke Welcome scene balik..

cth:
timer & event tu kat frame 60..dia akan play sampai frame 59 ja..
lepas tu, akan terus ke Welcome scene semula..

lastAct tu variable utk tentukan dah berapa lama idle..
tapi, leh xplain sket cemana variable nih dapat tentukan berapa lama idle tu..

harap dah klear..tq..bebanyak

Last edited by hadiena; 16-10-2003 at 04:29 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 16-10-2003, 05:25 PM
kuman's Avatar
Inspired Webmaster
 
Join Date: Sep 2001
Location: Penang
Posts: 121
Rep Power: 89
kuman is on a distinguished road
Send a message via ICQ to kuman
panjangnyerrrr ....

kita selesai satu persatu duluh ....

klick kat movieclip "timer" tuh .... (jangan masuk dalam pulak .. single klik jek ) ...

letak ::

onClipEvent (load) {
_root.lastAct = getTimer();
}

-----------------------------

yang tentukan masa idle untuk tunjuk SS tu variable _root.timeForSS ....

lastAct hanya record dah berapa lama idle .... kalo user gerakkan mouse .... lastAct akan di initializekan balik supaya "elapes" jadik 0 ....

-----------------------------

bukan ke nak panggil scene macam ni ::

gotoAndPlay("welcome",2);

ikut format gotoAndPlay([scene], <frame> ) ;

----------------------


kalo ade pape penin lagi ... post jek

Last edited by kuman; 16-10-2003 at 06:05 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 17-10-2003, 12:19 PM
New kid on the block
 
Join Date: Aug 2001
Location: kedah
Posts: 3
Rep Power: 0
hadiena is on a distinguished road
Smile

hehehe..terexplain panjang2 plak..

dah letak yang cikgu kuman kata tu...
dah ok...tq..dah berjaya aa..

yg nak ke scene dari mclip tu pun dah try..
rupanya camtu..

tq bebanyak..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 17-10-2003, 02:21 PM
kuman's Avatar
Inspired Webmaster
 
Join Date: Sep 2001
Location: Penang
Posts: 121
Rep Power: 89
kuman is on a distinguished road
Send a message via ICQ to kuman
ho ho ....

no problemo ....

aisehmen ... nanti semua orang aku ni cikgu ...

aku masih budak baru belajar


kuman
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set layer for all screen resolution? wyngzflower Website Design 1 08-02-2006 08:03 AM
screen resolution honeyz Website Design