- For individual users
- Instant access to solutions
- Ask your tech questions
- Start your 30-day Free Trial
Main Topics
Browse All TopicsI'm just trying to create a class that controls a scrollpane to load a series of thumbnails off a website. The way I do it is everytime a thumbnail is added to the scrollpane, I create a new movie clip and position it under previous one. My problem is, after adding this new movieclip to content of scrollpane it doesnt' seem to recognize the size of the content has been changed and refuse to let you use the scrollbar. refreshPane() does not work, in fact when I tried refreshPane it showed me blank. I need someone tell me how I can fix this or show me an example of a scrollpane that loads MULTIPLE picture files into it's content then redraw the scrollbars correctly.
My stage area only has one ScrollPane component that has height of 590 and width of 130, the instance is named scrollThumb. The contentPath property of scrollThumb is pointed to a blank movieclip symbol named symScrollArea at design time.
I think you can only point ScrollPane to symbols and once you set the contentpath property to a symbol it creates a new instance of it. It might work if I add clips a movieClip then reset the contentpath property ... but that's for another day. Right now I want an answer to this asap :)
class Thumbnails {
var scrollArea:MovieClip;
var thumbsMC:Array = new Array();
var thumbNotes:Array = new Array();
var count:Number;
function Thumbnails() {
this.scrollArea = _root.scrollThumbs.content
this.count = 0;
}
function addThumb(thumbURL:String) {
this.count += 1;
this.thumbNotes[this.count
with (this.thumbNotes[this.coun
{
loadMovie(thumbURL);
_x = 0;
_y = (this.count - 1) * 120;
}
//_root.scrollThumbs.refre
_root.scrollThumbs.setSize
}
}
This question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership