Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 05-21-2006, 10:03 AM   #1
Registered User
Join Date: May 2006
Posts: 1
Default Free beer, if you make this work.... (scroller)

Provided that you come and collect it yourself.....

First of all, new to flash, so I have properly made this all wrong

First look here: http://www.visual-astma.dk/flash/scroll.html

What I want to make is a scroller that can scroll movieclips, so I use a scrollPane and adds a empyt MC (a contentHolder) to it.

I fill the contentHolder with the MC's i have. Then I made my own scrollbar what works with %, so when it is at the top the value is 0% and at the bottom 100%. A onEnterFrame on the scrollbar makes sure it is always updated.

Used this solution before and it works pretty ok. But now the movieclips can change size (when you expand the news) This change in size makes it jump...

I spend days now, so i need some else to look at it, to see if you can help me.

problem: The position of the scrollbar changes when a mc is expanded.

cause: The overall size of the contentholder changes, but I can't seem to get the scrollbar dragger placed correct.

what i want: when you expande a movieclip, the movieclip stays where it is, and the scrollbar dragger is resized and placed accordingly.

how: I can't do the math...

Hope it is not too confusing... and the code is properly messy!

HEEEELP, and free beer to the guy/girl who solves it...

mr.morton is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i make robert penner equation work??? dtrace ActionScript 2.0 1 05-09-2006 09:17 PM
How to make preloaders work for photo gallery sanmarco_98 ActionScript 1.0 (and below) 2 03-16-2006 03:59 PM
rowHeight on list based components like ComboBox. I can't make it work. maglez Components 3 07-03-2005 03:20 AM
How to make buttons work in movie clips? supernova0219 Other Flash General Questions 4 08-06-2002 10:26 AM
Can't make mailform script work... hccfilms Server-Side Scripting 5 11-16-2001 08:25 AM

All times are GMT. The time now is 09:06 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.