Profile

Achievement

first submission:submitting first snipplet popular snippet:having a snipplet with 20 favorites

1man's Recent SnippetsTagged class



« Prev 1 Next »
How to create a basic class in AS3 and extend it if needed.
3 171 posted 12 years ago by 1man
Function to look if an element has a class, if it doesn't simply add it to the element. If it does have a class add it to the class that is already there. Function expects 2 values, the element to add the class to, and the new class name (value).
3 186 posted 13 years ago by 1man
« Prev 1 Next »