Get your own customer support community
 

How Do I Use OpenZoom with Deep Zoom Composer Output?

Edited on 09/05/09
Daniel,

Sorry, but my brain is obviously just not working. I have tried various things to get the image to render correctly but I think I'm now goig around in circles...

I have my AS code delared thus:

import org.openzoom.flash.descriptors.deepzoom.DeepZoomImageDescriptor;

private var path:String = "GeneratedImages/dzc_output.xml"
private var xml:XML = <image>
<size height="2576" width="1932">
</size></image>;

[Bindable]
public var image:DeepZoomImageDescriptor = DeepZoomImageDescriptor.fromXML(path, xml);

and my MXML:

<mx:panel title="MultiScaleImage" height="286" width="620">
<openzoom:deepzoomcontainer height="210" width="580">
<openzoom:transformer>
<transformers:tweenertransformer>
</transformers:tweenertransformer></openzoom:transformer>
<openzoom:controllers>
<controllers:mousecontroller>
</controllers:mousecontroller><controllers:keyboardcontroller>
</controllers:keyboardcontroller></openzoom:controllers>
</openzoom:deepzoomcontainer>
</mx:panel>

I ahve also tried using it with the output from DSC coming as both a collection and a composition, but I definitely can't get the reuslts I want. I had a look at the getLevelForSize() method, but am confused as to how to iplement it correctly.

Any pointers you can give will be very gratefully received.

Sincerest regards,

Huw Davies.
 
silly I’m confused (and maybe dumb!)
Inappropriate?
3 people have this question

The company marked this question as answered.

See the changes made to this question
User_default_medium