ActionScript 3.0 :: Creating A Drag And Drop Quiz?

Mar 11, 2010

I know there are quite a few examples of drag and drop quizzes but what I need is a tad bit different. I will have a list of answers that a user must put in the correct order in some slots. When the user drags a particular answer onto a slot even if it isn't exactly on top but nearby, the target will sense this and snap the answer into the slot. The user can change the order at anytime.

[URL]

Ok at this site it has exactly the snap motion to the target that I wanted. Although I don't need the feature where the movieclip goes back to it's original location if it is not placed in the correct target. In fact I can't have that because the quiz results will tell the user after they finish putting their answers in the order they believe to be correct, whether or not their order of answers was correct after they click the submit button.

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Drag-and-Drop, Matching Quiz?

Jan 5, 2010

i was wondering if anyone has a simple drag and drop quiz. I did use wondershare to make it, but found i cant use it in my site as its 3.0 and not 2.0

Also used articulate quiz maker, but that includes annoying headings and an interface which can't be removed.

All i want is simply one side with 6 boxes and another with 6 boxes and matching the boxes, and then a submit button which tells the user if they have passed or failed etc.

View 0 Replies

Professional :: Drag And Drop Item In Adobe Flash CS3 Quiz

Feb 10, 2010

I am trying to create a quiz in Adobe Flash CS3 using Drag and Drop Feature. I have created similar Drag items and I want to drag the item and place it into any target. For Ex. I want Drag1, Drag2, Drag3, Drag4, Drag5 should go to any target from Target1, Target2, Target3, Target4, Target5. The objects on Drag1 through Drag5 is similar like I am working on number system. So I want the Drag boxes to go to any place values into the target boxes. But the drag and target instance names should be unique and should be mentioned in the component inspector also.

View 3 Replies

Creating A Drag And Drop Without A Specified Space

Jul 28, 2010

I have a drop and drop, which works fine, but i don't want it to go outside the window.

View 9 Replies

ActionScript 2.0 :: Creating Drag And Drop With DrawLine

Jan 19, 2009

I am creating a drag and drop where the user drags an object to the target and in doing so they create a line between where the object started and the target. I have got this working fine for one set of objects, however, if there are three on the screen the drawline function only works for the first one, the others do not draw a line. Is there a method I should be using so that I can have multiple objects and targets with lines drawn between them?

