Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology
Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered
You are not logged in.
Hello
i have a question
sorry if it a bit silly and difficult to understand
i want to make multiple choice question with flash interface in os3d and
user can interact or answer with marker
example :
i have 10 multiple choice question
Flash interface Question 1
and there is marker A , B , C, and D for the multiple choice answer,
example the answer is "A"
so if user show marker A -> show interface Right and show next question
else -> show interface Wrong and show next question
how to make it possible ?
can i use previous multiple choice answer marker for the next question ?
so i just need 4 multiple choice answer marker for 10 question
or i should make another multiple choice answer marker for the next question ?
so i have 40 multiple choice answer marker for 10 question
Offline
hmm
you could use the same markers and a var plugIT to set the good answer.
question one :
- set the var plugIT to the id of the correct marker. the marker event found send the marker id in param.
so if the marker found event equal to the question answer you can show the next question and set the new var value for this question ...
Offline
Thanks for your answer arkeon..
im sorry i dont really understand..
so i should make it like this ?
What values should i put ?
and how to proceed to next question.. ?
can you give me example .xos file ?
Thanks before^^
Last edited by chaldish (12-Jan-2014 02:25:11)
Offline
replace the var plugIT by a If plugIT
and set the if value with the correct answer
then for each marker link .found -> if equal
then if.true next question, if.false bad answer
when you change the question, link new question -> if.set value with the marker id in the link parameter
the id is the marker id defined in the marker plugIT
you can activate the log (on bottom right) to see if the links parameters are what you need
Offline
Ok arkeon..thanks for your answer...
i will try that first..hehe
Offline
Hai arkeon,,
sorry to bother you again..
First you told me to,
"set the if value with the correct answer
then for each marker link .found -> if equal
then if.true next question, if.false bad answer"
and It works pretty well ^^
im getting trouble for proceed to next question.
you told me to
"when you change the question, link new question -> if.set value with the marker id in the link parameter"
but, i dont really understand..
could u assist me by giving example how to do that ?
here is my project My project
Thanks before arkeon ^^
Offline
When in your flash interface you click next question, you should add an event to get OS3D know the user clicked.
for exemple flash.nextQuestion with the next good answer in parameter.
flash.nextQuestion -> if.Set value
Offline
Offline
Thanks for your response
based on your explanation,
so i should use flash call and call back to set new value to if.plugIT and put function to my actionscript ?
so when user click button to proceed to next question, os3d will know and set new value to if.plugIT
Offline
Awww....thanks for your assist arkeon ^^
i will try that now..hihi
Offline
Hy..Its me again.
i have another problem with flash interface, dont know why this is happend to me..haha
I have .swf file, which contain example 10frame,
for each frame, i got a button to move to the other frame
frame 1.click button -> move to frame 2.click button -> and move to frame 3, etc...
i put that .swf file to scol partition.
and i use a marker to call that .swf file.
when i running it,
from the frame.1 when i click button and move to frame 2, it works,
but when i click button to move from frame 2 to frame 3, it didn't works..
dont know what happend..
Hope someone can help me^^
ah, 1 information left,
when i play .swf file outside the os3d, it works pretty well, it can be move one frame to the other frame perfectly.
but when i play that in os3d, it just move from frame 1 to frame 2, but from frame 2 to frame 3, it doesn't work..
i can send .fla and swf file if you want it..
Thanks before^^
Offline
Offline
hi !..
yes,
i use flash 10,
how to comment on the external event ?
i just make .swf file,
which i put script on button
example i put this script
btnA.addEventListener(MouseEvent.CLICK, pertanyaan1_1);
function pertanyaan1_1(event:MouseEvent):void
{
gotoAndPlay("Benar1");
}
but when i clicked, its do nothing..
could i send my .fla,.swf, . and .xos to you ?
Offline
i already send my file to your email..
hope you can help me ^^
Thanks
Offline
I cound not find on which plugIT you set the swf files ?
did you send the correct files ?
are you sure that you use the correct swf file in your project I saw that there were different directories for swf
Offline
yes i send correct file,
but, i will send that again,
im sorry for your inconvenince..
wait a little bit..hehe
Offline
already send it to your email
Thanks before
Offline
you can try to click the multiple answer..
example like A , B, C, or D..
for mine, in os3d when i click that, there is no event happend.
Last edited by chaldish (17-Jan-2014 23:55:40)
Offline
ok, I don't understand what happen ^^
if I change the first button click to the "Benar1" the next button works.
But clicks on answers text don't work.
maybe this come from the flash module for text button.
try to convert them to clip or something else.
This can be a flash bug since the version used in OS3D is a old 10.0 one. and I can't update it since further versions of flash just crash when I try to embed them...
Offline
hehe
thats right..
i convert that answer text to button,
it works perfectly on flash or swf file,
but it doesnt works on os3d..
so if i export that to old flash 9.0 or 8.0 ? it can be solved?
or os3d can only use flash 10.0?
hm...i will try to convert that text button...
Offline
Tadaa !!
It works perfectly now arkeon,
I think the problem is os3d doesnt support that "TLF text"..
i just export it to flash 10.0,
and change that text button type properties,
from "TLF text" to "Classic text"....
my suggestion, maybe for next update, it can be used..
Thanks ^^
Offline
hello
i have a question
i have created my os3d file.
and i had 2 AR,the first one for introduction to object ,and the 2nd one for Q & A for recognise the object.
the problem is,when i click my 'recognise object' button on flash interface,it still play the 1st AR.
hope u can help me.
Offline