VideoHive

Posts by bakerbean

8 posts
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Bought between 10 and 49 items
  • United Kingdom
bakerbean says

I hope the music player I just uploaded is good enough. :(

2 years ago in thread Files types we already have plenty of
8 posts
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Bought between 10 and 49 items
  • United Kingdom
bakerbean says

When you make a sale on Paypal you automatically get those details.

If you want to be sure ask Paypal Support they are quite handy.

2 years ago in thread Paypal and Flash question
8 posts
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Bought between 10 and 49 items
  • United Kingdom
bakerbean says

A nice story indeed. TC

2 years ago in thread Thank You Envato
8 posts
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Bought between 10 and 49 items
  • United Kingdom
8 posts
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Bought between 10 and 49 items
  • United Kingdom
bakerbean says

package { import flash.display.; import flash.net.URLRequest; import flash.events. import flash.text.*; }

public class SunsetViewer extends Sprite {
  private var loader:Loader;
  private var progressOutput:TextField;
public function SunsetViewer () {
  createLoader();
  createProgressIndicator();
  load(new URLRequest("sunset.jpg"));
}
private function createLoader ():void {
  loader = new Loader();
  loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,
                                            progressListener);
  loader.contentLoaderInfo.addEventListener(Event.COMPLETE,
                                            completeListener);
  loader.contentLoaderInfo.addEventListener(Event.INIT,
                                            initListener);
  loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR,
                                            ioErrorListener);
}
private function createProgressIndicator ():void {
  progressOutput  = new TextField();
  progressOutput.autoSize   = TextFieldAutoSize.LEFT;
  progressOutput.border     = true;
  progressOutput.background = true;
  progressOutput.selectable = false;
  progressOutput.text       = "LOADING...";
}
private function load (urlRequest:URLRequest):void {
  loader.load(urlRequest);
  if (!contains(progressOutput)) {
    addChild(progressOutput);
  }
}
private function progressListener (e:ProgressEvent):void {
  progressOutput.text = "LOADING: " 
                      + Math.floor(e.bytesLoaded / 1024)
                      + "/" + Math.floor(e.bytesTotal / 1024) + " KB";
}
private function initListener (e:Event):void {
  addChild(loader.content);
}
private function completeListener (e:Event):void {
  removeChild(progressOutput);
}
// Listener invoked when a load error occurs
private function ioErrorListener (e:IOErrorEvent):void {
  progressOutput.text = "LOAD ERROR";
}
}
3 years ago in thread [AS3] addChild not working...
8 posts
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Bought between 10 and 49 items
  • United Kingdom
bakerbean says

replace image with loader.content

3 years ago in thread [AS3] addChild not working...
8 posts
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Bought between 10 and 49 items
  • United Kingdom
bakerbean says

Hi guys.

A lot of people ask about how to remove the scrollbar to make their sites completely full screen.

Here’s how to do it:

Step 1. Open a program that edits HTML for example Dreamweaver. Step 2. In the html code scroll to the body tag. Step 3. Type scroll=”no” so it shows body scroll=”no” thats all it takes.

I hope this is useful to you all.

a Bakerbean :)

3 years ago in thread Removing The Scroll Bar in flash docs.
8 posts
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Bought between 10 and 49 items
  • United Kingdom
bakerbean says

sizeListener = new Object(); sizeListener.onResize = function() { // change movieclip properties when the window is resized. bg._width = Stage.width; bg._height = Stage.height;

};

It may be to do with your comment position Make sure your comment (// change movieclip properties when the window is resized.) is on seperate lines from the actionscript code.

3 years ago in thread Background that scales to full size of browser and keeps all other contents centered
by
by
by
by
by