Wednesday, September 16, 2009

Wednesday, August 26, 2009

Scripting

main timeline

var rl = myrandom();
var rd = myrandom();
var ru = myrandom();
var rr = myrandom();
var lc=0, dc=0, rc=0, uc=0;
var lci=0, dci=0, rci=0, uci=0;
var tl, td, tu, tr;
perfect = 0;
missed = 0;
fals = 0;
var s = new Sound(this);
var sr = "s1";// + (random(2)+1);
playSound(sr);

emc.loadMovie("intro.swf");
var t1 = setInterval(showdance, 10000);
function showdance(){
clearInterval(t1);
emc.loadMovie("dance.swf");
}


var k = new Object();
Key.addListener(k);
k.onKeyDown = function() {
if(Key.getCode()==Key.SPACE){
emc2.loadMovie("good.swf");
}
if(Key.getCode()==Key.LEFT){
if(bar.hitTest(_root["l"+lc]._x, _root["l"+lc]._y, true)){

emc2.loadMovie("good.swf");
perfect+=1500;
_root["l"+lc].expired = true;
_root["l"+lc].hit = true;
lc++;
}else{
fals++;
}
}
if(Key.getCode()==Key.DOWN){
if(bar.hitTest(_root["d"+dc]._x, _root["d"+dc]._y, true)){
emc2.loadMovie("good.swf");
perfect+=1500;
_root["d"+dc].expired = true;
_root["d"+dc].hit = true;
dc++;
}else{
fals++;
}
}
if(Key.getCode()==Key.UP){
if(bar.hitTest(_root["u"+uc]._x, _root["u"+uc]._y, true)){
emc2.loadMovie("good.swf");
perfect+=1500;
_root["u"+uc].expired = true;
_root["u"+uc].hit = true;
uc++;
}else{
fals++;
}
}
if(Key.getCode()==Key.RIGHT){
if(bar.hitTest(_root["r"+rc]._x, _root["r"+rc]._y, true)){
emc2.loadMovie("good.swf");
perfect+=1500;
_root["r"+rc].expired = true;
_root["r"+rc].hit = true;
rc++;
}else{
fals++;
}
}
};

tl = setInterval(showArrowl, 2500);
td = setInterval(showArrowd, 3000);
tu = setInterval(showArrowu, 2800);
tr = setInterval(showArrowr, 2700);

function myrandom(){
return (random(3)+3)*1000;
}
function showArrowl(){
var mc = attachMovie("leftarrow","l"+lci,_root.getNextHighestDepth());
lci++;
mc._y = Stage.height;
var rd = myrandom();
mc._x = 525.8;
clearInterval(tl);
tl = setInterval(showArrowl, rd);
}
function showArrowd(){
var mc = attachMovie("downarrow","d"+dci,_root.getNextHighestDepth());
dci++;
mc._y = Stage.height;
var rd = myrandom();
mc._x = 648.9;
clearInterval(td);
td = setInterval(showArrowd, rd);
}
function showArrowu(){
var mc = attachMovie("uparrow","u"+uci,_root.getNextHighestDepth());
uci++;
mc._y = Stage.height;
var rd = myrandom();
mc._x = 588.3;
clearInterval(tu);
tu = setInterval(showArrowu, rd);
}
function showArrowr(){
var mc = attachMovie("rightarrow","r"+rci,_root.getNextHighestDepth());
rci++;
mc._y = Stage.height;
var rd = myrandom();
mc._x = 709.4;
clearInterval(tr);
tr = setInterval(showArrowr, rd);
}
function playSound(soundId){
var s = new Sound(this);
s.attachSound(soundId);
s.start(0,1);
}

var t2 = setInterval(showpage, 77000);
function showpage(){
clearInterval(t2);

gotoAndPlay("Scene 7",1);



}

var t3 = setInterval(showpage2, 74550);
function showpage2(){

clearInterval(tu);
clearInterval(td);
clearInterval(tl);
clearInterval(tr);

}



stop();


arrow

var expired = false;
var hit = false;
onEnterFrame = function(){
this._y -= 5;
if(this._y < -100){
this.removeMovieClip();
}else if(this._y < (_root.bar._y - _root.bar._height/2)){
if(expired==false){
expired = true;
_root.dc++;
_root.missed++;
}
}
if(hit==true){
this.loadMovie("yellow.swf");
}
}

stop();

Wednesday, July 22, 2009

