Solved

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

Posted on 2008-10-29
7
524 Views
Last Modified: 2013-11-11
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
Comment
Question by:Joomlajohn
  • 4
  • 2
7 Comments
 
LVL 39

Expert Comment

by:blue-genie
ID: 22839157
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
 
LVL 1

Author Comment

by:Joomlajohn
ID: 22843494
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
 
LVL 39

Expert Comment

by:blue-genie
ID: 22843704
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!

 
LVL 1

Author Comment

by:Joomlajohn
ID: 22843923
updateView() needs to be called after anything changes.
0
 
LVL 39

Expert Comment

by:blue-genie
ID: 22844134
in the interest of knowledge sharing care to share the solution.
0
 
LVL 39

Expert Comment

by:blue-genie
ID: 22844143
sorry my bad. i didn't see that post when i first got the email.
0
 

Accepted Solution

by:
ee_auto earned 0 total points
ID: 22884124
Question PAQ'd, 500 points refunded, and stored in the solution database.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question