Dangerous High School Girls in Trouble
From Jay is Games
by Jess (jbibby@gmail.com) on July 06, 2008 08:51 PM
by Jess (jbibby@gmail.com) on July 06, 2008 08:51 PM
by Eric on July 06, 2008 03:00 PM

Great news today! After Bamba Snack Quest, our cute toddler is back for more adventures in Bamba Snack Quest 2, a brand new Point’n’Click Adventure series created by E-dologic, an advertising Agency from Israel.
A nasty fly has decided to steal his precious snack. Help him chase the fly and get his snacks back!
There are now only two episodes available at the time of writing, with 5 more coming up in the next few weeks. The site is all in Hebrew, but the different episodes are language free. Don’t forget to read from right to left when selecting the level you want to play!
Update: All 7 episodes are online now!
by lightsun (noreply@blogger.com) on July 06, 2008 02:31 PM
by Eric on July 06, 2008 07:00 AM

Did you enjoy The Impossible Quiz and The Impossible Quiz 2? If so, I would recommend you give a try to the Never Ending Level Game.
This is a weird and challenging puzzle game in which you use clues provided on the screen to proceed to the next level.
According to the author Clarence Ball, “if you beat all the levels you win and get your name on a high scores list. This game does start off easy to lure in the unsuspecting, but it gets very hard.”
Until yesterday, there were 132 levels to complete to beat the game; today, 18 new challenging levels have been added by the author, so now there are 150 levels you must complete to beat the game! That’s probably why the game is called the Never Ending Level Game!
2008-04-25 Update: NOW WITH 170 LEVELS!
2008-07-06 Update: NOW WITH 182 LEVELS!
by funnyman (funnyman3595@gmail.com) on July 06, 2008 01:00 AM
by Eric on July 05, 2008 10:38 PM

