Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 539949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T10:11:23+00:00 2026-05-13T10:11:23+00:00

This is driving me crazy. It seems I cannot use ScrollPane ANYWHERE in my

  • 0

This is driving me crazy. It seems I cannot use ScrollPane ANYWHERE in my AS3 code without it crashing every dropdown box in the program.

Here is the error message I get when clicking a dropdown box:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at fl.containers::BaseScrollPane/drawBackground()
at fl.controls::List/draw()
at fl.core::UIComponent/drawNow()
at fl.controls::List/scrollToIndex()
at fl.controls::SelectableList/scrollToSelected()
at fl.controls::ComboBox/open()
at fl.controls::ComboBox/onToggleListVisibility()

This happens when clicking ANY dropdown box, regardless of whether or not the code referencing ScrollPane has been executed. The really retarded thing is that I can’t even declare a scrollPane var without it causing these errors. IE this:

var x:ScrollPane;

causes all dropdowns to break. And no, I’m not trying to reference x without initializing it. Initializing Scrollpanes using ‘new’ causes the same problem, as well as casting anything to a ScrollPane.

To get around this, I have been creating scrollpanes directly in the fla and referencing them from AS. This doesn’t break the program, and I can access their properties. They even work fine this way.

In short, using the word ‘ScrollPane’ anywhere in the program breaks it. This is not just my system either. It is happening to at least two other devs I work with.

Any ideas?


edit:

So after scouring the interweb for a while, most people are solving this issue by following bhups suggestions below and adding the component to the library. I’m adding the thing to my main fla from window -> components -> ScrollPane and it indeed shows up in the library. It still doesn’t work. I even put one instance on the stage to make sure it had all of the symbols it needed to no avail. Does anyone know of any settings that may be incorrect or anything else I can look at? I will provide any info if necessary.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T10:11:23+00:00Added an answer on May 13, 2026 at 10:11 am

    ScrollPane doesn’t belong to the core libraries of ActionScript-3 so before instantiating or defining a variable of Components classes you need to add that particular component to you library. yo can find components source in (FLASH_INSTALL_DIR/LANGUAGE/Configuration/Component Source) and Components UI in (FLASH_INSTALL_DIR/LANGUAGE/Configuration/Components) folder.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 292k
  • Answers 292k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer sed 's/\([^|]\+\)|\([^|]\+\)|\([^|]\+\)|\([^|]\+\)|\([^|]\+\)|\([^|]\+\)|\([^|]\+\)|\([^|]\+\)|/\1\t\2\t\3\t\4\t\5\t\6\t\7\t\8\t/;s/|\([^|]\+\)|\([^|]\+\)|\([^|]\+\)|\([^|]\+\)$/\t\1\t\2\t\3\t\4/' HTH May 13, 2026 at 6:16 pm
  • Editorial Team
    Editorial Team added an answer The heavy hitters on memory usage for a DataSet are… May 13, 2026 at 6:16 pm
  • Editorial Team
    Editorial Team added an answer jQuery describes parentsUntil() as: Description: Get the ancestors of each… May 13, 2026 at 6:16 pm

Related Questions

I have been using a floodfill algorithm of the stack-based non-recursive variety and it
When I log in on my dev machine in an ROR application, I should
I have created a simple flash menu and the SWF file, JS files (swfoject.js
This is driving me crazy. Ever since I installed ReSharper 4, F12 no longer
I have a page that grabs values from the query string using javascript window.location

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.