Tuesday, December 1, 2009

Your Tenth and Final Blog Post

Your Final Blog post will be a screenshot of work from this class. Choose a project from a group other than your own. Contextualize this work in relation to the other work you have seen this semester, both assigned research and work you have discovered in your own searches for your history blog post.

Minimum 200 words, as usual. Mention at least three works (artist, date, title) from the history of Web-Based Art, link back to them.

This should be your 10th History Post.
This Post is due midnight, Tuesday, December 8th.

Tuesday, November 17, 2009

PRELOADER CODE:

//Import the required assets
import flash.display.*;
//Stop the playhead while loading occurs
this.stop();

//Create a listener to call the loading function as the movie loads
this.loaderInfo.addEventListener (ProgressEvent.PROGRESS, PL_LOADING);

/*This is the main function, basically it grabs the total and loaded bytes,
calculates a percentage, and displays it by stretching the bar and adjusting
the textfield display. If your bar/textbox instancenames are NOT lbar/lpc,
you'll need to adjust this code to match your instance names*/

function PL_LOADING(event:ProgressEvent):void {
var pcent:Number=event.bytesLoaded/event.bytesTotal*100;

//Stretch the bar
lbar.scaleX=pcent/100;
//Display the % loaded in textfield
lpc.text=int(pcent)+"%";
//If the movie is fully loaded, kick to the next frame on the main timeline
//You may wish to change the
gotoAndStop(2) to a gotoAndPlay(2)

if(pcent==100){
this.gotoAndStop(2);
}
}

Tuesday, November 3, 2009

Addition to Your Index Pages:

Please post a link from your index page to your Net Art History Blog by today, Tuesday, November 3.
(This is a POP quiz)

UNLOAD that EXTERNAL FILE

newBtnInstance2.addEventListener(MouseEvent.CLICK, mouseClickHandlerY);
function mouseClickHandlerY(myevent5:MouseEvent):void {
removeChild(myLoader1);
}

LOADING External FLASH Files

var myLoader1:Loader=new Loader ();
newBtnInstance1.addEventListener(MouseEvent.CLICK, mouseClickHandlerZ);
function mouseClickHandlerZ(myevent1:MouseEvent):void {
var myURL1:URLRequest=new URLRequest("additionalMovieFile.swf");
myLoader1.load(myURL1);
addChild(myLoader1);
}

CODE to LINK from FLASH Project to an External URL

buttonInstanceName.addEventListener(MouseEvent.CLICK, mouseClickHandler1);
function mouseClickHandler1(event:MouseEvent):void {
var pixelcolaURL:URLRequest = new
URLRequest("http://pixelcola.net");
navigateToURL(pixelcolaURL); }

Monday, October 19, 2009

MIDTERM checkup THIS WEEKEND

You must have a minimum of 5 history posts as well as the post based on your inspiration for Project II by this Friday. Late posts from the above 6 will not be accepted after Friday.

Your self-portrait as well as one component (person, place, or description of departure) from Project II must also be posted by this Friday.
(If your self-portrait has not yet been posted it is already terribly late. It must be posted by Friday to receive any credit.)