Welcome To Snipplr
Everyone's Recent Snippets Tagged 3
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Two ways of printing a message backwards using either string slicing, or list() function.
0
690
posted 12 years ago by jdsantiagojr
This PHP code is made to help people using the ActionScript 3 AlivePDF library to save PDF files from a Flash app to a server.
ActionScript 3 AlivePDF save code:
_pdf.save(Method.REMOTE, "save.php", Download.ATTACHMENT, "MyFile.pdf");
0
985
posted 12 years ago by vamapaull
Se pide 3 numeros al usuario y luego se pregunta si lo quiere en orden ascendente o descendente.
0
3034
posted 12 years ago by Chaqui
It's very useful if you build a FLV player for example, and want to convert the time into minutes:seconds (example: 6:13)
//apply it to your project like this (and don't forget to import the class):
time.text = TimeUtil.getTimecode(timeValue);
0
979
posted 12 years ago by vamapaull
Programsko rješenje za zadatak 3 iz kolegija Strukture podataka.
0
695
posted 12 years ago by kkovacic
An easy way to detect shakes on mobile devices with equipped accelerometer.
0
1070
posted 12 years ago by vamapaull
This is a sound manager class for a small project I've been working on for the past two days. Nothing really major or new, but just some simple functionality including play/stop/forward/previous functions that may help prove useful to someone. If you...
1
904
posted 14 years ago by alvincrespo
This is a snippet that will animate in a circle in a clockwise fashion based on the parameters the function is passed. It can be used to create a circular or clock wipe when used as a mask.
2
1001
posted 14 years ago by sottenad
On a new actions layer, add the following script to frames requiring to be paused.
10000 represents the delay milliseconds (10 seconds).
1
1152
posted 15 years ago by hotdiggity
1. Create button that covers the entire ad.
2. Create an instance of the button on the main timeline and name it "clickTag_bn" in the properties palette.
3. On a new layer add ActionScript to the timeline as follows:
2
886
posted 15 years ago by hotdiggity
This snippet uses the as3corelib which you can download on this page:
http://code.google.com/p/as3corelib/
3
809
posted 15 years ago by publicbroadcast