Jump to content

[FSCommand][Flash][Actionscript] Set a variable inside a Class/Function/whatever


Recommended Posts

Hi!

First.. sorry for my bad english :P

For some time i play a bit with embedded Flash-Objects and after a few changed variables in the "root" of the flash-file with

$oRP.SetVariable("/:randomVar", "foobar")

i came to the problem that i need to change a variable thats inside a function/class or whatever

the wanted variable is inside a

_global.client = new clientCom(fooBar);

and is defined as

var _loc1_ = this;
_loc1_.randomVariable = "";

how can i change it?

i tried something like

$oRP.SetVariable("/:client.randomVariable", "foobar")

but nothing =(

 

i hope someone can help me!

 

greetings

- sgtigram

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...