Research

the biography
- Michael Joseph Jackson (August 29, 1958 – June 25, 2009), dubbed the "King of Pop", was an American recording artist and entertainer. A double-inductee into the Rock and Roll Hall of Fame, his other achievements feature multiple Guinness World Records—including the "Most Successful Entertainer of All Time"—13 Grammy Awards, 13 number one singles, and the sale of over 750 million records. He was also a notable philanthropist, donating millions of dollars to the 39 charities he supported, and raising more through his own Heal the World Foundation. The seventh child of the Jackson family, he made his debut in 1964 as a member of The Jackson 5, beginning a solo career in 1971. His 1982 album Thriller remains the best-selling album of all time, with four others—Off the Wall (1979), Bad (1987), Dangerous (1991), and HIStory (1995)—among the best selling. He popularized several physically complicated dance moves, such as the robot and the moonwalk, now iconic. He is widely credited with having transformed the music video from a promotional tool into an art form, with videos such as Thriller, "Beat It" and "Billie Jean" making him the first African American to amass a strong crossover following on MTV, and others, such as "Black or White" and "Scream", ensuring his popularity well into the 1990s. Jackson's personal life generated significant controversy. His changing appearance was noticed from the early 1980s, his skin appearing paler and his facial features becoming almost androgynous. He was accused in 1993 of child sexual abuse, and though no charges were brought, his health suffered when he started using painkillers to cope with the stress. He married twice, first in 1994 and again in 1996, and brought up three children, one of them born to a surrogate mother, actions that triggered more speculation about his life. In 2005, he was tried and acquitted of different child molestation allegations, which provoked a further decline in his health. Jackson died at the age of 50 on June 25, 2009, in Los Angeles, after suffering from cardiac arrest. His memorial service was broadcast live around the world, watched by upwards of one billion people.

albums
- Got to Be There (1972)
- Ben (1972)
- Music & Me (1973)
- Forever, Michael (1975) Off the Wall (1979)
- Thriller (1982)
- Bad (1987)
- Dangerous (1991)
- HIstory (1995)
- Invincible (2001)

Top Ten Songs
- Thriller
- Ben
- Billie jean
- Bad
- Beat it
- Man in the mirror
- Smooth criminal
- Earth songs
- You’re not alone
- Don’t stop until you get enough

Awards



- AASA Awards
- American Cinema Awards
- American Music Awards
- American Video Awards
- Bambi Awards
- BET Awards
- Billboard Awards
- Black Gold Awards
- Blockbuster Entertainment Awards
- BMI Urban Awards
- Bob Fosse Awards
- Boy Scouts of America
- Bravo Magazine
- Brazillian TVZ Video Awards
- BRE Awards
- BRIT Awards
- British Phonographic Industry Awards
- British TV Industry Awards
- Bollywood Awards
- Cable Ace Awards
- Canadian Black Music Awards
- Capitol Children Museum
- Cashbox Awards
- Celebrate the Magic Foundation
- Children's Choice Awards
- Crenshaw Community Youth & Arts Foundation
- Critic's Choice Awards
- Crystal Globe Awards
- Danish Grammy Awards
- Dutch Music Factory Awards
- Ebony Magazine
- ECHO Awards
- Entertainment Tonight
- Forbes Magazine
- Friday Night Videos
- Genesis Awards
- Golden Globe Awards
- Grammy Awards
- Guinness Book of World Records
- Harry Chapin Memorial
- Hollywood Walk of Fame
- International Awards
- Hong Kong Hit Radio Awards
- Irish Music Awards
- Le Film Fantastique Awards
- Live! Magazine
- Mix Magazine
- MTV Awards
- Music Connection
- Music Video Producers' Hall of Fame
- NAACP Image Awards
- NARM Gift of Music Awards
- National Association of Black Owned Broadcasters
- National Urban Coalition Awards
- NRJ Awards
- Oneness Awards
- Operation One to One Awards
- People's Choice Awards
- Popcorn Magazine
- Pop Rock Magazine
- Poprocky Magazine
- Presidential Awards
- Puls Music TV
- Radio Music Awards
- RIAA Awards
- Rock and Roll Hall of Fame
- Rolling Stone Awards
- Smash Hits Awards
- Songwriter's Hall of Fame
- Soul Train Awards
- United Negro College Fund
- United States Congress
- Vanity Fair
- Video Software Dealer Association Awards
- World Awards