Hi,
Maybe using the #asset() will solve the issue.
Check out :
http://qooxdoo.org/documentation/0.8/ui_resources
for more details
BR
Amit
Florian Giesen wrote:
> Hello List,
>
> I have some external images to be loaded im my Qooxdoo app but don't
> get rid of the annoying "Unknown image : bla/bla/bla.png" debugger
> lines. Here is my code, wich I hoped would solve this, but it did not.
> Any hints are welcome!
>
> Regards, Florian
>
>
>>>>> SNIP >>>>
>>>>>
> createLangMenu: function(event)
> {
> var langMenu = new qx.ui.menu.Menu();
>
> var data = event.getData().result; // array containig my image infos
> var imgUrl = "";
> for (var i = 0; i < data.length; i++)
> {
> imgUrl = "modules/Languages/images/flags/16/"+data[i].flag;
> qx.io2.ImageLoader.load(imgUrl, this.addLangEntry(langMenu,
> data[i].name, imgUrl), this);
> }
> },
>
> addLangEntry : function(menu, name, url){
> menu.add(new qx.ui.menu.Button(name, url, this._langSelCmd));
> },
> <<<< SNAP <<<
>
> ------------------------------------------------------------------------------
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>
--
Amit Rana
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel