Drag and Drop same effects in AIR ?

I would like to have the same effects in AIR for the sample in below link:
http://saturnboy.com/2010/12/drag-and-drop-revisited/
Any workaround ?

I found, use <s:WindowedApplication  useNativeDragManager="false"/>

Similar Messages

  • Drag and Drop audio effect hits all tracks

    How is it that when I drag and drop a tried and true compressor effect onto an audio clip (FCP6), it now takes to all audio tracks from the same clip. Then I have to go back and remove the effect from the other (3) tracks. Bug, or setting I'm missing?
    Forrest

    Final Update: ...god willing...
    OK! Check it, like I said in previous posts I seemed to have narrowed it down to specific mp3s not converting and playing in their native sample rate which if paired with another sample would give you the "audio midi sync" error and basically screw up your clock! It appears mp3 files converting to mp3 using iTunes would not convert to the correct sample rate if set to something other than 44 in logic and cause this. A tad peculiar Apple iTunes won't work with Apple Logic. I was able to confirm this on two mac's via my friend in Florida. He's running Tiger and tried the same experiment and Booya! Mickey Mouse! It appears this insane week long adventure has came to an end (...god willing) with a super specific unlucky shot in the dark on my part finally revealed to be an perfectly normal function of Logic (obviously one i'm not fond of..) As far as the errors / crashes / system overloads / kernal panics I think I can sort those out to the mackie onyx satellite not being a good choice and trying to add and remove firewire devices in the middle of the sample rate mayhem. Wow! all I can say is, I'm glad it's over
    Wish me a lot of luck in the future.. I'm sure i'll need it!

  • Drag and Drop without effect

    Hello,
    I have created a drag and drop following the examples
    provided by the documentation, and i didn't find any example
    without the zoom out effect during the drop.
    So now I have my drag and drop operation using the drag and
    drop manager and I would remove this effect during the drop.
    Anyone can help me ?

    Hello,
    I have created a drag and drop following the examples
    provided by the documentation, and i didn't find any example
    without the zoom out effect during the drop.
    So now I have my drag and drop operation using the drag and
    drop manager and I would remove this effect during the drop.
    Anyone can help me ?

  • Drag and Drop Image in Adobe Air

    Is there a problem with the 'Drag Image' proxy, that is present in the DragManager class' doDrag method? I have tried using this and it works absolutely fine with a web application, but DOES NOT work with an AIR application.

    Hi Alex,
    code you posted seems to be of as2 not as3.

  • ITunes Drag and Drop - dead!

    Using my MacBook Pro I was able to drag and drop in iTunes to transfer music to my iPad Air and iPhone - until recently. On 21 November, I tried to drag and drop some tracks - would not work. I tried dragging and dropping to both iPad Air and iPhone - nothing.
    Just for fun I then used iTunes on a PC (Windows) and the same thing - drag and drop would not work. As a matter of fact on either system, MAC or PC, if I checked a song to SYNC - no SYNC!
    MacBook Pro: OS X Yosemite Version: 10.10.1
    iTunes: 12.0.1.26
    iPad Air and iPhone 6
    HELP!!!!!!!

    Have discovered the issue is with Wacom tablet. Needed to revert to Apple mouse.

  • Drag and drop onto a cd loses quality

    I shoot in RAW and the file sizes are large and I can manipulate the e-mails BUT
    I noitced that when I drag and dropped RAW photos on to a CD to burn the jPeg qulaity dropped.
    For instance a 14.5mb drops to 537kb..
    I would guess I need to change something and would like help with the issue.
    Thnak you,
    Greg

    Hi Greg -- I really wish I could retract my post.  It doesn't read at all the way I thought it did.  Please accept my apology.  What I was trying to say is that as a means of exporting, drag-and-drop is effectively crippled in Aperture.
    Aperture's complexity makes dragging-and-dropping Images to create and export files unworkable without additional input.  The designers made, imho, a good decision in making drag-and-drop of Images from Aperture to another program equal to exporting the Previews of the dragged Images.
    Again, my apologies -- and my thanks for your soft handling of my rudeness.
    Cheers,
    --Kirby.

  • Please Help! Drag and drop does not work in Adobe AIR 3.1 (FlashBuilder 4.6)

    I am working on a PC is made of air and flashbuilder 4.6.
    Drag and drop application does not work in Flash Builder 4.6.
    However, the same source will work with Flash Builder 4.5.
    Please help me.
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                                  xmlns:s="library://ns.adobe.com/flex/spark"
                                  xmlns:mx="library://ns.adobe.com/flex/mx"
                                  backgroundColor="#323232" width="100%" height="100%"
                                  initialize="init(event)"
                                  nativeDragEnter="onDragEnter(event)"
                                  nativeDragDrop="onDragDrop(event)">
              <fx:Script>
              <![CDATA[
                        import mx.events.FlexEvent;
                        protected function init(event:FlexEvent):void
                                  addEventListener(NativeDragEvent.NATIVE_DRAG_ENTER, onDragEnter);
                                  addEventListener(NativeDragEvent.NATIVE_DRAG_DROP, onDragDrop);
                        private function onDragEnter(event:NativeDragEvent):void
                                  if (event.clipboard.hasFormat(ClipboardFormats.FILE_LIST_FORMAT))
                                            NativeDragManager.acceptDragDrop(this);
                        private function onDragDrop(event:NativeDragEvent):void
                                  var arr:Array;
                                  arr = Array(event.clipboard.getData(ClipboardFormats.FILE_LIST_FORMAT));
                                  startImage.source = (arr[0] as File).url;
                ]]>
              </fx:Script>
              <s:layout>
                        <s:VerticalLayout/>
              </s:layout>
              <s:BorderContainer id="bc" borderStyle="solid" width="200" height="80%"/>
              <s:Image id="startImage" width="100%" height="100%"
                                             horizontalAlign="center" verticalAlign="middle"/>
      </s:WindowedApplication>

    Thank you answers, but it was not the answer I wanted.
    [Problem]
    * Flash Builder 4.5.1(updater) or Flash Builder 4.6
    - If you have installed on pc, does not work adobe air drag and drop
    [Solution]
    1. Reinstalling the Windows 7 (32bit).
    2. Install Flash Builder 4.5.
    3. Flash Builder 4.5.1 updater and Flash Builder 4.6 does not install.
       (Instead of using Flex SDK 4.6 is set up)
    In addition, Windows7 64bit environment does not work drag and drop.
    Is there another solution?

  • Drag and drop in same container

    I am having a Vbox and have number of panels inside it.
    I need to add a drag and drop facility to my VBox so that
    using my mouse, I can change the order of panels in my Vbox.

    Hey thanks Tracy. Here is an another method.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="vertical">
    <mx:Script>
    <![CDATA[
    import mx.effects.easing.Back;
    import mx.containers.HBox;
    import mx.containers.Box;
    import mx.controls.Alert;
    import mx.core.IUIComponent;
    import mx.events.DragEvent;
    import mx.managers.DragManager;
    import mx.core.DragSource;
    import mx.collections.ArrayCollection;
    private var mouseIsDown:Boolean=false;
    private var accWin:TitleWindow;
    private var atLeastOneNotVis:Boolean=false;
    private var graphData:ArrayCollection = new
    ArrayCollection();
    private function toggleChartAndCb(graphWin:TitleWindow,
    graphCb:CheckBox, show:Boolean):void{
    graphCb.selected = show;
    this.toggleChart(graphWin,show);
    private function toggleChart(graphWin:TitleWindow,
    show:Boolean):void{
    if(show){
    graphWin.visible=true;
    graphWin.height=150;
    }else{
    graphWin.visible=false;
    graphWin.height=0;
    private function
    dragInit(graphWin:TitleWindow,graphData:ArrayCollection,
    event:MouseEvent,dataFormat:String):void{
    if(mouseIsDown){
    var ds:DragSource=new DragSource();
    ds.addData(graphData,dataFormat);
    DragManager.doDrag(graphWin,ds,event);
    private function
    handleDragEnter(event:DragEvent,dataFormat:String):void{
    if(event.dragSource.hasFormat(dataFormat)){
    DragManager.acceptDragDrop(IUIComponent(event.target));
    private function handleDragDrop(acceptor:TitleWindow):void{
    accWin=acceptor;
    private function handleDragComplete(event:DragEvent):void{
    var initWin:TitleWindow = event.dragInitiator as
    TitleWindow;
    if(accWin!=null && accWin!=initWin){
    var initWinIdx:Number =
    initWin.parent.getChildIndex(initWin);
    var accWinIdx:Number = accWin.parent.getChildIndex(accWin);
    //same parents, just flip
    if(accWin.parent==initWin.parent){
    accWin.parent.setChildIndex(accWin,initWinIdx);
    accWin.parent.setChildIndex(initWin,accWinIdx);
    //not same parent
    else{
    var initChildArr:Array=(Box(initWin.parent)).getChildren();
    var initChildSibling:DisplayObject;
    for each(var initChild:DisplayObject in initChildArr){
    if(initChild.name!=initWin.name){
    initChildSibling = initChild;
    break;
    var initWinRef:DisplayObject=
    initChildSibling.parent.removeChild(initWin);
    accWin.parent.addChildAt(initWinRef,accWinIdx);
    var accWinRef:DisplayObject =
    accWin.parent.removeChild(accWin);
    initChildSibling.parent.addChildAt(accWinRef,initWinIdx);
    override public function localToContent(point:Point):Point{
    return point;
    private function
    checkAndHandleDE(event:DragEvent,cont:Box,dataFormat:String):void{
    if(event.dragSource.hasFormat(dataFormat)){
    var childArr:Array=cont.getChildren();
    var atLeastOneNotVis:Boolean=false;
    for each(var currChild:TitleWindow in childArr){
    if(!currChild.visible){
    atLeastOneNotVis=true;
    break;
    if(atLeastOneNotVis){
    DragManager.acceptDragDrop(IUIComponent(event.target));
    private function
    checkAndHandleDD(event:DragEvent,cont:Box):void{
    var childArr:Array=cont.getChildren();
    for each(var currChild:TitleWindow in childArr){
    if(!currChild.visible){
    accWin=currChild;
    break;
    ]]>
    </mx:Script>
    <!--Checkboxes-->
    <!--I have used checkboxes to show that the panels can be
    toggled-->
    <mx:Panel width="100%" horizontalAlign="center"
    layout="horizontal">
    <mx:CheckBox id="panel1Cb" change="toggleChart(panel1,
    panel1Cb.selected)"
    label="Panel 1" selected="true"/>
    <mx:CheckBox id="panel2Cb" label="Panel 2"
    selected="true"
    change="toggleChart(panel2, panel2Cb.selected)"/>
    <mx:CheckBox id="panel3Cb" label="Panel 3"
    selected="true"
    change="toggleChart(panel3, panel3Cb.selected)"/>
    <mx:CheckBox id="panel4Cb" label="Panel 4"
    selected="true"
    change="toggleChart(panel4, panel4Cb.selected)"/>
    <mx:CheckBox id="panel5Cb" label="Panel 5"
    selected="true"
    change="toggleChart(panel5, panel5Cb.selected)"/>
    <mx:CheckBox id="panel6Cb" label="Panel 6"
    selected="true"
    change="toggleChart(panel6, panel6Cb.selected)"/>
    <mx:CheckBox id="panel7Cb" label="Panel 7"
    selected="true"
    change="toggleChart(panel7, panel7Cb.selected)"/>
    <mx:CheckBox id="panel8Cb" label="Panel 8"
    selected="true"
    change="toggleChart(panel8, panel8Cb.selected)"/>
    <mx:CheckBox id="panel9Cb" label="Panel 9"
    selected="true"
    change="toggleChart(panel9, panel9Cb.selected)"/>
    </mx:Panel>
    <!--Graph Panel-->
    <!--For each row add an HBox and keep the number of
    containers same. You just have to change the id of the container
    and references to it in various events-->
    <mx:HBox id="upperBox" mouseDown="{mouseIsDown=true}"
    mouseUp="{mouseIsDown=false}"
    dragEnter="checkAndHandleDE(event,upperBox,'objFormat')"
    width="100%"
    dragDrop="checkAndHandleDD(event,upperBox)">
    <mx:TitleWindow id="panel1" title="Panel 1"
    showCloseButton="true"
    close="toggleChartAndCb(panel1,panel1Cb,false)" width="100%"
    height="150"
    mouseMove="dragInit(panel1,graphData,event,'objFormat')"
    dragEnter="handleDragEnter(event,'objFormat')"
    dragDrop="handleDragDrop(panel1)"
    dragComplete="handleDragComplete(event)"/>
    <mx:TitleWindow id="panel2" title="Panel 2"
    showCloseButton="true"
    close="toggleChartAndCb(panel2,panel2Cb,false)" width="100%"
    height="150"
    mouseMove="dragInit(panel2,graphData,event,'objFormat')"
    dragEnter="handleDragEnter(event,'objFormat')"
    dragDrop="handleDragDrop(panel2)"
    dragComplete="handleDragComplete(event)"/>
    contied... to next message

  • Using MouseMotionListener in order to have a drag and drop effect

    Hello,
    How is the exact syntax in order for the following code to work even for Drag and Drop effects of the drawn figures.
    package tpi;
    import java.awt.*;
    import java.awt.event.*;
    public class Desenare extends Frame{
         private Panel selPanel;
         private Choice sel;
         private Choice fond;
         private Choice lista;
         private MyCanvas canvas;
         public Desenare(String titlu){
              super(titlu);
              selPanel = new Panel(new GridLayout(6,1));
              Label label1 = new Label("Culoare");
              sel = new Choice();
              sel.addItem("Alb");
              sel.addItem("Albastru");
              sel.addItem("Verde");
              sel.addItem("Negru");
              sel.select(0);
              Label label2 = new Label("Figura");
              lista = new Choice();
              lista.addItem("Dreptunghi");
              lista.addItem("Linie");
              lista.addItem("Cerc");
              lista.select(0);
              Label label3 = new Label("Culoare Fond");
              fond = new Choice();
              fond.addItem("Negru");
              fond.addItem("Verde");
              fond.addItem("Albastru");
              fond.addItem("Alb");
              fond.select(0);
              IL itemListener = new IL();
              sel.addItemListener(itemListener);
              fond.addItemListener(itemListener);
              lista.addItemListener(itemListener);
              selPanel.add(label1);
              selPanel.add(sel);
              selPanel.add(label2);
              selPanel.add(lista);
              selPanel.add(label3);
              selPanel.add(fond);
              selPanel.setBackground(Color.LIGHT_GRAY);
              canvas = new MyCanvas();
              add("West",selPanel);
              add("Center",canvas);
              addWindowListener(new WA());
              setSize(400,300);
              setVisible(true);
         class WA extends WindowAdapter{
              public void windowClosing(WindowEvent e){
                   System.exit(0);
         class IL implements ItemListener{
              public void itemStateChanged(ItemEvent event){
              canvas.repaint();
         Color genCuloare(String culoare){
              Color color;
              if (culoare.equals("Negru")) color = Color.black;
              else if (culoare.equals("Verde")) color = Color.green;
              else if (culoare.equals("Albastru")) color = Color.blue;
              else if (culoare.equals("Alb")) color = Color.white;
              else color = Color.black;
              return color;
         class MyCanvas extends Canvas{
              public void paint(Graphics g){
              String culoare = sel.getSelectedItem();
              Color color = genCuloare(culoare);
              g.setColor(color);
              color = genCuloare(fond.getSelectedItem());
              setBackground(color);
              Dimension dim = getSize();
              int cx = dim.width/2;
              int cy = dim.height/2;
              String figura = lista.getSelectedItem();
              if (figura.equals("Linie"))
              g.drawLine(cx/2,cy/2,3*cx/2,3*cy/2);
              else if (figura.equals("Dreptunghi"))
              g.fillRect(cx/2,cy/2,cx,cy);
              else if (figura.equals("Cerc"))
              g.fillOval(cx/2,cy/2,cx,cy);
              ML listener = new ML();
              canvas.addMouseMotionListener(listener);
              public class ML implements MouseMotionListener{
                   @Override
                   public void mouseDragged(MouseEvent arg0) {
                        // TODO Auto-generated method stub
                   @Override
                   public void mouseMoved(MouseEvent arg0) {
                        // TODO Auto-generated method stub
              public static void main(String []args){
              Desenare d = new Desenare("Desenare 2D");
    Where exactly do i have to add the MouseMotionListener , i guess that i should add it to the canvas , and the inherited metod shoul be modified in order to use canvas.repaint() at the location where the draggin effect has ended, or if there is some other way when i press the mouse on the figure and start moving around to getX() and getY() and use the repaint method at those coordinates , wich is a drag and drop effect , i think that it would be MouseMoved , but i`m not sure, and also not sure how to use the Event Listener , where exactly ?
    Thanks,
    Paul

    When you post a code, use code tags for propere formatting. Click CODE icon on the taskbar for generating code tag pair you need.
    In order to do dragging the figure on the canvas or panel, you should use advanced Java 2D APIs, including Shape and its descendants. Example shown below might help, but beware, this version does not remember previous drag result for a figure over multiple lista Choice selection. Previous drag result is reset for the next selection of the same figure.
    If you want to prevent flickering on the screen while dragging, use javax.swing and its components. If you have to use AWT, draw the figure into an Image or BufferedImage of full panel size and call g2.drawImage() in the paint() method.
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import javax.swing.event.*;
    public class Desenare extends Frame{
      private Panel selPanel;
      private Choice sel;
      private Choice fond;
      private Choice lista;
      private MyCanvas canvas;
      Color fcolor, bcolor;
      enum Fig{LINE, RECT, CIRCLE};
      Fig fig;
      int xL0, yL0, xL1, yL1;
      int xR0, yR0, xR1, yR1;
      int xC0, yC0, xC1, yC1;
      int dxL, dyL, dxR, dyR, dxC, dyC;
      Shape shape;
      public Desenare(String titlu){
        super(titlu);
        selPanel = new Panel(new GridLayout(6,1));
        fcolor = bcolor = Color.white;
        dxL = dyL = dxR = dyR = dxC = dyC = 0;
        Label label1 = new Label("Culoare");
        sel = new Choice();
        sel.addItem("Alb");
        sel.addItem("Albastru");
        sel.addItem("Verde");
        sel.addItem("Negru");
        sel.select(0);
        Label label2 = new Label("Figura");
        lista = new Choice();
        lista.addItem("Dreptunghi");
        lista.addItem("Linie");
        lista.addItem("Cerc");
        lista.select(0);
        Label label3 = new Label("Culoare Fond");
        fond = new Choice();
        fond.addItem("Alb");
        fond.addItem("Albastru");
        fond.addItem("Verde");
        fond.addItem("Negru");
        fond.select(0);
        IL itemListener = new IL();
        sel.addItemListener(itemListener);
        fond.addItemListener(itemListener);
        lista.addItemListener(itemListener);
        selPanel.add(label1);
        selPanel.add(sel);
        selPanel.add(label2);
        selPanel.add(lista);
        selPanel.add(label3);
        selPanel.add(fond);
        selPanel.setBackground(Color.LIGHT_GRAY);
        canvas = new MyCanvas();
        add(selPanel, BorderLayout.WEST);
        add(canvas, BorderLayout.CENTER);
        addWindowListener(new WA());
        setSize(400, 300);
        setVisible(true);
      class WA extends WindowAdapter{
        public void windowClosing(WindowEvent e){
          System.exit(0);
      class IL implements ItemListener{
        public void itemStateChanged(ItemEvent event){
          Object o = event.getSource();
          if (o == sel){
            String culoare = sel.getSelectedItem();
            fcolor = genCuloare(culoare);
            canvas.repaint();
          else if (o == fond){
            bcolor = genCuloare(fond.getSelectedItem());
            canvas.setBackground(bcolor);
          else if (o == lista){
            String figura = lista.getSelectedItem();
            if (figura.equals("Linie")){
              fig = Fig.LINE;
            else if (figura.equals("Dreptunghi")){
              fig = Fig.RECT;
            else if (figura.equals("Cerc")){
              fig = Fig.CIRCLE;
            shape = prepareShape(fig);
            canvas.repaint();
      Shape prepareShape(Fig fig){
        Shape shape = null;
        if (fig == Fig.LINE){
          shape = new Line2D.Float(xL0, yL0, xL1, yL1);
        else if (fig == Fig.RECT){
          shape = new Rectangle2D.Float(xR0, yR0, xR1, yR1);
        else if (fig == Fig.CIRCLE){
          shape = new Ellipse2D.Float(xC0, yC0, xC1, yC1);
        return shape;
      Shape prepareShapeDrag(Fig fig){
        Shape shape = null;
        if (fig == Fig.LINE){
          shape = new Line2D.Float(xL0 + dxL, yL0 + dyL, xL1 + dxL, yL1 + dyL);
        else if (fig == Fig.RECT){
          shape = new Rectangle2D.Float(xR0 + dxR, yR0 + dyR, xR1, yR1);
        else if (fig == Fig.CIRCLE){
          shape = new Ellipse2D.Float(xC0 + dxC, yC0 + dyC, xC1, yC1);
        return shape;
      Color genCuloare(String culoare){
        Color color;
        if (culoare.equals("Negru")){
          color = Color.black;
        else if (culoare.equals("Verde")){
          color = Color.green;
        else if (culoare.equals("Albastru")){
          color = Color.blue;
        else if (culoare.equals("Alb")){
          color = Color.white;
        else{
          color = Color.black;
        return color;
      class MyCanvas extends Canvas{
        public MyCanvas(){
          setBackground(Color.white);
          ML ml = new ML();
          addMouseListener(ml);
          addMouseMotionListener(ml);
        public void paint(Graphics g){
          Graphics2D g2 = (Graphics2D)g;
          setCoords();
          g2.setPaint(fcolor);
          if (shape != null){
            g2.draw(shape);
            g2.fill(shape);
        void setCoords(){
          int w = getWidth();
          int h = getHeight();
          xL0 = w / 4;
          yL0 = h / 4;
          xL1 = xL0 * 3;
          yL1 = yL0 * 3;
          xC0 = xR0 = xL0;
          yC0 = yR0 = yL0;
          xC1 = xR1 = w / 2;
          yC1 = yR1 = h / 2;
      public class ML extends MouseInputAdapter{
        Shape s = null;
        Point p0 = null;
        Point p1 = null;
        @Override
        public void mousePressed(MouseEvent e) {
          double dist = 0.0;
          p0 = p1 = e.getPoint();
          if (shape instanceof Line2D){
            dist = ((Line2D)shape).ptSegDist(p0);
            if (dist < 2){
              s = shape;
            else{
              s = null;
          else{
            if (shape.contains(p0)){
              s = shape;
            else{
              s = null;
        @Override
        public void mouseDragged(MouseEvent e) {
          int dx, dy;
          if (s != null){
            p0 = p1;
            p1 = e.getPoint();
            dx = p1.x - p0.x;
            dy = p1.y - p0.y;
            if (s instanceof Line2D){
              dxL += dx;
              dyL += dy;
            else if (s instanceof Rectangle2D){
              dxR += dx;
              dyR += dy;
            else if (s instanceof Ellipse2D){
              dxC += dx;
              dyC += dy;
            shape = Desenare.this.prepareShapeDrag(fig);
            canvas.repaint();
      public static void main(String []args){
        Desenare d = new Desenare("Desenare 2D with Dragging support");
    }

  • Working in Logic 9, how do I use a drum loop WITH ITS PRESET EFFECTS? I can drag and drop the loop but it plays dry in timeline. thanks

    Working in Logic 9, how do I use a drum loop WITH ITS PRESET EFFECTS? I can drag and drop the loop but it plays dry in timeline. thanks

    Here's the short-cut solution:
    Green Apple tracks are MIDI files (so to speak). If you drag one from the loop browser (Capitol C Orchestral hit, as you mentioned in this exable) directly into the arrange page it creates the MIDI file and the instrument to play it back on.
    HOWEVER.If you create and audio track first, THEN drag the green Apple loop onto that track, the loop will get "bounced" with the reverb in tact and you'll have the exact sound that you heard in the preview.
    Make sense?

  • I can export many iphoto events to a Data stick. I want to do the same with a DVD. When I do the DVD window is blank. If I drag and drop can only do one. Help

    I can "export", using file, many iphoto events to a data disk. When I do the same to a DVD the DVD window is blank and nothing has been exported. When I use drag and drop to a DVD it works but I can only get one event on the disk. How do I export many iphoto events to a DVD. I am using a write only DVD. I am using a Mac Book Pro OS 10. Thanks in advance.
    Gord

    When I click on the data stick icon on my desk top a window comes up. It lists the various events that I have exported. If i click on an event each picture shows up in a list. I can click on the picture and view a jpeg photo or view a avi video. When I export I select "original" as the file type. When I export to a DVD and klick on the the DVD icon the window shows up but it is blank.  

  • Drag and drop file into Outlook from AIR application

    I am hoping to see if this would be possible with the Adobe AIR API. We currently have a desktop AIR application that clients install in order to facilitate certain operations triggered via a web application (such as opening files directly from the web).
    One of the actions we are requested to support is the ability to drag and drop files from our web application directly into Outlook and have the file added as an attachment. I saw the documentation at Adobe Flash Platform * Dropping file promises and was wondering if this might be a possibility, or if there was some other method of performing this.
    We are trying to get around the fact that users now have to download a document to their desktop before being able to attach in Outlook.
    Thanks for any assistance.

    You just aren't calling the right NativeDragManager functions. See http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118666ade46-7d83.html

  • Drag and Drop with mx.effects.SoundEffect

    I am trying to get a soundeffect to play after a successful
    drag and drop operation. Unfortunately, there is no dragDropEffect,
    so I cannot use mxml for adding sound when a drop is completed.
    (However a sound effect can be used when the user first clicks on
    something before drag occurs by using mouseDownEffect.)
    Below is my code which attempts doing this from one tile to
    another with an image. For debugging purposes I have added an Alert
    to show where the sound effect fails to play. Can anyone see what
    is wrong with my code?
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    creationComplete="createSoundEffects();" layout="horizontal">
    <mx:Script>
    <![CDATA[
    import mx.managers.DragManager;
    import mx.core.DragSource;
    import mx.events.DragEvent;
    import mx.effects.SoundEffect;
    import mx.controls.Alert;
    [Embed(source="C:/FLEX_PROJECTS/photos/bin/openWind-Mark_E_B-8076_hifi.mp3")]
    private var soundFxOpenSwoosh:Class;
    [Embed(source="C:/FLEX_PROJECTS/photos/bin/closeWin-Mark_E_B-8077_hifi.mp3")]
    private var soundFxCloseSwoosh:Class;
    private var dropSound:SoundEffect;
    //create the sound effect when first loaded (see
    mx:Application tag) for the creationComplete attribute
    private function createSoundEffects():void {
    dropSound = new SoundEffect();
    dropSound.useDuration = false;
    dropSound.loops = 0;
    dropSound.source = soundFxCloseSwoosh;
    // Drag initiator event handler, called by
    // the image's mouseMove event.
    private function dragMe(event:MouseEvent, img1:Image,
    format:String):void {
    var dragInitiator:Image=Image(event.currentTarget);
    var ds:DragSource = new DragSource();
    ds.addData(img1, format);
    var imageProxy:Image = new Image();
    imageProxy.source = img1.source;
    imageProxy.height = img1.height;
    imageProxy.width = img1.width;
    imageProxy.alpha=.8;
    //Call the drag method from the manager
    DragManager.doDrag(dragInitiator, ds, event, imageProxy, 0,
    0, 1.00);
    private function doDragEnter(event:DragEvent):void {
    DragManager.acceptDragDrop(Tile(event.target));
    private function doDragDrop():void {
    dropSound.end(); //see page 569 in flex2_devguide.pdf for
    why .end() is called here
    dropSound.play();
    Alert.show("dropSound.source is:" + dropSound.source);
    ]]>
    </mx:Script>
    <mx:SoundEffect id="dragStartSound" useDuration="false"
    loops="0" source="{soundFxOpenSwoosh}"/>
    <mx:HDividedBox width="100%" height="100%">
    <mx:Tile width="100%" height="100%"
    backgroundColor="#999999">
    <mx:Image id="myimg" mouseDownEffect="{dragStartSound}"
    source=".\2.png" mouseMove="dragMe(event, myimg, 'img');" />
    </mx:Tile>
    <mx:Tile width="100%" height="100%"
    dragEnter="doDragEnter(event)" dragDrop="doDragDrop()"
    backgroundColor="#999999">
    </mx:Tile>
    </mx:HDividedBox>
    </mx:Application>

    Merci beaucoup!!
    it is also posible in AWT ?
    Message was edited by: roshca181
    [email protected]

  • Drag and drop row within same table.

    Version 12.1.2
    I am trying to implement drag and drop row within same table, and I am trying to follow this sample from Frank:
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/106-reorder-table-rows-1921121.pdf
    But, I am getting this cast exception. The code I have in my dropEvent bean is identical to whats on the sample.
    oracle.jbo.server.ViewRowImpl cannot be cast to oracle.jbo.uicli.binding.JUCtrlHierNodeBinding
    ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #1
    Not sure if anything has changed on 12c release, or if I am missing anything.
    Here is my complete code:
    public DnDAction doDnD(DropEvent dropEvent) {
    RichTable table = (RichTable) dropEvent.getDragComponent();
    List dropRowKey = (List) dropEvent.getDropSite();
    if (dropRowKey == null) {
    return DnDAction.NONE;
    Transferable t = dropEvent.getTransferable();
    DataFlavor<RowKeySet> df = DataFlavor.getDataFlavor(RowKeySet.class, "rowmove");
    RowKeySet rks = t.getData(df);
    Iterator iter = rks.iterator();
    List draggedRowKey = (List) iter.next();
    JUCtrlHierNodeBinding draggeRowNode = (JUCtrlHierNodeBinding) table.getRowData(draggedRowKey);
    Row dragRow = draggeRowNode.getRow();
    JUCtrlHierNodeBinding dropRowObject = (JUCtrlHierNodeBinding) table.getRowData(dropRowKey);
    Row dropRow = dropRowObject.getRow();
    //get the table's ADF JUCtrlHierBinding
    CollectionModel collectionModel = (CollectionModel) table.getValue();
    JUCtrlHierBinding treeBinding = (JUCtrlHierBinding) collectionModel.getWrappedData();
    DCIteratorBinding objectsIterator = treeBinding.getDCIteratorBinding();
    RowSetIterator rsi = objectsIterator.getRowSetIterator();
    int indexOfDropRow = rsi.getRangeIndexOf(dropRow);
    dragRow.removeAndRetain();
    rsi.insertRowAtRangeIndex(indexOfDropRow, dragRow);
    objectsIterator.setCurrentRowIndexInRange(indexOfDropRow);
    AdfFacesContext adfctx = AdfFacesContext.getCurrentInstance();
    adfctx.addPartialTarget(table.getParent());
    return DnDAction.MOVE;
    It does not seem to like this line of code:
    JUCtrlHierNodeBinding draggeRowNode = (JUCtrlHierNodeBinding) table.getRowData(draggedRowKey);
    I would greatly appreciate any help.
    Thanks.

    Well there has bee a changes somehow. using 12c
    table.getRowData(draggedRowKey);
    returns a ViewRowImpl and no longer anything which can be convertet to JUCtrlHierNodeBinding. Anyway, the fix is easy:
        public DnDAction onDepartmentsRowDrop(DropEvent dropEvent) {
            //get the table instance. This information is later used
            //to determine the tree binding and the iterator binding
            RichTable table = (RichTable) dropEvent.getDragComponent();
            List dropRowKey = (List) dropEvent.getDropSite();
            //if no dropsite then drop area was not a data area
            if (dropRowKey == null) {
                return DnDAction.NONE;
            //The transferable is the payload that contains the dragged row's
            //row key that we use to access the dragged row handle in the ADF
            //iterator binding
            Transferable t = dropEvent.getTransferable();
            //get the row key set of the dragged row. The "rowmove" string is the
            //discriminant defined on the drag source and the collectionDrop target.
            DataFlavor<RowKeySet> df = DataFlavor.getDataFlavor(RowKeySet.class, "rowmove");
            RowKeySet rks = t.getData(df);
            Iterator iter = rks.iterator();
            //for this use case the re-order of rows is one-by-one, which means that the rowKeySet
            //should only contain a single entry. If it contains more then still we only look at a
            //singe (first) row key entry
            List draggedRowKey = (List) iter.next();
            //get access to the oracle.jbo.Row instance represneting this table row
            Object objdragg = table.getRowData(draggedRowKey);
            Row dragRow = (Row) objdragg;
            Object objdrop = table.getRowData(dropRowKey);
            Row dropRow = (Row) objdrop;
            //get the table's ADF JUCtrlHierBinding
            CollectionModel collectionModel = (CollectionModel) table.getValue();
            JUCtrlHierBinding treeBinding = (JUCtrlHierBinding) collectionModel.getWrappedData();
            //get access to the ADF iterator binding used by the table and the underlying RowSetIterator.
            //The RowSetIterator allows us to remove and re-instert the dragged row
            DCIteratorBinding departmentsIterator = treeBinding.getDCIteratorBinding();
            RowSetIterator rsi = departmentsIterator.getRowSetIterator();
            int indexOfDropRow = rsi.getRangeIndexOf(dropRow);
            //remove dragged row from collection so it can be added back
            dragRow.removeAndRetain();
            rsi.insertRowAtRangeIndex(indexOfDropRow, dragRow);
            //make row current in ADF iterator.
            departmentsIterator.setCurrentRowIndexInRange(indexOfDropRow);
            //ppr the table
            AdfFacesContext adfctx = AdfFacesContext.getCurrentInstance();
            //note that the refresh of the table didn't work when refreshing the table
            //so I needed to refresh the container component (af:panelStretchLayout).
            adfctx.addPartialTarget(table.getParent());
            return DnDAction.MOVE;
    does the trick. I changed the line to
    //get access to the oracle.jbo.Row instance represneting this table row
            Object objdragg = table.getRowData(draggedRowKey);
            Row dragRow = (Row) objdragg;
    so you don't need the detour through the JUCtrlHierNodeBinding any longer.
    Timo

  • Drag and drop an image over a JPanel (only change position on same JPanel)

    Hi all,
    there is JPanel added to a JDialog.
    There is a BufferedImage on the JPanel: I need to let the image be dragged and dropped in another position over the same JPanel and read the new position's coordinates.
    (Maybe the image has to be wrapped in a JComponent?)
    Thanks in advance for any suggestions.
    Ludovico

    (Maybe the image has to be wrapped in a JComponent?)Just add the image to a JLabel and add the label to the panel.

Maybe you are looking for

  • DPS Enterprise License for Apple's B2B Store

    Hey everyone, we developed an app and successfully tested it on our iPads via DPS. We aim to distribute the app via the B2B store from Apple and the tutorial PDF from Adobe tells me that we need an "Enterprise license" for DPS. Our company uses Adobe

  • Not able to import protected AAC audio files

    Can i do this? In the past I was able to import these purchased files, and then with an update, I no longer could. When I updated my system to 10.3.9, I was again able to use the music I purchased thru itunes. Now, again I cannot. What happen? Is thi

  • Ichat freezes for 5 seconds

    While on ichat, video will freeze for 5 seconds and come back, then continues to freeze for 5 seconds intermittently during the video chat. Happens whenever I am on iChat, regardless of who I am chatting with. Party on the other end does not see any

  • Photos dont show up on windows

    I backed up some photos to my iphone 3g. These pictures were some i took with a digital camera. I restored my operating system and now i want to put the photos back onto my computer but they dont show up anywhere. Any photos i took with my phone show

  • How to insert current_user to report?

    Hi, how to insert current_user to report (current_user is user who login to BI ) Edited by: user10236405 on Oct 24, 2008 3:11 AM