A new installment in the never ending Super Sneaky Spy Guy series was just released at Melting-Mindz Games!
“Enter the strange world of Sneaky and search for some new treasure in some strange places!”
This new game looks good and is quite different from previous episodes. Turn on your speakers, grab a soft drink and enjoy!
by Eric on July 05, 2008 08:09 PM
Okashi - Escape from the House of Candy is the latest Room Escape game by Twinkle, the author of Escape of Gray Door, Alice: Escape from Wonderland and more. Your goal today is to escape from a house full of candies, and the front door is locked, as usual! Have fun! |
by Steph on July 05, 2008 07:09 PM
Note: There is a poll within this post, please visit the site to participate in this post’s poll.
We might be going biweekly on these polls…
by Squize on July 05, 2008 04:49 PM
package
Classes {
import flash.events.Event;
import flash.net.URLLoader;
import flash.net.URLLoaderDataFormat;
import flash.net.URLRequest;
publicclass IO
{
//---------------------------------------------------------------------------------------
//
Properties
//---------------------------------------------------------------------------------------
private var
loader:URLLoader;
private var
callBack:Function;
//---------------------------------------------------------------------------------------
//Constructor
//---------------------------------------------------------------------------------------
public function
IO(){
/*
Null constructor, we don't need to do anything here
*/
}
//---------------------------------------------------------------------------------------
//
Public
//---------------------------------------------------------------------------------------
public function
toString():String {
return"IO";
}
//---------------------------------------------------------------------------------------
public function
loadScript(filename:String,callBackArg:Function):void{
callBack=callBackArg;
loader =new URLLoader();
loader.dataFormat=URLLoaderDataFormat.TEXT;
loader.addEventListener(Event.COMPLETE,
xmlLoaded);
var request:URLRequest =new URLRequest(filename);
loader.load(request);
}
//---------------------------------------------------------------------------------------
//
Private
//---------------------------------------------------------------------------------------
private function
xmlLoaded(eventArg:Event):void{
var source:String=eventArg.target.data;
callBack(source);
}
//---------------------------------------------------------------------------------------
}
}
package
Classes {
import flash.events.Event;
import flash.net.URLLoader;
import flash.net.URLLoaderDataFormat;
import flash.net.URLRequest;
publicclass IO
{
private var
_V64K0q:URLLoader;
private var
_87qjufb1lsM:Function;
public function
IO(){
}
public function
toString():String {
return"IO";
}
public function
loadScript(M85u8En4i:String,_87qjufb1lsMArg:Function):void{
_87qjufb1lsM=_87qjufb1lsMArg;
_V64K0q =new URLLoader();
_V64K0q.dataFormat=URLLoaderDataFormat.TEXT;
_V64K0q.addEventListener(Event.COMPLETE,
_v1zr6rD62q);
var kDu541CN2C5:URLRequest =new URLRequest(M85u8En4i);
_V64K0q.load(kDu541CN2C5);
}
private function
_v1zr6rD62q(_wVl6q:Event):void{
var n1XScOB03y:String=_wVl6q.target.data;
_87qjufb1lsM(n1XScOB03y);
}
}
}
Pretty mashed up. There are still some quirks to it which need ironing out, and it's not got a list of reserved words or anything that cool, but that code is nasty once run through it.
Next we need to actually make some sort of front-end for it, ideally using Air to get to play with that, more possibly with Zinc to make it easier, and then decide what to do with it. It won't ever be for sale, it may be a case of we just give it to friends and let it spread gradually like that, we're not sure yet, but it will be given away. There's no point bitching about hacking, and then coming up with something that makes our stuff safe and screw everyone else.
And that's part 1 ( Or 0.5 ) of our push to try and get the community as a whole being
a bit more protected, there is more to come. Olli and I have had some long chats the
past couple of days. We both came to the conclusion that yeah, having hacked games
floating around sucks, but there are some things which are more acceptable than others.
If LoW had been hacked to use the hi-score component of the system it's been hacked
for ( Some "shovelware portal in a box" system ) and everything else had been left
intact, then we can swallow that. Just. The game gets spread so the sponsors happy,
we get our credit out so it's not too bad for us, the ad gets seen etc. It's not that
bad. It's only when the game is just ripped of everything like that we get pissy.
Part of this process of stopping it is to actually get involved with the boards that
link these games, for fear of sounding like a politician, it's about education. A
lot of sites with hacked games on are run by decent people, just trying to make a
couple of quid, and not really knowing about any harm they could be causing 'cause
they never ever have any contact with a developer.
Flash games are percieved as such a throw away commidity that the line between IP
theft and hosting becomes very blurred. A lot of people who run boards wouldn't dream
of hosting mp3's, but see Flash in a totally different light.
We really fucking resent having to spend time on things like this, but if we're in the position of toying with ads and sponsorship as well as the client based work, then we need to protect our IP. Like we all do.
There's more coming,
Squize.
by JohnB (john@bardinelli.com) on July 05, 2008 03:17 PM
by lightsun (noreply@blogger.com) on July 05, 2008 02:32 PM
Really great RPG, with a great gameplay, and graphics. It isn't very easy to learn how to play, but it is very addictive. The music is ok, as the backgrounds. This game is great for those who love action, war, and RPG games. If you liked the previous Moder tactics, try this one!
Retro Play of the Day!
This piece takes a look into the games uploaded to Kongregate One Year ago! That's almost a century on the internet.
Nodes by Eggy
Great game, I loved the concept. It has a medium badge, very easy one. This game only requieres patience. Great effects. This is more a simple, but funny game, so try it!
Notable Forum Posts
Here's a place where the forum gets spotlighted upon, every day there are great threads and here's a spot to keep up on at least a few
Kongai cards suggestion
by Eric on July 05, 2008 06:05 AM
This Week’s Selection:
Ranch Rush
Help Sara turn a failed nursery into a thriving Ranch Rush with three acres of empty land. Harvest fresh produce, gather eggs from ostriches, collect honey from bees, whip up ketchup from tomatoes, and much more!
Mystery of Unicorn Castle
Be careful! Only you can reveal the secrets of the inhabitants and guests of the Unicorn castle in this new Hidden Object game. Free the family from an evil spell that has haunted them for centuries!
Fitness Frenzy
With a hard body and healthy mind, your clients can conquer the world. In Fitness Frenzy, you play as Vicki, a personal fitness trainer, and you must help all sorts of people — from newbie joggers to muscle-bound weight lifters.
Also Recommended:
The Tuttles: Madcap Misadventures
Get caught up in The Tuttles: Madcap Misadventures, an hilarious arcade family friendly adventure that pairs having a good time with doing good!
10 Days Under the Sea
Your mission in 10 Days Under The Sea is to set sail on the open seas, and help Little Carrie find her spirit.Comb underwater scenes for hidden objects in gorgeous locations like the Sea of Japan, the Caribbean, and the Nile!
Ancient Quest of Saqqarah
Never get bored with 7 different styles of bejeweled-like puzzles and 3 difficulty levels in Ancient Quest of Saqqarah, an innovative and fun match-3 game!
If you are looking at great Download Games, you can always check for more information into our Download Games section! We only feature the Best Casual Games available.
by JohnB (john@bardinelli.com) on July 04, 2008 10:38 PM
by Focus (noreply@blogger.com) on July 04, 2008 11:32 PM
Rouge Rogue Badge (medium - 15 points)
The Hunt for Red Button Badge (medium - 15 points)
Spherical McCarthyism Badge (medium - 15 points)by jay (jbibby@gmail.com) on July 04, 2008 09:25 PM
by jay (jbibby@gmail.com) on July 04, 2008 06:45 PM
by Eric on July 04, 2008 05:26 PM

