How to Change the Source of MultiScaleImage at Runtime?
Hello Daniel
I'm working on a FLASH site that should use the MultiScaleImage.
I want to make a template for loading different zoom-images, but I have several problems:
I cannot implement it in Flash. I just can make a Flex swf and load it into Flash...
I dont want to make a Flex swf for each zoom-image. I just want to make a Template, load it into Flash, set the XML descriptor and init it.
I can load it into Flash and access the component, but when trying to set the XML descriptor, it not reloads the new XML configuration.
Is there a way to change the zoom-image on the fly?
I've read that the system works in both Flash and Flex but I've not finded the Flash component, (just the Flex one)
Is there a way to implement it in Flash directly (not Flex)
Thanks in advance....
I'm working on a FLASH site that should use the MultiScaleImage.
I want to make a template for loading different zoom-images, but I have several problems:
I cannot implement it in Flash. I just can make a Flex swf and load it into Flash...
I dont want to make a Flex swf for each zoom-image. I just want to make a Template, load it into Flash, set the XML descriptor and init it.
I can load it into Flash and access the component, but when trying to set the XML descriptor, it not reloads the new XML configuration.
Is there a way to change the zoom-image on the fly?
I've read that the system works in both Flash and Flex but I've not finded the Flash component, (just the Flex one)
Is there a way to implement it in Flash directly (not Flex)
Thanks in advance....
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
The company marked this question as answered.
-
Inappropriate?Pablo,
Yes, there are Flash equivalents to the OpenZoom SDK Flex components. You can find them in the org.openzoom.flash.components package.
To switch images on the fly, you have to reset the source property of the MultiScaleImage component. For an example in Flex, check out the OpenZoom Gallery example.
At the moment there are two Flash only examples in the OpenZoom repository:
InteractiveRenderers
Mapping in Flash
Cheers,
Daniel
The company says
this answers the question
-
Inappropriate?When I try to just say map.source = newSourcePath;
If the the new source image is smaller than the old one, then I can see the old image beneath the new one? -
Inappropriate?Lasse,
Thanks for reporting this. Could you please a share a link to an example and its source code that reproduces the problem. I'll have a look at it.
–Daniel
Loading Profile...




EMPLOYEE