Solved

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

Posted on 2008-10-29
7
520 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
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
anti-download video publishing site? 6 615
How to convert image files to a movie file 6 111
Actionscript in Flash 3 61
Flash ActionScript 6 53
This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

809 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