Hi Jhonny,

jhonny thio wrote:
> I've found it.
> 
> Please specify what you mean with "doesn't work well".
> ====> The game doesn't work as well as normal..
> 
> The game can't work well because I run it on IE. If I run it in 
> modzila/Opera, it can work well. 
> Someone can tell me why the flash game from 
> http://www8.agame.com/mirror/flash/b/bloonstd2.swf can't work well on IE?
> Not just that game, but some of the other game from agame.com also don't work 
> well on IE
Then this issue has to be fixed from the guys at agame.com and nothing 
to do with qooxdoo development.

> I have another question.
> myWindow._closeButton.addEventListener("execute", function(e){
>                myWindow.close();
>                myWindow.removeAll(); // remove all chid of a object
>                d.remove(myWindow); //remove a object from the page (from the 
> DOM?)
>                myWindow.dispose(); //dispose object (from Qooxdoo internal 
> arrays?)
>                myWindow=null; // reinit the object                
> }, myWindow);
> 
> This procedure run when we press the "X" on right top corner. In the myWindow 
>  :
> 
> myWindow._flashPlayer = new 
> qx.ui.embed.Flash("http://www8.agame.com/mirror/flash/b/bloonstd2.swf";);
> myWindow.flashPlayer .setEdge(20);
> myWindow.flashPlayer .setBorder("inset");
> myWindow.flashPlayer .setBackgroundColor("#000000");                
> myWindow.add(this.flashPlayer );
> 
> When I open myWindow, the flash will play the game and it play the game's 
> sound too. But when I pressed "X", the flash still playing. So myWindow has 
> closed, but the sound of the game still playing. I think when I pressed "X", 
> the myWindow._flashPlayer  is not removed. But I have call  
> myWindow.removeAll(); when I pressed "X". Someone know this problem?
When a window is closed it is not removed from the DOM, it just gets 
hidden. This is done to increase the performance when reopening the 
window. So if you want to stop the flash game you have to stop it 
manually by calling "play(false)" or by removing the flash embed from 
the window.

cheers,
   Alex

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to