13:05 ET Dow -154.48 at 10309.92, Nasdaq -37.61 at 2138.44, S&P -19.130 1 100001 0 1 0 1 1 0 1 0 00 0 1 1 1 0 1 100001 0 1 1 100001 0 1 100001 0 1 0 1 1 0 1 0 00 0 1 1 1 0 1 100001 0 1 1 100001 0 1 100001 0 1 0 1 1 0 1 0 00 0 1 1 1 0 1 100001 0 1 1 100001 0 1 100001 0 1 0 1 1 0 1 0 00 0 1 1 1 0 1 100001 0 1 1 100001 0 1 100001 0 1 0 1 1 0 1 0 00 0 1 1 1 0 1 100001 0 1 1 100001 0 1 100001 0 1 0 1 1 0 1 0 00 0 1 1 1 0 1 100001 0 1 1 100001 0 1 100001 0 1 0 1 1 0 1 0 00 0 1 1 1 0 1 100001 0 1 1 100001 0 1 100001 0 1 0 1 1 0 1 0 00 0 1 1 1 0 1 100001 0 1 1 100001 0 1 100001 0 1 0 1 1 0 1 0 00 0 1 1 1 0 1 100001 0 1 1 100001 0 1 100001 0 1 0 1 1 0 1 0 00 0 1 1 1 0 1 100001 0 1 1 100001 0 1 100001 0 1 0 1 1 0 1 0 00 0 1 1 1 0 1 100001 0 1 1 100001 0 1 100001 0 1 0 1 1 0 1 0 00 0 1 1 1 0 1 100001 0 1 1 100001 0 1 100001 0 1 0 1 1 0 1 0 00 0 1 1 1 0 1 100001 0 1 1 100001 0 1 100001 0 1 0 1 1 0 1 0 00 0 1 1 1 0 1 100001 0 1 1 100001 13:05 ET Dow -154.48 at 10309.92, Nasdaq -37.61 at 2138.44, S&P -19.1313:05 ET Dow -154.48 at 10309.92, Nasdaq -37.61 at 2138.44, S&P -19.13

.

.

Wednesday, March 10, 2010

Adobe Flash - ActionScript Code for Animated Menu Bar

package dog.MainTimeline
{
import __AS3__.vec.*;
import fl.motion.*;
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.utils.*;

dynamic public class as extends MovieClip
{
public var __motion_master_mcExport3D1:MotionBase;
public var timer:Timer;
public var ____motion_master_mcExport3D1_mat3DVec_0_:Vector.;
public var master_mc:MovieClip;
public var __animFactory_master_mcExport3D1:AnimatorFactory3D;

public function as()
{
addFrameScript(0, this.frame1);
addEventListener(Event.ADDED_TO_STAGE, this.__setPerspectiveProjection_);
if (this.__motion_master_mcExport3D1 == null)
{
this.__motion_master_mcExport3D1 = new MotionBase();
this.__motion_master_mcExport3D1.duration = 1;
this.__motion_master_mcExport3D1.overrideTargetTransform();
this.__motion_master_mcExport3D1.addPropertyArray("blendMode", ["normal"]);
this.____motion_master_mcExport3D1_mat3DVec_0_ = new Vector.(16);
this.____motion_master_mcExport3D1_mat3DVec_0_[0] = 0.998611;
this.____motion_master_mcExport3D1_mat3DVec_0_[1] = 0;
this.____motion_master_mcExport3D1_mat3DVec_0_[2] = 0;
this.____motion_master_mcExport3D1_mat3DVec_0_[3] = 0;
this.____motion_master_mcExport3D1_mat3DVec_0_[4] = 0;
this.____motion_master_mcExport3D1_mat3DVec_0_[5] = 1;
this.____motion_master_mcExport3D1_mat3DVec_0_[6] = 0;
this.____motion_master_mcExport3D1_mat3DVec_0_[7] = 0;
this.____motion_master_mcExport3D1_mat3DVec_0_[8] = 0;
this.____motion_master_mcExport3D1_mat3DVec_0_[9] = 0;
this.____motion_master_mcExport3D1_mat3DVec_0_[10] = 1;
this.____motion_master_mcExport3D1_mat3DVec_0_[11] = 0;
this.____motion_master_mcExport3D1_mat3DVec_0_[12] = 0;
this.____motion_master_mcExport3D1_mat3DVec_0_[13] = 10;
this.____motion_master_mcExport3D1_mat3DVec_0_[14] = 0;
this.____motion_master_mcExport3D1_mat3DVec_0_[15] = 1;
this.__motion_master_mcExport3D1.addPropertyArray("matrix3D", new Array(new Matrix3D(this.____motion_master_mcExport3D1_mat3DVec_0_)));
this.__animFactory_master_mcExport3D1 = new AnimatorFactory3D(this.__motion_master_mcExport3D1);
this.__animFactory_master_mcExport3D1.sceneName = "Scene 1";
this.__animFactory_master_mcExport3D1.addTargetInfo(this, "master_mc", 0, true, 0, true, null);
}
return;
}// end function

public function mouseF(event:MouseEvent) : void
{
var updateF:*;
var glowStickF:*;
var ecF:*;
var homeF:*;
var articlesF:*;
var financeF:*;
var busF:*;
var techF:*;
var exampleF:*;
var blogF:*;
var e:* = event;
updateF = function (event:MouseEvent) : void
{
event.updateAfterEvent();
return;
}// end function
;
glowStickF = function (event:MouseEvent) : void
{
master_mc.glow_mc.x = event.target.x;
return;
}// end function
;
ecF = function (event:MouseEvent) : void
{
var _loc_2:* = new URLRequest("http://www.quantumsupport.biz/Ethan_Castanon.aspx");
navigateToURL(_loc_2, "_self");
return;
}// end function
;
homeF = function (event:MouseEvent) : void
{
var _loc_2:* = new URLRequest("http://www.quantumsupport.biz/index.aspx");
navigateToURL(_loc_2, "_self");
return;
}// end function
;
articlesF = function (event:MouseEvent) : void
{
var _loc_2:* = new URLRequest("http://www.quantumsupport.biz/Information.aspx");
navigateToURL(_loc_2, "_blank");
return;
}// end function
;
financeF = function (event:MouseEvent) : void
{
var _loc_2:* = new URLRequest("http://www.quantumsupport.biz/Financial_Services.aspx");
navigateToURL(_loc_2, "_self");
return;
}// end function
;
busF = function (event:MouseEvent) : void
{
var _loc_2:* = new URLRequest("http://www.quantumsupport.biz/Business_Development.aspx");
navigateToURL(_loc_2, "_self");
return;
}// end function
;
techF = function (event:MouseEvent) : void
{
var _loc_2:* = new URLRequest("http://www.quantumsupport.biz/Information_Technology.aspx");
navigateToURL(_loc_2, "_self");
return;
}// end function
;
exampleF = function (event:MouseEvent) : void
{
var _loc_2:* = new URLRequest("http://www.drcastanon.com");
navigateToURL(_loc_2, "_blank");
return;
}// end function
;
blogF = function (event:MouseEvent) : void
{
var _loc_2:* = new URLRequest("http://quantumsupport.blogspot.com");
navigateToURL(_loc_2, "_blank");
return;
}// end function
;
this.master_mc.glow_mc.x = stage.mouseX - 56;
addEventListener(MouseEvent.MOUSE_MOVE, updateF);
if (mouseX <= 56) { this.master_mc.glow_mc.x = 0; } else if (mouseX >= 787.5)
{
this.master_mc.glow_mc.x = 787.5;
}
this.master_mc.addEventListener(MouseEvent.MOUSE_DOWN, glowStickF);
this.master_mc.home_btn.addEventListener(MouseEvent.CLICK, homeF);
this.master_mc.finance_btn.addEventListener(MouseEvent.CLICK, financeF);
this.master_mc.ec_btn.addEventListener(MouseEvent.CLICK, ecF);
this.master_mc.technology_btn.addEventListener(MouseEvent.CLICK, techF);
this.master_mc.business_btn.addEventListener(MouseEvent.CLICK, busF);
this.master_mc.example_btn.addEventListener(MouseEvent.CLICK, exampleF);
this.master_mc.programming_btn.addEventListener(MouseEvent.CLICK, blogF);
this.master_mc.articles_btn.addEventListener(MouseEvent.CLICK, articlesF);
return;
}// end function

function frame1()
{
Stage.align = "TL";
Stage.ShowMenu = false;
this.timer = new Timer(25);
this.timer.addEventListener(TimerEvent.TIMER, this.followF);
this.timer.start();
return;
}// end function

public function followF(event:Event) : void
{
stage.addEventListener(MouseEvent.MOUSE_MOVE, this.mouseF);
return;
}// end function

public function __setPerspectiveProjection_(event:Event) : void
{
root.transform.perspectiveProjection.fieldOfView = 1;
root.transform.perspectiveProjection.projectionCenter = new Point(0, 0);
return;
}// end function

}
}