Flash 8 syntax vs Flash 6 - Can someone help me please?

hi,

I’ve been trying to ages to resolve this and finally registered to post for help.

I’m trying to publish the following as v8 player (which works fine for v6 - but I want to use v8 for the text formatting features):

 
 desty = (_parent.stageHeight-_parent.hmodifier)/2;
 posy = _parent.mc._y;
 vely = vely*_parent.bouncefactor+(desty-posy)/_parent.speedfactor;
 _parent.mc._y += Math.round(vely);
 trace(_parent.mc._y);

Thanks in advanced.

Cheers

Mike