Not finding what you are looking for? Request a recipe!

  1. Avg. Rating 5.0
  2. Avg. Rating 4.6
  3. Avg. Rating 4.4

    How to sort items within group in AdvancedDataGrid

    You need to set compareFunction for GroupingField which will take into account field of group and field of items within group.

  4. Avg. Rating 4.3

    Create full-featured Flex code elements from design assets b ...

    Design your button in Flash Professional. Create class Button in your project. Set linkage to your button to Button class. Then you must embed SWF file using [Embed] metatag with param mimeType="application/octet-stream". Then, load embedded asset using Loader.loadBytes() method. Then just ...

  5. Avg. Rating 4.0

    How to create setter which will accept both numeric values a ...

    There is a metatag named [PercentProxy]. It accepts one parameter, the name of the method which will be used when percents will be set.

  6. Avg. Rating 4.0

    How to create the most simple and most powerful logger

    We have flash.trace.Trace class which will help to do all that job. Trace class will trace execution of ALL functions in application. It can make traces in flash output (like trace() function) or invoke listener function where will must just filter traces :)

  7. Avg. Rating 4.0

    How to embed swf file containing ActionScript code using [Em ...

    You have to embed SWF file using [Embed] metatag with param mimeType="application/octet-stream". Then, load embedded asset using Loader.loadBytes() method. Pass LoaderContext with ApplicationDomain.currentDomain as second argument to Loader.loadBytes(). Then just wait 1 frame – and you can ...

  8. Avg. Rating 3.8

    How to set SWF’s properties like background color, FPS or si ...

    Use [SWF] metatag just before class declaration or within <Metadata> tag of main Application mxml.

  9. Not yet rated

    Speed up concatenating strings when using TextField

    Use appendText method of TextField class. It will work 10 times quicker! (If you TextField is multiline and it calculates wordWrap for you, maybe 2-3 times quicker, but that is great too ). You will get warning from compiler about this method if you use plus operator :)

  • Results 1-9 of 9