# Problem w/loaderInfo.loader. INIT event not dispatched

**URL:** <https://forum.kirupa.com/t/problem-w-loaderinfo-loader-init-event-not-dispatched/276885>\
**Category:** Uncategorized\
**Created:** [December 4, 2008, 5:16pm UTC](https://forum.kirupa.com/t/problem-w-loaderinfo-loader-init-event-not-dispatched/276885 "2008-12-04T17:16:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![simspace](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@simspace](https://forum.kirupa.com/u/simspace)\
**Post date:** [December 4, 2008, 5:16pm UTC](https://forum.kirupa.com/t/problem-w-loaderinfo-loader-init-event-not-dispatched/276885/1 "2008-12-04T17:16:02Z")

</div>

I have a Flash app made up of AS3 components that I am trying to run in Flex.

In Flash, after the main component is added to the stage, the loader object (loaderInfo.loader) is null which is fine and I handle that.

The same exact code in Flex has different results. On the _applicationComplete_ event I add the the main component to the stage and the loader object’s getter throws an exception - _Error #2099: The loading object is not sufficiently loaded to provide this information_.

Also, the INIT event, which is supposed to be dispatched when the properties and methods of a loaded SWF file are accessible, does not appear to be firing which is probably part of the problem. But I can’t figure out why it is not being dispatched.

Any ideas?

Thanks!  
Chris
