A Flash Developer Resource Site

Search:

Type: Posts; User: fjodorvanveen

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    2,111

    Flash8 Thats exactly what I need, Thanks!

    Thats exactly what I need, Thanks!
  2. Replies
    5
    Views
    2,111

    Flash8 Allright, one final question. I can get the RGB...

    Allright, one final question. I can get the RGB of a script generated bitmap with a solid colour.
    So now I got this code wich generates a radial circle with 3 random colors.

    ...
  3. Replies
    5
    Views
    2,111

    Flash8 Ty a lot! This helps me out I guess.

    Ty a lot!
    This helps me out I guess.
  4. CS3 Yeah I know whats wrong. You need to multiply it...

    Yeah I know whats wrong. You need to multiply it instad of deviding it, and you need to multiply it every time it multiplys.
    ????
    So, ech time a picture spawned, you need to multiply the value.
  5. Replies
    5
    Views
    2,111

    Flash8 Get the color of a pixel at x&y

    I made a little test to do this. But, it doens't work. ]=
    Lets say i drew this blue square, 50px * 50px.
    It is not a movieclip.
    Now I want to know what color is at the center of the square:

    ...
  6. CS3 try to increase i/=1.05 maybe i/=1.5?

    try to increase i/=1.05
    maybe i/=1.5?
  7. Replies
    1
    Views
    6,337

    AS2 to AS3?

    I think I'm quite good with AS2 now, and I want to learn AS3.
    I know AS3 only works on the main timeline, but here is a code I'd like to see in AS3. I hope it isn't too complicated.


    onClipEvent...
  8. CS3 answer?

    var i:Number=100;
    Pic=function() {
    setInterval(photoFlash,1000-i);
    i/=1.05;
    }
  9. Replies
    0
    Views
    5,413

    CS4: Drawing programm

    I'm making a drawing application in Flash with action script 2.
    I want a button to save the screen and than open the image in a browser window, I thought this should work but it doesn't at all. It...
  10. Replies
    2
    Views
    371

    Well I dont work with arrays that often, But if...

    Well I dont work with arrays that often, But if you want to create for movieclips with a random position on the stage, you could do it like thi i guess:

    for (var i:Number =1; i <= 4; i++){...
  11. I I'm making a drawing application in Flash with...

    I I'm making a drawing application in Flash with action script 2.
    I want a button to open the image in a browser window, I thought this should work but it doesn't at all. It says there doesn't...
  12. Thanks! this is exactly were i was lookin' for.

    Thanks!
    this is exactly were i was lookin' for.
  13. Yes, i tried land.clear() but once i used that i...

    Yes, i tried land.clear() but once i used that i couldn't edit it anymore.

    The full code i used is simply
  14. AS2 API drawing destructeble landscapes...

    Any suggestions?
    I want to make a tank game but the ground must be destructeble.
    The code i got here is supposed to work but i cant edit the landscape more then once.

    First i got the variables...
  15. Replies
    0
    Views
    420

    Flash8 API line stop drawing!

    I want to make a laser game in flash, but i need to know something. The code:


    This draws a line from the end of the characters barrel to the x and y positions of your mouse.
    But I need the...
  16. Replies
    2
    Views
    410

    Well, do you want to play frame 2...

    Well, do you want to play frame 2 (this.gotoAndStop(2)) when the rotation is 170, or when its below?
    If you want to detect the rotation level 170, you could use this:


    I'm detecting if the...
  17. Thread: getRGB

    by fjodorvanveen
    Replies
    0
    Views
    382

    getRGB

    I want flash to do something when the colour of a sertain x and y position is blue.
    I know this is totally wrong, but I want something like this:

    if (getRGB(this._x, this._y)==BLUE) {
    ...
  18. Replies
    0
    Views
    335

    [F8] Tron

    I'm trying to make tron, but hitTest wont work. Flash cannot find the instance name.

    AS:


    onClipEvent (load) {
    r = 1;
    t = 0;
    }
    onClipEvent (enterFrame) {
  19. Replies
    3
    Views
    513

    Thansk a lot!

    Thansk a lot!
  20. Replies
    3
    Views
    513

    Please help!

    Please...:confused: :confused: :confused:
  21. Replies
    3
    Views
    513

    [F8] Simple save and load a var

    I want to save a var to someones computer, so when i put it on the internet, every one must be able to save his/her settings of a var. Example:

    AS:
    medaleasy=false;//you dont have it

    Now a...
  22. I think you could use this:

    onClipEvent(enterFrame) {
    if (Key.isDown(65)) {//==Key.LEFT
    this._x-=3;//or something else...
    }
    if (Key.isDown(67)) {//==Key.RIGHT
    this._x+=3;//or something else...
    ...
  23. Well,that part already works, the enemy wouldn't...

    Well,that part already works, the enemy wouldn't go to frame 2 (it cant be destroyed!).

    So the point is that I cant figure out what the exact instance name is of "shell", witch disables the enemy...
  24. Replies
    0
    Views
    494

    Sliding puzzle

    Does anyone know how to make a sliding puzzle?:confused:
  25. [F8] How can i get control of my duplicated movieclips?

    This is my problem: it wont work!

    code for scene1:


    fire=false;
    counter=0;
    cannon.onEnterFrame=function() {
    var dx=_xmouse-this._x;
    var dy=_ymouse-this._y;
Results 1 to 25 of 36
Page 1 of 2 1 2




Click Here to Expand Forum to Full Width

HTML5 Development Center