A Flash Developer Resource Site

Search:

Type: Posts; User: mkartstudio

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. AS 2 Hey, it works ! :) It seems that sign "!" in...

    Hey, it works ! :) It seems that sign "!" in front of Key.is Down is the right solution. Thanks :)
  2. AS 2 hm...maybe I don`t know to explain the problem....

    hm...maybe I don`t know to explain the problem. Application should NOT go to the start if you press key UP...If you don`t press UP (and if MC is between 1390 & 1440), only in that case application...
  3. AS 2 I know I have to change the last step and I asked...

    I know I have to change the last step and I asked for help - What do I need to write insted of that wrong last step, or is there some other solution (to change whole code maybe with some other code?)...
  4. AS 2 Yes, I know it does not work. So, I asked what do...

    Yes, I know it does not work. So, I asked what do I need to change in my code. I explained what I want to make: when movie clip arrives in certain position (_x), between 1390 and 1440, all...
  5. AS 2 Combination of certain position and pressing a key

    Hi, I would like to make following situation: when movie clip arrives in certain position (_x), between 1390 and 1440, all application goes to the first frame (start). But, if MC arrived in that...
  6. Join Multiple SWF Files Into One Software

    Hi, is there anyone who has experience with joining multiple SWF files into one? For example, you have a problem with your FLA project because your FLA file is too large and you have to separate it...
  7. AS 2 For limited movement, between point 20 and point...

    For limited movement, between point 20 and point 200, code is:

    onClipEvent (enterFrame) {
    if(Key.isDown(Key.RIGHT)) {
    _x = Math.min (200, _x + 10);
    }
    if(Key.isDown(Key.LEFT)) {
    _x =...
  8. AS 2 It works nice. Thanks. onClipEvent...

    It works nice. Thanks.

    onClipEvent (enterFrame) {
    if(Key.isDown(Key.RIGHT)) {
    _x = Math.min (200, _x + 10);
    }
    }
  9. AS 2 Limited movement (till certain position only)

    Hi, I use standard code for Movie_Clip movement:

    onClipEvent (enterFrame) {
    if(Key.isDown(Key.RIGHT)) {
    _x += 10;
    }
    }

    But in that case, MC can move unlimited and continue to move out of the...
  10. Replies
    2
    Views
    12,779

    AS 2 Fine. Thanks.

    Fine. Thanks.
  11. Replies
    2
    Views
    12,779

    AS 2 Save & Load in actionscript 2.0

    Hi, I made save & load test app for my project but it works only in Flash Player 6 or less. When I choose FP 7 or more (and also FP 10.2) in my test.fla file and start app, it doesn`t work. Do you...
  12. AS 2 Yes, it`s better but that`s not it 100%. I see 2...

    Yes, it`s better but that`s not it 100%. I see 2 problems here. First, movement of green object (_x) stops in first frame when it starts with animation. Second, movement in "end" frame doesn`t work...
  13. AS 2 Oh, it works nice. Maybe that letter confuses a...

    Oh, it works nice. Maybe that letter confuses a little bit, but this is not a problem, I can move it from viewscreen. Thanks.
  14. AS 2 Uhh...I spent all day trying to find out the...

    Uhh...I spent all day trying to find out the right reason... It works when are the same MC codes in both frames ( if(Key.isDown(Key.RIGHT)) {
    _x -= 5; ) but if codes are different ( _x -= 5 in first...
  15. AS 2 Oh, no, this is not the right reason. Probably,...

    Oh, no, this is not the right reason. Probably, code doesn`t work in more complex app because there are a lot of other codes in other layers :( ....
  16. AS 2 Actually, it doesen`t work as well when I put...

    Actually, it doesen`t work as well when I put that code in more complex application. I think I know why. In first frame MC should go in wrong (-) direction by key.RIGHT, and in second frame it should...
  17. AS 2 hm...there is some mistake in line ''function...

    hm...there is some mistake in line ''function swapFrame(targetFrame:Int){'' ... 'int' could not be loaded? In any case, I`m not sure where do I need to type that code. I have frame 1,2,3,4 and 5. In...
  18. AS 2 Well, it`s work for now but I`m beginner and I`m...

    Well, it`s work for now but I`m beginner and I`m not sure will I have some problem with that code later. It would be very nice to update and post fla file with that new concept. You can update my...
  19. AS 2 Great! That`s it. Yes, I understand your comment...

    Great! That`s it. Yes, I understand your comment but this is just simple test for code that I`m looking for. In fact, I made more complex application with many animations and drawings, that`s why I...
  20. AS 2 If you came from certain frame and pressed ENTER - go to other certain frame

    Hi, is there some code (actionscript 2.0) for following function:

    onEnterFrame = function() {
    if(YOU CAME HERE FROM FRAME 1 && Key.isDown(Key.ENTER)){
    gotoAndPlay("certain frame");
    }...
  21. AS 2 https://we.tl/t-WRWn5Rdc77 is Test.fla You...

    https://we.tl/t-WRWn5Rdc77 is Test.fla You should move mc (green box) left/right by keyboard and when application goes from frame ''start'' to frame ''end'' by counter ( var counter = 0; ), green...
  22. AS 2 Hm...it`s not a simple project (a lot of scenes,...

    Hm...it`s not a simple project (a lot of scenes, layers, movie clips and animations...) but I`m a simple AS2 coder :) I don`t know to use variable and that`s why I asked for code to track the...
  23. AS 2 OK, thanks again. But, is there some code that...

    OK, thanks again. But, is there some code that movie clip in frame 3 start from the same position (by _x coordinate) as it finished in frame 2? For example, player move that clip in frame 2 by...
  24. AS 2 It works now. I placed following code on the...

    It works now. I placed following code on the movieclip:

    onClipEvent (enterFrame) {
    if(Key.isDown(Key.RIGHT)) {
    _x += 10;
    }
    if(Key.isDown(Key.LEFT)) {
    _x -= 10;
    }...
  25. AS 2 It doesn`t work. Please, can you write full code...

    It doesn`t work. Please, can you write full code for both ways. Should I type onEnterFrame = function() or onClipEvent (enterFrame) before that if?
Results 1 to 25 of 26
Page 1 of 2 1 2




Click Here to Expand Forum to Full Width

HTML5 Development Center