Featured FLA
» Author: Nitin Tikhe
» Title: Cart
» Description: This Animation Tut is a fun and useful for kids below 15 years. Watch the Flag, Doors, Stick and Horse movements.
» More by Nitin Tikhe
Featured Site
» Posted in the Flash Kit Links section
» Title: Banana Swimwear
» Description: This is a banana swim wear interactive catalog we designed and animated in Flash
Now place a button somewhere, it should be one to add on to your intelligence e.g. a study button in a school. Place these actions in the frame that button is placed in:
if (moneyneeded>=moneyrequired) {
money=1
}
And give the button these actions ...
on (release) {
strength+=(10*money)
}
And that can be used for all the different things required for the game e.g. Buying beer and stuff.
Moving into buildings. Inside the map place a square outside the door with an instance of "step".
onClipEvent (enterFrame) {
if (_parent.man.hitTest (this)) {
_parent.gotoAndStop("insidebuildingframe");
}
}
Thats really all I need to show you without repeating myself or others.