Hi,
I had been developing using Flash Lite 1.1 for quite some time, but for an
another live project, I need to work with the older version of FL
Everything so far seemed to be working fine until I came across a small but
significant problem. Accessing variables and other movieclips on the main
timeline from within the timeline of a particular MC does not seem to register.
Say for example I have a an MC named "control". I write a script in it's
timeline, to set the position of another set of MCs on the root (say a1, a2,
a3, a4, a5). The script would be -
scrollNum = 32;
for(x=1; x<=5; x++){
nm = "a" add x;
setProperty("/" add nm, _x, _x+scroll_num;
setProperty("/" add nm, _y, _y+10);
}
This works fine in the authoring environment, but when I test it on the i-mode
emulator, it does not set the properties as mentioned in the script. It does
not recognize "/" add nm in case of MCs or eval("/" add nm) in case of variable
values. Any suggestions on this??