ActionScript 2.0 :: Create A Drag And Drop Application

Sep 8, 2003

i'm now trying to create a drag and drop application. Once i dragged the object to the target area, what should i do to make it movable false after i dropped it.

View 14 Replies


Similar Posts:


ActionScript 3.0 :: Drag And Drop Application

Mar 7, 2011

I'm currently trying to create an application whit some drag and drop functionality but I'm having a hard time trying to figure how this can be done.What I have is basically a rectangular MovieClip which will be the main container where multiple smaller rectangular MovieClips are going to be dropped the thing is the that the same movieClip can be dropped multiple times and of course it needs to be at a different position and here is where I'm confused, I know how to create the drag and drop actions, what I don't know is how to check and see if the main container has movieClips to determine the next available space and place the next movieClip accordingly basically drop it at the bottom. The way I'm currently doing it only works if the same movieClip is drop only once if I drop the same movieClip twice it basically overlaps on top of the first one.

View 2 Replies

ActionScript 3.0 :: Created One Drag And Drop Application In Flex

Dec 13, 2010

I have created one drag and drop application in flex and i am trying to load my application[swf] in flash.But i am getting error while start the drag.[code]

View 4 Replies

Flex :: Drag And Drop - Whiteboard Application - Like Visio / MS Powerpoint

Dec 7, 2009

I am creating an application that will allow users to model system information by allowing them to Drag and Drop objects from a Flex Tree into some sort of canvas/grid ie: like a whiteboard application eg: Visio/MS Powerpoint etc. The application requires the following functionality:

Drag and drop items from a Tree to some sort of canvas/grid Move items within the canvas/grid Delete items from the canvas/grid Resize items in the canvas/grid
Save the position of the items to a database Has good performance in terms of rendering components with images I am not sure which Flex component is best suited to the canvas/grid. I was thinking of using either:

