Flash CS5 AS3 Scrollbar Works locally but not online

Posted on 2012-09-08
Last Modified: 2012-09-09
here is a link to my project files (.zip):

My scrollbar is added to a textfield with the following AS3 code:

//Add Scrollbar
import fl.controls.UIScrollBar;

mySb.direction = "vertical";
mySb.buttonMode = true;
mySb.scrollTarget = myText;

The scrollbar works on the first section, but when I skip to the next section using the FF button, the scroll bar loses its little "thumb-bar" (or whatever you call the thing you can grab to scroll down more quickly) (see images). Any ideas why this happens?
It works all the way through when I test the file locallybut looks like this after the first section when testing it onlinefileList.jpg
Question by:tlengnick

    Author Comment

    Here's where you can see the project:

    Author Comment

    Maybe something to do with the text not being fully loaded before the scrollbar gets added to the textfield?

    How can I create a little function that waits until the text is fully loaded, then add the scrollbar child?

    Accepted Solution

    Somehow, I got it working...not exactly sure how...sorry.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
    Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
    The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
    The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now