Not enogh memory

when I publish my movie I get a message that says:

“error creating flash movie. there was not enough memory available”

I tried increasing the paiging files size and the registry size in windows but that didn’t work. Any ideas or reasons why this is happening and how can i resolve this?

Hi
I’m not an expert, but my first thought is that you may have an onEnterFrame function that is executing over and over again, using up your memory. You would need to add a delete.onEnterFrame after it has done what you’ve asked it to do.
I grabbed this code from to give an example

home_bmc.onRelease = function() {
    // assign the event handler function to welcome_mc's onEnterFrame property
    ui.welcome_mc.onEnterFrame = function() {
        // "this" = welcome_mc (object this function is attached to)
        if (this._alpha >= 99) {
            delete this.onEnterFrame;  // to avoid unnecessary processing
        } else {
            this._alpha += 5;
        }
    };
};