Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-26-2007, 03:59 AM
Junior Member
 
Join Date: Jun 2007
Posts: 16
Default how can I get AS variable by FFish ?

I had try!
my code:
in the first frame code;
AS code: var myName = "oyx";

and the FFish code:
trace(FlashPlayer.getVariable("myName"));
trace "undefined",and I use the FlashPlayer.setVariable display the same question.

how can I do it?

Thanks!
Reply With Quote
  #2 (permalink)  
Old 07-26-2007, 09:43 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:how can I get AS variable by FFish ?

The ffish script code should have no problem. However, you cannot call it in the "initialize" script, as the script will be called before the main movie has been loaded, that is before the variable has been defined.
Reply With Quote
  #3 (permalink)  
Old 07-26-2007, 10:53 AM
Junior Member
 
Join Date: Jun 2007
Posts: 16
Default Re:how can I get AS variable by FFish ?

en , thanks !
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:27 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.