Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-04-2004, 08:50 PM
Junior Member
 
Join Date: Aug 2004
Posts: 10
Default send parameter to FFish Script (ffish_run)

hallo
izit possible to send parameter when calling

fscommand("ffish_run", "{scriptname}");

bcoz me going to create a large flash application,
it required to process lot of dynamic datas and variables,
example, to play a movie(.avi|.wmv) in dynamic position

me found the all examples do not have parameter

is there can do something like

fscommand("ffish_run", "{scriptname},param01,param02")



sry fo rpoor english, thnx
Reply With Quote
  #2 (permalink)  
Old 08-04-2004, 09:10 PM
Junior Member
 
Join Date: Aug 2004
Posts: 4
Default Re:send parameter to FFish Script (ffish_run)

No can do.

Instead, transfer the values using setVariables and getVariables or sync the values using the bindData method.

Check the help under FFish Script Objects Reference, FlashPlayer Object and you'll find your solution.
Reply With Quote
  #3 (permalink)  
Old 08-05-2004, 04:12 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:send parameter to FFish Script (ffish_run)

You can define a function in FFish Script then call it in Flash like this
Code:
fscommand("FFish_Eval", "{funcname}(param1, param2, ...);");
Reply With Quote
  #4 (permalink)  
Old 08-05-2004, 01:35 PM
Junior Member
 
Join Date: Aug 2004
Posts: 4
Default Re:send parameter to FFish Script (ffish_run)

Cool.

Is this something new to version 2?
Reply With Quote
  #5 (permalink)  
Old 08-05-2004, 03:16 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:send parameter to FFish Script (ffish_run)

No, it's not a new feature.

SWFKit provides 6 fscommands. "FFish_Eval" can be used to run FFish script code.
Reply With Quote
  #6 (permalink)  
Old 08-06-2004, 09:35 PM
Junior Member
 
Join Date: Aug 2004
Posts: 10
Default Re:send parameter to FFish Script (ffish_run)

thnx a lot, it work well
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 01:38 PM.


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.