Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-14-2003, 10:38 AM
Junior Member
 
Join Date: Jun 2003
Posts: 29
Default _global valid?

Can SWFKit work with MX's _global structures? For example, setting _global variables using flashPlayer.setVariable?
Reply With Quote
  #2 (permalink)  
Old 06-15-2003, 02:45 AM
Senior Member
 
Join Date: Jan 2001
Posts: 413
Default Re: _global valid?

It seems not work in SWFKit
FlashPlayer.setVariable("_global.myName","George") ;

Maybe we can resolve this problem from this way:

In flash:

Code:
_global.myName;
newName = "";
fscommand("ffish_run", "setv");

_root.onEnterFrame = function()
{
 * * *
 * * *if (newName != "")
 * * *{
 * * * * * *_global.myName = newName; * * *
 * * * * * * * newName * * *= "";
 * * *}
}
In SWFKit:

Code:
//script setv
FlashPlayer.setVariable("newName", "George");
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 02:08 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.