Dinosaur Room Escape is the latest Room Escape game created by Parallellove, the author of Panda Room Escape, Monkey Room Escape, Rabbit Room Escape, Fish Room Escape, Gorilla Room Escape, Wildboar Room Escape, Rhino Room Escape, Kangaroo Room Escape, Snake Ropom Escape and many more.
You are trapped in a room, and the question is, where is the dinosaur?
Update: Dinosaur Room Escape walkthrough in comment #33 (thanks J!)
by Eric on July 04, 2008 05:05 PM
GlueFO is an Asteroids-like Arcade game with upgrades and bonuses. “Your GlueFO is not equipped with conventional weaponry owing to financial concerns, use your GluVex 3000 to capture and fling the tiny orbs!” Simple graphics but addictive gameplay. Have fun! |
at July 04, 2008 04:35 PM

by Eric on July 04, 2008 03:54 PM

Escape 02 – Who am I? is the second very nice looking Japanese Room Escape game released by K-Style from Japan.
Escape 01 – Welcome to Esc Co. Ltd, his first game, is only available in Japanese. But the good news is that Escape 02 - Who am I? was also released in English.
Escape 02 is easier than its predecessor, even if the TAB key is not active anymore :-)
Thanks to Falaiseju for pointing this one out!
Update: K-Style’s site is down. Temporary alternative link here…
by Eric on July 04, 2008 03:16 PM

Free Falling is live! This game is the latest creation of IDAC, the team behind The Daydream, JOBpico, Bon Voyage, Strawberry Tomato and so many other popular Room Escape games!
You enter an unknown room, and the door closes behind you. You start looking for items to use and then you realize that Free Falling is all in Japanese!
There is no English version available at the time of writing, but it’s not really a problem here :-)
Note: Please be patient while the game is loading…
Update: Free Falling walkthrough in comment #25 (thanks DNOMN8R!)
Update: Free Falling video walkthrough!
at July 04, 2008 07:00 AM
by Eric on July 04, 2008 04:00 AM
Escape Bathroom is a new Japanese Room Escape game, available in both Japanese and English (sort of), that takes place in a… bathroom! You are not alone here, a black cat is watching you! Look closely for various items that can help you escape from the Bathroom. Have fun! |
by JohnB (john@bardinelli.com) on July 04, 2008 04:00 AM
by Eric on July 03, 2008 11:06 PM
Just a quick note to inform you that the three first chapters of the amazingly beautiful adventure series Tipping Point are now available in a single compilation sponsored by Bubblebox and FreeGamesNews!
In case you missed it, enjoy now the magical world of Tipping Point!
And in case you are looking for a walkthrough, here it is!
by Eric on July 03, 2008 10:39 PM

Storage Escape is a new Room Escape game developed by the author of Lost Memory, Sniper Escape, Bad Reception, E-Scape, DIY Escape, Locked In, Stuck Inside, the Trapped series and the Puzzled series.
“You are stuck in a storage room, find and use items to help you escape!”
Talking about items, don’t forget to press the spacebar if you want to put an item away!
Update: Storage Escape walkthrough in comment #5 (thanks Iv0ry972!)
by Eric on July 03, 2008 06:13 PM

Black and White Room Escape is the second Room Escape game created by Rhosus, the author of Escape Blue Bathroom.
For an unknown reason, you find yourself trapped in room all in black and white. The door is locked and you need a code to open it.
Look for clues, search for items and eventually, escape the Black and White room!
Update: Black and White Room Escape walkthrough in comment #48 (thanks Bogdan!)
at July 03, 2008 05:00 PM
by Eric on July 03, 2008 04:02 PM

