Monday, March 22, 2010

action scrip[t

The script I wrote works fine in Flash Mx but the same script
does not work in Flash 8 Proffessional. It gives me errors stating
, or ) required. Can anyone help me on this?



saxenaaction scrip[t
Can you reply with the offending code placed in?action scrip[t
Here is the script.



n=Number(n)+10;

if (Number(n)%26lt;400) {

n=390;

}

duplicateMovieClip(''line'',''line'' add n,n);

setProperty(''line'' add n,_rotation,360+Number(n));



This is happening with not only this script but with every
script.



Saxena
Got it



The ''add'' concatenatior you using is Deprecated and not work
in flash 8 Instead of it you need to use '' + ''



Try with it You get the result
Hi Chintubabu,



Thanks for your help. It worked. Why don't you give me your
cell number so that we can keep in touch. Mine is 09890169318.



Saxena

No comments:

Post a Comment