21 comments found

I purchased your Simplicity Gallery a while back..

I am trying to link to the published .swf file from another flash project, but I get this error:

TypeError: Error #1009: Cannot access a property or method of a null object reference.at Gallery/initThumb()at Gallery/xmlLoaded()at flash.events::EventDispatcher/dispatchEventFunction()at flash.events::EventDispatcher/dispatchEvent()at flash.net::URLLoader/onComplete()

I know it’s because it’s loading all that code externally, but how can I fix this? Thanks!

sike
sike Author

Hi, you can try to replace the stage.stageWidth and stage.stageHeight with your swf’s size. This error is caused by the swf try to access the stage while it’ve been initialized.

Default-user

Sike,

Thanks for your quick response. I’m not sure I understood what you just said, but I know that I have the height and width of the file set to my current project. I also have tried many different techniques of calling it to the stage, but nothing as worked thus far.

I can email you a link to the page if you wish.

Thanks,

Tim

Default-user

Still no reply…

by
by
by
by
by
by