|
|||
|
Yes, it's a problem, but it's hard to say if it's a bug. The situation is that in as3, the movie clips cannot be dragged.
The "drag" feature of swfkit works in the following way. SWFKit first determines whether the mouse cursor is in an input field. If not, it will drag the main window; otherwise it will do nothing. In as2, everything works well: the text feilds cannot be dragged, and any other movie clips have no problem. However, in as3, the situation has been changed - swfkit can no longer distinguish an input field from movie clips. Therefore, in as3, only the background and the "graphic" symbols can be dragged. To deal with this problem, we built a patch, which can be found at http://www.swfkit.com/download/swfkit/patch090405.zip To apply this patch, please unzip it into the folder "c:\program files\swfkit pro\data", and overwrite the old files. This patch introduces a new method: Application.setDragMode(true); The default drag mode is false, the same as without this patch. When the drag mode is set to true, anything can be dragged, even if an input field. So with this patch, the problem of undraggable in as3 can be solved. Of source if you're still working with as2, you don't need to call this method. For the case you work with as3, and you don't want to drag input fields, you can create a graphic symbol, without any movie clips under or above it, as the title bar, which can be dragged without calling the above method. |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|