Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-04-2006, 02:55 PM
Junior Member
 
Join Date: Jul 2006
Posts: 9
Default Flash 9 + SWFKit

Hi, there
I've tried to use Flash 9 public alpha and SWFKit, but there are some problems.
I could manage to create a script that sends variables from actionscript to FFish, but I couldn't send variables from FFish to actionscript.. :'(
The reason is that we can't use any methods like "setVariable", even "getVariable".
Does anyone have any suggestions?

To send variables from AS to FFish, use "fscommand("FFish_Eval","function("+FlashVariables+")")"
E.g.
//Flash Side
arg="Hello World!!";
fscommand("FFish_Eval","msg("+arg+")");

//FFish Side
//in Initialize
function msg(arg){
Dialogs.msgBox(arg);
}
Reply With Quote
  #2 (permalink)  
Old 07-04-2006, 03:16 PM
Junior Member
 
Join Date: Jul 2006
Posts: 9
Default Re:Flash 9 + SWFKit

Also, I cannot use Flash 9 ocx...
Says that:
A sharing violation occured while accessing
C:\Windows\system32\Macromed\Flash\FIDbg9.ocx
Reply With Quote
  #3 (permalink)  
Old 07-06-2006, 02:02 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Flash 9 + SWFKit

SWFKit is compatible with flash player 9, and flash player 9 can improve the performance of the produced exe programs. However, the current version of swfkit does not contain the flash player 9, so you cannot use it now. We will release swfkit v3 in a week or so, which contains the most current version of the flash player. It also has the ability to upgrade automatically. And after we release swfkit v3, we will also update swfkit 2.2 to contain the flash player 9 for the users who do not want to upgrade to v3.
Reply With Quote
  #4 (permalink)  
Old 07-08-2006, 04:13 AM
Junior Member
 
Join Date: Jul 2006
Posts: 9
Default Re:Flash 9 + SWFKit

Thanks for your reply
I see, and I'm really looking forward to version 3!
Thank you, again.
Reply With Quote
  #5 (permalink)  
Old 07-08-2006, 01:40 PM
Junior Member
 
Join Date: Jul 2006
Posts: 9
Default Re:Flash 9 + SWFKit

P.S.
In addition, If someone is trying to send variables from FFish to AS, the following may be help.

//First, create a MovieClip named "recv" in level0 and one more named "targ" in "recv".
//in Initialize
FlashPlayer.targetSetProperty("recv.targ",13,"Hell o World!!");

//in SWF
Timer1=new Timer(100);//Lower Interval may take more memory and UPU :'(
Timer1.addEventListener("timer",handler1);
Timer1.start();
function handler1(event):void{
***if(recv.getChildAt(0).name!="targ"){
******//recv.getChildAt(0).name="Hello World!!"
***}
}

*After receiving "Hello World!!" if you want send another, write
FlashPlayer.targetSetProperty("recv.Hello World!!",13,"Hello World2!!");
*You can send (maybe) any messages like multibytes letters.
Reply With Quote
  #6 (permalink)  
Old 07-10-2006, 12:35 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Flash 9 + SWFKit

SWFKit v3 will come out on the next Monday. If you are using swfkit pro and need to build your project with flash player 9 right now, please download the patch for swfkit pro 2, which is built for one of our users to add a special feature:

http://www.swfkit.com/forum/thread_1_1219.html
Reply With Quote
  #7 (permalink)  
Old 07-11-2006, 07:27 AM
Junior Member
 
Join Date: Jul 2006
Posts: 9
Default Re:Flash 9 + SWFKit

I really appreciate your immediate work!!
Thanks a lot.
Reply With Quote
  #8 (permalink)  
Old 07-13-2006, 01:33 AM
Junior Member
 
Join Date: Jul 2006
Posts: 9
Default Re:Flash 9 + SWFKit

Using the patch, I can use "fscommand("FFish_Run","script name");", but I still cannot use "getVariable" and "setVariable"...
Reply With Quote
  #9 (permalink)  
Old 07-13-2006, 09:12 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Flash 9 + SWFKit

Please send a sample to us we will help you to resolve the problem.(support@swfkit.com).
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 03:45 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.