Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-30-2007, 05:09 PM
Junior Member
 
Join Date: Mar 2007
Posts: 9
Default borderless dragging?

im using As3 and i have a movie with a bar around it in flash, in swfkit i set the window to borderless but i want to beable to make it so i can click the bar i have in the movieclip and be able to drag around the window. how could one do this? also it would really help if someone could point me towrads an api or something. thanks.
Reply With Quote
  #2 (permalink)  
Old 05-30-2007, 08:44 PM
Junior Member
 
Join Date: Mar 2007
Posts: 9
Default Re:borderless dragging?

found the api :-X , but still no working heres what im using...
Code:
//Initialize
getAdditionalFile();

Application.setDragRegion(0, 0, 1024, 10);

return true;
Reply With Quote
  #3 (permalink)  
Old 05-31-2007, 03:09 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:borderless dragging?

Besides, you must also set your program draggable in
[swfkit]->[operation panel]->[application definitions]->[Interaction]->[Left Mouse Button Click]

If you do not want to use this method, you can also use the way shown by the "somesample.zip" sample, which can be found at http://www.swfkit.com/forum/thread_1_1891.html
Reply With Quote
  #4 (permalink)  
Old 06-05-2007, 07:14 AM
Junior Member
 
Join Date: Mar 2007
Posts: 9
Default Re:borderless dragging?

it still will not work. i set the lb to drag in the properties and in the initalization code but (tried with and without drag region) and i cant get the movieclip to move at all, it just keeps sending the lb to flash.
Reply With Quote
  #5 (permalink)  
Old 06-05-2007, 09:46 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:borderless dragging?

Please send your files to us(support@swfkit.com), we will help you make it work.
Reply With Quote
  #6 (permalink)  
Old 06-22-2007, 10:30 AM
Junior Member
 
Join Date: Jun 2007
Posts: 10
Default Re:borderless dragging?

Hi,

i also have a borderless SWFKit window. What is confusing for the users is, that they dont see a way to end the application. My idea was to insert a "Close" button in the embedded flashmovie. What would be a good way to close the whole SWFKit Container as well as the flashfile when clicking on the "close" button inside the application ?

Regards,
Fragile
Germany
Reply With Quote
  #7 (permalink)  
Old 06-22-2007, 11:10 AM
Junior Member
 
Join Date: Jun 2007
Posts: 10
Default Re:borderless dragging?

Ok, i solved the problem myself .... for all you guys that want to know (probably many know anyway) :

Code:
on (release)       {
                   fscommand("quit");
                   }
This is the AS-Code for the close-Button. Dont let the Flash8 PLayer confuse you though, as i tested it out of Flash 8 with "Ctrl+<Enterkey>" the "developer" Flash-movieplayer didnt close. When i started the swf with a "normal" Flashplayer or built it with SWFKit into an exe-file, things all went fine, the SWFKit standalone application now closes when i hit the button inside the Flashmovie.

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 04:20 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.