| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| I have an swf file with a container that has a scroll funtion that works great. The container is used to load articles that scroll up and down. when this whole swf is loaded into another swf the scroll slides but the articles don't move. If anyone can help that would be great if you want me to point site here it is. Goto the center button which is a film reel and then click on press articles. http://kbodesign.com/ostendo/index.html onClipEvent (enterFrame) { if(slide == true){ //180 = so content stops on the right _root.content_mc.content2_mc._y = ((_root.content_mc.content2_mc._height-200)/_parent.bar_btm_rt._height)*-(this.b ar_btn_rt._y); } } ABOVE IS THE CODE IN THE BAR_BTN . THE CODE BELOW IS WITH THE BAR_BTN MOVIE ITSELF. on (press) { _parent.slide = true; this.startDrag(false, 0, 0, 0, 195); //(lock to center of mouse, left, top, right, bottom) } on (release, releaseOutside ) { _parent.slide = false; this.stopDrag(); } THIS ALL WORKS PERFECT UNTIL LOADED INTO THE MAIN WEB PAGE. |
|
#2
| |||
| |||
| to your main timeline in the swf that's loaded into the main swf add: this._lockroot = true; |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.