FORUMS: list search recent posts

loadMovie troubles

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Jenn hirsch
loadMovie troubles
on Mar 16, 2009 at 2:37:10 am

Hi, i used a tutorial from this site to build a flash page with a scrolling panel of thumbnails that loads the larger picture when clicked. it works perfectly but i need to load that swf into another flash movie. when i do that it seems like all the code just goes out the window!! can any one help?? here is the code i used:

stop();

panel.onRollOver = panelOver;

function panelOver() {
this.onEnterFrame = scrollPanel;
delete this.onRollOver;
}

var b = stroke.getBounds(_root);

function scrollPanel() {
if(_xmouseb.xMax || _ymouseb.yMax) {
this.onRollOver = panelOver;
delete this.onEnterFrame;
}

if(panel._x >= 21) {
panel._x = 21;
}

if(panel._x <= -3768) {
panel._x = -3768;
}

var xdist = _xmouse - stage.width / 2;

panel._x += -xdist / 9;
}


thanks in advance!!


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]