Welcome To Snipplr
Everyone's Recent ActionScript Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
I'm not sure where this comes from, although it looks official. It's easy to implement, but to change the height of the scrollbar you have to delve into the developer assets folder within the FLA.
1
868
posted 16 years ago by Winkyboy
This is a handy little function that takes the htmlText value of a TextField and ads a specified tag at the beginning and end of the string. Handy for quick formatting tags such as bold, italic, underline, but could be used to add complex style data...
0
796
posted 16 years ago by discorax
Taken from a lynda.com tutorial on learning actionscript. Lots of comments for the moment.
0
716
posted 17 years ago by 1man
This will run the message function until countInterval equals 10, then it will stop. Could be used in various animations.
0
738
posted 17 years ago by 1man
to call this function you would use "asfunction:myFunction,argument1,argument2,argument3" as the href in the tag in an HTML text box.
0
1115
posted 17 years ago by Bonky
There must also be a JavaScript function defined in the containing HTML page:
function makePopup(url,pop_name,width,height) {
window.open(url, pop_name, "width="+width+",height="+height+",resizable=yes,scrollbars=yes");
}
1
864
posted 17 years ago by Bonky