好正的cosplay
source
http://gallery.anhmjn.com/2011/02/korean-cosplay-very-cute-and-hot-25.html
超好笑XDDXDDXDxd
在win7用virtual machine裝winXP在用virtual machine裝win3.1
然後她還要再深入
結果整個當掉XDXDXDXDXDXD
source
http://fuckyeahalbuquerque.tumblr.com/post/3460779810
2012 Lamborghini Aventador LP700-4
Lamborghini's newest raging bull, the 2012 Aventador LP700-4, is a technological devourer of roads. The 691-horsepower beast boasts a monocoque passenger compartment made out of reinforced carbon-fiber. It was developed thanks to assistance from Boeing and weighs in a mere 324 pounds. Because of this advanced passenger cell, the Aventador is light, stiff and very strong.
真的是一台看了會血脈噴張的車~~~~
好屌~~~~~~超好看~~~~~~~
一定會賣得嚇嚇叫!!!!!!!!!!
http://www.autoblog.com/2011/02/28/lamborghini-aventadors-complex-construction-necessitates-flyin/
真的是一台看了會血脈噴張的車~~~~
好屌~~~~~~超好看~~~~~~~
一定會賣得嚇嚇叫!!!!!!!!!!
http://www.autoblog.com/2011/02/28/lamborghini-aventadors-complex-construction-necessitates-flyin/
Flex 4 ~ set preloader center
問題是說設定preloader置中卻得到null的stageWidth
因為場景還未建立完成~
這邊有solution
先hide preloader
然後讓她每跑個進度讓他置中
在有抓到stageWidth數值的時候置中並設定visible
source
http://tjoadesign.nl/blog/?p=83
因為場景還未建立完成~
這邊有solution
先hide preloader
public override function set preloader(p:Sprite):void
{
_preloader = p;
p.addEventListener( ProgressEvent.PROGRESS , onSWFDownloadProgress );
p.addEventListener( FlexEvent.INIT_COMPLETE , onFlexInitComplete);
p.visible = false;
}
{
_preloader = p;
p.addEventListener( ProgressEvent.PROGRESS , onSWFDownloadProgress );
p.addEventListener( FlexEvent.INIT_COMPLETE , onFlexInitComplete);
p.visible = false;
}
然後讓她每跑個進度讓他置中
private function onSWFDownloadProgress( event:ProgressEvent ):void
{
centerPreloader();
//updateProgressBar(event.bytesLoaded/event.bytesTotal);
}
{
centerPreloader();
//updateProgressBar(event.bytesLoaded/event.bytesTotal);
}
在有抓到stageWidth數值的時候置中並設定visible
private function centerPreloader():void
{
if ((stage.stageWidth > 0) && (_preloader)) {
x = (stage.stageWidth / 2) - (clip.width / 2);
y = (stage.stageHeight / 2) - (clip.height / 2);
_preloader.visible = true;
}
}
{
if ((stage.stageWidth > 0) && (_preloader)) {
x = (stage.stageWidth / 2) - (clip.width / 2);
y = (stage.stageHeight / 2) - (clip.height / 2);
_preloader.visible = true;
}
}
source
http://tjoadesign.nl/blog/?p=83
Flex 4 ~ set preloader swf
這是張某弄的= =+
default application MXML
file
src/comp/GgyyPreloader.as
content
--------------------------------------------------------------------------------------------------
package comp
{
import flash.display.Loader;
import flash.display.MovieClip;
import flash.display.Sprite;
import flash.events.Event;
import flash.events.ProgressEvent;
import flash.utils.ByteArray;
import mx.controls.Label;
import mx.controls.SWFLoader;
import mx.core.FlexGlobals;
import mx.events.FlexEvent;
import mx.preloaders.DownloadProgressBar;
public class GgyyPreloader extends DownloadProgressBar
{
[Embed(source="swf/loading3.swf", mimeType="application/octet-stream")]
public var WelcomeScreenGraphic:Class;
private const bgColor:uint = 0xf7babd;
private var _preloader:Sprite;
public function GgyyPreloader():void
{
super();
this.backgroundColor = 0xf7babd;
this.alpha = 1;
var loader:Loader= new Loader();
loader.loadBytes( new WelcomeScreenGraphic() as ByteArray );
this.addChild(loader);
}
public override function set preloader(preloader:Sprite):void
{
preloader.visible = false;
_preloader = preloader;
preloader.addEventListener(ProgressEvent.PROGRESS, onSWFDownloadProgress);
preloader.addEventListener(Event.COMPLETE, onSWFDownloadComplete);
preloader.addEventListener(FlexEvent.INIT_PROGRESS, onFlexInitProgress);
preloader.addEventListener(FlexEvent.INIT_COMPLETE, onFlexInitComplete);
}
private function centerPreloader():void
{
if ((stage.stageWidth > 0) && (_preloader)) {
x = (stage.stageWidth / 2) - (1024 / 2);
y = (stage.stageHeight / 2) - (700 / 2);
_preloader.visible = true;
}
}
private function onSWFDownloadProgress(event:ProgressEvent):void
{
centerPreloader();
}
private function onSWFDownloadComplete(event:Event):void
{
}
private function onFlexInitProgress(event:FlexEvent):void
{
}
private function onFlexInitComplete(event:FlexEvent):void
{
dispatchEvent( new Event(Event.COMPLETE));
}
}
}
default application MXML
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" creationComplete="init()"
preloader="comp.GgyyPreloader" backgroundColor="#f7babd" >
file
src/comp/GgyyPreloader.as
content
--------------------------------------------------------------------------------------------------
package comp
{
import flash.display.Loader;
import flash.display.MovieClip;
import flash.display.Sprite;
import flash.events.Event;
import flash.events.ProgressEvent;
import flash.utils.ByteArray;
import mx.controls.Label;
import mx.controls.SWFLoader;
import mx.core.FlexGlobals;
import mx.events.FlexEvent;
import mx.preloaders.DownloadProgressBar;
public class GgyyPreloader extends DownloadProgressBar
{
[Embed(source="swf/loading3.swf", mimeType="application/octet-stream")]
public var WelcomeScreenGraphic:Class;
private const bgColor:uint = 0xf7babd;
private var _preloader:Sprite;
public function GgyyPreloader():void
{
super();
this.backgroundColor = 0xf7babd;
this.alpha = 1;
var loader:Loader= new Loader();
loader.loadBytes( new WelcomeScreenGraphic() as ByteArray );
this.addChild(loader);
}
public override function set preloader(preloader:Sprite):void
{
preloader.visible = false;
_preloader = preloader;
preloader.addEventListener(ProgressEvent.PROGRESS, onSWFDownloadProgress);
preloader.addEventListener(Event.COMPLETE, onSWFDownloadComplete);
preloader.addEventListener(FlexEvent.INIT_PROGRESS, onFlexInitProgress);
preloader.addEventListener(FlexEvent.INIT_COMPLETE, onFlexInitComplete);
}
private function centerPreloader():void
{
if ((stage.stageWidth > 0) && (_preloader)) {
x = (stage.stageWidth / 2) - (1024 / 2);
y = (stage.stageHeight / 2) - (700 / 2);
_preloader.visible = true;
}
}
private function onSWFDownloadProgress(event:ProgressEvent):void
{
centerPreloader();
}
private function onSWFDownloadComplete(event:Event):void
{
}
private function onFlexInitProgress(event:FlexEvent):void
{
}
private function onFlexInitComplete(event:FlexEvent):void
{
dispatchEvent( new Event(Event.COMPLETE));
}
}
}
Flex 4 ~ let DateField could set year
<mx:DateField contentBackgroundColor="#FEF5DD" x="100" y="797" yearNavigationEnabled="true" displayedYear="{startYear}"/>
Koenigsegg Agera R
5.0-liter twin-turbo V8 makes a ridiculous 1,115 horsepower and 885 lb-ft of torque on E85.
Fill the tank with 95-octane gasoline instead of the biofuel, and figure on "only" around 940 horses and 811 lb-ft. The V8's connected to a 7-speed dual-clutch gearbox
1115匹馬力~~~~~~如果吃E85~XD
關於E85
http://en.wikipedia.org/wiki/E85
吃95汽油 = 940匹馬力..........還是非常誇張= =
我覺得Koenigsegg家的車側面都不喜歡
http://www.autoblog.com/2011/02/26/koenigsegg-agera-r-heads-to-geneva-packing-up-to-1-115-hp-and/
Fill the tank with 95-octane gasoline instead of the biofuel, and figure on "only" around 940 horses and 811 lb-ft. The V8's connected to a 7-speed dual-clutch gearbox
1115匹馬力~~~~~~如果吃E85~XD
關於E85
http://en.wikipedia.org/wiki/E85
吃95汽油 = 940匹馬力..........還是非常誇張= =
我覺得Koenigsegg家的車側面都不喜歡
http://www.autoblog.com/2011/02/26/koenigsegg-agera-r-heads-to-geneva-packing-up-to-1-115-hp-and/
2012 Nissan GT-R
Under the hood was a twin-turbocharged 3.8-liter V6 developing 480 horsepower and 430 pound-feet of torque.
跑出超跑成績的跑車~~~~屌~~~
http://www.autoblog.com/2011/02/16/2012-nissan-gt-r-first-drive-review-road-test/
跑出超跑成績的跑車~~~~屌~~~
http://www.autoblog.com/2011/02/16/2012-nissan-gt-r-first-drive-review-road-test/
訂閱:
文章 (Atom)