Flash banner(300 - 400 credits)

galaxyAbstractor

Community Advocate
Community Support
Messages
5,508
Reaction score
35
Points
48
I found a cool action script at the web that I want to use. I think it is very complicated and I need someone with good knowledge of actionscript.

Here is the actionscript:

Code:
/**
* @mxmlc -sp+=G:\davidr\papervision\as3\src
*/

package {
import flash.geom.*;
import flash.display.*;
import flash.events.*;
import flash.ui.Keyboard;
import flash.text.*;
import flash.filters.*;
import flash.utils.*;

[SWF(width="600", height="400", backgroundColor="#eeeeee", frameRate="30")]
public class Main extends Sprite
{
	[Embed(source="../logo.png")]
	public var Logo:Class;
	var logo:Sprite;
	var buf:Bitmap;
	var blur:BlurFilter;
	var ct:ColorTransform;
	
	public function Main()
	{
		stage.scaleMode = "noScale";
		stage.align = "TL";
		buf = new Bitmap();
		addChild(buf);
				
		ct = new ColorTransform(1,1,1,1,
								1,1,1,0);
		blur = new BlurFilter(1.5, 1.5, 1);
		
		var logoBMP:Bitmap = new Logo();
		logo = new Sprite();
		logo.addChild(logoBMP);
		addChild(logo);
		
		onResize(null);

		
		logo.addEventListener(MouseEvent.MOUSE_DOWN, grab);
		logo.addEventListener(MouseEvent.MOUSE_UP, release);
		addEventListener(Event.ENTER_FRAME, onEnterFrame);
		
		stage.addEventListener(Event.RESIZE, onResize);
	}
	
	public function onResize(e:Event) {
		buf.bitmapData = new BitmapData(stage.stageWidth, stage.stageHeight, false, 0xdddddd);
		var sw:Number = stage.stageWidth;
		var sh:Number = stage.stageHeight;
		var lw:Number = logo.width;
		var lh:Number = logo.height;
		logo.x = (sw-lw)/2;
		logo.y = (sh-lh)/2;
		
	}
	
	public function grab(e:Event) {
		logo.startDrag();
	}
	
	public function release(e:Event) {
		logo.stopDrag();
	}
	
	var flag:int = 0;
	
	public function onEnterFrame(e:Event) {
		flag++;
		if(flag == 2)
		{
			buf.bitmapData.draw(stage, null, ct, null, null, true);
			flag = 0;
		}
		else
			buf.bitmapData.draw(stage, null, null, null, null, true);
		buf.bitmapData.applyFilter(buf.bitmapData, buf.getBounds(buf), new Point(0,0), blur);
	}
}

}

I want to use this picture:
logo.png


I want the flash to be 468 x 60 and have transparent background. And I don't want the user to be able to move the picture. I will pay 300 - 400 credits for it.

The result will be like http://davr.org/flash/swf.php?swf=blur&w=600&h=400 but my logo as logo...
 
Last edited:

VPmase

New Member
Messages
914
Reaction score
1
Points
0
If you are going to use flash you can't have a transparent bg. And from that example I'm guessing you want that sort of blur/glow effect on your logo?
 

Sohail

Active Member
Messages
3,055
Reaction score
0
Points
36
Can't you just download the source file of that website and replace it with your logo, then change the document size?
 

galaxyAbstractor

Community Advocate
Community Support
Messages
5,508
Reaction score
35
Points
48
Can't you just download the source file of that website and replace it with your logo, then change the document size?

I did but it wont work... It just says "Package { can't be stacked".

Well if it isn't possible with transparent background make it white. The source code is in the first post. And yeah, I want that blur effect.
 

satheesh

New Member
Messages
883
Reaction score
0
Points
0
I have Created a Flash Banner for you:
I think you wanted like this.
 

Attachments

  • Blur.zip
    9.7 KB · Views: 6

galaxyAbstractor

Community Advocate
Community Support
Messages
5,508
Reaction score
35
Points
48
hmmm that got a bit weird.

1. My logo isn't there

2. It is a grey box that disappears in 5 seconds
 

satheesh

New Member
Messages
883
Reaction score
0
Points
0
Sorry,i forgot to add logo to it.
Save your logo as "logo.png" in the same file directory.
 

satheesh

New Member
Messages
883
Reaction score
0
Points
0
Flash banner BG Color already in white color.
 
Last edited:

satheesh

New Member
Messages
883
Reaction score
0
Points
0
Now see and What you think?
I changed the Size.
 

Attachments

  • Blur.zip
    24.2 KB · Views: 2

galaxyAbstractor

Community Advocate
Community Support
Messages
5,508
Reaction score
35
Points
48
First example: http://jagf.net/1/Blur.html
Second: http://jagf.net/2/Blur.html

Btw, I changed my mind in the "image size". I want the image 400 x 43 and the flash still same. So the logo must be centered someway. I give you +100 credits if you can fix the grey thing and the center thing.

The second example is best. Can you try to make the image center and the background more white
 
Last edited:

satheesh

New Member
Messages
883
Reaction score
0
Points
0
Ok wait a moment...
Edit:
Now see. I think you will accepts this.
 
Last edited:

satheesh

New Member
Messages
883
Reaction score
0
Points
0
Sorry,now see in the Attachment.
 

Attachments

  • Blur.zip
    25.2 KB · Views: 2

fbeforum

New Member
Messages
1
Reaction score
0
Points
0
There is a very good website: www.bannermakersite.com. You can edit flash banners free! You are not required to registrate at all, if You just want to have a look at the pictures and flash animations You could useon Your own banners! You are also allowed to try the editor in the case You haven’t registrated yet. I guarantee that You are going to registrate in the case You try it, because this site is fantastic.
 
Top