Upgrade your Flash CS4 to 10.0.2

I was playing with some thousands of words in an array to enter the “Word Play” Flash Game Contest when I got this strange error:

Obviously there was nothing wrong in my line 1, but it’s a CS4 issue related to compiling large projects.

So I recommend you to check for the Adobe Flash CS4 Professional Update (10.0.2) released to fix some important issues.

This update for Flash CS4 Professional (10.0.2) addresses issues related to compiling large projects. Specifically, it addresses stability and performance issues related to large animation files, such as timeline scrubbing and looping and nested movie clips, as well as text handling.

This may be the reason you couldn’t compile the Flash file with all words in it.

With my 10.0.2 version everything is going right and I am heading for the 1st prize :)

Rate this post: 1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)
Loading ... Loading ...
If you found this post useful, please consider a small donation.
» Flash Templates provided by Template Monster are pre-made web design products developed using Flash technology.
They can be easily customized to meet the unique requirements of your project.

8 Responses

  1. Lawrie says:

    Thanks for the tip Emanuele. Out of interest – how are you parsing and accessing the game list? Any optimisation recommendations?

  2. Hawdon says:

    Like Lawrie, I too am interested in how you are parsing and accessing the word list…

    A tutorial maybe? :)

  3. Cyclone103 says:

    And of course you will win first prize, I have no doubt ;)

  4. Edgar says:

    I’m also interested on how you’re parsing and using the word list :P. I also plan to enter into the contest :)

  5. Zach Foley says:

    Ha! Okay I will try. I abandoned a word game a few months back because the thing wouldn’t compile… And it was definitely from the long lists.

    Looks like yuo’ll have some competition Emanuelle :-)

  6. We had the same problems some time a go and we overcome by separating into 2 parts. Then we loaded files and used applicationDomian.getDifinition bla bla. Its is so cool to have fix now!

  7. Atar sh. says:

    Hey Imanuele,
    Just wanted to point out that using such long arrays may be slow. It’s worth checking out other data structures, I found a red-black-tree implementation somewhere (I think it was FlashKit) which makes searches so much faster than running through an array.

  8. You might consider using an alternative data structure as the person above me suggests. A straight array is very inefficient way to store a dictionary. In fact it’s inefficient in terms of memory and word look up. Let me point you to an implementation of a Trie in Actionscript 3 I wrote which may help you out. It looks up words in O(n) time and is much more memory efficient. I wrote it for the Wordplay contest and I’m happy to share.

    Check it out at here:

    http://www.anotherearlymorning.com/2009/06/trie-data-structure-in-actionscript-3/

Leave a Reply