A Flash Developer Resource Site

Search:

Type: Posts; User: Straub

Page 1 of 5 1 2 3 4

Search: Search took 0.22 seconds.

  1. Try something like this: on (rollOut) {...

    Try something like this:
    on (rollOut) {
    _root._visible = 0;
    }
  2. That is why you have to put a stop action in the...

    That is why you have to put a stop action in the first frame of your movieclip. put an empty keyframe at the first frame of the movieclip and give it a stop action.
    That way you won't see the...
  3. drag the movieclip from the library onto the...

    drag the movieclip from the library onto the stage. In the instance panel give it an instancename ( movie1). You have to put a stop action on the first frame of the movieclip if you don't want it to...
  4. Replies
    1
    Views
    305

    Try this: _root.clipname.gotoAndStop(10); That...

    Try this:
    _root.clipname.gotoAndStop(10);
    That should do it (if the target path is right, and if you have given it an instancename).
  5. Replies
    2
    Views
    414

    Put a stop action on the last frame of your MC....

    Put a stop action on the last frame of your MC. That should do it...
  6. Replies
    1
    Views
    394

    "//Declare array of month names" is not an...

    "//Declare array of month names" is not an actionscript. It is a comment, and is only used to explain or comment the following script.
    The actual months array is made by choosing
    actions > set...
  7. Replies
    2
    Views
    482

    Try this: on (release) { loadMovie...

    Try this:
    on (release) {
    loadMovie ("lnm_b_card.swf", "/design");
    }
    Export both movies and place them in the same folder. You can now test it in your browser.
  8. Replies
    3
    Views
    398

    What version of flash do you use? If you use...

    What version of flash do you use?
    If you use flash 5 it should work the way I told you before - that is if your MC is placed on the main timeline and if you have given it an instance name (and...
  9. Replies
    3
    Views
    398

    Try this: on (rollover) { tellTarget...

    Try this:

    on (rollover) {
    tellTarget ("_root.Infodesign") {
    gotoAndStop ("services");
    }
    }
  10. Your main movie is always level0. So you can do...

    Your main movie is always level0. So you can do it this way:
    Load movie 2 on level1 and assign this action to your back button:
    on (release) {
    unloadMovieNum (1);
    }

    (You have to make a new...
  11. Put this action on the last frame of the first...

    Put this action on the last frame of the first movie:
    loadMovieNum ("movie2.swf", 0);

    Both movies have to be in the same folder.
    Hope this helps you.
  12. Replies
    10
    Views
    655

    I'm not sure if this is what you mean but to get...

    I'm not sure if this is what you mean but to get rid of duplicated movieclips you can use the same for loop as you used to create them like this:
    i = 1;
    for (i=1; i<30; i++) {
    ...
  13. Replies
    1
    Views
    309

    Just an idea... Put an empty frame in the first...

    Just an idea...
    Put an empty frame in the first frame of the movies to load and give it a stop action. I guess that would work...
  14. Replies
    2
    Views
    414

    Try this: on (release) { playscene =...

    Try this:
    on (release) {
    playscene = scene2;
    play ();
    }
    Put this on the last frame of scene 1:
    if (playscene==scene2) {
    gotoAndPlay ("Scene 2", "scene2");
    } else {
    stop ();
  15. OK, thanks a lot =)

    OK, thanks a lot =)
  16. OK, now they move but not in the right direction....

    OK, now they move but not in the right direction. When I debug the movie the values of myX and myY are undefined.
    Have you got an idea of what I'm doing wrong?
    Thanks a lot for all your help
  17. Thank you, that tutorial was very helpful and it...

    Thank you, that tutorial was very helpful and it did solve my problem.
    However, there is still one thing I just can't figure out... I use this script to move my MC:
    onClipEvent (load) {
    myX =...
  18. Replies
    2
    Views
    308

    Why don't you load the second swf into the first...

    Why don't you load the second swf into the first one instead of loading it into different urls? That way you will still have the advantage of the faster download time...
    It will also be easier to...
  19. Thread: dragging

    by Straub
    Replies
    1
    Views
    343

    The object you want to drag has to be a movieclip...

    The object you want to drag has to be a movieclip with an instance name. Assign this action to a button:
    on (press) {
    startDrag ("_root.myMC", true);
    }
    on (release) {
    stopDrag ();
    }...
  20. Replies
    2
    Views
    400

    The object you want to drag has to be a movieclip...

    The object you want to drag has to be a movieclip with an instancename. If you want to drag the item you click, just put the button inside a movieclip. Then assign this action to the button:
    on...
  21. How can I make a MC move to the place of another...

    How can I make a MC move to the place of another MC? It has to move there at a random speed, not just appear in the right place...
    Could anybody tell me how to do that?
    Thanks
  22. Replies
    2
    Views
    367

    The easiest way to capture a key press is to make...

    The easiest way to capture a key press is to make a button (place it outside your scene or make it invisible if you don't want it to be seen) and give it a command like this:
    on (keyPress...
  23. Thread: menu probs

    by Straub
    Replies
    1
    Views
    354

    Just change the numbers in the script you already...

    Just change the numbers in the script you already have. In your script the numbers for the top and bottom are the same and you'll have change that so that the numbers for the left and right are the...
  24. Replies
    2
    Views
    360

    Actionscript deals with dates as numbers and the...

    Actionscript deals with dates as numbers and the first number is 0 = January. Thats why you are a month behind... To solve this problem you could make an array like this:
    Months= new...
  25. Replies
    6
    Views
    465

    Ok I'll try that... Thanks for all your help -...

    Ok I'll try that...
    Thanks for all your help - you really saved my day =)
Results 1 to 25 of 120
Page 1 of 5 1 2 3 4




Click Here to Expand Forum to Full Width

HTML5 Development Center