firepages
02-22-2005, 10:57 AM
Hi , weirdness , I have a flash object , during it lifetime it has to use eval()
//variables already loaded e.g count_1 - count_7 exist and can be traced
// 'x' exists and can be traced
_root.num_ims = eval('count_'+x);
if x = 5 and count_5 = 10 then _root.num_ims should equal 10 and indeed it does when testing (in flash) as expected , but when using in the output swf in the browser the eval() call is failing , everything else works just fine.
and its driving me potty ~
any one seen this behaviour before ?
//variables already loaded e.g count_1 - count_7 exist and can be traced
// 'x' exists and can be traced
_root.num_ims = eval('count_'+x);
if x = 5 and count_5 = 10 then _root.num_ims should equal 10 and indeed it does when testing (in flash) as expected , but when using in the output swf in the browser the eval() call is failing , everything else works just fine.
and its driving me potty ~
any one seen this behaviour before ?