Page 1 of 1

Imagevue and SwishMax 2

Posted: 05 Dec 2007, 18:30
by zella
I have to load an image gallery (Imagevue) into a SWF movie created with SwishMax 2.
I think that my problem is setting globalpath into the swish script, not in config.ini file of imagevue folder.
If I load www.mysite.com/gallery/upload on a browser I can see the gallery, perfectly.
If I load from swf i can see only the thumbnails, but when I click on an image to zoom it, I can't see anything.

Help me please.

Movies are 800x600.

The structure of my swf (swi of swishmax 2) is:

- 2 scenes (intro, menu)
- in the second scene, called "Menu", there are one movie clip for the volume called "vol" and an empty movie clip named "Gallery", and also a text, because I want to try the same code in the movie clip and in text.

This code (for "Gallery" movie clip and text) is

on (press)
{
loadMovie("gallery/upload/imagevue.swf?globalpath=gallery/upload/");
}


Why can't I see images but only thumbnails? Shall I set variables (GET, POST)... or target - movie clip?
When I click on thumbnails image can't load, but if I click with right button of mouse I can open image in popop, or download it...

Thanks.

Posted: 06 Dec 2007, 01:56
by mjau-mjau
It should work with your approach. You generally use:
Code
loadMovie("path/imagevue.swf?globalpath=path/", movieClip);
Perhaps you have a link to your gallery?

Posted: 08 Dec 2007, 12:29
by zella
This link works:

http://www.laboratoriouno.com/gallery/upload/

This link doesn't work:

http://www.laboratoriouno.com/Gio.html

Help me please.

Posted: 08 Dec 2007, 23:33
by mjau-mjau
Hmm ... seems to work halfway, but has problems loading the image/slideshow ...

What is your exact code in the containing fla?

Posted: 09 Dec 2007, 07:18
by zella
It is not a fla. It is a swi.

http://www.laboratoriouno.com/Labo.swi

Posted: 09 Dec 2007, 22:25
by mjau-mjau
Unfortunately, I don't have swish ...

There must be a code in there somewhere for loading Imagevue - Can you post it?

Posted: 10 Dec 2007, 09:13
by zella
I put it in the first message of this thread.

on (press)
{
loadMovie("gallery/upload/imagevue.swf?globalpath=gallery/upload/");
}

Posted: 10 Dec 2007, 23:06
by mjau-mjau
yes, sorry about that ...

I don't really know what's wrong to be honest. It seems like it's something related to the structure of the SWI file. It works when using a normal FLA file -

Posted: 02 Jan 2008, 04:37
by zella
You said that with a normal .fla it works.
Please, help me to create a .fla, for example, or modify my .fla. I don't use Flash...
Thanks.


www.laboratoriouno.com/giorgia.fla

Posted: 05 Jan 2008, 01:31
by mjau-mjau
I made an example here: https://www.photo.gallery/myload.swf
The only code used:
Code
Stage.scaleMode = "noScale";
createEmptyMovieClip("mymc", 1);
loadMovie("imagevue/imagevue.swf?globalpath=imagevue/", mymc);
I downloaded the fla you have, and there are several mistakes. Here is your code:
Code
loadMovie("www.laboratoriouno.com/gallery/upload/imagevue.swf", "giorgia");
1. You do not have any movieclip called "giorgia". You need to put a movieclip on stage with that instance name, or make one with createEmptyMovieClip(As I have done in my example).

2. You should try to use relative path for "imagevue.swf", and if the file is in a remote folder, you need to use the globalpath paramter to specify the root folder of imagevue. For example:
Code
loadMovie("gallery/upload/imagevue.swf?globalpath=gallery/upload/", "giorgia");