Skip to content

Loading images assets that are dynamically generated (using a Servlet for example) does not work #7

@lvignals

Description

@lvignals

Loading images assets that are dynamically generated (using a Servlet for example) does not work.

Example use:

//THAT URL WORKS IN A BROWSER, AND AS AN AWAYJS LOADED ASSET.
this.imageURL = "cubebitmap2.png"

//THAT URL WORKS IN A BROWSER, BUT NOT AS AN AWAYJS LOADED ASSET.
this.imageURL = "ImagesToGrid?icolor1=gray&data1=1&data2=2&data3=3&data4=4&icolor4=gray";

this.token = AssetLibrary.load(new URLRequest(this.imageURL));



Error generated Chrome debugger console:

Uncaught #
e.parseDependency @ awayjs-dist-require.js:5
e.onLoadComplete @ awayjs-dist-require.js:5
_onLoadCompleteDelegate @ awayjs-dist-require.js:5
t.dispatchEvent @ awayjs-dist-require.js:2e.onLoadComplete @ awayjs-dist-require.js:5
_XHR.onload @ awayjs-dist-require.js:5


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions