Recent posts by Mailesmyth on Kongregate

Subscribe to Recent posts by Mailesmyth on Kongregate

Aug 14, 2008
avatar for Mailesmyth Mailesmyth 7 posts

Topic: Programming / Help making game

I hate to say it, but newgrounds.com can be a pretty good source for beginners at times.

http://www.newgrounds.com/bbs/topic/229808/48

scroll to the bottom of the page – the topic list continues on the next 2 pages

There are a lot of AS topics on many different subjects.

 
Aug 14, 2008
avatar for Mailesmyth Mailesmyth 7 posts

Topic: Programming / hitTest of a MC within a MC

Happy to have attempted to help…..

 
Aug 14, 2008
avatar for Mailesmyth Mailesmyth 7 posts

Topic: Programming / API Server Connection

I know that much already. I was wondering if the connection could be tested in-game to cause an in-game event based on the status of the connection to the API server.

 
Aug 14, 2008
avatar for Mailesmyth Mailesmyth 7 posts

Topic: Programming / hitTest of a MC within a MC

Find the _x and _y of the parent MC, and then use a little math to adjust to the desired point. For example, a 50px X 50px square is the outer MC, and the top left corner is where _x and _y are measured from. The second movie clip is right in the center of the first. So the _x and _y would be _parent._x + 25 and _parent._y + 25. Something tells me my AS isnt quite right, but you probably get the idea.

 
Aug 14, 2008
avatar for Mailesmyth Mailesmyth 7 posts

Topic: Programming / API Server Connection

Is there a way to test the connection within a flash?

 
Jul 17, 2008
avatar for Mailesmyth Mailesmyth 7 posts

Topic: Programming / Help! Movieclip inside Button

In my experience (using AS2, and Macromedia Flash 8), most (if not all) actionscript WILL NOT WORK in a movieclip that is within a button.

Rather than placing the movie clip in the button, keep them separate, and place BOTH of them into a third movieclip.

OR dont use a button symbol. A movieclip can do anything a button can and more.

 
Jun 17, 2008
avatar for Mailesmyth Mailesmyth 7 posts

Topic: Programming / Code that stops cheating

what i use is (ActionScript 2.0)...


// in the first frame on the main timeline
_global._focusrect = false;

the tabEnabled method I believe is mainly for individual items. The above method simply disables the yellow rectangle in the entire game. I dont THINK that the _global is necessary, but i use it anyway.