ActionScript Examples

A bunch of ActionScript 2.0 and ActionScript 3.0 examples*
  • About
  • Articles
  • Links

Changing the data provider on the ColorPicker control in Flash using ActionScript 3.0

by Peter deHaan on December 23, 2008 · 1 Comments

The following example shows how you can set the data provider for the Flash ActionScript 3.0 ColorPicker component by setting the colors property. Full code after the jump.

Continue Reading →

Disabling a TextInput component in Flash using ActionScript 3.0

by Peter deHaan on December 22, 2008 · 6 Comments

The following example shows how you can enable or disable a Flash ActionScript 3.0 TextInput control by setting the Boolean enabled property. Full code after the jump.

Continue Reading →

Creating an uneditable TextInput control in Flash using ActionScript 3.0

by Peter deHaan on December 22, 2008 · 0 Comments

The following example shows how you can create an uneditable Flash ActionScript 3.0 TextInput control by setting the Boolean editable property. Full code after the jump.

Continue Reading →

Using an embedded font with the TextInput control in Flash using ActionScript 3.0

by Peter deHaan on December 22, 2008 · 6 Comments

The following example shows how you can use an embedded font with the Flash ActionScript 3.0 TextInput control by setting the embedFonts and textFormat styles. Full code after the jump.

Continue Reading →

Setting a custom text format on a TextInput control in Flash using ActionScript 3.0

by Peter deHaan on December 22, 2008 · 3 Comments

The following example shows how you can set a custom text format on a Flash ActionScript 3.0 TextInput component by setting the textFormat style to a TextFormat object. Full code after the jump.

Continue Reading →

Creating a masked password TextInput control in Flash using ActionScript 3.0

by Peter deHaan on December 22, 2008 · 0 Comments

The following example shows ho wyou can create a password Flash ActionScript 3.0 TextInput component by setting the displayAsPassword property. Full code after the jump.

Continue Reading →

Restricting the number of characters a user can type into a TextInput component in Flash using ActionScript 3.0

by Peter deHaan on December 22, 2008 · 2 Comments

The following example shows how you can control the number of characters a user can type into a Flash ActionScript 3.0 TextInput control by setting the maxChars property. Full code after the jump.

Continue Reading →

Restricting which characters a user can type into a TextInput component in Flash using ActionScript 3.0

by Peter deHaan on December 22, 2008 · 1 Comments

The following example shows how you can control which characters a user can type into a Flash ActionScript 3.0 TextInput control by setting the restrict property. Full code after the jump.

Continue Reading →

Setting the volume on an FLVPlayback component in Flash using ActionScript 3.0

by Peter deHaan on December 22, 2008 · 2 Comments

The following example shows how you can set the volume level on a Flash ActionScript 3.0 FLVPlayback control by setting the volume property. Full code after the jump.

Continue Reading →

Embedding fonts from a Flex application into a Flash SWF file

by Peter deHaan on December 20, 2008 · 12 Comments

The following examples show how you can embed a font from a Flex Library Project into a Flash application. Note: For an example of embedding a font from Flash into Flex, see “Embedding fonts from a Flash SWF file into a Flex application” at FlexExamples.com. Full code after the jump.

Continue Reading →
← Previous Entries Next Entries →
  • http://www.playerversion.com/ http://get.adobe.com/flashplayer/
  • Platform ActionScript Language Reference
  • Recent Posts

    • Getting started with the TLFTextField class in ActionScript 3.0 and Flash CS5
    • Adding tick marks to a Slider control in Flash using ActionScript 3.0
    • Creating a vertical Slider control in Flash using ActionScript 3.0
    • Creating a custom context menu item in Flash using ActionScript 3.0
    • Rotating a Sprite object around its x-axis in Flash using ActionScript 3.0 and Flash Player 10
    • Detecting when the user changes the color in a ColorPicker control in Flash using ActionScript 3.0
    • Getting the currently selected color as a hexadecimal value on a ColorPicker control in Flash using ActionScript 3.0
    • Toggling the text field on the ColorPicker control in Flash using ActionScript 3.0
    • Creating a vertical Slider control in Flash using ActionScript 3.0
    • Setting the number of columns on a ColorPicker control in Flash using ActionScript 3.0
  • Categories

    • Bitmap (1)
    • Components (72)
      • Button (19)
      • CheckBox (2)
      • ColorPicker (6)
      • ComboBox (1)
      • DataGrid (8)
      • FLVPlayback (7)
      • Label (9)
      • ProgressBar (2)
      • Slider (3)
      • TextArea (1)
      • TextInput (7)
      • UILoader (7)
    • ContextMenu (1)
    • Embed (4)
    • ExternalInterface (2)
    • Flex (7)
    • Font (2)
    • General (5)
    • Graphics (2)
    • JSFL (14)
    • Loader (3)
    • LoadVars (3)
    • Microphone (1)
    • migration (12)
    • MovieClip (1)
    • MovieClipLoader (1)
    • Sound (2)
    • TextField (1)
    • TLFTextField (1)
    • TransitionManager (1)
    • Tween (1)
    • Uncategorized (1)
    • URLLoader (4)
    • URLVariables (1)
    • Video (1)
    • XML (2)
  • Enter your email address:

    Delivered by FeedBurner

  • Advertising

"No public Twitter messages." — pdehaan
ActionScript Examples

Pages

  • About
  • Articles
  • Links

The Latest

  • Getting started with the TLFTextField class in ActionScript 3.0 and Flash CS5
    The following examples show how you can get started with the TLFTextField […]

More

  • Flex Examples
  • ColdFusion Examples
  • ActionScript Examples
  • Adobe AIR Examples
This work is licensed under a Creative Commons Attribution 3.0 United States License.
PlatformPro by PageLines