PHP Code:
_root.createEmptyMovieClip("line_mc", 1);
onMouseMove = function(){
updateAfterEvent();
} MovieClip.prototype.drawLine = function() {
this.clear();
[Code] .....

View 6 Replies

ActionScript 3.0 :: Creating Drag And Drop Clock Hands?

Sep 9, 2010

I need to create a clock with hour and minute hands that can be repositioned when the mouse is down and stop when the mouse is up. I have the drag and drop working but I am not sure how to make the hands not move from the center. Below is what I have so far but it does not allow the longHands registration point to remain constant.

longHand_mc.addEventListener(MouseEvent.MOUSE_DOWN, dragLong);
function dragLong(event:MouseEvent):void
{
longHand_mc.startDrag();

[Code]....

View 5 Replies

Actionscript 3 :: Creating A Flash Drag And Drop Jeweler Game - Rotating The Ellipse?

Nov 22, 2011

I'm trying to design a child's bracelet game, where they can drag and drop beads onto a string (circle) but I'm having trouble snapping the object onto my ellipse (circle), Currently the ball (bead) is stuck rotating around the ellipse, but I need it and multiples to be dragged from the bottom of the screen and then be able to snap to the ellipse once its closer, basically so that the child can choose a bead and drag it onto a string, to create their very own bracelet,

[Code]...

View 1 Replies

ActionScript 2.0 :: Create A Simple Quiz With A Drop Down Menu?

Dec 4, 2009

I have been trying to create a simple quiz with a drop down menu

i have 8 errors and I cant figure out how to correct them so the way this quiz is suppose to work is you select the right answer goes to a congrads page

View 1 Replies

ActionScript 3.0 :: Drag And Drop With Outputs Based On The Drop Positions?

Jan 6, 2010

I'm trying to make a simulation where a person can drag 2 different objects to any 4 predefined targets on the stage.  Based on the position of the 2 objects there will be a different output text.  I hope I described that clearly.  I would also like the 2 objects to snap to the 4 targets.  Im very new to AS.  Im starting to be able to read it a bit but still can not wright it.

View 9 Replies

ActionScript 3.0 :: Flash Release To Drop NOT WORKING On Drag And Drop?

Mar 10, 2011

Release to Drop NOT WORKING on drag and drop? Or is it something else?Can be seen here:

[URL]

Code:
var origX:Number;
var origY:Number;
for(var i:uint=1; i<6; i++){
this["choice_"+String(i)].buttonMode = true;

[code]....

View 3 Replies

ActionScript 2.0 :: Drag And Drop - Droptarget - Make Flash Drag A Ball Onpress

May 11, 2005

i want to make flash drag a ball onpress and if its onrelease and if its on the Suquare movieclip it should stop draggin. my code is like this

[Code]...

View 2 Replies

ActionScript 3.0 :: Drag And Drop - Click On The Image ,one Can Hold Down The Mouse And Drag A Copy?

Nov 13, 2010

I want to have an image and when I click on the image ,one can hold down the mouse and drag a copy to where ever on the stage and when one lets go, one can drag another and another with each copy still being able to be dragged after released.this is what i have but its pretty simple and doesn't work....

stage.addEventListener(MouseEvent.MOUSE_DOWN,makeA Box);
var i:Number = 1; //i will be the total number of boxes
var newBox:myMC = new myMC();[code]....

View 3 Replies

ActionScript 1/2 :: Make A Drag And Drop Game Where Can Drag Words Into A Table Which Then Makes A Tick

Nov 21, 2010

Im having trouble with this and its going wrong. I need to use actionscript 2 and im on flash cs3.

View 3 Replies

ActionScript 3.0 :: Drag And Drop System Where The User Can Drag A Movie Clip Into An Area (Snap & Overwrite)

May 20, 2011

Im trying to do a drag and drop system where the user can drag a movie clip into an area. Although i would like to make it snap to a target instead of just sitting wherever it lands in the area. Problem Two:

The next thing i am trying to do is when the user has a movie clip on a target already, and trys to put another movie clip in that target area, it will replace the one thats in there and go back to its current position. Here is the script of what i have done so far:

[Code]...

View 14 Replies

ActionScript 3.0 :: Creating A Quiz For A2 Module

Mar 3, 2010

I have made a start on my quiz, in order to complete the criterions I have to create a project (a quiz in my case) which uses a variety of methods and tools e.g. drag and drop features, user text input and numeric input etc.I had planned on creating 4 topics and 4 questions in each. Having searched the forum it appears that the common consensus for creating a quiz is to set up your questions in a XML file however I have no idea how to use this or what it is. Moreover from my research I found I appear to be doing things slightly different to other people who are doing or did a quiz. This difference is how the answers are input; I will be user input text fields along, multiply choice buttons etc. I also am placing my questions in different places for different sections and I am also required to use video.This may still be able to be done however I only have 29 days to complete the task and the way I'm planning will be quicker as I understand how it works at least. The first problem I am having is how to code for the input text. I plan on allowing for the user to input a word and then to compare that word against the correct answer. This also brings me onto my second problem. Once a section of questions has been completed I plan on taking the user to a screen which displays how many answers they got correct. This would involve tracking their answers and comparing them to a set of correct answers however I have no idea how to do this. (from what i have learnt recently the use of an array maybe?).

The final problem I am having at the moment is setting up a 'barrier of sorts' In my first question i have set up a mask which applies only to the image I have also placed on the stage. The mask is applied to a circle which can be dragged around displaying small sections of the picture at a time. I wish to stop the circle leaving the picture as it falls under the background once it as left the area of the image. This results it in disappearing. I have no idea how to solve this and I could not find information on it. The solution I think would be to stop the masked circle leaving the area of the picture OR to reset it back to original position if it is released outside the images area.My quiz is far from complete at the moment and I have not yet even finished the frames for each of the questions however these problems are fundamental to the quiz's success and so I felt I needed to confront them now.I can upload what I have done so far and send the link in a pm so you can see what I mean (if it is not already clear)

View 14 Replies

ActionScript 2.0 :: Drag And Drop Mask - Mc Drag In The Same Time

Jan 31, 2011

Wen i drag mc2 i want mc1 drag in the same time.

View 1 Replies

ActionScript 1/2 :: Creating Flash Quiz Using Template?

Jul 19, 2009

I am still using flash 6.0, the version the school gave me, anyway first of all are there any updates available somewhere? I'm still with the original 6.0000000 version. I am creating a flash quiz using the templates available, it's really easy and everything is going well. However, is there a way to redirect the user (getURL) if he has a percentage of say, 80% or higher?

View 16 Replies

ActionScript 3.0 :: Creating Quiz Action At End (Loading Next SWF)

Mar 10, 2010

I am writing a module and I have a section in this flash file where a quiz comes up and if you don't click on the right answer it tells you to try again. If you click on the right answer it will load the next swf file. But I can't get this last part to work. The quiz is within an xml file.

var current:Number = 0;
var qbox:Sprite = new Sprite;
var quiz:XML; var xloader:URLLoader = new URLLoader();
qbox.x = 10; qbox.y = 125; this.addChild(qbox);
[Code] .....

View 4 Replies

ActionScript 3.0 :: Drag And Drop - Drop Not Always Firing?

Dec 11, 2009

I have added drag and drop to some of my custom components.The drag event is fired on mouse down.If you mouse down and move the component around then drop it repeatedly its fine.But if you mousedown and drag the component around drop it and THEN just click on the component it inits the drag but doesn't fire the drop event.Its almost like you have to move the component for it to fire the drag drop event.This is very annoying as i'm removing the component on drag init and adding it again on drop, so just clicking on it makes it disappear.

View 1 Replies

Professional :: Creating Online Quiz With Scoring Results

Aug 8, 2010

I had an existing client ask me about the possibility of building an online quiz. I am fairly adept at working "inside" Flash, but always run into problems when trying to export data "from" Flash anywhere else. I am also trying to figure out if Flash is the best application to build this quiz (I see other possible apps like Captivate, but don't know if they are necessary for what I am trying to do).

What I need to do:
I need to create a Login screen to attach the final text score to an individual.
Create (50) separate screens for 50 questions with multiple answers for each (simple enough) with submit buttons once the answer(s) are chosen.

Each time an answer is submitted it has a certain "weight" toward the total score (which I am guessing that I could track into a variable inside Flash?) When the test is complete all I need to do is send that Person's Name/Total Score to a database. Is this something best accomplished using Flash?

View 3 Replies

Creating Quiz In Flash With Questions Passed Through Flashvars

Oct 13, 2011

I am getting questions from the database (just text) and then passing them to flash via flash vars.I want one question to be displayed then the user will answer (text) and click a button and then the next question will be displayed for them to answer and so on.I am not hoping for overly specific advice but as I am very new to flash/actionscript am just looking for broad advice (or links ?) on how to approach this. Can I do it all from one frame just using actionscript?I think what I am really after (assuming I am not way off track) is if all the questions should be handled at once which I guess will require some kind of loop that listens for some buttonclick event to move to the next question ..... or be 'reloading' the flash movie and dealing with only 1 question at a time.

View 2 Replies

ActionScript 2.0 :: Creating A Flash Quiz Using External XML Data

Jan 5, 2005

Im creating a Flash quiz using external XML data. For example, 5 items and the user has to select the correct ones. The answer is inside the XML, and looks like this:
HTML Code:

[Code]...

View 2 Replies

ActionScript 3.0 :: Creating Drag / Drag + Scale Class

Nov 29, 2010

I am very new to AS3 and I am running into some issues creating a simple class that will allow you to drag and drop and object but then also scale when it is over a hit area. Here is my current code:

[Code]....

View 5 Replies

ActionScript 2.0 :: Removing Correct Answers From Array In Of Random Quiz Questions In Xml Quiz?

Jul 21, 2010

Anyone know where to start thinking about logic for an XML quiz with multiple correct answers, that when the user gets the question right, that question is removed from the random array of questions so we never need to answer it again?

View 0 Replies

ActionScript 2.0 :: Drag-the-word Quiz - Make The Word Fit Into The White Box?

Apr 1, 2003

I am doing drag-the-word quiz. When you match the word with correct part, the message pop out, saying Bingo! If the word is matched with wrong part, the "Sorry. Try Again" message pops out, says "Sorry. Try Again". I managed to make the "Sorry. Try Again" message disappear. However it dun work anymore after that. Sometimes it is quite funny. When I play it, the "Sorry. Try Again" message dun pop out at all.

Another problem - I am not sure how to make the word fit into the white box. I only know how to make the word drop on the white box. Can you tell me how to do it? I will be adding voiceovers to the quiz when the word is matched with the part. For e.g it will say "bingo" or "Sorry. Try Again". How to attach the voiceovers to it?

View 8 Replies

How To Drag And Drop

Jul 7, 2009

I downloaded a free flash menu component. It's help file said "You can simply drag and drop the menu items wherever you wish".However, I don't know how to drag and drop it in my file. please help me, how to use it?

View 3 Replies

Drag And Drop Game

Jun 28, 2009

I am developing a simple drag and drop game..except my draggable items are in a movie clip and my targets are also in a movie clip. My draggable objects work fine, they drag and snap back into place when the mouse is let go, but... they dont snap to their targets.They do snap to their targets when they are directly on the timeline, but inside another movie clip it doesnt work and i can't figure out why.[code]

View 1 Replies

Drag And Drop On A Set Scale

Jun 21, 2010

Basically, there will be two images, which participants are to choose between. Below the pairs of images will be a horizontal bar with arrows at both opposite ends. I would like the participant to be able to drag and drop a small rectangle somewhere along the bar to represent their choice (and the degree of their endorsement).Basically, I'm asking how to make an interactive scrollbar on its side (without buttons, just the drag). I would also like it to start in the middle of the bar and be able to be moved in either direction.

View 2 Replies

Drag And Drop Without Overlapping?

May 19, 2009

using 'drag and drop' in flash without overlapping?

For example - I have a list of buttons i drag to an area on the stage. I do not want my buttons to overlap.

View 3 Replies

ActionScript 3.0 :: Drag And Drop From One MC To Another?

Nov 7, 2010

I've dynamically created a bunch of MCs from a single MC in the library.
 
Inside the MC's timeline, I have written drag and drop code.
 
The MC's reside in a parent movieclip, that then resides in a scrollpane.
 
I was wondering if it's possible to write AS3 to drag the clips into another movieclip?
 
If not the way I have it, is it possible at all to drag MC's from one container MC to another?

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved