Hi,
I use swfobject 2.2 and i have a problem with flashVars (with boolean
only).
var flashvars =
{
booleanVar: false
}
Dont work in flash.. :S
I tried false, 0, 0.. nothing work.
in AS3, i get like:
booleanVar = this.loaderInfo.parameters.booleanVar;
but my booleanVar is always true ..
Try
var flashvars = {};
flashvars.boolVar = false;
all else fails, use the online generator:
http://www.bobbyvandersluis.com/swfobject/generator/index.html
On Jun 9, 2012 10:51 AM, Alama alama...@gmail.com wrote:
Hi,
I use swfobject 2.2 and i have a problem with flashVars (with boolean
Hi Nathan, thanks for your reply.
I tried surround false by but, it's no change for me..
My script it's generated by FlashDevelop4, the real script is:
var flashvars =
{
btnOneShootText: ONE SHOOT,
btnAutoShootingText: AUTO SHOOTING,
Did you try transtyping the Boolean under Flash by the sentence:
booleanVar=Boolean(this.loaderInfo.parameters.booleanVar);
??
don't know at all if this could fix it.
best regards,
Fabien
Le 9 juin 2012 à 20:41, Alain Mazy a écrit :
Hi Nathan, thanks for your reply.
I tried surround