Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Extensions and Plugins > Components

Reply
 
Thread Tools Rate Thread Display Modes
Old 04-11-2006, 04:33 PM   #1
stevenjs
Registered User
 
Join Date: May 2003
Location: New York, New York
Posts: 9
Default Flash Quiz Drag & Drop -- Target persists into following questions !!??

This is driving me nuts! The anomaly seems to be the dragged to targets persisting. In those drag & drop questions with only two targets that are dragged to (out of a possible eight), only the two targets that are dragged to continue to be visible in the subsequent questions. 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.

The test has 23 questions and is set to show 5 randomly. It may take a few run throughs for a drag/drop question to appear. Please take a look at http://mywebniche.com/test/FrontDeskTest1.html

You can download the .fla at http://mywebniche.com/test/FrontDeskTest.zip

Thank you!

regards,

stevenjs
______________________________
"I am but an egg."
--Stranger in a Strange Land
stevenjs is offline   Reply With Quote
Old 05-12-2006, 03:38 PM   #2
dr-a
Registered User
 
Join Date: May 2006
Posts: 1
Default Same problem

I Know its no help to you but...
I have been struggling with the same problem on and off for the last few months. I have a quiz with 400+ questions of all different types. Students are randomly given sets of 20. Everything is fine until they come across a drag n drop question then the drag / drop objects persist to the next question.
Not sure but I think it only happens when the quiz is set to random.
dr-a is offline   Reply With Quote
Old 05-29-2006, 12:49 AM   #3
Kirsty
Registered User
 
Join Date: May 2006
Posts: 3
Default

I was having the same problem earlier this week. Do all of your Drag & Drop objects have different instance names? I found that if I had Drag1, Drag2, Drag3 etc. as part of each interaction, the images continued through to the next page. Try renaming them, eg.

Interaction 1 - Drag1, Drag2, Drag 3... Target1, Target2, Target3...
Interaction 2 - Drag 4, Drag5... Target4, Target5...

Hope this helped!
Kirsty is offline   Reply With Quote
Old 07-05-2006, 09:43 AM   #4
Bomski
Registered User
 
Join Date: Jul 2004
Posts: 19
Default

This was found on Google Groups... so i can't claim this but...

I have the solution. It is a bug in Flash for which I got them to find a
workaround.

If you ask me they don't spend nearly enought time/energy on Flash in
education, particularly the quizzes, which have so many limitations and are
lacking so many obviously needed features.


I'll post their workaround below, but I want you, and all who read it to
contact their feedback/wishlist for Flash and complain about their Quizzes
getting short shrift. Features badly needed are:


- Ability to randomize AND require certain questions to always appear.
- options to enter name and have it appear on Results Page along with date and number of times the quiz has been re-taken.
- the ability to have multiple true/false questions
- better documentation on how to customize the template graphics and how to use original graphics
- fix the drag & drop component permanently -- this is arguably the most
useful question format of them all !
- ability to save customized components -- as component templates
- anything else you can think of that I haven't included here ;-)


Here's the fix:


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.


Hope this helps,

Bomski

Last edited by Bomski; 07-05-2006 at 09:50 AM.
Bomski is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Drag & Drop Quiz Component - Depth Challenge newAS ActionScript 2.0 0 07-22-2005 12:06 PM
CyanBlue's 5000th Post - Useful Threads List CyanBlue Projectors and CDs 104 02-25-2005 01:13 PM
advanced drag and drop - available targets dependent upon previous drop robgobbler ActionScript 2.0 0 10-18-2004 08:48 PM
[AS1] Drop target Game Help Sublim30 Gaming and Game Development 6 10-11-2004 03:33 PM
drag drop target grimm ActionScript 1.0 (and below) 20 03-25-2002 04:59 PM


All times are GMT. The time now is 06:30 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.