|
||||||||||||||
|
|
|||||||||||||
|
|
|||
|
|||
|
|||
|
Flow of control | ||
|
|
|
|
|
|
The ultimate aim of WebRenderer Server Edition is to provide rendered pages to the caller without the requirement of rendering the page to a screen. After a document has completely loaded (including content such as images), via loadURL or loadHTML an onDocumentComplete event is fired. After this time, it is safe to save the rendered page to a bitmap. The code below shows use of the onDocumentComplete NetworkEvent to do this. |
|
|
|||
|
browser.addNetworkListener(
new NetworkAdapter() { |
||
|
|||
With
the example above the path for saving image file
is the directory from which the application was run. |
|||
|
|
|
|
|
|
|
|
|
|
Copyright © JadeLiquid Software - www.jadeliquid.com |