Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Show Posts

| * |

  Show Posts
Pages: [1]
1  PureMVC Manifold / Standard Version / Handling drag and drop with Mediator on: August 12, 2009, 03:11:51
Hello,

I tried to handle Drag and Drop from a DataGrid to an Image for deleting an element but I have some troubles.

Without PureMVC, I handle the events DragEnter and DragDrop in this way :


            private function image_dragEnter(evt:DragEvent):void {
                var obj:IUIComponent = IUIComponent(evt.currentTarget);
                DragManager.acceptDragDrop(obj);
            }

            private function image_dragDrop(evt:DragEvent):void {
                var item:Object = dataGrid.selectedItem;
                var idx:int = arrColl.getItemIndex(item);
                arrColl.removeItemAt(idx);
            }


When i try to past event to Mediator, only one event is dispatched (randomly).

I don't understand what's happen!

I will be glad if someone can help me.

Thanks in advance
2  PureMVC Manifold / MultiCore Version / Modular application with modules without PureMVC? on: July 08, 2009, 08:09:37
Hello,

I started to develop a modular application with PureMVC Multicore.

The goal of my application is to offer at a community the possibility to create their own modules which use my "framework" (the modules have to implement some interfaces defined in my application)

I would like to know if the external modules can be develop without the PureMVC framework.

Thanks in advance for any help
Pages: [1]