A
A
Alexander Kolobov2013-11-17 09:57:20
JavaScript
Alexander Kolobov, 2013-11-17 09:57:20

Long time to launch a small flex application?

It was required to send files by an ajax. In order not to waste time first on collecting a bunch of javascript crutches to get a cross-browser solution, I decided to convert the files to base64 with a small flash drive and send them as a regular string with a post (the files are small). In flash, flex, mxml, I'm up to no good. I found a ready-made version in mxml, tweaked it so that it looked normal and compiled it into swf. Everything works correctly, but it takes a very long time (for such a small size) to load - about a second, you can safely say "one" =). Both locally and on the site the speed is the same. The size together with three pictures for button states is 44 kilobytes.

Here is a link to a zip with pictures, mxml source and a compiled flash drive: converter.zip

Question: how to make rendering faster / how to write a flash drive differently for the same purpose?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question