Hi Stefan,

your code looks good, but you are using a URL and not a qooxdoo resource id in your constructor, so please ensue that the flash file is relay loaded.

You can also use the qooxdoo resource system, when you are not sure. Copy the file to the resource folder like the "test.png" in a skeleton application, check the compiler hint (#asset) and then you can use it like:
var flash = new qx.ui.embed.Flash("myAppName/test.swf");

Please ensure that you are not using a adblocker plug-in, this can block all method calls to flash. Also ensure that your application is started from the http protocol (NOT from file), otherwise the Flash Player doesn't allow a communication for security reasons.

Cheers,
Chris

Am 17.08.2010 17:52, schrieb Stefan Andersson:
var container = qx.ui.container.Composite(new qx.ui.layout.VBox());

var flash = this.__flashObj = new qx.ui.embed.Flash("/test.swf");

flash.addListener("appear", function(e) {
     var flashFE =  flash.getFlashElement();
     flashFE.GotoFrame(1);
}, this);

container.add(flash);

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to