Page 1 of 1

Imagevue & Flash - Revisited

Posted: 28 Jan 2008, 11:03
by mambrain
Hi all,

I got imagevue to work in a flash file, but for some reason, some config options are not working (those linked to navigation).

So the right-click menu is empty regardless of what I specify in the config file and there are only basic navigation options. The following are 2 examples using the same imagevue and config files, but one is loaded in html, the other is in swf. Note the difference when you right-click on a thumb or image:
http://www.lebanesespirit.com/maya/html/home.html (Click on Maya's Work)
http://www.lebanesespirit.com/maya/gall ... /index.php

Another difference is the speed with which the menu slide in and out, and I'm assuming this would be resolved with the config issue.

One less minor issue is that the menu font sometimes looks distorted in flash but not in the html file. I fixed this by re-exporting the imagevue.swf from the source file, but the numbers indicating number of images in folder are still distorted

Thank you in advance

Posted: 28 Jan 2008, 21:39
by mjau-mjau
Let me get straight to the points:

# Not only the fonts look distorted, but also lines and shapes also. This happens if you are loading Imagevue into a movieclip, and the movieclip is not placed in 'absolute' pixel position. For example, it may be positioned at x: 20.5 y:40.5 which leads to an unwanted anti-aliasing/blurring of text and shape. Remedy: Make sure your movieclip is in absolute coordinates, f.ex.: x: 20.0 y: 40.0

# The reason the speed of the gallery is slower, is because it inherits the framerate of your parent flash, which is lower than the original Imagevue. The only way around this is to set the framerate(FPS) of your parent flash higher, so that the gallery will inherit a higher framerate more similar to the original framerate (41).

# Unfortunately, there is a limitation with the right-click functions in Flash, that they only may work from the root level or movieclips on the root level. By providing an extra overhead level when loading imagevue into another flash, the right-click does not want to work anymore. There is a workaround for this from the code perspective which I will be integrating into next release.

Posted: 28 Jan 2008, 22:56
by mambrain
Thanks Karl for your quick and helpful reply.

I will fix the "fixable" stuff as per your suggestion. I have a comment regarding the "Right Click" though. Your loadtest.swf found at https://www.photo.gallery/loadtest.swf has right-click enabled in it. I am loading the file into a blank movieclip in the root flash movie exactly as What you did. What's the difference? How did yours work?

Thanks again for your help


EDIT:
I fixed the distortion and the speed as per your advice and they both worked perfectly. Thanks. All that's left now is to get the right menu to work by comparing my file to the loadtest.fla file, unless your imagevue differs.

Posted: 06 Feb 2008, 01:23
by mjau-mjau
mambrain wrote:I will fix the "fixable" stuff as per your suggestion. I have a comment regarding the "Right Click" though. Your loadtest.swf found at https://www.photo.gallery/loadtest.swf has right-click enabled in it. I am loading the file into a blank movieclip in the root flash movie exactly as What you did. What's the difference? How did yours work?
To be honest, I don't know - Perhaps you are exporting in Flash 6? (right-click requires flash 7 if I remember correctly) Perhaps you have some functions in your main flash that are interfering with the imagevue right-click functions?