dcsimg
A Flash Developer Resource Site

Search:

Type: Posts; User: stoned88

Search: Search took 0.00 seconds.

  1. i notice when I'm typing in hitTest in the action...

    i notice when I'm typing in hitTest in the action window it doesn't turn blue unless you have it in that case.. you have the 2nd t lowercase... dunno if that matters, but that's what I notice first
  2. Replies
    4
    Views
    483

    try using this["nameofMC"].gotoAndPlay(1);

    try using
    this["nameofMC"].gotoAndPlay(1);
  3. Replies
    8
    Views
    557

    sure, send it over, I'm at stoned88@hotmail.com

    sure, send it over, I'm at stoned88@hotmail.com
  4. Replies
    2
    Views
    387

    just a quick thought. if you gave your audio...

    just a quick thought.
    if you gave your audio clips the same name followed by an incrementing number

    clip1
    clip2
    clip3
    ... etc.

    then you could say
    clipNumber = random(10) +1; assuming you...
  5. Replies
    8
    Views
    557

    replace if (kabouter._x

    replace
    if (kabouter._x<70)
    with
    if(this["kabouter"]._x < 70)

    that's probably the problem
  6. Replies
    8
    Views
    557

    ok, so just do this so my example can be...

    ok, so just do this

    so my example can be specific lets pretend you want to keep it within x = 50 and x = 100, and y = 50 and y = 100

    you'd do this

    if(this["yourInstanceName"]._x < 50) {
    ...
  7. well, problems definately in the butterfly...

    well, problems definately in the butterfly somewhere, hard for me to say what though...

    as for the actionscript I mentioned for moving, you could simply change it's _x property (x coordinate...
  8. Replies
    8
    Views
    557

    make sure to name the instance of your movie...

    make sure to name the instance of your movie clip, (enter name and hit enter or it won't go)

    then
    //if this were in frame five, your code would be
    gotoAndPlay (4);
    if (key.isDown(39)) {...
  9. create a butterfly movieclip symbol where the...

    create a butterfly movieclip symbol where the butterfly stays in place flapping it's wings, then add that symbol to the main timeline and add the motion there... or you can use actionscript to make...
  10. Thread: xpos and ypos

    by stoned88
    Replies
    6
    Views
    512

    sure let's say you put the code in frame 5 ...

    sure

    let's say you put the code in frame 5

    gotoAndPlay(4);
    onClipEvent(mousedown) {
    setProperty("bubble", _x, getProperty("cursor", _x);
    setProperty("bubble", _y, getProperty("cursor",...
  11. Replies
    4
    Views
    401

    //frame 5 gotoAndPlay(4); get the picture's y...

    //frame 5
    gotoAndPlay(4);
    get the picture's y coord
    get the mouses y coord
    find the difference between the 2
    move the picture half the distance, or whatever percentage you want it to move.
    ...
  12. Thread: xpos and ypos

    by stoned88
    Replies
    6
    Views
    512

    yeah, only one movie clip can be dragged at a...

    yeah, only one movie clip can be dragged at a time with start drag... but how about using startDrag to drag the cursor, and then using an onClipEvent(mousedown) event to simulate a start drag on the...
  13. Replies
    1
    Views
    203

    sounds like you're trying to do it in normal...

    sounds like you're trying to do it in normal mode? try using expert mode on the actions panel
  14. Replies
    4
    Views
    401

    you want it to move slower, but catch up to the...

    you want it to move slower, but catch up to the cursor right?
  15. Thread: xpos and ypos

    by stoned88
    Replies
    6
    Views
    512

    ok, so you have a cursor movieclip instance and a...

    ok, so you have a cursor movieclip instance and a bubble movie clip instance, and you want the bubble to go to the same coordinates that the cursor is at and do a grow animation? Just trying to...
  16. Replies
    1
    Views
    511

    use key.getCode to capture each key that is...

    use key.getCode to capture each key that is pressed and store it in an array, it will store the key code of the key pressed so just make sure to associate your images with certain keycodes... I don't...
  17. Replies
    4
    Views
    586

    sorry, that's attachMovie() and removeMovieClip()...

    sorry, that's attachMovie() and removeMovieClip()

    I'm tired :)

    Dennis
  18. Replies
    4
    Views
    586

    if you use attachMovie to make the object appear...

    if you use attachMovie to make the object appear when you want it to, you can use removeMovie to make it disappear as well. (that's how I'd do it). Another method, a lot more sloppy, couldn't you...
  19. look up the Date object in the actionscript...

    look up the Date object in the actionscript dictionary, it should be pretty easy once you read that.
  20. Replies
    1
    Views
    543

    you should jump over to the games forum, a good...

    you should jump over to the games forum, a good portion of the posts discuss multiplayer gaming issues, it's a great resource for a question like this.
  21. Thread: VB Script

    by stoned88
    Replies
    3
    Views
    500

    I like vbScript better too (because i've used it...

    I like vbScript better too (because i've used it more) but you just have to face the fact that vbscript isn't a very universal front end scripting language, and javascript is. JScript actually runs...
  22. Thread: Backend?

    by stoned88
    Replies
    1
    Views
    340

    client side is also known as "front end" server...

    client side is also known as "front end"
    server side is also known as "back end"
  23. also the for each loop is handy for looping...

    also the for each loop is handy for looping through the contents of an array, works like this

    for(item in myArray) {
    trace(myArray[item]);
    }

    or something along those lines.

    Dennis
  24. Hi, this is my first post here, but I've been...

    Hi, this is my first post here, but I've been reading through the boards enough to know that collision detection seems to be a big topic of interest. I am creating a space invaders type game (the...
Results 1 to 24 of 24




Click Here to Expand Forum to Full Width

HTML5 Development Center