Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-09-2005, 08:54 AM
Senior Member
 
Join Date: Feb 2003
Posts: 212
Default form issue

Is there a way to work with more than one form at the same time?
When I use the following code, the second form is created after the first form is closed

Code:
var Opdrachtform = new Form;
Opdrachtform.movie = getMovies()[1];
Opdrachtform.showCaption = true;
Opdrachtform.initVars = "count="+count;
Opdrachtform.canDrag = true;
Opdrachtform.caption = "Opdrachten";
Opdrachtform.show(); 

var Overzichtform = new Form;
Overzichtform.movie = getMovies()[3];
Overzichtform.showCaption = true;
Overzichtform.initVars = "count="+count;
Overzichtform.canDrag = true;
Overzichtform.caption = "Overzicht";
Overzichtform.show();
Additional question: How can I set the X and the Y position of a form?
Reply With Quote
  #2 (permalink)  
Old 02-09-2005, 01:06 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:form issue

The "show" method of a modal form won't return until it is closed. You can change the code to

Code:
var Opdrachtform = new Form;
Opdrachtform.movie = getMovies()[1];
Opdrachtform.showCaption = true;
Opdrachtform.initVars = "count="+count;
Opdrachtform.canDrag = true;
Opdrachtform.caption = "Opdrachten";
Opdrachtform.show(false); 

var Overzichtform = new Form;
Overzichtform.movie = getMovies()[3];
Overzichtform.showCaption = true;
Overzichtform.initVars = "count="+count;
Overzichtform.canDrag = true;
Overzichtform.caption = "Overzicht";
Overzichtform.show(false);
Reply With Quote
  #3 (permalink)  
Old 02-09-2005, 01:09 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:form issue

The current version of swfkit pro doesn't support to change the position of a form, we will implement the feature in the next version.
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 07:42 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.