# Publishing problem ! Pls help

**URL:** https://forum.kirupa.com/t/publishing-problem-pls-help/273918
**Category:** flash
**Created:** [October 22, 2008, 3:10pm UTC](https://forum.kirupa.com/t/publishing-problem-pls-help/273918 "2008-10-22T15:10:30Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Sketches](https://avatars.discourse-cdn.com/v4/letter/s/3ec8ea/32.png) [@Sketches](https://forum.kirupa.com/u/Sketches)
#### Post date: [October 22, 2008, 3:10pm UTC](https://forum.kirupa.com/t/publishing-problem-pls-help/273918/1 "2008-10-22T15:10:30Z")

</div>

In my fla , i have imported a class . I used addChild method to add it on the stage . When i hit Test Movie , all the flas works perfectly . BUT when i publish the file , the class part ( gallery ) is not working anymore … it’s just appearing what i already added on the stage without adding the class instance …

I revised all my publish settings , class path and took care about making all the functions in the class as “public” .

WHAT is the problem ? I am very nervous about that … i worked a lot on this project and now i just can`t publish it properly .

Thanks in advance .
