Welcome To Snipplr
Everyone's Recent ActionScript 3 Snippets Tagged template
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev 1 Next »
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
888
posted 13 years ago by mgeduld
Here is a template button class, ive been using for my projects. Cheers!
0
807
posted 14 years ago by alvincrespo
This is an AS3 version of the banner template I created a while back in AS2. The code has been placed in the accompanying banner.as file, with the exception of a little bit of code within the dynamically-centering button you'll see placed on the stag...
0
676
posted 14 years ago by Winkyboy
« Prev 1 Next »