Montycarlo wrote:Do you have flash CS4?Citroenn wrote:Hey hey Nice tut!
But when i try to open the vcam it says: unexpacted file format
No i use Macromedia Flash 8.. should i use cs4 then?
Montycarlo wrote:Do you have flash CS4?Citroenn wrote:Hey hey Nice tut!
But when i try to open the vcam it says: unexpacted file format
Yes you should, as the vCam source file is in cs4 format.Citroenn wrote:No i use Macromedia Flash 8.. should i use cs4 then?
Code: Select all
on(release){
stopDrag();
}
Code: Select all
if (Key.isDown(Key.DOWN)){
if(jumping == false){
gotoAndStop(4);
}
}
Code: Select all
onClipEvent(load){
speed = 7;
stop();
xscale = _xscale;
yVel = 0;
gravity = 0.5;
jumping = false;
jumpPower = 10;
}
onClipEvent(enterFrame){
yVel +=gravity;
_y += yVel;
if(this.hitTest(_root.ground)){
yVel = -gravity;
jumping = false
}
if (Key.isDown(Key.DOWN)){
if(jumping == false){
gotoAndStop(4);
}
}
else if(Key.isDown(Key.UP) && jumping == false && this.hitTest(_root.ground)){
yVel = -jumpPower;
jumping = true
gotoAndStop(3);
}
if(Key.isDown(Key.LEFT)){
_x -= speed;
_xscale = xscale;
if(jumping == false){
gotoAndStop(2);
}
}else if(Key.isDown(Key.RIGHT)){
_x += speed;
_xscale = -xscale;
if(jumping == false){
gotoAndStop(2);
}
}else if(jumping == false){
gotoAndStop(1);
}
}
xxlillooterxx wrote:http://www.mediafire.com/?4ozzojdi2yz
i seem to be the backBg and foreBg?!
k well i will mess with this tommorow but if u can help plz
**edit**
last night right before i fell asleep i thought of the fact that i put the swf file lol
hoikneusen wrote:but when i press ctrl and enter he wont move down
some1 knows what iam doing wrong?
thansk anyway, hoikneusen
Code: Select all
onClipEvent(load){
doingAction = false
speed = 3;
stop();
xscale = _xscale;
yVel = 0;
gravity = 0.3;
jumping = false;
jumpPower = 7;
_quality = "LOW";
}
onClipEvent(enterFrame){
touchedGround = false
checkGround()
yVel += gravity;
_y += yVel;
if(jumping) checkGround();
if(Key.isDown(Key.LEFT)){
_x -= speed;
_root.foreBg.offSetX += speed*1.5;
_root.backBg.offSetX += speed/2;
_xscale = xscale;
if(jumping == false){
gotoAndStop(2);
}
}else if(Key.isDown(Key.RIGHT)){
_x += speed;
_root.foreBg.offSetX += speed*1.5;
_root.backBg.offSetX += speed/2;
_xscale = -xscale;
if(jumping == false){
gotoAndStop(2);
}
}else if(jumping == false){
gotoAndStop(1);
checkGround();
}
if (Key.isDown(Key.DOWN)){
if(jumping == false){
gotoAndStop(4);
}
}
if(Key.isDown(Key.UP) && jumping == false && touchedGround){
yVel = -jumpPower;
jumping = true
_y -= jumpPower/2;
gotoAndStop(3);
}
}
poke1024 wrote:xxlillooterxx wrote:http://www.mediafire.com/?4ozzojdi2yz
i seem to be the backBg and foreBg?!
k well i will mess with this tommorow but if u can help plz
**edit**
last night right before i fell asleep i thought of the fact that i put the swf file lol
alright, ill help you with that.