Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-19-2008, 11:10 AM
Junior Member
 
Join Date: Feb 2008
Posts: 7
Default Different behavior of Drag window - AS2 vs AS3

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.
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 11:14 AM
Junior Member
 
Join Date: Feb 2008
Posts: 7
Default Re: Different behavior of Drag window - AS2 vs AS3

attached is the zip for AS3 swf and exe

Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 07:26 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re: Different behavior of Drag window - AS2 vs AS3

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.
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 01:55 AM
Junior Member
 
Join Date: Feb 2008
Posts: 7
Default Re: Different behavior of Drag window - AS2 vs AS3

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" ...
Reply With Quote
  #5 (permalink)  
Old 03-07-2008, 08:38 AM
Junior Member
 
Join Date: Feb 2008
Posts: 7
Default Re: Different behavior of Drag window - AS2 vs AS3

look for comment from other AS3 users... any??
Reply With Quote
  #6 (permalink)  
Old 03-07-2008, 10:32 AM
js js is offline
Senior Member
 
Join Date: Jun 2007
Posts: 110
Default Re: Different behavior of Drag window - AS2 vs AS3

Post the original flash and swfkit coding files...........
Reply With Quote
  #7 (permalink)  
Old 03-10-2008, 04:24 AM
Junior Member
 
Join Date: Feb 2008
Posts: 7
Default Re: Different behavior of Drag window - AS2 vs AS3

here we go
Reply With Quote
  #8 (permalink)  
Old 03-11-2008, 06:58 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re: Different behavior of Drag window - AS2 vs AS3

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.
Reply With Quote
  #9 (permalink)  
Old 10-22-2008, 07:32 AM
Junior Member
 
Join Date: Oct 2008
Posts: 9
Default Re: Different behavior of Drag window - AS2 vs AS3

is the probleme resolved ?
I Can't drag my as3 anim properly too.
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:00 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.