Tutorial – embedding swf with external assets (xml, external images, etc.) in a wordpress blog MIT
var zoomzoom:zoomit= new zoomit()
var CheckZoomit:String;
if(CheckZoomit=="No Tutorial")
this.addChild(zoomzoom);
}else{
this.removeChild(zoomzoom);
zoomzoom=null;
trace("zoomit is in the wrong place");
}
- Sold between 100 000 and 250 000 dollars
- Author had a File in an Envato Bundle
- Has been a member for 4-5 years
- Author had a Free File of the Month
- Won a Competition
- Author was Featured
- Item was Featured
- Bought between 10 and 49 items
problem with other snippet repositories is that items often lack license details
this way, all code posted here could be used without hassle as only a link to this thread should be enough for reviewers
jack, use gist: you’ll get revision control so you can just update code instead of reposting.
Cool text class shake only 6 line of code .
package{
public class TextShake extends Sprite{
public function TextShake(){
var f=0,c=Math.cos,l=300,s=new BitmapData(l,l),d=s.clone(),t=new TextField
t.text="Tsafi\nText";addChild(new Bitmap(d));s.draw(t,new Matrix(
11,0,0,11));addEventListener(Event.ENTER_FRAME,function(){for(var r=
new Rectangle(0,0,l,1);r.y<l;r.y++){r.x+=c(r.y/11+111*c(f+=3/l/l))*c
(f);d.copyPixels(s,r,new Point(0,r.y));}});}}import flash.events.*
import flash.display.*;import flash.text.*;import flash.geom.*;}
Great initiative! I’ll surely contribute to this as i create more items. In the meantime i’d like to post a link to an AS3 helper framework i’ve created during my years as a developer.
http://code.google.com/p/tractionas3/ To see the source code directly click here.
It’s released under MIT license so using it for sales is perfectly fine. Hope there’s something in there that can help you develop faster/better/easier 
- United States
- Has been a member for 4-5 years
- Exclusive Author
- Author was Featured
- Sold between 50 000 and 100 000 dollars
- Item was Featured
- Contributed a Tutorial to a Tuts+ Site
- Author had a Free File of the Month
Reveal – A quick and easy way to add a fade-wipe mask animation to an object
You can show or hide an object in an elegant way with 2 lines of code.
Source (always use this)
http://www.blazethefire.com/reveal/usage.txt
http://www.blazethefire.com/reveal/Reveal.as
Pastie View
Usage: http://pastie.org/1196199
Class: http://pastie.org/1196202
Reveal – A quick and easy way to add a fade-wipe mask animation to an objectYou can show or hide an object in an elegant way with 2 lines of code.
Source (always use this)
Pastie View
http://www.blazethefire.com/reveal/usage.txt
http://www.blazethefire.com/reveal/Reveal.as
Usage: http://pastie.org/1196199
Class: http://pastie.org/1196202
Mmmmmm I don’t think you can do that, you contradict yourself in the Copyright license, since its already license in away, that’s what happen when a part of your code using other license class.
You state your Copyright license under your name only if it’s yours 100 % on the self class no 3 party only if its 100% free , well i think so ,I can be wrong 
- United States
- Has been a member for 4-5 years
- Exclusive Author
- Author was Featured
- Sold between 50 000 and 100 000 dollars
- Item was Featured
- Contributed a Tutorial to a Tuts+ Site
- Author had a Free File of the Month
^ I don’t think so. I’m not distributing GreenSock. I’ll change the license just in case.
Edit:
Here’s the new verbiage:
This code uses GreenSock’s amazing TweenLiteYou can use it any way you want as long as you abide by the GreenSock licensing terms: http://www.greensock.com/licensing/
Don’t use the pastie version, as it’s been updated (need to figure out how to use GitHub
)
^ I don’t think so. I’m not distributing GreenSock. I’ll change the license just in case.
I am not sure also Chris ,its just logic
