Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-16-2004, 01:45 PM
Junior Member
 
Join Date: Jun 2003
Posts: 29
Default FlashPlayer.setVariable and _levels?

Can SWFKit 1.05 set varaibles in a loaded movie in a level other than 0? For example:

var vFlashPlayerObject = new FlashPlayer;
vFlashPlayerObject.setVariable("_level7.C1_2", 13);

When I have the Flash swf loaded in level 7 report what the value of _root.C1_2 (the _level7 movie is reporting so _root should be OK), it indicates undefined, not 13.

Is this possible?

Is binddata possible with _levelX variables? What about _globals?

Thanks,

Steve

Reply With Quote
  #2 (permalink)  
Old 02-16-2004, 03:00 PM
Junior Member
 
Join Date: Jun 2003
Posts: 29
Default Re:FlashPlayer.setVariable and _levels?

Does setVariable only work with strings?

A simple test movie worked with :

vFlashPlayerObject.setVariable("_root.C1_2", "13");

but not:

vFlashPlayerObject.setVariable("_root.C1_2", 13);

The doc states:

"value Specifies the value to set. "

but doesn't indicate what type it requires.....
Reply With Quote
  #3 (permalink)  
Old 02-17-2004, 06:45 AM
Senior Member
 
Join Date: Feb 2003
Posts: 212
Default Re:FlashPlayer.setVariable and _levels?

http://www.swfkit.com/forum/thread_3_221.html
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 05:52 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.