Search:
Type: Posts; User: Matin.1520
Search:
Search took 0.02 seconds.
-
My Removing lives works perfectly. and this is the code
var lives:Number = 3;
var livesBall:Life;
var xPos:Number = 89;
var yPos:Number = 39;
var lastBall:int;
var newBall:int;
var...
-
That was just an example I gave. If you put my code in an empty fla file, you will see.
But in your case/code for me it works perfectly when I put it in flash file ....
-
IT SEEMS TO BE WORKING AND THAT'S WHAT I DID
//when collide,
circle.stopDrag();
circle.removeEventListener(MouseEvent.MOUSE_DOWN, MouseDown);
...
-
well
For me it seems to work ..... ?
Thats what I put
Exactly yours
main_map.addEventListener(MouseEvent.MOUSE_WHEEL,handleMouseWheel);
var zoom_const:Number = 2;
-
right now this code is on my main timeline
import flash.display.DisplayObject;
import flash.display.MovieClip;
import flash.events.Event;
import flash.events.MouseEvent;
var lives:Number =...
-
and your zoomIn() zoomOut(), zoomcConst functions?
-
Hi Leo
You didn't write your code so maybe I could see the error (im no expert)
but try putting this code on an empty flash frame and see if it helps
...
-
That's How I call it
This code is inside a movieclip, a child of the main timeline
function checkForCollision(e:MouseEvent):void {
var collisions:Array = collisionList.checkCollisions();
...
-
I think That has to do with this
Cuz I run the function from a child and I wrote this
//when collide
MovieClip(this.root).deductLives();
-
Oh I see I see
I got that
But I don't know why I'm getting this error
-
Thank you for your kind reply
That's what I did... it doesn't seem to work... I don't know where my mistake is
var lives:Number = 3;
var livesBall:Life
var xPos:Number = 89;
var yPos:Number...
-
Hi
I'm creating a game.
In the beginning there is three lives added with the addChild(); method, as shown.
http://i49.tinypic.com/10zy8le.jpg
Now, Every time the player loses a life, the...
-
Hi,
I am creating a game that has many levels. I'm scared that by the end, the file size will be too big (although I'm not using HQ pictures or...).
Could I for example load or preload the flash...
-
I've already seen those and downloaded them. I tried to understand I didn't.
I tried to customize it I couldn't since the script didn't work anymore.
All I want is a pixel-perfect collision...
-
Hi,
This is a pixel-perfect collision detection. I've got the kit and I wrote this code. I think the problem is small.
If someone would kindly check and fix it or tell me what's the problem so I...
-
Hi,
This is an Actionscript 2 code.
I was wondering if someone would kindly convert it to actionscript 3 for me?
Someone who knows how to...?
Thank you
import flash.display.BitmapData;...
-
-
For example I want exactly something like this
but this is in AS2
I want it in AS3
http://gskinner.com/blog/archives/2005/08/flash_8_shape_b.html
-
I've read the book ActionScript 3 for Beginners
It's an amazing book and they suggested this for pixel perfect also.
But no one ever explained how to use it in your own project
-
I'm sorry please ignore my last post
I got it
Thank you
But now this is level 1
what if in future levels I would wanna put a let's say diagonal wall....??
then when I convert it to a symbol...
-
Thank you for your help
I'm really trying to understand what you're saying but I can't
1. My wall is only one as you see it in the picture. How do you want me to create 3 walls
2. what are the...
-
Actually here's the complete explanation
This is what it looks like
http://i49.tinypic.com/ake3k0.jpg
The black ball can be dragged. I want the ball to be able to travel between the hole....
-
Thank you
But it still doesn't work for me
Maybe it's because I didn't put the whole code
That's the whole code
stop();
var lvl1:MovieClip = new Linelvl1();
-
Hi,
I am a beginner to Actionscript 3
I am creating a simple game (for practice purpose)
here is my code:
stop();
|
Click Here to Expand Forum to Full Width
|