+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Flash banner(300 - 400 credits)

  1. #1
    galaxyAbstractor's Avatar
    galaxyAbstractor is offline Community Advocate galaxyAbstractor is on a distinguished road
    Join Date
    Oct 2007
    Location
    Land of Null and Insanity
    Posts
    5,495

    Flash banner(300 - 400 credits)

    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:


    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 by galaxyAbstractor; 02-28-2008 at 02:09 PM.

  2. #2
    VPmase's Avatar
    VPmase is offline x10 Elder VPmase is an unknown quantity at this point
    Join Date
    Nov 2007
    Location
    Dixon, IL, USA
    Posts
    914

    Re: Flash banner(300 - 400 credits)

    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?

  3. #3
    Sohail's Avatar
    Sohail is offline x10 Spammer Sohail is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    London, UK
    Posts
    3,052

    Re: Flash banner(300 - 400 credits)

    Can't you just download the source file of that website and replace it with your logo, then change the document size?

  4. #4
    galaxyAbstractor's Avatar
    galaxyAbstractor is offline Community Advocate galaxyAbstractor is on a distinguished road
    Join Date
    Oct 2007
    Location
    Land of Null and Insanity
    Posts
    5,495

    Re: Flash banner(300 - 400 credits)

    Quote Originally Posted by sohailamir52 View Post
    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.

  5. #5
    satheesh's Avatar
    satheesh is offline x10 Elder satheesh is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Tamil Nadu,India
    Posts
    883

    Re: Flash banner(300 - 400 credits)

    I have Created a Flash Banner for you:
    I think you wanted like this.
    Attached Files
    I want to buy Some Scripts So Please Click This link:http://affiliate.tufat.com/index.php?id=4384
    Please rate my site:Click here




  6. #6
    galaxyAbstractor's Avatar
    galaxyAbstractor is offline Community Advocate galaxyAbstractor is on a distinguished road
    Join Date
    Oct 2007
    Location
    Land of Null and Insanity
    Posts
    5,495

    Re: Flash banner(300 - 400 credits)

    hmmm that got a bit weird.

    1. My logo isn't there

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

  7. #7
    satheesh's Avatar
    satheesh is offline x10 Elder satheesh is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Tamil Nadu,India
    Posts
    883

    Re: Flash banner(300 - 400 credits)

    Sorry,i forgot to add logo to it.
    Save your logo as "logo.png" in the same file directory.
    I want to buy Some Scripts So Please Click This link:http://affiliate.tufat.com/index.php?id=4384
    Please rate my site:Click here




  8. #8
    galaxyAbstractor's Avatar
    galaxyAbstractor is offline Community Advocate galaxyAbstractor is on a distinguished road
    Join Date
    Oct 2007
    Location
    Land of Null and Insanity
    Posts
    5,495

    Re: Flash banner(300 - 400 credits)

    Quote Originally Posted by satheesh View Post
    Sorry,i forgot to add logo to it.
    Save your logo as "logo.png" in the same file directory.
    Nice! But can you try to delete the grey background so it is white instead?

  9. #9
    satheesh's Avatar
    satheesh is offline x10 Elder satheesh is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Tamil Nadu,India
    Posts
    883

    Re: Flash banner(300 - 400 credits)

    Flash banner BG Color already in white color.
    Last edited by satheesh; 03-02-2008 at 06:46 AM.
    I want to buy Some Scripts So Please Click This link:http://affiliate.tufat.com/index.php?id=4384
    Please rate my site:Click here




  10. #10
    galaxyAbstractor's Avatar
    galaxyAbstractor is offline Community Advocate galaxyAbstractor is on a distinguished road
    Join Date
    Oct 2007
    Location
    Land of Null and Insanity
    Posts
    5,495

    Re: Flash banner(300 - 400 credits)

    Quote Originally Posted by satheesh View Post
    Flash banner BG Color already in white color.
    but there is something grey with it...

+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Need Advertising - Will pay in Credits
    By Loneua Technologies in forum Advertising
    Replies: 52
    Last Post: 03-16-2008, 02:40 PM
  2. Flash button for 50 Credits:
    By satheesh in forum The Marketplace
    Replies: 4
    Last Post: 01-25-2008, 08:43 AM
  3. Need help with Flash - 400 credits
    By Sohail in forum The Marketplace
    Replies: 2
    Last Post: 12-18-2007, 04:43 AM
  4. Edit Flash Banner (300 credits)
    By Derek in forum The Marketplace
    Replies: 9
    Last Post: 10-07-2007, 10:35 AM
  5. Animation Flash Counter for 15 Credits.
    By satheesh in forum The Marketplace
    Replies: 2
    Last Post: 10-02-2007, 10:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers