# Null Reference object problem

**URL:** <https://forum.kirupa.com/t/null-reference-object-problem/313036>\
**Category:** flash\
**Created:** [August 18, 2010, 2:22pm UTC](https://forum.kirupa.com/t/null-reference-object-problem/313036 "2010-08-18T14:22:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ralphiedee](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@ralphiedee](https://forum.kirupa.com/u/ralphiedee)\
**Post date:** [August 18, 2010, 2:22pm UTC](https://forum.kirupa.com/t/null-reference-object-problem/313036/1 "2010-08-18T14:22:35Z")

</div>

I have a test main.swf with just a UI loader component loading in an external .swf

The swf is a flash scroll using the component class. The swf works fine on its own but when used with the UI loader I get an null reference msg.

The files have xml, .as and css files in the zip.

Can someone shed some light on why I get this reference as the scroll and text appear in the main.swf but the scroll does not function.

Link is below, any help plz?

[http://dagwaremedia.com/as3\_scrollbar\_class\_test.zip](http://dagwaremedia.com/as3_scrollbar_class_test.zip)
