Search:
Type: Posts; User: lastMohican
Search:
Search took 0.02 seconds.
-
As above is there a way to access any function written inside main timeline from a class ?
for example:
main timeline frame 4:
function foo()
{
trace("foo");
}
-
~ is the bitwise NOT
so ~speed-1 is a high tech way of writing -speed :)
although Im pretty sure it should be ~speed+1... Ill check it out later
-
Dude.. no score, no health, no lives,difficulty seems static...game seems to continue forever lol. On the plus side the AI seems to be in good shape. Taking down 2 guys simultaneously was fun!
-
nvm...solved both issues lol.
First was a coding fault :D
For second it seems I can use parent of the shape to get to the movieclip
-
So I am currently creating a prototype for a shooting game. I have a movieclip and I am moving it around on stage at random. But when I do a trace(getObjectsUnderPoint(new Point(mouseX,mouseY))); I...
-
Ah I got it! Removed the grid listener & added the individual block listeners in the main timeline instead of the as file. Now evt.currentTarget always gives me [object NormalBlock] :)
-
Ah sry about that. I was trying various things to resolve the issue so kinda copypasted the modified code. Rectified that now & also put in a new function just for testing evt.target :)
I have...
-
I had this really wierd unexpected problem recently. I had a movieclip NormalBlock with it's own NormalBlock.as and I am instantiating about 400 of those at runtime. The movieclip had initially 5...
-
If you are using AS3 then use stage.stageWidth
-
ZOMG I figured it out! For some reason the font doesn't show up whenever I put the fla directly under a drive(for eg; E:\,D:\) . If I put it inside some folder then the font shows lol.
Is this...
-
I have a really wierd problem with embedding font. I have a pretty basic code for testing how embedding works. But it's not working :( .Basically the swf is blank when I run it. I have attached the...
-
ah. That is what I am doing currently actually.But I was hoping this could be done too. I guess not. Thanks for the reply /no1
-
Hi guys. Is there any way to color both sides of a movieclip(a simple red square for example with green on other side) so when I rotate it the respective color will be shown?
This may be something...
|
Click Here to Expand Forum to Full Width
|