G
Guest
I have a created a flash document with a up and down scroll down here is a
code for it
To Scroll It Down :
on (press) {
MCname.onEnterFrame = function() {
if (this._y<400) {this._y += 10;
}};}
on (release) {
McName.onEnterFrame = null;
}
To Scroll It Up :
on (press) {
MCname.onEnterFrame = function() {
if (this._y>50) {this._y -= 10;
}};}
on (release) {
McName.onEnterFrame = null;
}
Can i create this code in html ? if i can how do i do it?
code for it
To Scroll It Down :
on (press) {
MCname.onEnterFrame = function() {
if (this._y<400) {this._y += 10;
}};}
on (release) {
McName.onEnterFrame = null;
}
To Scroll It Up :
on (press) {
MCname.onEnterFrame = function() {
if (this._y>50) {this._y -= 10;
}};}
on (release) {
McName.onEnterFrame = null;
}
Can i create this code in html ? if i can how do i do it?