Search:
Type: Posts; User: fjodorvanveen
Search:
Search took 0.01 seconds.
-
Thats exactly what I need, Thanks!
-
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.
...
-
Ty a lot!
This helps me out I guess.
-
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.
-
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:
...
-
try to increase i/=1.05
maybe i/=1.5?
-
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...
-
var i:Number=100;
Pic=function() {
setInterval(photoFlash,1000-i);
i/=1.05;
}
-
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...
-
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++){...
-
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...
-
Thanks!
this is exactly were i was lookin' for.
-
Yes, i tried land.clear() but once i used that i couldn't edit it anymore.
The full code i used is simply
-
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...
-
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...
-
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...
-
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) {
...
-
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) {
-
-
Please...:confused: :confused: :confused:
-
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...
-
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...
...
-
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...
-
Does anyone know how to make a sliding puzzle?:confused:
-
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;
|
Click Here to Expand Forum to Full Width
|