To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > Flash Help > Flash ActionScript

Reply
 
Thread Tools Search this Thread Display Modes
Old 05-02-2007, 01:14 PM   #1
joshmaxrubinste
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
joshmaxrubinste is offline   Reply With Quote
Old 05-02-2007, 05:06 PM   #2
joshmaxrubinste
Junior Member
 
Join Date: May 2007
Posts: 2
Please help me. I can get you th fla if needed.
joshmaxrubinste is offline   Reply With Quote
Reply

Go Back   Flash Kit Community Forums > Flash Help > Flash ActionScript

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:01 PM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.