PDA

View Full Version : Not enough stack size?



WoGk7
June 11th, 2007, 09:19 AM
Hi all,

It has been ages since i posted here, ages since i've worked with Flash aswell. But here i am now with a new problem for You all to solve.

Im makin this CD that will have close 20 300 pdf files with various legislation parragrafs, not interesting at all. I have very nice scroller and all the titles are traced from freehand, becouse they had to be layed out in a very particular way and i just couldn't for the life of me get whet i wanted in flash.

So, some of the movieClips i scroll are veeeeeery long, they don't fit on the stage really.

Now, when i try publishing the movie, i get an error sayin more or less (i translate from spanish) this:

Operation could not be completed becouse there was not enough stack space.

I am changing my text to PNGs now to see if this will fix the problem. Just thought i'd post here to see if any of You gurus has anyidea or has seen a similar problem in the past.

Cheers in advance,
Wojtek

Charleh
June 11th, 2007, 09:57 AM
My brothers name is Witek...(polish) is it the same as Wojtek do you think?

Anyway the stack refers to the 'call stack' which probably means that you have a recursive function or some kind of recursive loop which is overloading the stack. Have you got a lot of code running in your flash movie? If so can you post it?

duncanhall
June 11th, 2007, 10:31 AM
"That's what she said".


Sorry, couldn't resist.


Did the error message mention anything about reaching the maximum number of recursions (255 I think).

WoGk7
June 11th, 2007, 11:18 AM
Duncan : lol Easy one, but ok. Got me. And no, no mention of recursive calls.

Charleh: No, Witek and Wojtek are two different names. They are short for Witold and Wojciech respectively.

It seems that changins all that traced text to images has solved my problem, so far.

Thanks