Greetings. I’m new at Kirupa and very happy to have discovered this place.
[FONT=‘Times New Roman’]I am editing one of our flash sites with Flash MX 2004 Pro and all of the scrollers stopped working. There are 5 swf’s in the site: main and 4 pages. When the fla’s (main and pages 1-4) are saved in Flash 2004 MX professional, the scrollers stop working. When pages 1-4 are saved in regular MX, the scrollers work again, but, only alone as pages. If the whole site is run via main (whole site, main + pages 1-4 saved in older format), the scrollers stop working. Our url is [COLOR=#800080]http://www.thewholeenchilada.info[/COLOR]. The site is a work in progress all sections are not fully developed. The action scripts for the scroller instances are:[/FONT]
[FONT=‘Times New Roman’][/FONT]
[FONT=‘Times New Roman’][SIZE=3][FONT=Times New Roman]SmartMC instance of canvasMC[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] [/FONT][/SIZE]
[FONT=Times New Roman][SIZE=3]onClipEvent (load) {[/SIZE][/FONT]
[SIZE=3][FONT=Times New Roman] [/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] this.attachMovie( _parent.clipName, ‘scrollMC’, 0 );[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] scrollBarMCX = _parent.widthOfMask + _parent.maskScrollbarOffset;[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] scrollBarMC._x = scrollBarMCX;[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] scrollBarFromY = 0;[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] scrollBarToY = _parent.heightOfMask - scrollBarMC._height;[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] conversionFactor = -((scrollMC.contentsMC._height - _parent.heightOfMask + 50)/scrollBarTOY);[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] [/FONT][/SIZE]
[FONT=Times New Roman][SIZE=3]}[/SIZE][/FONT]
[FONT=Times New Roman][SIZE=3]onClipEvent(data) {[/SIZE][/FONT]
[SIZE=3][FONT=Times New Roman] [/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] oldY = 0;[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] newY = 0;[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] Y = 0;[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] [/FONT][/SIZE]
[FONT=Times New Roman][SIZE=3]}[/SIZE][/FONT]
[SIZE=3][FONT=Times New Roman] [/FONT][/SIZE]
[FONT=Times New Roman][SIZE=3]onClipEvent(enterFrame) {[/SIZE][/FONT]
[SIZE=3][FONT=Times New Roman] [/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] bruteY = scrollBarMC._y;[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] Y = bruteY*conversionFactor;[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] newY = Math.round(oldY + (Y - oldY)/_parent.speed);[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] [/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] scrollMC.contentsMC._y = newY;[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] oldY = newY;[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] [/FONT][/SIZE]
[FONT=Times New Roman][SIZE=3]}[/SIZE][/FONT]
[SIZE=3][FONT=Times New Roman]CanvasMC - instance of buttonMC[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] [/FONT][/SIZE]
[FONT=Times New Roman][SIZE=3]onClipEvent(load){[/SIZE][/FONT]
[SIZE=3][FONT=Times New Roman] clicked = 0;[/FONT][/SIZE]
[FONT=Times New Roman][SIZE=3]}[/SIZE][/FONT]
[SIZE=3][FONT=Times New Roman] [/FONT][/SIZE]
[FONT=Times New Roman][SIZE=3]onClipEvent(mouseDown){[/SIZE][/FONT]
[SIZE=3][FONT=Times New Roman] if(this.hitTest(_root._xmouse, _root._ymouse, false)){[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] startDrag(’’,false,_parent.scrollBarMCX,0,_parent.scrollBarMCX,_parent.scrollBartoY);[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] clicked = 1;[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] }[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] updateAfterEvent();[/FONT][/SIZE]
[FONT=Times New Roman][SIZE=3]}[/SIZE][/FONT]
[SIZE=3][FONT=Times New Roman] [/FONT][/SIZE]
[FONT=Times New Roman][SIZE=3]onClipEvent(mouseUp){[/SIZE][/FONT]
[SIZE=3][FONT=Times New Roman] if(clicked){[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] stopDrag();[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] clicked = 0;[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] }[/FONT][/SIZE]
[SIZE=3][FONT=Times New Roman] updateAfterEvent();[/FONT][/SIZE]
[FONT=Times New Roman][SIZE=3]}[/SIZE][/FONT]
I would truly appreciate some help with making the scrollers work.
Thanks much,
Doktor G
[/FONT]