Scolring - Forum

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.

#1 11-Jan-2014 22:24:37

chaldish
Member
From: Indonesia
Registered: 9-Oct-2013
Posts: 25

Multiple Choice Question

Hello big_smile

i have a question
sorry if it a bit silly and difficult to understand tongue

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 sad sad

Offline

#2 12-Jan-2014 01:03:35

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,092
Website

Re: Multiple Choice Question

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

#3 12-Jan-2014 02:00:07

chaldish
Member
From: Indonesia
Registered: 9-Oct-2013
Posts: 25

Re: Multiple Choice Question

Thanks for your answer arkeon..

im sorry i dont really understand..
so i should make it like this ?
8see.jpg

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

#4 12-Jan-2014 03:23:31

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,092
Website

Re: Multiple Choice Question

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

#5 12-Jan-2014 11:07:28

chaldish
Member
From: Indonesia
Registered: 9-Oct-2013
Posts: 25

Re: Multiple Choice Question

Ok arkeon..thanks for your answer...

i will try that first..hehe smile

Offline

#6 14-Jan-2014 17:25:53

chaldish
Member
From: Indonesia
Registered: 9-Oct-2013
Posts: 25

Re: Multiple Choice Question

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 ^^ smile

Offline

#7 14-Jan-2014 17:47:34

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,092
Website

Re: Multiple Choice Question

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

#8 14-Jan-2014 17:49:51

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,092
Website

Re: Multiple Choice Question

Offline

#9 14-Jan-2014 18:09:19

chaldish
Member
From: Indonesia
Registered: 9-Oct-2013
Posts: 25

Re: Multiple Choice Question

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

#10 14-Jan-2014 18:16:08

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,092
Website

Re: Multiple Choice Question

yes exactly smile

so flash know what is the next question and what is the correct answer.

so to add a question you will just have to change the flash.

Offline

#11 14-Jan-2014 18:19:27

chaldish
Member
From: Indonesia
Registered: 9-Oct-2013
Posts: 25

Re: Multiple Choice Question

Awww....thanks for your assist arkeon ^^

i will try that now..hihi smile

Offline

#12 17-Jan-2014 20:17:29

chaldish
Member
From: Indonesia
Registered: 9-Oct-2013
Posts: 25

Re: Multiple Choice Question

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.. sad

Hope someone can help me^^ smile

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^^ smile

Offline

#13 17-Jan-2014 21:15:07

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,092
Website

Re: Multiple Choice Question

Hi !

what is the version of flash for the swf you exported ?
OS3D use flash 10

a test to make :
does the flash works correctly if you comment the external event ?

Offline

#14 17-Jan-2014 21:22:00

chaldish
Member
From: Indonesia
Registered: 9-Oct-2013
Posts: 25

Re: Multiple Choice Question

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

#15 17-Jan-2014 21:43:23

chaldish
Member
From: Indonesia
Registered: 9-Oct-2013
Posts: 25

Re: Multiple Choice Question

i already send my file to your email..

hope you can help me ^^ smile

Thanks

Offline

#16 17-Jan-2014 22:06:58

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,092
Website

Re: Multiple Choice Question

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

#17 17-Jan-2014 22:10:28

chaldish
Member
From: Indonesia
Registered: 9-Oct-2013
Posts: 25

Re: Multiple Choice Question

yes i send correct file,
but, i will send that again,
im sorry for your inconvenince..
wait a little bit..hehe

Offline

#18 17-Jan-2014 22:18:42

chaldish
Member
From: Indonesia
Registered: 9-Oct-2013
Posts: 25

Re: Multiple Choice Question

already send it to your email smile

Thanks before

Offline

#19 17-Jan-2014 23:51:20

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,092
Website

Re: Multiple Choice Question

When I click on the button I can see the question correctly.
so what is not working ?

Offline

#20 17-Jan-2014 23:54:18

chaldish
Member
From: Indonesia
Registered: 9-Oct-2013
Posts: 25

Re: Multiple Choice Question

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. sad

Last edited by chaldish (17-Jan-2014 23:55:40)

Offline

#21 18-Jan-2014 00:19:44

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,092
Website

Re: Multiple Choice Question

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

#22 18-Jan-2014 00:25:49

chaldish
Member
From: Indonesia
Registered: 9-Oct-2013
Posts: 25

Re: Multiple Choice Question

hehe tongue

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

#23 18-Jan-2014 20:47:40

chaldish
Member
From: Indonesia
Registered: 9-Oct-2013
Posts: 25

Re: Multiple Choice Question

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 ^^ smile

Offline

#24 3-Jun-2014 05:27:35

azri
Member
Registered: 29-May-2014
Posts: 9

Re: Multiple Choice Question

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

#25 3-Jun-2014 07:56:10

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,092
Website

Re: Multiple Choice Question

did you hide the object ?

Offline

Board footer

Powered by FluxBB