mgeduld


Member since 11/30/2010

5 snippets

1925 profile views

6 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

mgeduld's Recent Snippets



« Prev 1 Next »
This is based on http://www.snipplr.com/view/46082/as3-html-color-keywords-colorname-class/ I found that link really useful, but it's more complex than I needed. I just wanted a simple list of consts. So I ran the above through a regexp and extrac...
0 537 posted 13 years ago by mgeduld
This simple construct allows you to replace parts of a string with items in a hash table (e.g. and Object). Example: var replacements : Object = { SPEED : "slow", ADJECTIVE : "green", VERB: "slithers" }; var template: String = "The %{SPEED}...
0 887 posted 13 years ago by mgeduld
« Prev 1 Next »