Page 1 of 1

Load Imagevue v2 in swf

Posted: 09 Dec 2008, 17:12
by mo|series
Hail Power Team,

How can I do the following with v2 Beta? Mine doesn't work if I use:

loadMovie("imageVue.swf?folder=content/group/imagefolder/", target)

-------------------------------------------------------------------------------------

Load Imagevue in swf
You can easily use imageVue in any Flash project by loading it into the page as a movieclip. The only requirement is that your main Flash file supports the minimum dimensions of 700x450 pixels needed for imagevue.

Example 1.1
loadMovie("imagevue.swf", targetMovieClip);

When loading imageVue into another Flash, you also need to make sure you embed the necessary imagevue menufont in your main flash. This might be considered a flashbug, since it seems like an excessive task. There is an example of loading imageVue into another Flash in the downloaded files /source/misc/loadtest.fla.

You can also specify the special features directly through the URL reference:

Example 1.2
loadMovie("imageVue.swf?folder=content/group/imagefolder/", target)

Re: Load Imagevue v2 in swf

Posted: 09 Dec 2008, 23:34
by mjau-mjau
mo|series wrote:How can I do the following with v2 Beta? Mine doesn't work if I use:

loadMovie("imageVue.swf?folder=content/group/imagefolder/", target)
First of all, you can't use the same code for imagevue V2 as you may have done for V1. For V2, it would be something like:
Code
loadMovie("gallery/imagevue2.swf", movieClip);
With startpath:
Code
loadMovie("gallery/imagevue2.swf?startpath=content/somefolder/", movieClip);

Problems with css if load imagvue in swf

Posted: 10 Dec 2008, 15:12
by mo|series
Problem resolved! But I loose all the css theme options.

For example:
.textpage_title{
display: none;
}
has no effect at all. Lost all the colors etc.

and I also don't know the frame rate of the imagvue2.swf. My gallery is very slow at the moment.

Last question: Is it possible to remove the gallery menu. I want some buttons in my parent swf file to interact with the gallery in the same way as the original menu does. So maybe you can provide me the codes for the buttons?

Thanks again

Posted: 10 Dec 2008, 21:28
by mjau-mjau
I'm not sure why the CSS is not working. Somehow it is not loading the CSS file perhaps ... Do you have a link? Is your container document in gallery root folder?

Frame rate is set very high in imagevue. You will need to set your framerate high in your parent flash if you want it to work similar as the original.

You can easily remove the gallery menu. Go to admin -> config -> menu.mainmenu.enabled - Uncheck the item.

Problems with loading imagevue in swf

Posted: 11 Dec 2008, 20:24
by mo|series
Here is the link:

http://www.de6eversnelling.eu/testgallery.html Press the small red button please.

I have my index.swf loading imagevue->imagevue2.swf in the red box. You can see that the whole theme is lost. Also the gallery appears way out of boundaries and the thumbnailscroller doesn't appear.

I also want to be able to start the audio from the container document (just a little trick to play around the loading). Herefore I need the button code for playing the audio. Furthermore I would like to know the codes for any button of the mainmenu to control it from the container document as well.

I really appeaciate the time and effort you already put in for me. When my gallery is done I will mention your name.

Posted: 11 Dec 2008, 23:47
by mjau-mjau
What actionscript version and what player version are you exporting your flash as? It needs to synch with imagevue, so it should be flash player 8 or 9 and AS 2.0.

In regards to the positioning, there are many requirements that need to be met if you want to load imagevue2.swf into a custom file. For one, you need to build your site around full-screen with the following values:
Code
Stage.scaleMode = "noScale";
Stage.align = "TL";
Nobody is saying it's simple to integrate the gallery into a custom swf, especially if you had plans about moving it around here and there.

I think perhaps you are underestimating the values that come from button clicks in the main menu. It performs multiple actions and events depending on the type of menu item clicked, and in what mode the gallery currently is. Also, it operates out of NODE-mode from XML and can't simply be triggered externally.

I suggest you read this document if you want to proceed with what you are trying to do:
viewtopic.php?t=4233

Posted: 12 Dec 2008, 09:27
by mo|series
Ok thank you.

I was actually toying around with the possibilities. Now I am able to start designing.