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

  1. Not yet rated

    Loading Files to PlaceGun

    Instead of using {object}.place(); method, which will place imported image into targeted frame, using activeDocument.place(); will load selected files into PlaceGun.

  2. Not yet rated

    Rotating Single Selected Object

    Rotating selected object through scripting is really simple and can be achieved through rotationAngle object property. Also, you can create small short scripts that will help you when rotating bunch of objects to same angle.

  3. Not yet rated

    Setting Default Transform Reference Point

    To avoid problems and get expected results, you have to check/set correct reference point when doing transformations. Using transformReferencePoint property you can set anchor point to desired one.

  4. Avg. Rating 4.0

    Self-closing alert

    We can use Timer to close Alert dialog after some time if dialog is not closed by user.

  5. Avg. Rating 4.0

    Center MXML title window

    By using PopUpManager class centerPopUp method, we can easily have title window centered.

  6. Not yet rated

    Get mouse position relative to screen

    By using globalToScreen we can retrieve mouse position relative to screen.

  7. Not yet rated

    Get available screens, resolutions and color depths

    This can be done simply by using the Screen class which allows us to retrieve all necessary data about screens.

  8. Not yet rated

    Customise Alert Control

    It's really simple, and can be done very easily. Let's take a look.

  9. Not yet rated

    Add Custom FocusIn/FocusOut Glow Effect

    Simple by using glow effect and adding focusIn and focusOut properties to text field we can get this cool effect.

  10. Not yet rated

    Collect multiple e-mail addresses from text using RegExp

    It can be done by using Regular Expression and one Array where addresses are stored.