Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 534
  • Last Modified:

Changing image path with Zoomify doesn't change image right away.

I have a drop down that changes the image path for Zoomify,  the problem is the image doesn't change until the interface is clicked or dragged.    imageCombo is a combo box on the stage. viewer is the Zoomify component on the stage.  The path is set correctly as the image does change with user interaction.  The combo box is triggering the change, I have output a trace and also debugged. Is there something I have to invalidate to get Zoomify to load the image?




function change(evt){
	_root.viewer.setImagePath(evt.target.selectedItem.data["file_imagePath"]);
}
 
imageCombo.addEventListener("change", this);

Open in new window

0
Joomlajohn
Asked:
Joomlajohn
  • 4
  • 2
1 Solution
 
blue-genieCommented:
is this the zoomify from zoomify.com?
if so have a look where setImagePath is called.
and try calling that again with the new image.
0
 
JoomlajohnAuthor Commented:
This is Zoomify from zoomify.com.  I have traced and debugged the path being passed to setImagePath(). The correct path is being passed and is loading when user interaction happens, dragging, zooming in/out, not before then.
0
 
blue-genieCommented:
ok i'm not familiar with zoomify, but i was looking at the APIs and that's what i mean.
i'm thinking you need to call that again each time
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
JoomlajohnAuthor Commented:
updateView() needs to be called after anything changes.
0
 
blue-genieCommented:
in the interest of knowledge sharing care to share the solution.
0
 
blue-genieCommented:
sorry my bad. i didn't see that post when i first got the email.
0
 
ee_autoCommented:
Question PAQ'd, 500 points refunded, and stored in the solution database.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now