Drag and drop inside SWFLoader does not

I have a Flex application that loads a high Flex application via SWFLoader. The secondary application uses drag-and-drop operations to rearrange items, delete them etc.  The secondary application works perfectly when it runs by itself (for example, not "incorporated" via SWFLoader in the main application).

Once I have load in the main application using a SWFLoader operations drag - move no longer work correctly. All other events seems to work very well. It is only drag and drop that don't always work right.

Y at - it something that I'm missing that would cause this issue? I think there may be a property that I need to put on the SWFLoader. I hope someone can help.

You could maybe make a component, implemented as a module and load only for users who need to see it.

Tags: Flex

Similar Questions

  • Captivate 9 Drag and Drop DropIncorrect State does not

    Hello!

    I ve done a Drag and Drop interaction, where I have 4 targets and 4 drag only one correct answer for each of the sources. I've added States for Drop targets:

    DropCorrect State, The target turns Green when pressing submit, and the answer is correct.

    DropIncorrect State, target Drop becomes Red when press submit and answer is incorrect.

    I thought that it would be a good way to show the user which targets Drop are correct and which aims to drop they must change to get the right answer.

    When the answer is correct, Drop targets turns green and I made an action that says "OK, click anywhere to continue."

    BUT when the answer is wrong, nothing happens to the colors of the Drop target. It s just a failed, Try Again message. Nothing more.

    Why isn´t the State DropIncorrect showing when I press the submit button and the answer is incorrect?

    I just checked the file of this article, which was created on an earlier version of 9 and it works well also for the State of DropInCorrect, but I have only 1 attempt! I suspect that your endless attempts are the cause of the DropIncorrect does not. Compare it with actions on a question slide: success action will be performed when the answer is correct, but the other action will be done only at the last attempt is finished and the answer is wrong. Since you have endless attempts, this last attempt event never occurs.

    Sorry for the late reply, wanted to check a second time and has been very busy today.

  • How to add a code so my drag and drop movie clip will not stick when he's slipped to o final place

    Hello everyone and kglad, I have to use the old drag and drop code on my video clips, but the problem is when I drag the movieclip to the area on my .swf file as soon as I release it, it sticks to the author of the hand.

    I am encloseing I am using the action script could someone or kglad tell me what is missing in the code so that once he is out it does not stick, see the code below

    circle.onPress = function() {}
    startDrag (this);
    }
    circle.onRelease = function() {}
    stopDrag();
    }

    I am desperate for help on that must get ready for this afternoon

    Seal55

    the following is preferred:

    Circle1.onPress = function() {}

    this.startDrag ();

    }

    Circle1.onRelease = circle1.onReleaseOutside = function() {}

    this.stopDrag ();

    }

  • copy/paste (drag and drop) host <>customer <>do not work

    Hello

    I have vmware workstation 7.1.1 on a host windows7 (64) and xp (sp3) client. I'm trying to copy some text from the client to the host with the Clipboard. It does not work.  The setting for the isolation of the comments in the Settinmgs virtual machine (options tab) are both enabled. I also activate vmci.

    I tried to copy back and forth and you don't see any effect (dough is always disabled or not content). Drag-and - déposer stop when I try to leave to the client window.

    any help is welcome.

    concerning

    Georg

    Do you have the VMware Tools installed in the XP VM?

    André

  • Cannot drag and drop files from library

    I just installed Muse and began to watch the tutorial until I came across a problem: I can't drag and drop files as does the Lady in the video and I don't know how to solve the problem, I don't want to renounce the Muse of learning if no solution will be found :/ I hope that someone will help!

    SOLVED

    Muse has defiantly a bug, if you select an object, first of all, in the content of your region and your willingness to see the cc library allow to add items.

    This however, only the element which is already included in your project Muse.

    I have solved this problem by using the cc Adobes library in another application, Illustrator and Photoshop.

    All of my graphics and fonts are now synced to my library of cc and when I return in Muse, fixed!

    all my items are there to use the library of cc AI or Psd.

  • Firefox bookmarks bar does not allow me to drag-and - drop Web site icons. I went into the display and click on "bookmarks bar".

    Firefox bookmarks bar does not allow me to drag-and - drop Web site icons. I went into the display and click on "bookmarks bar". bookmarks bar but her but its not allowing me to drag and drop the icon on the toolbar. I tried everything it is supposed to do, but his does not work. his frustration.

    Stef. /. \

    Make sure the toolbars like the toolbar 'Navigation' and the 'personal bar' are visible.

    • View > toolbars
    • Right click on empty toolbar space

    Use the toolbar (Customize) to open the Customize and set the toolbar to display items.

    • Make sure the "bookmarks toolbar items" are on the personal bar
    • If "Bookmarks Toolbar items" is not on the bookmarks toolbar, then FRY it in the palette of the toolbar in the window the bookmarks toolbar Customize
    • If the missing elements are in the toolbar palette then drag them from the window, customize the toolbar
    • If you do not see an item on a toolbar in the toolbar palette and then click the button "Restore default" to restore the default toolbar configuration

    You can check the problems caused by a corrupt localstore.rdf file if the above didn't help.

  • Why Magic Trackpad 2 does not allow me to drag-and - drop

    I bought a Magic Trackpad 2

    and it does not allow me to drag and drop the most basic functions

    Why?

    Click the icon, not the file name, and do not press too hard.

  • I've lost the ability to copy files on my CD player. When I drag and drop, the only authorized action is 'move' and it does not work.

    I've lost the ability to copy files on my CD player.  When I drag and drop, the only authorized action is 'move' and it does not work.   I tried press and hold the CTRL key while dragging, and when I do that all the other disks show "copy" as the default action, but when I hover over the action CD player available only changes to 'pass '.   I ran the Microsoft Troubleshooting tool for CD/DVD players and he said that the media were not writable, but there is a blank CD in the drive.  Any ideas on how to solve this problem?

    Thanks, but the cd/dvd drive works well - I can burn a cd with windows media player for example.  the problem is that I can't copy files to it.   I can play CDs (haven't checked the DVD).  I can not do and could do before, is doing drag and drop files on it.  The only authorized action is "move".   This happens even when I click CTRL + do drag.   I can copy it to any other player, but the CD player, and when I hover over the "exemplary" drive CD goes to 'move '.

    have you tried using a different suite of cd/dvd burning?

    Imageburn is free and easy to use: http://download.imgburn.com/SetupImgBurn_2.5.7.0.exe

    There may be something to play with your access keys if you have a (ie., wirekeys)

  • How can I fix the "drag and drop" feature in Windows 7? It used to work, but now does not work, for no apparent reason!

    How can I fix the "drag and drop" feature in Windows 7?  It used to work, but now does not work, for no apparent reason!

    What happens when you try?  Make sure you drag the icon image and not the text of the name.

    If it still doesn't work there are some registry changes that can try to alleviate the problem.  But because the changes to the registry are tedious and dangerous, I recommend to leave the system to repair it for you.  Here's how:
    1. Type of restore in the search box of the start menu to find and open to restore system files and settings from a restore point.
    2. Click Next, choose a date before the problem started, then click Next once more.
    • This process only takes around 2 minutes and only restores your system files/settings: it will not affect any of your files, documents, photos, emails, or anything else.
    If the system restore does not resolve the problem try this to replace missing or corrupted system files.  Here's how:
    1. Type cmd into the start menu search box, and then press Ctrl-Shift-Enter to launch as administrator.
    2. At the command prompt to start the File System Check, type sfc/scannow .
  • VMWare Workstation on Windows Drag and Drop 8.1 10.0.1 does not

    I use VMWare Workstation10.0.1 on a host Windows 8.1 and a guest on Windows Server 2008 R2. Drag / move does not seam to work between the guest and the host.   Copy / paste work, just not drag and drop.   Drag / drop "Not" work with a Windows 7 guest.

    I checked and tried the following:

    1. Drag and Drop is enabled under Guest insulation.
    2. I tried re - install the VMWare tools and am sure that they are running.
    3. I launched VMWare Workstation "as Administrator".
    4. I'm using a simple file created in Notepad.

    I just buy VMWare Worksation 33 days, so I'm 3 days on the support.

    Any ideas?

    Thanks in advance.

    RedBaaron wrote: I tried re - install the VMWare tools and am sure that they are running.

    Did you uninstall completely, not to do a repair and then re-install VMware tools?

  • Captivate 8 drag and drop interaction does not

    Hi, I work with 8 Captivate and created an interaction drag-and - drop using the wizard to drag / move. For some reason when I preview the interaction some of my sources of drag and others are not. I searched high and low for what I can hurt, but I can not understand. I created types when doing the interaction so it is not sensible that some should work and others don't. Thanks for any help you can provide.

    Hi Vaneppmc1,

    You have disabled the option accept all of the dialog "drag accepted Source. (as seen from your capture screen images).

    If the option "accept all the" is checked, the target can accept 'ALL' sources who are ticked in the column 'Drag Source Types '. In your case, Image 9 can accept sources of type "Bad conscience".

    Since you have unchecked the option accept everything, and the value of Count is 1 (which is default). Here so the target can accept only 1 source of type "Healthy Conscience of the United Nations" and lift reject legend of error on the acceptance of another source.

    Check the option "accept all the ' try and let me know if this works for you.

    If this does not solve your problem please share your Cptx file to address the issue by e-mail ([email protected]).

    Thank you

    Derrick

  • Drag and drop does not not in MacOS 10.7.5 EP 12 (Lion)

    I "copied" the icon of the editor of Photoshop elements 12 to the docking station.  When I drag and drop a photo (for example, JPG or NAVE) icon to the element editor icon in the dock, nothing happens - elements does not open.  The photo icon just "pops" in the folder I was dragging it since.  All previous versions of the components I used have behaved like any other Mac application and opened the photo (with a NAVE, the photo opened properly in the cab file).  Other Mac applications such as preview, open a file very well when she I do drag and drag the file on the application icon.

    I tried the same experiment with icons of the editor and organizer in my Applications folder and got the same results (the application does not open the file).

    I've skimmed through the preferences of PE to see if there was some kind of new preference for 'drag and drop' behavior, but found nothing.

    So, what don't get me?  How can I get 12 PE to open a file when I drag and drop a photo on the editor icon (or if I really, the Organizer) icon?

    Drag & drop works fine for me on 10.9

    Maybe you copied the wrong icon, the application is located in the support files.

    Applications > Adobe Photoshop Elements 12 > support files

    Locate the editor of Photoshop elements 12 in the Support files folder.

  • Problem slider disappears / Drag and Drop does not work

    Hey everybody,

    I have an urgent problem.

    Three butterflies are supposed to be slipped into an object.  My custom cursor is a kind of net to catch these butterflies.


    For the cursor, I have this code:

    cursor_mc.StartDrag ("true");
    Mouse.Hide ();

    My drag and drop code is:

    cursor_mc.addEventListener (MouseEvent.MOUSE_DOWN, startMove);
    redbutterfly_mc.addEventListener (MouseEvent.MOUSE_DOWN, startMove);
    violetbutterfly_mc.addEventListener (MouseEvent.MOUSE_DOWN, startMove);
    yellowbutterfly_mc.addEventListener (MouseEvent.MOUSE_DOWN, startMove);

    cursor_mc.addEventListener (MouseEvent.MOUSE_UP, stopMove);
    redbutterfly_mc.addEventListener (MouseEvent.MOUSE_UP, stopMove);
    violetbutterfly_mc.addEventListener (MouseEvent.MOUSE_UP, stopMove);
    yellowbutterfly_mc.addEventListener (MouseEvent.MOUSE_UP, stopMove);


    function startMove(evt:MouseEvent):void {}
    redbutterfly_mc.StartDrag ();
    cursor_mc.StartDrag ();
    violetbutterfly_mc.StartDrag ();
    yellowbutterfly_mc.StartDrag ();
    }

    function stopMove(evt:MouseEvent):void {}
    redbutterfly_mc.stopDrag ();
    cursor_mc.stopDrag ();
    violetbutterfly_mc.stopDrag ();
    yellowbutterfly_mc.stopDrag ();
    }

    But when I'm clicking on a butterfly my cursor stops to move and stay on the throttle position, that I'm dragging. After a fall, there is no cursor at all so we don't know where the mouse is currently located.

    Anyone know why it does not work? I am currently working with a mousefollower, because right now, it's the only way it works...

    The mousefollower code is:

    addEventListener (Event.ENTER_FRAME, enterFrameHandler)

    function enterFrameHandler(event:Event):void {}
    cursor_mc.x += cursor_mc.mouseX / 4;
    cursor_mc.y += cursor_mc.mouseY / 4;
    }

    But now I have the problem that only the Yellow Butterfly moves even if I'm clicking on red or purple...

    Please help me! Thank you in advance!

    Try to use the following code to manage the cursor_mc...

    Mouse.Hide ();
    cursor_mc.mouseEnabled = false; keep the cursor to interfere
    this.addChild (cursor_mc); to place the cursor at the highest level

    function moveCursor(evt:MouseEvent_=_null):void {}
    cursor_mc.x = mouseX;
    cursor_mc.y = mouseY;
    }
    stage.addEventListener (MouseEvent.MOUSE_MOVE, moveCursor);

    moveCursor(); to locate initially mouseover

  • Drag and drop outside the canvas does not

    Hello

    I changed the code below to drag and drop a canvas inside another canvas. Why can I not move the Red Canvas outside in blue? The mouse pointer must be inside the Red canvas in order to move the red. Incredible.

    Can you help me?

    Chris

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:mx mx:Application ' http://www.Adobe.com/2006/MXML "layout ="absolute"width ="780" "
    creationComplete = "creationCompleteHandler ()" >

    < mx:Canvas id = "invisible_holder" width = "100%" height = "100%" backgroundColor = "#ff0000" backgroundAlpha = "0" / >
    < mx:Canvas id = "BlueCanvas" x = "97" y = "263" width = "300" height = "300" backgroundColor = "blue" backgroundAlpha = "0.1" >

    < mx:Canvas id = "RedCanvas" x = "26" y = "38" width = "200" height = "200" mouseDown = "childMouseDown (event)" "
    backgroundColor = "red" >
    < mx:Label id = "dd" text 'labe lll' = >

    < / mx:Label >
    < / mx:Canvas >

    < / mx:Canvas >

    < mx:Script >
    <! [CDATA]
    Import mx.core.DragSource;
    Import mx.core.UIComponent;
    Import mx.events.DragEvent;

    Import mx.managers.DragManager;

    Variables used in lieu of the image
    public var xOff:Number;
    public var yOff:Number;
    public var xThisBefore:Number;
    public var yThisBefore:Number;
    public var xThisAfter:Number;
    public var yThisAfter:Number;
    Create event to drag listeners.
    private function creationCompleteHandler (): void
    {
    RedCanvas.addEventListener (DragEvent.DRAG_DROP, dropEnter);
    RedCanvas.addEventListener (DragEvent.DRAG_ENTER, applicationDragEnter);
    }

    private void dropEnter(event:DragEvent):void {}
    RedCanvas.x = this.mouseX - xOff;
    RedCanvas.y = this.mouseY - yOff.
    xThisAfter = this.mouseX;
    yThisAfter = this.mouseY;
    RedCanvas.x = xOff + (xThisAfter - xThisBefore);
    YOff = RedCanvas.y + (yThisAfter - yThisBefore);

    this.addChildAt(RedCanvas,1)
    changeZIndex (1);
    RedCanvas.addEventListener (DragEvent.DRAG_DROP, dropEnter);
    RedCanvas.addEventListener (DragEvent.DRAG_ENTER, applicationDragEnter);
    }

    private void changeZIndex (direction: int): void {}
    var newIndex:int = BlueCanvas.getChildIndex (RedCanvas) + direction;

    If (newIndex > = 0 & & newIndex < BlueCanvas.numChildren) {}
    BlueCanvas.setChildIndex (RedCanvas, newIndex);
    }
    }

    The application accepts drag-and - drop.
    (except when the user is dragging the Red painting on canvas blue)
    private void applicationDragEnter(event:DragEvent):void
    {
    If (event.dragSource.hasFormat ('data'))
    {
    DragManager.acceptDragDrop (event.currentTarget as UIComponent);
    }
    }

    Start the operation drag - move
    private void childMouseDown(event:MouseEvent):void
    {
    xThisBefore = this.mouseX;
    yThisBefore = this.mouseY;

    xOff = RedCanvas.x;
    yOff = RedCanvas.y;

    var data: String = "data";
    Source: DragSource var = new DragSource();
    source.addData (data, 'data');
    DragManager.doDrag (event.currentTarget UIComponent, source, event);
    }
    []] >
    < / mx:Script >
    < / mx:Application >

    I got it work in reviewing this function:

    private function creationCompleteHandler (): void {}
    BlueCanvas.addEventListener (DragEvent.DRAG_DROP, dropEnter);
    BlueCanvas.addEventListener (DragEvent.DRAG_ENTER, applicationDragEnter);
    }

    Thius is logical, because you want dropEnter and dragEnter on blue canvas.

    If this post has answered your question or helped, please mark it as such.

  • Drag and Drop grid does not work

    I HAVE MS WINDOWS XP.

    I HAVE A FOLDER WITH DOCUMENTS WORD AND JPEG IN IT.

    WHEN I DRAG AND DROP A FILE INTO THE FOLDER TO MOVE AROUND I NO LONGER GET THE GRID OF CLARET BAR "BLACK." THE FILE AROUND EMERGES IN THE FOLDER, YOU CAN MOVE ANYWHERE, IT WILL OVERLAP OTHER ICONS FILE.

    IT HAD WORKED, IT SEEMS THAT I MIGHT MOVE ONE FILE ON THE WINDOWS OF THE SCREEN AT A GIVEN TIME, PERHAPS THIS CORRUPTED SOMETHING.

    IN ANY CASE, CREATED A NEW FOLDER, COPIED THE OLD FILES FOLDER, IT WORKS VERY WELL.

    WHEN TO USE THE OLD NAME OF FILE, SAME PROBLEM, NO 'BLACK' DRAG-AND-DROP POSITIONING GRID BAR.

    THE FORMER NAME OF FOLDER SHOULD BE SOMEWHERE AND IT IS CORRUPT.

    I NOTICED THAT THE SREEN GTA CLICK WINDOW ARRANGE ICONS AUTO ARRANGE AND ALIGN WITH THE GRID OPTIONS ARE CHECKED, THE FILES DO NOT HAVE THESE OPTIONS.

    MAYBE THERE IS A COMMAND TO CHANGE REGISTRY RUN WHERE I CAN FIX SOMETHING.

    BUCKS COUNTY, PENNSYLVANIA

    Hello

    This is probably because you have disabled somehow "Auto arrange" for this folder.

    Open the folder where you had problems, and then click the drop-down display. You will see options for how you want to see the contents of the folder. If you selected thumbnails, tiles or icons, there is another option under the terms of "rearrange icons by" called "auto arrange". This is a toggle switch, repeated clicks turn the lights-off etc.

    BTW, the use of 'all capitals' type is not considered by some as the right label and discourage some people to respond. So, if you want to maximize your chances of a reply in the future, type like I did, or even entirely in lowercase.

    Tricky

Maybe you are looking for