4140 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Located in Brazil
+3 more
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");
}
2010 posts
  • Has referred 50+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+9 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
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Located in Brazil
+3 more
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
  • Has been part of the Envato Community for over 5 years
  • Has sold $1,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
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
  • Has been part of the Envato Community for over 4 years
  • Has sold $1,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
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 :-)

5411 posts The Dude Abides
  • Located in United States
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has been part of the Envato Community for over 5 years
+9 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
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Located in Brazil
+3 more
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

5411 posts The Dude Abides
  • Located in United States
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has been part of the Envato Community for over 5 years
+9 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
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Located in Brazil
+3 more
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
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+3 more
CreativeAddiction says

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by