Datagrid or (can't drag/drop to cells easily though) Grid or (can drop to cells via gridrow/griditems mxml tags) TileList or (problem with this is that it rearranges all items when you move 1 item) some other list? I think the grid would suite my purposes the best as it would enforce objects to be placed within a gridrow/griditem.

View 1 Replies

ActionScript 2.0 :: Furniture Configuration App - Drag N Drop Application With Logic?

Oct 7, 2006

I need to develop a Build-Your-Own cabinet configuration application for a cabinet company. I need it to be a drag n drop application. there is a grid system involved, where you can fit 3 large cabs in a grid, or 6 small ones, and so fourth...so there is logic involved. Anyone ever build something similar? a drag n drop application with logic?

View 8 Replies

ActionScript 3.0 :: Iphone Application - Drag And Drop Rectangle With Mouse Cursor

Dec 2, 2010

in the following SWF example: [URL] you can see small iphone application created with flash cs5, this application has blue rectangle, you can drag and drop this rectangle with your mouse cursor.. ok no problem in the code, but i want ask a question: when i run this application in iphone device, my finger will drag and drop the rectangle instead of mouse cursor ? or I need change the code? here is the code i used:

[Code]...

View 1 Replies

IDE :: Create A Drag And Drop Activity?

Mar 13, 2010

I have a flash project on the solar system. I created a drag and drop activity, dropping pictures near in the correct place/next to the correct name.

Everything is working perfectly but when I return to the home scene, the pictures are still being displayed from the acitivity even though they are on a different scene... they go away if I navigate through to different places.

View 1 Replies

Professional :: Create A Drag And Drop Target Set?

Mar 2, 2011

I want to be able to create the following if possible:
 
Create five words that make up a sentence and they are mixed up in order. So basically I would turn each word into a Movie clip perhaps.
 
I would then like to assign a target hotspot for each word so that a user can drag the words into the correct order.
 
Once they are in the correct order they click a button to go to a correct response or incorrect response. Is this possible?

View 1 Replies

ActionScript 2.0 :: How To Create Drag/drop Boundaries

Jun 28, 2010

I have an object in my program that you can click drag. However, I want to set a boundary for this object so that you can't drag it outside of a certain area. Using a standard if statement to check the coords of the object and reset them doesn't work as that causes a bouncing effect.

View 3 Replies

IDE :: Create A Drag And Drop Game For Children?

Feb 25, 2009

I am tryin to create a drag and drop game for children, i am using Flash actionscript 1.0 but on CS3.

The game is about dragging images such as a apple to the letter A and a ball to the letter B etc.

I am having problems making the image lock to the letter if it is correct. If the image is dragged to the incorrect letter it should go back to its orignal place.

At the moment the image can be dragged but it does not lock to the correct target instead it goes back to its original place even when it is dragged to the correct target.

[Code]...

View 1 Replies

Flash :: Create A Panel On Drag Drop In Flex 4?

Feb 23, 2011

I am trying to drag a component and on drop I need it to create a panel. Here is the actionscript I have but it doesn't seem to be working

private function dragDrop(e:DragEvent): void {
var userPanel:Panel = new Panel();
userPanel.width = 100;

[Code]....

View 2 Replies

ActionScript 3.0 :: Create Drag/drop Shifting Items?

Jan 19, 2010

What would be a good way to create a grid of images in which one can be dragged to a new position and the other images will shift to make room for the image dragged? Looking at making a little program that will reorder an XML file by visually dragging the items to where I want them.

View 0 Replies

ActionScript 2.0 :: Create A Drag And Drop Game For Children?

Feb 24, 2009

I am tryin to create a drag and drop game for children, i am using Flash actionscript 1.0 but on CS3.

The game is about dragging images such as a apple to the letter A and a ball to the letter B etc.

I am having problems making the image lock to the letter if it is correct. If the image is dragged to the incorrect letter it should go back to its orignal place.

At the moment the image can be dragged but it does not lock to the correct target instead it goes back to its original place even when it is dragged to the correct target.

[Code]...

View 2 Replies

ActionScript 1/2 :: Create A Drag And Drop Game In Which The User Selects?

Oct 31, 2011

A student of mine is wanting to create a drag and drop game in which the user selects a possible answer for a range, drags it over a object named as "dropzone". the correct answer is left over the dropzone, and the user clicks the check button they need to be sent to a frame displaying "correct" - otherwise, sent to a frame for incorrect.I currently have a set up in which the user is given an auto response using a dynamic text box and all is done on the one frame, but this student wants to be a little different.

View 3 Replies

Flex :: Create Simple Slowing Down After Drag And Drop Object?

Jan 8, 2011

So what I nedd is simple - how to create a drag and dropable circle with flex 4 and AS3 and using Box2d make it fly some more in the direction of drag and than stop?

View 2 Replies

ActionScript 2.0 :: Create Movieclips Using A Loop / And Then Start Drag And Drop?

Jul 31, 2007

I want to create some instances of a movieclip thats in my library. [code]This code works. Then I want to startDrag all of them, in the same loop. How to?I'vre tried "k"+i.startDrag(this) but that won't work. Any other good guesses?

View 1 Replies

ActionScript 3.0 :: Create A Drag And Drop Game When The User Drags A Word Into The Box

Apr 29, 2009

ive got the following code. bevvy is a movieclip, theres a dynamic text box called feedText nd a box.. imaginately called box. I'm trying to create a drag and drop game when the user drags a word into the box that will have its meaning beside it in a text box, the dynamic text box will tell them if they are right or not. if they are right the word stays, if not the word will go back to its original location. the dynamic text box will give feedback whether they are right or not.

the code below means that the word will stay in the box, but the text message is displayed all the time. i also have a reset button to make the word return to its origal location but id rather not have the button.

[Code]....

View 2 Replies

Flash :: Drag And Drop Application Where Mc Is Dragged Out Of One Parent Mc And Dropped Into Another Parent Mc?

Nov 13, 2010

Simple drag and drop application where mc is dragged out of one parent mc and dropped into another parent mc.All works OK until I added 2 text boxes to the mc's -- one is a non-selectable dynamic text box (a label) which is set by the code, the other is selectable input text that the user can amend.

Finger cursor disappears when user hovers over the section of the mc that contains the text fields (even non-selectable text??) When the user trys to drag the mc by inadvertantly click-dragging anywhere within both text areas it causes this error: TypeError: Error #1034: Type Coercion failed: cannot convert flash.text::TextField@2374a381 to flash.display. MovieClip (same error appears for both text boxes)

The input text box may confuse the user - how do they sometimes click to drag and sometimes click to amend? I need to create an overlay area within the mc that is click-detected for the drag? Here's the relevant bits of code:

var itemArray:Array = [
{iname:"police",ititle:"POLICE OFFICER"},
{iname:"insurance_assessor",ititle:"INSURANCE ASSESSOR"},[code].............

View 1 Replies

ActionScript 2.0 :: Create Random Text For Movie Clips / Drag And Drop Dynamic Text?

Jan 20, 2009

I have been making a memory game, where words are shown to the user. Once they have memorised the words they go to the next screen where the words that they have memorised are shown. They then have to drag each word into a "correct" place and a "wrong" place. I now want to edit it so that I can use two arrays one for correct words and one for wrong words. I want to generate random words from each of these arrays. I have sort of worked out how this is possible to do but using dynamic text, but am I correct in thinking that the whole dragging the words thing is not possible with dynamic text. (I may be wrong though, I am quite new to flash).

View 2 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 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 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

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







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