Search:
Type: Posts; User: Zavierr
Search:
Search took 0.01 seconds.
-
That works thx
I also found out using "this[selectedUnit].x=200;" works as well
-
At one point in my code a string variable will contain the name of an object on the screen.
selectedUnit = (event.target.name);
String variable will now hold the string "tower01" which is the...
-
-
I have a For loop set up but I want a pause every increment, so I set up the below code using a timer and a boolean variable to try and force the parser (if that's the correct word) to run through 50...
-
Check if a specific object of a class with a specific property exists?
-
https://www.youtube.com/watch?v=134h3l-s6tk
The video shows the problem. If my project has an error in the code and I run it, the error message only shows for a fraction of a second (not enough...
-
I didn't explain it well but I found out the solution but thanks anyway. I put the following line in the constructor code for the missile class:
-
I know how to do this if the object to be clicked isn't an instance of a class i.e.:
But what do I do if "missile" is a class object? Using above code I get an error because when the project...
-
I imported an image to the stage.
Converted it to a symbol (movieclip) and exported it for actionscript (for a class).
Then I edited it and added frames to its timeline with changes on each...
-
About when you make a simple error and test the movie.
Does it really have to flash and flicker? It's really irritating.
I noticed if you don't have text boxes then the output window shows you...
-
That's what I ended up doing. It works.
-
(CS5.5 AS3)
I'm trying my first 2D maze game, and when a key has been pressed the code will look to see what object is next to the player. So I want to do a hittest without actually moving the...
|
Click Here to Expand Forum to Full Width
|