Good news for all Shift series fans, Shift 3 is live!
“Shift 3 is here, and it’s unlike any Shifting experience you’ve had before. A massive Adventure mode takes you to the roots of the SHIFT experiment, tonnes of achievements to earn and even an unlockable Celebrity secret character!
And if that isn’t your cup of tea, theres a selection of 18 Classic style levels from Shift players around the globe to battle your way through, and highscore boards all around!”
Antony Lavelle, the author of Shift and Shift 2 has done a super job in this third installment, and the adventure mode is just awesome: Shift fans, you won’t be disappointed!
by nGFX on July 03, 2008 08:55 AM
http://forum.***.**/...
by jay (jbibby@gmail.com) on July 03, 2008 06:48 AM
by Eric on July 03, 2008 04:41 AM
Wogger Mini #129 is online! What is hidden behind the door? Wogger Mini is a Point’n’Click Adventure series created by Bernd Mattiebe from Germany. Help Wogger and his family on their never-ending journey in a surreal world full of danger. Have fun! |
at July 02, 2008 11:21 PM
by Ada Chen on July 02, 2008 11:19 PM
Happy July! We have two updates for you this week: the new click away ad format, and the addition of Moneybookers as an additional payment method.
Click away ads is the newest ad unit available to MochiAds developers. Unlike pre-game and inter-level ads, these new ad units do not have a 10 second time period and are designed to provide developers with more flexibility in monetizing their games. These ads are available in a 300×250 size and can be placed in custom locations throughout a game. With these ads, the game player can close the ad at any time and continue playing the game.
Using Click Away Ads
Below is an example of Click Away ads integrated into Playfish’s game, Word Challenge. They show the click away ad at the completion of the game, and allow the gamer to close the ad by selecting the green check button.

Click Away Ads in Playfish’s game Word Challenge
Here are some other ways you can integrate them:
Click Away Ad Policies
Developers have more flexibility with click away ads in their games. You can review the general ad policies here, but the key policies in this new ad unit are as follows:
We’ve added Moneybookers as a new payment method for MochiAds users, in addition to the existing methods of PayPal and payment by check. Moneybookers provides local payments in over 30 countries. :) You can take advantage of this by logging into your account, and selecting “Accounts” in the top right navigation bar. This will take you to a menu where you can manage your payment methods.
In addition, we’ve also upgraded our PayPal account to pay users via the Mass Payment service. This enables PayPal users to take advantage of lower transaction fees from using PayPal.
Let us know what you think!
© Ada Chen for MochiLand, 2008. | Permalink | No comment
Add to del.icio.us
Search blogs linking this post with Technorati
Want more on these topics ? Browse the archive of posts filed under MochiLand Topics.
by Eric on July 02, 2008 09:47 PM
Dawn Dash Escape is the latest Room Escape game released by GamesHandbook. “You have had a big night out, gotten drunk and taken a big ugly lay home. You have to get out of her room with all your clothes but don’t wake her up!” Shame on you! Have fun! |
at July 02, 2008 07:00 PM
at July 02, 2008 05:14 PM
by lightsun (noreply@blogger.com) on July 02, 2008 06:04 PM
at July 02, 2008 05:00 PM
by nGFX on July 02, 2008 08:45 AM




