|
|||
|
I try to make the window draggable by left mouse click. and play around with the publish settings in Flash and found some interesting results.
in SWFKit Pro, I've checked "Drag window" in Left mouse button click. in my swf, I have an inline graphic block, a graphic symbol and a movieclip symbol. when publishing with Flash Player 9 and AS2, I can drag the window by clicking all the graphic, graphic symbol and movieclip. when publishing with Flash Player 9 and AS3, I can drag the window by clicking the graphic and graphic symbol but not the movieclip. see the attachment for AS2 swf and exe. (unable to attach both files in one post due to file size) Can SWFKIt support team give some comments on this?? thank you very much. |
|
|||
|
Very strange. Don't know how flash player 9 renders an as3 movieclip. If a movieclip gets input focus after being clicked, it will not be draggable - just to avoid dragging text fields.
|
|
|||
|
what an answer...
if you open the attached as3 sample, its just a plain movieclip. this is hard to avoid to have a big block of movieclip(s) in the scene, thats odd when the user try to drag the window, oops the fking movieclip give no response. place a graphic symbol on top simply is not a good solution. in my opinion, the "Drag Window" is a SWFKit stuff. I'd rather have SWFKit support tell me tweaking the "Operation Panel" setting could fix the problem (or they will do a bug fix) than getting useless reply like "Very strange blah blah blah" ... |
|
|||
|
The current version of SWFKit first checks whether the mouse cursor is in a text field before dragging the main window, by testing whether the swf movie will get focus after mouse clicks. If the cursor is in a text field, swfkit will not allow the window to be draggable, because it might be weird and inconvenient to drag a text field. However, in as3 a normal mc acts like a text field, so it is very hard to fix the problem you have encountered. Whatever, we will add an option in the new version of swfkit that the window can be draggable even if the cursor is in a text field.
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|