Link to home
Start Free TrialLog in
Avatar of stevenjs
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



Avatar of Montoya
Montoya

stevenjs.. can you give some specific examples? Something like: Question 5, the graphic on the right is really from q4, etc...

that would help

Avatar of stevenjs

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
I see it. Hmm..
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
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
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'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
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.

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



Can I make this worth 1000 points?

stevenjs
______________________________
--Stranger in a Strange Land
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
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
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[_parent.session].drag_objects;
 var len = clearLast.length;
 for(var i=0; i<len; i++){
  _parent[clearLast[i]].removeMovieClip();
 }
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
Avatar of GranMod
GranMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial