Venom the last dance animation
-
Venom the last dance animation, hope you like it
https://www.youtube.com/watch?v=HHG3A-zR7CY
1 day ago
import flash.display.MovieClip;
import flash.text.TextField;
import flash.text.TextFieldAutoSize;
import flash.events.MouseEvent;
import flash.text.TextFormat;
for (var btn:int = 1; btn < 7; btn++) {
this["spot" + btn].buttonMode = true;
this["spot" + btn].addEventListener(MouseEvent.MOUSE_OVER, onMouseOver);
this["spot" + btn].addEventListener(MouseEvent.MOUSE_OUT, onMouseOut);
}
function onMouseOver(event:MouseEvent):void
{event.currentTarget.play();}
function onMouseOut(event:MouseEvent):void
{event.currentTarget.gotoAndStop(1);}
var button:MovieClip;
for (var i=1; i<7 btn="" button.addeventlistener="" button.buttonmode="true;" button="MovieClip(getChildByName(" code="" i="" objclick="" objout="" objover="" ouseevent.click="" ouseevent.roll_out="" ouseevent.roll_over="">7>
var labelArr:Array = new Array();
for (i=1;i<50;i++){
labelArr.push("button"+i);
}
for(var i=0; i<labelArr.length; i++)
{ trace(labelArr[i]);
}
import fl.containers.ScrollPane;
import fl.controls.ScrollPolicy;
import fl.controls.DataGrid;
import fl.data.DataProvider;
var aSp:ScrollPane = new ScrollPane();
var aBox:MovieClip = new MovieClip();
drawBox(aBox, 0xFF0000);
aSp.source = google;
aSp.setSize(480, 480);
aSp.move(0, 0);
addChild(aSp);
function drawBox(box:MovieClip,color:uint):void {
box.graphics.beginFill(color, 1);
box.graphics.drawRect(0, 0, 480, 480);
box.graphics.endFill();
}import fl.containers.ScrollPane;
function updateScroller() : void
{sourcecontainer.source = google;
sourcecontainer.update();
sourcecontainer.verticalScrollPosition = sourcecontainer.maxVerticalScrollPosition;}
updateScroller();