stevenjs
asked on
Title: Quiz Template Guru Needed for Multiple Questions: 2) Serious anomalies when testing Quiz -- artifacts from one question appear on others !?? -- Help!!
Greetings,
I'm working on a Flash Test and need some serious assistance. All questions easy or hard (as a newbie to actionscript, who am I to say?) will have 500 pts. assigned.
You can download the .fla at http://mywebniche.com/test/FrontDeskTest.zip
The test can be seen at http://mywebniche.com/test/FrontDeskTest1.html
I've been finding some serious anomalies when testing this movie, for instance it seems one question contains part of another question's graphics, though I have scrupulously made sure there is no overlap frame by frame. Please repeat the test until you find any anomaly, and let me know if you have any idea what's causing it. Makes the whole thing look screwed up and is driving me crazy.
I have the test set to present 5 questions out of 20 or so at present, just anwswer anything to click through the 5 questions. May take a few times for the artifacts to appear. Sometimes they persist across more than one question, though they don't belong in either question.
I need to get this worked out yesterday already. Help is really needed. More questions to come.
regards,
stevenjs
__________________________ _____
"I am but an egg."
--Stranger in a Strange Land
PS: First Question in this series can be found at https://www.experts-exchange.com/questions/21804473/Quiz-Template-Guru-Needed-for-Multiple-Questions-1-How-do-I-get-a-name-entered-on-Welcome-page-to-appear-on-the-result-page.html#16397926
I'm working on a Flash Test and need some serious assistance. All questions easy or hard (as a newbie to actionscript, who am I to say?) will have 500 pts. assigned.
You can download the .fla at http://mywebniche.com/test/FrontDeskTest.zip
The test can be seen at http://mywebniche.com/test/FrontDeskTest1.html
I've been finding some serious anomalies when testing this movie, for instance it seems one question contains part of another question's graphics, though I have scrupulously made sure there is no overlap frame by frame. Please repeat the test until you find any anomaly, and let me know if you have any idea what's causing it. Makes the whole thing look screwed up and is driving me crazy.
I have the test set to present 5 questions out of 20 or so at present, just anwswer anything to click through the 5 questions. May take a few times for the artifacts to appear. Sometimes they persist across more than one question, though they don't belong in either question.
I need to get this worked out yesterday already. Help is really needed. More questions to come.
regards,
stevenjs
__________________________
"I am but an egg."
--Stranger in a Strange Land
PS: First Question in this series can be found at https://www.experts-exchange.com/questions/21804473/Quiz-Template-Guru-Needed-for-Multiple-Questions-1-How-do-I-get-a-name-entered-on-Welcome-page-to-appear-on-the-result-page.html#16397926
ASKER
I can't really predict where or when it occurs.
You can see from the logic of the question what belongs there and what does not. Most often, I am seeing Target graphics on the right hand side that do not belong. I think also if you click on something that does not belong, even though there is a hand cursor, the "check question" button does not activate (at least that's my recollection).
Certainly, look for Target graphics on the right side that do not belong.
regards,
stevenjs
__________________________ _____
--Stranger in a Strange Land
You can see from the logic of the question what belongs there and what does not. Most often, I am seeing Target graphics on the right hand side that do not belong. I think also if you click on something that does not belong, even though there is a hand cursor, the "check question" button does not activate (at least that's my recollection).
Certainly, look for Target graphics on the right side that do not belong.
regards,
stevenjs
__________________________
--Stranger in a Strange Land
I see it. Hmm..
ASKER
Wait, I may have an explanation.
It seems you can have more targets than drags, but not the other way around. I'm rebuilding those questions to see if this solves it.
stevenjs
It seems you can have more targets than drags, but not the other way around. I'm rebuilding those questions to see if this solves it.
stevenjs
ASKER
No, that's not it ;-0
But it seems now that the anomaly is that targets from a drag&drop question persist over one or more subsequent questions.
I've reposted the revised .fla in a zip at the same url as above.
stevenjs
__________________________ _____
--Stranger in a Strange Land
But it seems now that the anomaly is that targets from a drag&drop question persist over one or more subsequent questions.
I've reposted the revised .fla in a zip at the same url as above.
stevenjs
__________________________
--Stranger in a Strange Land
ASKER
FYI, I tried saving the test under a different name, then deleted all but the drag & drop questions. None of the drag and drop answers persist into other questions.
I would hesitantly conclude the problem is not with the drag & drop questions themselves.
P l e a s e don't tell me this is just some Flash bug!!!
stevenjs
__________________________ _____
--Stranger in a Strange Land
I would hesitantly conclude the problem is not with the drag & drop questions themselves.
P l e a s e don't tell me this is just some Flash bug!!!
stevenjs
__________________________
--Stranger in a Strange Land
ASKER
I've narrowed the problem down to this:
When I choose to display fewer than all the questions and randomize, which is what I need to do, the target symbols of any drag & drop question that may appear persist across other questions in the quiz.
I'm reposting an updated .fla zip at the same url as given before.
regards,
stevenjs
________________________
--Stranger in a Strange Land
When I choose to display fewer than all the questions and randomize, which is what I need to do, the target symbols of any drag & drop question that may appear persist across other questions in the quiz.
I'm reposting an updated .fla zip at the same url as given before.
regards,
stevenjs
________________________
--Stranger in a Strange Land
ASKER
Hello, anyone out there??
so, no luck yet, eh? I'll try to look at it tonight. If not, It will be tomorrow a.m. before I can take another look. Or, maybe one of the other guys/gals can look at it before then.
ASKER
No luck, no responses. I have this posted on every Flash forum I can find. Zilch.
I just tried moving all the drag & drop frames to the end and stops on the frames, no luck with that. At least the only anomaly seems to be the dragged to targets persisting. In those drag & drops with only two targets that are dragged to out of a possible eight, only the two targets that are dragged to persist. In those that have four drags to four targets, all four dragged to targets persist.
I've tried looking for bug reports at Macromedia, did not find any mention.
Part of the problem is the use of these quiz components is not "main stream."
Please do take a look.
regards,
stevenjs
__________________________ ____
--Stranger in a Strange Land
I just tried moving all the drag & drop frames to the end and stops on the frames, no luck with that. At least the only anomaly seems to be the dragged to targets persisting. In those drag & drops with only two targets that are dragged to out of a possible eight, only the two targets that are dragged to persist. In those that have four drags to four targets, all four dragged to targets persist.
I've tried looking for bug reports at Macromedia, did not find any mention.
Part of the problem is the use of these quiz components is not "main stream."
Please do take a look.
regards,
stevenjs
__________________________
--Stranger in a Strange Land
ASKER
Can I make this worth 1000 points?
stevenjs
__________________________ ____
--Stranger in a Strange Land
stevenjs
__________________________
--Stranger in a Strange Land
ASKER
Okay, no takers on this one (chickens! ;-)
Here you have a chance to improve on a flawed Flash Component created by Macromedia itself, and bask in the glory of showing them up for all the world to see, but no that's okay, just ignore this Flash bug. I'll take it up with them directly and they can have all the glory. ;-)
Please look for the next question in this series.
regards,
stevenjs
__________________________ ____
"I am but an egg."
--Stranger in a Strange Land
Here you have a chance to improve on a flawed Flash Component created by Macromedia itself, and bask in the glory of showing them up for all the world to see, but no that's okay, just ignore this Flash bug. I'll take it up with them directly and they can have all the glory. ;-)
Please look for the next question in this series.
regards,
stevenjs
__________________________
"I am but an egg."
--Stranger in a Strange Land
ASKER
Okay, I have a support ticket in with Macromedia. Too late for glory here.
However, look for a new question on getting a popup to work within the quiz.
regards,
stevenjs
__________________________ ____
"I am but an egg."
--Stranger in a Strange Land
However, look for a new question on getting a popup to work within the quiz.
regards,
stevenjs
__________________________
"I am but an egg."
--Stranger in a Strange Land
ASKER
Here's the answer, from Macromedia. Kudo's to me for discovering an unknown bug.
The problem you are experiencing with your learning interactions Flash movie is the result of a mishandling of object removal in the drag and drop interaction component. Using the following instructions, you should be able to modify the drag and drop interaction component to correct this issue:
1) in your movie, locate an instance of the Drag and Drop Interaction component and select it.
2) Select Edit Symbols from the file menu (Edit > Edit Symbols) to edit the symbol
3) The middle layer should be the Actions Layer. Select frame 1 in that Actions layer and open the Actions panel
4) Scroll to the bottom of the script and find the this.onUnload function located there.
5) Use your mouse and highlight the contents of that function, not including the function name, and copy it. You should have copied the following script:
var clearLast = _parent.SessionArray[_pare nt.session ].drag_obj ects;
var len = clearLast.length;
for(var i=0; i<len; i++){
_parent[clearLast[i]].remo veMovieCli p();
}
6) Return to the very top of the script and paste a copy of this script there prior to the comment stating:
/*--------------VERSION CONTROL INFORMATION--------------- -------
Note: You may need to make some room for the new script.
What this should do is ensure that the unload script is called immediately upon the loading of a new drag and drop interaction component clearing any prior objects used in the one before it. This was not happening appropriately before which is what was causing those dragged objects to remain on the screen.
regards,
stevenjs
__________________________ ____
"I am but an egg."
--Stranger in a Strange Land
The problem you are experiencing with your learning interactions Flash movie is the result of a mishandling of object removal in the drag and drop interaction component. Using the following instructions, you should be able to modify the drag and drop interaction component to correct this issue:
1) in your movie, locate an instance of the Drag and Drop Interaction component and select it.
2) Select Edit Symbols from the file menu (Edit > Edit Symbols) to edit the symbol
3) The middle layer should be the Actions Layer. Select frame 1 in that Actions layer and open the Actions panel
4) Scroll to the bottom of the script and find the this.onUnload function located there.
5) Use your mouse and highlight the contents of that function, not including the function name, and copy it. You should have copied the following script:
var clearLast = _parent.SessionArray[_pare
var len = clearLast.length;
for(var i=0; i<len; i++){
_parent[clearLast[i]].remo
}
6) Return to the very top of the script and paste a copy of this script there prior to the comment stating:
/*--------------VERSION CONTROL INFORMATION---------------
Note: You may need to make some room for the new script.
What this should do is ensure that the unload script is called immediately upon the loading of a new drag and drop interaction component clearing any prior objects used in the one before it. This was not happening appropriately before which is what was causing those dragged objects to remain on the screen.
regards,
stevenjs
__________________________
"I am but an egg."
--Stranger in a Strange Land
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
that would help