4140 posts
  • Bought between 1 and 9 items
  • Brazil
  • Exclusive Author
  • Has been a member for 6-7 years
  • Referred between 1 and 9 users
  • Sold between 5 000 and 10 000 dollars
tsafi says
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");
}
1999 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Author had a Free File of the Month
  • Won a Competition
  • Bought between 10 and 49 items
+4 more
bitfade says

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.

4140 posts
  • Bought between 1 and 9 items
  • Brazil
  • Exclusive Author
  • Has been a member for 6-7 years
  • Referred between 1 and 9 users
  • Sold between 5 000 and 10 000 dollars
tsafi says

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.*;}

111 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Sold between 1 000 and 5 000 dollars
  • Taiwan
savorks says

Simple canvas, a framework for simple drawing behave(mouseDown=>mouseMove=>mouseUp), you can add your own drawing tool by creating a Class which implement IDrawMethod in source package.

example
document
source

Feel free to use it :)

7 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Sold between 1 000 and 5 000 dollars
  • Sweden
daveash says

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 :-)

5311 posts The Dude Abides
  • United States
  • Exclusive Author
  • Has been a member for 5-6 years
  • Elite Author
  • Bought between 100 and 499 items
  • Referred between 100 and 199 users
  • Author had a Free File of the Month
+5 more
CodingJack says

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

4140 posts
  • Bought between 1 and 9 items
  • Brazil
  • Exclusive Author
  • Has been a member for 6-7 years
  • Referred between 1 and 9 users
  • Sold between 5 000 and 10 000 dollars
tsafi says
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

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 :P

5311 posts The Dude Abides
  • United States
  • Exclusive Author
  • Has been a member for 5-6 years
  • Elite Author
  • Bought between 100 and 499 items
  • Referred between 100 and 199 users
  • Author had a Free File of the Month
+5 more
CodingJack says

^ 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 TweenLite

You 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 :P )

4140 posts
  • Bought between 1 and 9 items
  • Brazil
  • Exclusive Author
  • Has been a member for 6-7 years
  • Referred between 1 and 9 users
  • Sold between 5 000 and 10 000 dollars
tsafi says
^ 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

CreativeAddiction
CreativeAddiction Recent Posts Threads Started
160 posts
  • Author had a Free File of the Month
  • Bought between 10 and 49 items
  • Europe
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
CreativeAddiction says
by
by
by
by
by
by