|
|
|
#1 |
|
Junior Member
Join Date: May 2007
Posts: 2
|
Parts of my swf disappear from the html embed
Default Parts of my swf disappear from the html embed
I have adapted this code form Lee Brimlow's tutorial. My problem is this. Once the user interacts with the scrolling menu and then dashes off to another window or to the desktop the "covers" mc disappears BUT other mc's don't! from the embed on the html. Is this because of the " onEnterFrame ". Please give me some advice. I have searched this on forums but people are using it on purpose so I can't seem to find a way to prevent it. /////-----enables the scrolling menu covers.onRollOver=coversOver; function coversOver() { this.onEnterFrame=scrollCovers; deletethis.onRollOver; } var b = stroke.getBounds (_root); function scrollCovers(){ if(_xmouse<b.xMin || _xmouse>b.xMax || _ymouse<b.yMin || _ymouse> b.yMax){ this.onRollOver = coversOver; delete this.onEnterFrame; } if(covers._x >= 60) { covers._x =60; } if(covers._x <= -260) { covers._x = -260; } please email me: game02@mac.com |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: May 2007
Posts: 2
|
Please help me. I can get you th fla if needed.
|
|
|
|
![]() |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|