1 Reply Latest reply on Sep 4, 2010 6:51 AM by kglad

    Embedding many resources

    hans_kazan

      Hi,

       

      I am new to this foum, i hope i didnt double post or anything.

      I am searching for 2 days on forums and google, but i havent found a solution yet.

       

      I am creating a stand alone flash application (flash cs4) with a load of png images.

      Our customer wants the (external) images to be embedded in the application for protecting them from copying, otherwise i could load them in runtime.

       

      The principle of embedding with the "[Embed(source="../../file..png")]" works perfectly with 10 files.

      This way i wont have to name and define all my images in the library for later usage.

       

      But when i try to embed for example 100 files, my compiler will not give any errors, but it just wont load any of the images.

      Actually, the generated swf is not working. I guess the compiler has problems with loading in the rather large png files.

       

      Has anyone found a similar problem, or maybe have a solution or workaround?

       

      Solving this would be a great help, so thanks in advance.

       

      Hans