# Newbie - publish as v5 or v8 error

**URL:** <https://forum.kirupa.com/t/newbie-publish-as-v5-or-v8-error/229430>\
**Category:** Uncategorized\
**Created:** [June 17, 2007, 4:46am UTC](https://forum.kirupa.com/t/newbie-publish-as-v5-or-v8-error/229430 "2007-06-17T04:46:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NosferatuD2](https://avatars.discourse-cdn.com/v4/letter/n/74df32/32.png) [@NosferatuD2](https://forum.kirupa.com/u/NosferatuD2)\
**Post date:** [June 17, 2007, 4:46am UTC](https://forum.kirupa.com/t/newbie-publish-as-v5-or-v8-error/229430/1 "2007-06-17T04:46:32Z")

</div>

Howdy Do,

I have a movieclip named box.  
The code below has been entered into a frame.

box.onEnterFrame =function()  
{  
y = this.\_y;  
dy = (dy+(200-y)/2.8)/1.4;  
y += dy;  
this.\_y = y;  
}

If I publish as Flash 5 it works - if I publish as Flash 8 it doesn’t work.  
What am I missing?  
thx,  
Nos