this._aTest.push( [new Point(0, -1), new Point( -1, -1), new Point( -1, 0), new Point(1, 0)] );
And because this one should move to the left I added a second array that holds the next direction to go to:this._aDirNext = [3, 0, 1, 2, 1, 2, 3, 0];
(You might wonder why it has eight entries instead of the needed four, I'll come to that later)this._iDir =this._aDirNext[this._iDir];
Now, with that in place checking the movement was easy:private function
checkMoveBug ():void {
var strTest:String ="";
var i:uint;
var xx:int;
var yy:int;
for (i = 0;
i < 4; i++) {
xx =this._pPos.x +this._aTest[this._iDir][i].x;
yy =this._pPos.y +this._aTest[this._iDir][i].y;
if (this._refChipsGame.getTile(this._refChipsGame.aMapGame[xx][yy][0]).objProperties.bMonster
&& this._refChipsGame.aMapGame[xx][yy][1]
== -1) {
strTest += "0";
} else {
strTest += "1";
}
}
switch (strTest.substr(0,
3)) {
case"000": //
"C"
case"100":
case"110":
this._iDir =this._aDirNext[this._iDir]; //
turn to the next dir
break;
case"111": //
"A"
case"101":
if (strTest.charAt(3)
== "0")
{
this._iDir =this._aDirNext[this._iDir + 4];//
this one uses the second pair for "A"
} else {
this._iDir =this.getOppositeDir(this._iDir); //
this one is used vor "D"
}
break
/*
case "011":
case "001": // "B"
these are
not needed because we can just move ahead
(there is
something to the left)
break;
*/
}
}
this._aTest.push( [new Point(0, -1), new Point( 1, -1), new Point( 1, 0), new Point(-1, 0)] );
and changing the aDirNext array to face right:this._aDirNext = [1, 2, 3, 0, 3, 0, 1, 2];
Vioal. Done.by Jess (jbibby@gmail.com) on July 02, 2008 05:00 AM
by Steph on July 02, 2008 03:00 AM
I just wanted to drop a quick line to let you all know that up until now Jared has been slaving away on Bubble Tanks 2. However, I’m stealing him away from you for a few days to hang out with my family in Milwaukee over the 4th of July. When we get back it’ll be right back to the grind, I swear! Haha!
Hope you all grill some mean foods and see some awesome fireworks and have an all-around terrific weekend.
Happy Independence Day (a little early)!
by Jess (jbibby@gmail.com) on July 01, 2008 04:10 PM
at July 01, 2008 02:14 PM
by Dereck Sycopre on June 30, 2008 06:59 PM
I often see people asking about protecting their SWF files after they’ve created their game. Of course they’re invited to use a encoder, but that’s generally not enough. This article will show you some ways to dissuade the hacker from doing his work. Feel free to leave your comments and questions below or on the MochiAds forum thread.
It’s always frustrating when we work for months and then some guy takes our work and calls it his own. Of course there are ways to pursue them after this happens, but here are some ways to stop them or make it harder. With this tutorial, you will learn some methods to easily protect your games, without using complex math or programs. It’s all ActionScript using variables. So let’s begin:
First, get a program to encrypt your SWF file. This is important because it will stop most hackers. I recommend Amayeta SWF Encrypt. The trial version allows 25 encryptions, so use it wisely before buying, because the full version costs $125 USD. Note that Amayeta and similar programs don’t protect your game 100%, but they do make it more difficult for folks to steal. There’s also Flash Encryption Genius, which also offers a free trial — with the full license costing $99 USD. I tried those two and here is my review:
1. 
2. 
Next, I’ll explain some ways to make the decompiler work harder to further protect your code.
After you’ve made your game, the first thing to do is select “Find and Replace,” and replace all your variables’ name with something of no relation.
For example, instead of the variable “Lives_remaining,” use “Pie_is_my_device.” Be mindful in creating these words; keep a text document for yourself that tracks what each variable name means — so you know what to change if you need to. Doing this makes it harder for a hacker to decompile your code. Instead of finding neatly organized variables that he can change and modify, he will have to spend energy trying to figure out what each variable means.
Flash provides the ability to import compiled Flash files, which allows a Flash SWF file to be imported into an FLA. If you check the “protect from import” box in Flash, you can protect your file from being imported into a Flash file by another user.
Instructions: In Flash, navigate to “File,” and then “Publish Settings.” On the “Flash” tab, select the “Protect from Import” box and enter a password.
If your game was seriously decompiled, what do you do? If it’s a sponsored game, I would recommend alerting your sponsor and enlisting their help with dealing with the Flash site. It’s also a good idea to contact the website you’ve seen your game on via email or through their contact form to request that they remove the game. In some cases, they may not be aware that the game was illegally copied. Send them a polite and professional message to request taking it down. Good luck!
I hope you found these tips useful. Don’t forget that there is always a way to bypass protection. The tips I mentioned can make it more difficult, but make sure you use these in addition to your other encryption methods.
© Dereck Sycopre for MochiLand, 2008. | Permalink | 4 comments
Add to del.icio.us
Search blogs linking this post with Technorati
Want more on these topics ? Browse the archive of posts filed under MochiLand Topics.
by Eric on June 30, 2008 05:25 PM

Boat House is the fourth installment in the Japanese Room Escape series created by Gump, the author of Guest House, Terminal House and Rental House.
It’s time to play again with energy drinks!
If you like Gump’s games, you will surely enjoy Boat House!
Update: Boat House walkthrough in comment #63 (thanks zoomzoom!)
Update: Boat House video walkthrough!
by Karmen (jbibby@gmail.com) on June 30, 2008 03:02 PM
by jay (jbibby@gmail.com) on June 30, 2008 07:04 AM
by anarky (jbibby@gmail.com) on June 29, 2008 05:16 PM
by Eric on June 29, 2008 04:16 PM
Escape from the Box-Room is the second Room Escape game released this week by Tesshi-e, the author of Escape from the Compartment of a Truck, Escape from my Room, Escape from the Same Rooms and more. After you successfully escaped from the Restaurant three day’s ago, you find yourself trapped in a Box-Room now! Have fun! |
Update: Escape from the Box-Room walkthrough in comment #17 (thanks Snowman!)
by nGFX on June 29, 2008 03:30 PM
package
{
import flash.display.DisplayObject;
import flash.display.Loader;
import flash.display.LoaderInfo;
import flash.display.MovieClip;
import flash.display.StageQuality;
import flash.display.StageScaleMode;
import flash.events.Event;
import flash.utils.getDefinitionByName;
[SWF(width="400",
height="600",
frameRate="40",
backgroundColor="#FFFFFF")]
publicclass Preloader
extends MovieClip{
//---------------------------------------------------------------------------------------
//
Properties
//---------------------------------------------------------------------------------------
private var
logoClass:Class;
private var
logoClassInstance:Object;
//---------------------------------------------------------------------------------------
//
Constructor
//---------------------------------------------------------------------------------------
public function
Preloader() {
stop();
stage.showDefaultContextMenu=false;
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.quality=StageQuality.LOW;
addEventListener(Event.ENTER_FRAME,mainloop);
}
//---------------------------------------------------------------------------------------
//
Private
//---------------------------------------------------------------------------------------
private function
mainloop(e:Event):void{
if(framesLoaded
>= 2){
nextFrame();
triggerLogo();
removeEventListener(Event.ENTER_FRAME,mainloop);
addEventListener(Event.ENTER_FRAME,mainloop2);
}
}
//---------------------------------------------------------------------------------------
private function
mainloop2(e:Event):void{
if(framesLoaded
== totalFrames){
//It's
all loaded, has the logo finished ?
if(logoClassInstance.animCompletedFlag==true){
removeEventListener(Event.ENTER_FRAME,mainloop2);
nextFrame();
triggerGame();
}
}
}
//---------------------------------------------------------------------------------------
private function
triggerLogo():void{
logoClass = getDefinitionByName("PreloaderLogo") as Class;
if(logoClass)
{
logoClassInstance =new logoClass();
addChild(logoClassInstance as DisplayObject);
}
}
//---------------------------------------------------------------------------------------
private function
triggerGame():void{
var main:Class = getDefinitionByName("Main") as Class;
if(main)
{
var app:Object =new main();
addChild(app as DisplayObject);
app.waiting(); //Call
the singleton to kick it all off
logoClassInstance.dispose();
}
}
//---------------------------------------------------------------------------------------
}
}
package
{
import flash.display.MovieClip;
import flash.display.Sprite;
import flash.events.Event;
publicclass PreloaderLogo
extends Sprite {
//---------------------------------------------------------------------------------------
//
Assets
//---------------------------------------------------------------------------------------
[Embed("/_assets/assets.swf",symbol="gywLogoMC")]
private var
gywLogoMC:Class;
//---------------------------------------------------------------------------------------
//
Properties
//---------------------------------------------------------------------------------------
private var
gywLogo:MovieClip;
public var
animCompletedFlag:Boolean=false;
//---------------------------------------------------------------------------------------
//
Constructor
//---------------------------------------------------------------------------------------
public function
PreloaderLogo(){
gywLogo=new gywLogoMC();
waiting();
}
//---------------------------------------------------------------------------------------
public function
waiting():void{
addEventListener(Event.ADDED_TO_STAGE,logoAddedToStage);
}
//---------------------------------------------------------------------------------------
public function
dispose():void{
stage.removeChild(gywLogo);
}
//---------------------------------------------------------------------------------------
//
Private
//---------------------------------------------------------------------------------------
private function
logoAddedToStage(e:Event):void{
stage.addChild(gywLogo);
gywLogo.gotoAndPlay(1);
gywLogo.addEventListener(Event.ENTER_FRAME,waitingToEnd);
}
//---------------------------------------------------------------------------------------
private function
waitingToEnd(e:Event):void{
if(gywLogo.currentFrame==gywLogo.totalFrames){
gywLogo.gotoAndStop(gywLogo.totalFrames);
gywLogo.removeEventListener(Event.ENTER_FRAME,waitingToEnd);
animCompletedFlag=true;
}
}
//---------------------------------------------------------------------------------------
}
}
by lightsun (noreply@blogger.com) on June 29, 2008 02:23 PM