The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.36 / 5.00 33,851 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.09 / 5.00 12,195 Viewsi have a diff problem now let me be detailed with you, http://mikestickney.com/wordpress/flash-
tutorial-character-movement-with-arrow-k eys/ i want that BUT without anymovement and all my movie clips are animations even the one thats stopped im having her breathe in and out when you dont press anything its a dancing game so the movieclips must stay in place, whats the as2 to make it play all the movie clips but have it stay in place with no movement when pressing the arrow keys?!
I don't understand how you can be so clueless, even without programming knowledge most people could work this out.
The "this._(x/y) (+/-)= 5" quite obviously changes its x or y position so you want to remove these lines.
At 3/19/11 10:12 PM, Callum123456 wrote: I don't understand how you can be so clueless, even without programming knowledge most people could work this out.
The "this._(x/y) (+/-)= 5" quite obviously changes its x or y position so you want to remove these lines.
no i dont want it to move!!!
i forgot to mention ive been using on(release){if(key.isDown(Key.DOWN)){got oandplay("Dance3");}}
since no-ones replied i figured that out.
but it doesn't even work!!!
because each movie clip is an ANIMATION even the one without you doing anything cause i put the movie clips to move inside that one that also moves
so do i put anything on the moving ones or not!? :(
i'm super stuck i even used the stop commands!
At 3/19/11 10:12 PM, Callum123456 wrote: I don't understand how you can be so clueless, even without programming knowledge most people could work this out.
The "this._(x/y) (+/-)= 5" quite obviously changes its x or y position so you want to remove these lines.
please reply fast to me with in the next our if not i seriously am going to cry, but anyways the movie clip is inside the movie clip but they are all animations even th, but it doesn't even work or go to it
on(release){if(key.isDown(Key.DOWN)){got oandplay("Dance3");}}
even if it says gotoandplay it wont go to it and play!!!!!!!!!!!!! D::
and it just all is an animation when i play any game ive made
please PM me your email you need to look at my flash for me im so stuck omg D:
You're really not capable of removing a few lines?
onClipEvent(enterFrame){
if(Key.isDown(Key.RIGHT)){
this.gotoAndStop("right");
}
if(Key.isDown(Key.LEFT)){
this.gotoAndStop("left");
}
if(Key.isDown(Key.UP)){
this.gotoAndStop("up");
}
if(Key.isDown(Key.DOWN)){
this.gotoAndStop("down");
}
} At 3/20/11 06:30 AM, Callum123456 wrote: You're really not capable of removing a few lines?
onClipEvent(enterFrame){
if(Key.isDown(Key.RIGHT)){
this.gotoAndStop("right");
}
if(Key.isDown(Key.LEFT)){
this.gotoAndStop("left");
}
if(Key.isDown(Key.UP)){
this.gotoAndStop("up");
}
if(Key.isDown(Key.DOWN)){
this.gotoAndStop("down");
}
}
Ignore that, I missed your last post somehow.
please reply fast to me with in the next our if not i seriously am going to cry, but anyways the movie clip is inside the movie clip but they are all animations even th, but it doesn't even work or go to it
on(release){if(key.isDown(Key.DOWN)){got oandplay("Dance3");}}
even if it says gotoandplay it wont go to it and play!!!!!!!!!!!!! D::
and it just all is an animation when i play any game ive made
please PM me your email you need to look at my flash for me im so stuck omg D:
Again a very simple problem...
on(release){
if(key.isDown(Key.DOWN)){
gotoAndPlay("Dance3");
}
}
You need to remember capitals are important.
gotoandplay should be gotoAndPlay
At 3/20/11 06:43 AM, Callum123456 wrote:At 3/20/11 06:30 AM, Callum123456 wrote: You're really not capable of removing a few lines?Ignore that, I missed your last post somehow.
onClipEvent(enterFrame){
if(Key.isDown(Key.RIGHT)){
this.gotoAndStop("right");
}
if(Key.isDown(Key.LEFT)){
this.gotoAndStop("left");
}
if(Key.isDown(Key.UP)){
this.gotoAndStop("up");
}
if(Key.isDown(Key.DOWN)){
this.gotoAndStop("down");
}
}please reply fast to me with in the next our if not i seriously am going to cry, but anyways the movie clip is inside the movie clip but they are all animations even th, but it doesn't even work or go to itAgain a very simple problem...
on(release){if(key.isDown(Key.DOWN)){got oandplay("Dance3");}}
even if it says gotoandplay it wont go to it and play!!!!!!!!!!!!! D::
and it just all is an animation when i play any game ive made
please PM me your email you need to look at my flash for me im so stuck omg D:
on(release){
if(key.isDown(Key.DOWN)){
gotoAndPlay("Dance3");
}
}
You need to remember capitals are important.
gotoandplay should be gotoAndPlay
no it still doesn't work... i have the breathing movie clip then the left right buttons are inside it, but it never works for going left or right, do you mind pming me your email and having a look at my file pleaseeee!? D::
At 3/20/11 10:28 AM, MisterWonderful wrote:
do you mind pming me your email and having a look at my file pleaseeee!? D::
I don't have the flash ide. I use FlashDevelop, so even if I wanted to I can't.
Learn some basic actionscript, you clearly have no idea what you are doing and are beyond help.
http://www.flashadvisor.com/tutorial/Act ionScript/Flash_Actionscript_Programming _Basics-48.html
I would also recommend to use as3 if you can.
http://livedocs.adobe.com/flash/9.0/main /flash_as3_programming.pdf