Help: Flash Drag, Rotate and Drop

Hi, it's simple i know some of you knows how to do this. This
is just a sample idea wheel, see picture:
http://www.geocities.com/varcharcode/dragrotatedrop.jpg
how to make something like that in flash? You drag the
answer, you rotate it then drop it inside the wheel
do you have a sample .fla? I know how to make a drag and drop
but i don't know how to make it rotatable.

Hi R
Note that the Border simply adds space to the project so the
playback controls aren't covering part of your movie. Assuming you
want that to continue AND have a playback control, you might resize
the project so the playback control is included in the main movie
as well as being placed in an area that doesn't possibly obscure
any screen activity.
Cheers... Rick

Similar Messages

  • Need help FLASH not launching and not uninstalling "licensing for this product has stopped working".

    Need help FLASH not launching and not uninstalling "licensing for this product has stopped working" and " you can only install one adobe product at a time please complete the other installation"  Flash was working absolutely fine before, I have no idea why this happened.

    I am having similar problem.  Can't open any of CS3 programs after trying to download Dreamweaver Trial, which wouldn't work because "couldn't remove DLM extention" error message.  So now I can not run Illustrator, Photoshop, or even Adobe Reader.  These are properly licensed for about a year. I get "License for product has stopped working".  Have 2 pending cases open with Adobe support (one for Dreamweaver trial, one for license problem) since 8/3 with NO ANSWERS - It says answers within 1-3 business days.  Was on phone support hold today for over 3 hours before line went dead with no help.  What is up with adobe support?  Can anyone help?

  • Does anyone know why the mixed signal graph stops allowing traces to be drag'ed and dropped between different plot areas?

    I have a mixed signal graph that allows me to drag and drop my traces between the plot areas,  then it stops allowing it.
    If I start with a new graph it allows it but eventually stops allowing it.
    I have 4 XY charts feeding the one mixed singal graph through a bundle function, then I run it once and drag my traces to the correct plot area
    and hope that it keeps working.
    Best Regards
    Tim C.
    1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!

    Hi Tim,
    That sounds like some interesting behavior.  Can you reproduce what you were seeing, or have you continued to be able to drag the signals to other plots since you saved and reopened your program? 
    Jennifer R.
    National Instruments
    Applications Engineer

  • Help with EXECUTE IMMEDIATE and DROP

    Hi all,
    we are trying to create a procedure to do the following:
    * We have in the database some tables named like C$_XXXXXXXXX
    * We want to drop some of these tables that have a common prefix (f.e C$_1203101)
    DECLARE
    v_sql VARCHAR2(300);
    BEGIN
    SELECT 'DROP TABLE ODISTAG.'|| TABLE_NAME ||';' INTO v_sql FROM USER_TABLES WHERE TABLE_NAME LIKE 'C$_1203101%';
    EXECUTE IMMEDIATE v_sql;
    END;
    But we get this error:
    Error report:
    ORA-00911: invalid character
    ORA-06512: at line 5
    00911. 00000 - "invalid character"
    *Cause:    identifiers may not start with any ASCII character other than
    letters and numbers. $#_ are also allowed after the first
    character. Identifiers enclosed by doublequotes may contain
    any character other than a doublequote. Alternative quotes
    (q'#...#') cannot use spaces, tabs, or carriage returns as
    delimiters. For all other contexts, consult the SQL Language
    Reference Manual.
    *Action:
    Any help on that please?
    Thanks!

    This will not work if you fetch more than one row..instead you can do this..
    DECLARE
         v_sql VARCHAR2(30000);
    BEGIN
         for c2 in (
                        SELECT 'DROP TABLE ODISTAG.'|| TABLE_NAME drp
                        FROM USER_TABLES WHERE TABLE_NAME LIKE 'C$_1203101%'
         loop
              v_Sql := c2.drp;
              EXECUTE IMMEDIATE v_sql;
         end loop;
    END;

  • Help: flash CS5 crashing and corrupted .fla's

    I'm having one hell of a problem and could really use anyone's help who has a good idea.
    I am working in flash CS5 on windows 7 64.
    I am currently also running into the crash at save problem.  The most recent version of my .fla corrupted about four days ago, which is something I've grown accustomed to (got the wonderful 'unexpected file format' error).  So I went to my backup file- same issue.  I had to go back 12 backup versions to find one that would work (even my backups on external drives when copied back over to the local drive or opened from the external would give this error.  They did NOT give this error a week ago).  But this backup version now crashes on Save, Save As, or if I try to create a new .fla while the backup .fla is open, it crashes.  If I try to open any other .fla while the backup .fla is open, flash crashes.  Sometimes is gets non responsive and needs to close; sometimes it simply sits there, does nothing, SAYS it's running, but will not respond to clicks, minimizing the window, or anything at all and I will have to force quit out.  Sometimes it will crash when simply clicking a library item. 
    I have tried the following recommended fixes:
    save the file to a new directory- on the rare chance that flash doesn't crash on save (about 1 in 10), and doesn't corrupt and make a new .fla that's 2k in size (about 1 in 4), the new .fla has all the same problems of the original.
    change the JAVA environment variable- no help
    increase the jvm.ini xmx value - tried 124. 256, 512, no help
    open the file using zip and access the xml library assets directly, deleting them until you find a corrupt file- done it.  three times.  to three different versions of the .fla from the backup files.  Flash still crashes.
    save out as .xfl - on the rare chance that flash doesn't crash on save, the .xfl is corrupted (2k file size, no library, and for some reason a black square for an icon) about 3 out of 4 times.  The 4th time, the file works no better than any other .fla
    update flash player - no help.
    update plugins for all browsers and debug versions - no help
    update flash CS5 to the most recent version - no help
    download and install all windows updates - no help
    delete preferences and config folders - no help
    The ONLY way I can avoid flash crashing is to go back to a backup version from more than two months ago.  This version will open, save properly, and debug properly without error.
    I have attempted and failed at every suggested fix I have found online or on these forums for this cluster of problems I'm currently having.  I have three weeks to the project deadline, and there is no way I can go back two months in the production timeline.
    obviously I cannot afford to lose two months of work.  If anyone has any idea what could be happening, I would be exstatic- I'm really at the end of my rope here.  After four days of looking for help and fixes online and on these forums and talking to adobe support on the phone ('we do not handle coding issues' is the only response I get.  gee, thanks for the help), none of the fixes that have been recommended to me have worked.

    another update-
    I've managed to reconstruct a file from my original corrupted file that will open and is editable (as long as i don't click through the library items too fast- that will freeze and crash flash).  This file is less than 50 megs.
    When attempting to publish, export, or test in conjunction with the document .as associated with the file however I end up with either A: no swf produced and an empty report, or B: a 2k swf with a black square for an icon.
    debug produces the 'does not contain actionscript' error.
    upon failing to publish, export, test, or debug, flash will then either A: freeze B:freeze, then crash, or (my personal favorite) C: continue to function so long as I don't click on any library items, try to open a new file, try to open an old file, try to save, try to save as, try to exit the program, or try to close a file from the window (all of these result in freezing, crashing, or freezing and then crashing.  There is no apparent pattern to what happens).  Also, clicking back and forth between the properties and library panels in the fla file or the as file will, well, sort of overlay the two panels halfway on top of each other and sort of 'ghost' parts of one onto the other.  What I mean is, if the library panel is open and I click over to the properties panel (both are tabs in the same window of the workspace), the properties panel will be completely gray without any of it's usual boxes or text or button, and instead will have the names of some of the previous library items, greyed out, floating in random places that don't directly relate to where they were before.  Basically, it's all messed up.  And at this point the program will either freeze, crash, freeze and crash, or become completely unresponsive and require a force quit (surprise!).
    If I gut the fla down to an even smaller size of about 10-20megs, I can avoid most of these problems, although flash is still very slow to open files (20meg file takes a good 90-120 seconds to open), save files (at least 30 seconds to save a 20meg), and generally clicking around and going about my business of editing symbols or typing script is laggy and slow.  This of course doesn't really do me much good, since it requires me to gut 80% of my projects assets.
    I can't tell if i'm getting closer or further away from a solution.......

  • Dragging rotated and nested symbol causes registration point issues

    Has anyone noticed registration point issues when trying to drag a nested symbol or if you place a symbol on the stage and manually roated it with the rotate tool?
    I have been tryig to master the science of this and am still having a helluva time. It looks like it thinks your mouse is the 0,0 point and instantly jumps the symbol you are attemping to drag.
    Has anyone else noticed this and figured out a workaround?
    I noticed if I dynamically place the symbol it doesnt have this issue but I would prefer to not be forced into that

    Yes there is. After you have paused at the IN-point, hit shift + left arrow, this will mark the IN-point. Play to OUT-point, pause, shift + left arrow and the clip is selected from the two points.

  • Need help with the rotate and zoom button...

    hi, i create a Jpanel code that use for zoom in and rotate image, the rotate button work fine but the zoom in is not work by the following code, can any one tell me how to fix this?
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import javax.swing.*;
    import java.awt.geom.AffineTransform;
    import java.awt.image.BufferedImage;
    import java.io.*;
    import java.util.Hashtable;
    import javax.imageio.ImageIO;
    import javax.swing.event.*;
    public class RotatePanel extends JPanel {
    private double m_zoom = 1.0;
    private double m_zoomPercentage;
    private Image image;
    private double currentAngle;
    private Button rotate1, rotate2, rotate3,zoom;
    public RotatePanel(Image image) {
    this.image = image;
    MediaTracker mt = new MediaTracker(this);
    mt.addImage(image, 0);
    try {
    mt.waitForID(0);
    catch (Exception e) {
    e.printStackTrace();
    public void rotate() {
    //rotate 5 degrees at a time
    currentAngle+=90.0;
    if (currentAngle >= 360.0) {
    currentAngle = 0;
    repaint();
    public void setZoomPercentage(int zoomPercentage)
                m_zoomPercentage = ((double)zoomPercentage) / 100;    
    public void originalSize()
                m_zoom = 1; 
    public void zoomIn()
                m_zoom += m_zoomPercentage;
    public void zoomOut()
                m_zoom -= m_zoomPercentage;
                if(m_zoom < m_zoomPercentage)
                    if(m_zoomPercentage > 1.0)
                        m_zoom = 1.0;
                    else
                        zoomIn();
    public double getZoomedTo()
                return m_zoom * 100; 
    public void rotate1() {
    //rotate 5 degrees at a time
    currentAngle+=180.0;
    if (currentAngle >= 360.0) {
    currentAngle = 0;
    repaint();
    public void rotate2() {
    //rotate 5 degrees at a time
    currentAngle+=270.0;
    if (currentAngle >= 360.0) {
    currentAngle = 0;
    repaint();
    protected void paintComponent(Graphics g) {
    super.paintComponent(g);
    Graphics2D g2d = (Graphics2D)g;
    AffineTransform origXform = g2d.getTransform();
    AffineTransform newXform = (AffineTransform)(origXform.clone());
    //center of rotation is center of the panel
    int xRot = this.getWidth()/2;
    int yRot = this.getHeight()/2;
    newXform.rotate(Math.toRadians(currentAngle), xRot, yRot);
    g2d.setTransform(newXform);
    //draw image centered in panel
    int x = (getWidth() - image.getWidth(this))/2;
    int y = (getHeight() - image.getHeight(this))/2;
    g2d.scale(m_zoom, m_zoom);
    g2d.drawImage(image, x, y, this);
    g2d.setTransform(origXform);
    public Dimension getPreferredSize() {
    return new Dimension((int)(image.getWidth(this) + 
                                          (image.getWidth(this) * (m_zoom - 1))),
                                     (int)(image.getHeight(this) + 
                                          (image.getHeight(this) * (m_zoom -1 ))));
    public static void main(String[] args)  throws IOException{
    JFrame f = new JFrame();
    Container cp = f.getContentPane();
    cp.setLayout(new BorderLayout());
    Image testImage =
    Toolkit.getDefaultToolkit().getImage("clouds.jpg");
    final RotatePanel rotatePanel = new RotatePanel(testImage);
    final RotatePanel zomePanel = new RotatePanel(testImage);
    JButton b = new JButton ("90 degree");
    JButton c = new JButton ("180 degree");
    JButton d = new JButton ("270 degree");
    JButton e = new JButton ("zoom in");
    c.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent ae) {
    rotatePanel.rotate1();
    d.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent ae) {
    rotatePanel.rotate2();
    b.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent ae) {
    rotatePanel.rotate();
    e.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent ae) {
    zomePanel.zoomIn();
    cp.add(rotatePanel, BorderLayout.NORTH);
    cp.add(b, BorderLayout.WEST);
    cp.add(c, BorderLayout.CENTER);
    cp.add(d, BorderLayout.EAST);
    cp.add(e, BorderLayout.SOUTH);
    // f.pack();
    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    f.setSize(500,500);
    f.setVisible(true);
    }

    TRIPLE CROSS POSTED
    [_http://forum.java.sun.com/thread.jspa?threadID=5314687&messageID=10342105#10342105_|http://forum.java.sun.com/thread.jspa?threadID=5314687&messageID=10342105#10342105]
    Stop posting this question over and over in multiple forums please.

  • Help : Flash Media Encoder and Dazzle

    Can some one please help me with this. I bought a Dazzle usb
    capture card but FME won't allow it to work. I keep getting error
    messages saying "Video format provided by capture device is not
    supported by this application." Any ideas on how to get around
    this?

    FME will work with DirectShow filter supported devices.
    Please check and see of the Dazzle card you have has DirectShow
    support

  • Match, drag and drop game

    Hello,
    My name is Nikola and I'm newbie with AS.
    Here’s the thing:
    With the help of some tutorial I’ve created a 'game', where user selects objects, drags it, and drops it on correct shape/color/object. Tutorial is “1 to 1” based, so you can match one object and one target only.
    Now, I would like to have multi objects, and one target on which I can drop them.
    Example:
    TARGET: blue square
    OBJECTS: blue star, blue circle, etc.
    I got stucked with Instance and Movie clip names since they have to be unique, and the code itself works on the principle of names paring - object: name, target: "target"+object name.
    Here’s a code for “1 to 1” option:
    var objectoriginalX:Number;
    var objectoriginalY:Number;
    shape_mc.buttonMode = true;
    shape_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickupObject);
    shape_mc.addEventListener(MouseEvent.MOUSE_UP, dropObject);
    shape2_mc.buttonMode = true;
    shape2_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickupObject);
    shape2_mc.addEventListener(MouseEvent.MOUSE_UP, dropObject);
    function pickupObject(event:MouseEvent):void {
    event.target.startDrag(true);
    event.target.parent.addChild(event.target);
    objectoriginalX = event.target.x;
    objectoriginalY = event.target.y;
    function dropObject(event:MouseEvent):void {
    event.target.stopDrag();
    var matchingTargetName:String = "target" + event.target.name;
    var matchingTarget:DisplayObject = getChildByName(matchingTargetName);
    if (event.target.dropTarget != null && event.target.dropTarget.parent == matchingTarget){
    event.target.removeEventListener(MouseEvent.MOUSE_DOWN, pickupObject);
    event.target.removeEventListener(MouseEvent.MOUSE_UP, dropObject);
    event.target.buttonMode = false;
    event.target.x = matchingTarget.x;
    event.target.y = matchingTarget.y;
    } else {
    event.target.x = objectoriginalX;
    event.target.y = objectoriginalY;
    I hope that I was clear,
    thanks,
    Nikola

    for your special example give all matching instances an identical leading Letter:
    like: bStar,bSquare,bHeart for all blue Shapes and gStar,gHeart etc. for all green ones...you get the idea
    then change your function
    function dropObject(event:MouseEvent):void
        event.target.stopDrag();
       //check if the leading Letter for both Sprites is the same
        if (testIfMatch(event.target.name, event.target.dropTarget.parent.name))
            event.target.removeEventListener(MouseEvent.MOUSE_DOWN, pickupObject);
            event.target.removeEventListener(MouseEvent.MOUSE_UP, dropObject);
            event.target.buttonMode = false;
        else
            event.target.x = objectoriginalX;
            event.target.y = objectoriginalY;
    function testIfMatch(_drop:String, _target:String):Boolean
        if (_drop.substr(0, 1) == _target.substr(0, 1))
            return true;
        else
            return false

  • Drag and drop mapping UI element/functionality

    Hi All,
    we are searching for functionality, in which the UI should contain drag and drop mapping options.
    e.g.
    we have ztableA(cities) containing values:
    NewYork
    London
    Tokyo
    Moscow
    we have ztableB(countries) containing values:
    Russia
    UnitedStates
    Germany
    England
    the UI should contain above two table values vertically (cities on left side, countries on right), and the user should be able to map by dragging and dropping the cities with appropriate countries.
    initially, the screen will look like:
    NewYork     Russia
    London      UnitedStates
    Tokyo       Germany
    Moscow      England
    after drag and drop actions by the user, it will look like:
    NewYork     UnitedStates
    London      England
    Tokyo      
    Moscow      Russia
                Germany    
    after the mapping is saved by the user, i can save the paired values in 3rd ztable.  
    for this UI, how can we achive, are what is the preferred way to get this, using webdynpro abap or fpm or any other?.
    which UI elements we can use. We are on SAP ECC6, EHP7
    thanks in advance.
    Madhu_1980

    Hi,
    You can use Table UI with drag and Drop. create an Event handler for onDrop and read the drag source and drop target then you can append those to new table.
    Drag and Drop - Web Dynpro for ABAP - SAP Library
    Hope this helps u,
    Regards,
    Kiran

  • Master Slide issue - drag and drop alt slide over theme slide

    Keynote on my MacPro: Where before on the previous version I could in Master Slides drag and drop an alternative look over a theme slide to change that slide only and no affecting the entire presentation which was most useful, now that seems no longer an option unless there's something I can't find to do that. When viewing Master Slides now you cannot see the presentation you're working on. Previously I would set up several slides with different looks and where needed drop that look over a slide and it would override the theme slide without all slides being affected. Qny thought guys? Barry

    Although I have been answering quite a lot of questions about Drag&Drop functionality (not a widget), you are the first to mention such problems.  Personally I never had problems, only when not respecting the design of the interaction or doing something stupid. If you are the only user to have such experience (at least for what I hear in these forums and on social media), I don't see why an upgrade should be expected? Did you log the problem? Are you sure that the project is not corrupted?
    The jigsaw learning interaction is pretty simple, also limited, don't know what are your problems there?
    Are you sure that all objects used in the D&D (drag sources and drop targets) are visible in output. It is a bit confusing in CP8 because the eye icon is used both for visible in output for objects in Properties panel, and for showing the links in D&D in the D&D panel. Can you see the links? Did you avoid overlapping of objects? Did you not rename an object after creating the D&D interaction, because that will break the link from/to that object? I mentioned this in my last article: Drag&Drop tips - Captivate blog
    I am just trying to find out what is going wrong, bit curious about this rare case.

  • Drag and Drop Interaction Wizard

    I am having problems with the Drag and Drop Interaction Wizard.  I am using Captivate (6.1) and when I launch the wizard I am able to select the drag objects and drop targets, but when I get to Step 3 (mapping), I am unable to map the drag sources to the drop targets.  When I double click on the drag source and draw the arrow to the drop target, the arrow disappears. 
    Has anyone else had this problem?  If so, what did you do about it?

    Hi,
    You do not want to double click on the object in Step 3. All you need to do to map the source to destination, on the Green Items you would notice a '+' symbol, drag and put them on the drop item, you would able to map them easily that way, double clicking them would deselect the object.
    For more clarification, what this video tutorial --
    http://www.youtube.com/watch?v=ILtUftHxmag
    Thanks,
    Anjaneai

  • Multiselect drag and drop in ADF

    Hi,
    Is there any way I can implement multi select drag and drop in ADF.
    Currently I have a UI where I have several cards. Each card is built using panelStretchLayout and I can drag and drop each card.
    The requirement is to be able to select multiple cards and drag and drop. Is there any way I can achieve this using ADF.
    Thanks,
    Rajesh.

    Hi,
    For the drag source and drop target previously i have used action="MOVE". I tried with action="COPY" (default action) and it worked out.
    <af:dragSource actions="COPY" discriminant="DnDDemoModel"/>
    <af:collectionDropTarget actions="COPY" modelName="DnDDemoModel"
    dropListener="#{EditMyWorld.editWorkflow}"/>
    Edited by: Priya on Jul 5, 2011 8:42 PM

  • Drag And Drop Components IN Flex

    hello all,
    could we do code for drag components or controls like
    boxes,slider,data grid,and related things from 1 canvas to another
    canvas ?
    I want to show all controls in left canvas and allow user to
    drag it and drop in right canvas .
    Thanks,
    Bachi

    "BachiSree" <[email protected]> wrote in
    message
    news:gc4j1a$m57$[email protected]..
    > hello all,
    > could we do code for drag components or controls like
    boxes,slider,data
    > grid,and related things from 1 canvas to another canvas
    > I want to show all controls in left canvas and allow
    user to drag it and
    > drop
    > in right canvas .
    http://www.quilix.com/node/3

  • Drag and Drop between two windows

    I would like to implement Drag and Drop between two windows for example in Windows I can take URL Address form browser and drag it and drop it in to any control that excepts String like TextField.
    I would like to have the same behavior with my Java Text Controls.
    What can I do to achieve this?

    There is no configuration for it. It should work.
    Can you try it in a different user account. If it works in a different account, then it is likely something in your current user account that is messed up. If it doesn't work in another user account, then it is likely something with Mail, itself. 
    You could try downloading and installing the 10.6.7 combo update. That may repair what is wrong.

Maybe you are looking for