First of all, it's been awhile for me not posting any entry...why? because my motherboard just crushed (that explained a lot about the sudden shutdown when i'm in the middle of doing my work, argghh) and i was having problem installing Flash CS3 in my sister's notebook (another argghh)...but everything is fine now...thanks to Him...hrmmm...
Well, last 2 week, Dr Zaidatun gave u guys homework regarding the Basic of Actionscript...and to my surprised and Dr too, u guys did terrific...it seems like you guys are good at self learning and like to explore new things without spoon fed by Dr...
and last week u guys helped each other in completing the homework...and it's good to see when some of the students appraised their group members when they're finally able to do the homework...
and last week too, again Dr gave u homework about 'Multiple Choice Question' and 'Text Entry Question' activities...but, i do not see (up to this moment) any post regarding these 2 activities in your blog...why? are you having problem in doing it? or still looking for an idea? or busy with another assignment? or just save the post as a draft and not publishing it yet, or or or what? hahaha, i have just come out with too many assumptions on that....forgive me for that ok...haha...
Like Rafi, she said she's having problem in doing the MCQ and Text Entry activities. This is what she said:
Sekarang ni tengah buat MCQ's dengan text entry question.. bahagian text entry tu kenapa ntah die xdapat nak detect variable respon..patutnya letak jawapan betul keluarla respon correct.. tapi tetap gak die keluar incorrect.. xpaham kenapa die xjadik.check script betul dah..nape ek :(
Ha, anyone can help her in diagnose the problem?why it happened that way?
If you want to help her, what will be your first question to her?
If i am in your shoe, i would say, ok Rafi now please explain step by step on how you do the activity...and don't miss any steps...so that i might know the problem....will you?
and let us just see how far you can help each other in solving the problem...
BREAKING NEWS
People, Norzie had just solved the problem regarding the case sensitive on Actionscript yesterday night...previously, u guys only manage to key in lowercase letter...Now, with her help, u can have various style of answers...either UPPERCASE, lowercase, Sentence case, Capitalize Each Word or tOOGLE cASE...
Not forgotten, Ashikhin also manage to do it, but on her own way, because she is very good in programming, not like me...hehe...i admit that one...i don't like it at all...
Now, what are you waiting for? Don't just stare at my blog...go visit their blogs...sure worth to pay a visit there...
Thank you to you both...I LOVE THIS CLASS...love to see the efforts that u guys have made...
eja, i even can't complete my action script on mathematics questions. i got problem on the next button.
ReplyDeletei always refer kak syikin blog and she said
e) Klik kanan semula --> Action --> Taip Action Script seperti di bawah :
on (release) {
gotoAndPlay("Topic 1", 1);}
(3) iaitu "Topic 1" = Scene mana yang nak link
(4) iaitu "1" = Frame ke berapa dalam Scene baru
what is the meaning of frame baru? i try to link the button, it never works, the one with the topic to the main page.
hope to hear very sooon fr u. TQ :P
ok...frame baru means bila hazwani nak create new button, cuba perhatikan di frame mana wujudnya keyframe...
ReplyDeletebila kita create button biasanya keyframe akan di create di frame 1 automatically...that is why kita gunakan 1 as to refer at which frame yg kita createkan button...it's up to you which frame u wanna use, depends on your design...
yesterday,zune send me her .fla file...she's facing the same problem as you...
so what i noticed is that, at her button layer, she has more than 1 keyframe(sometimes people just have only 1 keyframe)...but the actionscipt ON THE BUTTON for that 2 keyframe is not the same...it should be the same for it to work...
the second prob is due to the number she sets and also the name of the scene...u just be careful dengan huruf kecil and huruf besar pada nama scene tu...actionscript ni tersangat lah case sensitive...
agak2 nyer faham tak?
try to check back your scene name and how u use it in the actionscript...
kalau still tak boleh, just send me your .fla file...i'll check that one for you...ok...
Hi ieja, i have tried actually but even i key in the correct answer it still will respond with"Incorrect"
ReplyDeleteThis is my fla file,
https://sites.google.com/site/formpt1193/ants/TextEntry.fla?attredirects=0&d=1
I have set the answer as carbon monoxide.
Kindly need your advise.
ok Kak Zune,
ReplyDeletewhen you click on the answer place layer, look at the properties section...there u will see 1 check box for 'Auto Kern'...previously, u have checked the box...and that actually the cause of your problem...u should uncheck the box...
same goes to the dynamic txt layer...uncheck the 'Auto Kern'...
and i need you to do a little study on the function of 'Auto Kern'...what is auto kern actually? when u can use it? and share it here ok...
hope this will help...
Pada pemahaman saya, fungsi auto-kern adalah untuk kenalpasti letter spacing bg setiap jawapan yang diberikan.Tetapi persoalan skrg, adakah auto-kern depend on types of font??sbb xsemua font yg ada spacing yg besar..am i right??hehehe
ReplyDeleteSaya dah buat exercise ni..ada juga prob n solution yg saya dah dpt iaitu :
Prob : jawapan yg dimasukkan adalah CORRECT tetapi respon jawapan adalah INCORRECT.
solution (1): make sure simbol pembuka kata ("") bagi coding respon = ""; @ answer = ""; tidak mempunyai spacing.
SALAH : respon = " "; @ answer = " ";
BETUL : respon = ""; @ answer = "";
solution (2) : betul kata eija..auto-kern sgt membantu.thanks eija.
klik input text (answer) - unchecked auto-kern
klik dynamic text (respon) - checked auto-kern
Dari exercise yang saya dh buat..mmg dh jadi..sbb operator yang digunakan ada == yg bermaksud "jawapan yang diberikan pengguna mestilah sama dengan jawapan yg telah disetkan". Kalau salah satu salah jawapan yang diberikan adalah salah, makan respon jwpn adalah salah.
Ini depend pada operator yang digunakan.
Hi ieja and Ashikhin, thx for the advise. I have solved the problem. I will study about the auto kern then reply at here again.
ReplyDeleteKerning controls the spacing between pairs of characters. In flash, many fonts have built-in kerning information. For example, A and V are often closer together than A and D. When we checked auto kern, auto kern will smushes the text together instead of each letter being separate. When we run it, the script unable to detect every single letter that we key in. That's why our answer always wrong.Isn't like that?
ReplyDeleteAshikhin and Zune...congrates to u both because u guys manage to do it...huuurayyy!!!
ReplyDeleteAshikhin: thank you for stating the 2 major problems here...perhaps other students can take notes on these 2 points....
and for your question on types of fonts, i think Zune already provide that answer for that...thanks to her...
Zune: actually i think i know what is Auto Kern, but it is hard for me to actually explain it to others...and u just did it...your example about AV and AD really helps a lot...i can imagine that, NOW...haha...good explanation and example...
thank you...
p/s: how about others? got any other views on this?
thanks... =)
ReplyDeletealhamdulillah dh dpt wat :) masalahnye sebab sy x uncheck box Auto Kern.. So, skrg bla user jwb betul baru keluar respon Correct.. Horeyy!!
ReplyDeletefor other information and example on Auto Kern, do visit Norzie's blog...the explanation is quite comprehensive and easy to understand too...
ReplyDeleteHi Eija.. I tried to answer your questions in previous entry. Please check it when you have free time. Tq.
ReplyDeleteHello testing using iPad
ReplyDelete