A Flash Developer Resource Site

Search:

Type: Posts; User: pocketmnky

Search: Search took 0.01 seconds.

  1. it's pretty simple. create a movieclip called...

    it's pretty simple. create a movieclip called "Idletimer" and from the mainstage assign:


    onClipEvent(mouseMove){
    counter = 0;
    }

    inside the MC, create to empty keyframes in frame 1 & 2....
  2. Alright people... pocketmnky's gonna school you...

    Alright people... pocketmnky's gonna school you something.

    This is a project that I did for work. http://www.geocities.com/pocketmnky/biolab4.swf

    The window does just about anything you could...
  3. Replies
    5
    Views
    508

    Wow... first of all; that's a pretty ambitious...

    Wow... first of all; that's a pretty ambitious trick to try and emulate on that Avon site. They did it by using 3 different movieclips one for the eyeshadow area, one for the blush area and one for...
  4. Replies
    3
    Views
    581

    What else needs work eh? well it would seem...

    What else needs work eh?

    well it would seem that you probably cut and paste bits and pieces of this directly from another open source .fla which is cool, but you might think of giving credits to...
  5. Replies
    3
    Views
    581

    whoa... well first off; you didn't name the...

    whoa... well first off; you didn't name the refresh movie.

    Quick tutorial on the importance of instance names:

    You see the main reason that flash uses Symbols is to be able to save on file size...
  6. Replies
    6
    Views
    540

    just as a side note I suppose; but Flash 5 AS...

    just as a side note I suppose; but Flash 5 AS will use the default formatting of a variable as it's initializtion.

    therefore if you setup


    variable1 = 5;
    variable2 = "644";
    variable3 = ["3",...
  7. Absolutley; set up two different on()'s...

    Absolutley; set up two different on()'s
    [CODE]on(rollOver){
    isOver = true;
    }
    on(keyPress "A"){
    if(isOver=true){
    //Do whatever you want
    }
    }
    on(rollOut, releaseOutside,...
  8. Replies
    2
    Views
    546

    Good idea munger, Do you mean takes to long...

    Good idea munger, Do you mean takes to long between clicks, or moving the mouse? Either way it's pretty much the same idea.

    create an empty MovieClip on the root timeline. In that MovieClip, go...
  9. Thread: hitTest?

    by pocketmnky
    Replies
    7
    Views
    828

    Don't worry about global to local stuff... Just...

    Don't worry about global to local stuff... Just remember that a local coordinate depends on that little + thing being 0, and everything above and left is negative y and x respectively. In global...
  10. Replies
    3
    Views
    491

    use a text file with the filenames in an Array: ...

    use a text file with the filenames in an Array:
    movieList = ["movie1.swf","movie2.swf",...]

    Load the array into Flash:
    loadVariables("list.txt")

    you can fooch around with the array however...
  11. Thread: timed loops

    by pocketmnky
    Replies
    1
    Views
    426

    in frame 1: index = 0; in frame 2: index ++;...

    in frame 1:
    index = 0;

    in frame 2:
    index ++;

    in frame 3:
    if(index >72){
    stop();
    }else{
  12. Replies
    2
    Views
    489

    I suppose you could have the 2nd scene be a...

    I suppose you could have the 2nd scene be a separate .swf file. Then in place of the 2nd scene you would have:
    loadMovie("scene2.swf")
  13. Replies
    3
    Views
    491

    Isn't that a bit more of a JavaScript question? ...

    Isn't that a bit more of a JavaScript question?

    I know that you could do it with ActionScript quite easily.
    At the end of each movie, place a loadMovie(newMovie) and if you'd like you can have...
  14. Thread: hitTest?

    by pocketmnky
    Replies
    7
    Views
    828

    do you want a hit test for a dart hitting another...

    do you want a hit test for a dart hitting another dart or for finding it's position on the board?

    First off, I'm assuming that you have a way to find the tip point of the dart (where it hits the...
  15. Replies
    11
    Views
    921

    Oh wow, that looks like beautiful ActionScript 4...

    Oh wow, that looks like beautiful ActionScript 4 syntaxing screwing up your controls.

    Lets make that a little more AS5:

    getProperty and setProperty are no longer needed in Flash 5 ActionScript....
  16. Replies
    11
    Views
    921

    That is much better Sweetgirl,... Just to...

    That is much better Sweetgirl,...

    Just to clarify, the quilt.swf zoom functions are controlling only bitmaps INSIDE the quilt.swf movie, right? Although I think it might be possible to code it to...
  17. Thread: hitTest?

    by pocketmnky
    Replies
    7
    Views
    828

    First off, your site rocks, even on half quality....

    First off, your site rocks, even on half quality.

    Secondly, whenever you call myMovieClip.hitTest(x,y,true); flash evaluates whether or not myMovieClip's shape is touching the point (x,y) so long...
  18. Depends on whether you mean "quit" on your movie...

    Depends on whether you mean "quit" on your movie (like a button that you make to say "quit" or when the viewer closes the window.

    For the first case, make the quit button just run another...
  19. Replies
    11
    Views
    921

    I think you may need to go into a litte more...

    I think you may need to go into a litte more detail as to how your zooming functions work. What do they do? I find that loadMovie is one of the worst and most abused actions in the ActionScript...
  20. Replies
    2
    Views
    492

    why not try the nextScene command instead of ...

    why not try the nextScene command instead of
    gotoAndPlay("Scene 2", 1)
    ?

    -pocketmnky
  21. Replies
    2
    Views
    495

    I hade a very similar problem once where you were...

    I hade a very similar problem once where you were looking at one picture and where ever you moved your mouse, you would see another picture through a "hole" (mask). Problem was when ever you clicked...
  22. The problem is all about Layer placement. ...

    The problem is all about Layer placement.

    Basically speaking, your buttons are still activating because they are still floating over the Window MovieClip. You've got to arrange them so that the...
  23. Well first off, I'm not sure if that is the...

    Well first off, I'm not sure if that is the actual script that you are using, pasted right there because in your GetURL command:
    getURL ("movie1.swf?var=46&check=1", "top", "GET");
    you call for...
  24. Replies
    4
    Views
    473

    Hmm... from what I can tell, you're more used to...

    Hmm... from what I can tell, you're more used to Scripting in ActionScript 4.

    Quick transistions to ASv5
    on (release) {
    x_scale_value = imagewindow._xscale)*1.1;
    y_scale_value =...
Results 1 to 24 of 24




Click Here to Expand Forum to Full Width

HTML5 Development Center