Page 1 of 2
Integration into other FLASH - Sites
Posted: 23 Oct 2008, 10:23
by pat_morita
hi all,
dunno if this is the right forum i'm posting in, but didn't find anything else similar relating to V2.
Through to V2 seems to be way more complicated in its basic construction than V1, will it still be possible to integrate it into other FLASH Sites (more or less easily)?
Pat
Posted: 24 Oct 2008, 01:04
by mjau-mjau
Technically, it can be done easily. You would simply use something like:
loadMovie("imagevue/imagevue2.swf", movieClip);
... remember to use globalpath if the parent SWF is not in the main gallery folder. F.ex.:
loadMovie("gallery/imagevue/imagevue2.swf?globalpath=gallery/", movieClip);
Unfortunately, we haven't be able to do any specific testing and there may be current limitations to the layout if you want to place the gallery in a specific location, and limit the area for the gallery. We will have to look into options for this later ...
For now, you can be sure it will load into your parent fla, but it will by default take the entire stage from movieclip coordinates. I have made an example here:
https://www.photo.gallery/soda/custom.swf
Posted: 24 Oct 2008, 02:56
by pat_morita
ah! ok, thank you!
maybe an idea: Could you add an option for a "close" button, maybe just setting a global variable to true or something so that i can easily unload V2 if loaded into another flash movie by just reading that variable? Then i wouldn't have to modify the source fla's.
--> relating to my post from V1 >>
click here<<
pat
Posted: 24 Oct 2008, 21:16
by mjau-mjau
pat_morita wrote:maybe an idea: Could you add an option for a "close" button, maybe just setting a global variable to true or something so that i can easily unload V2 if loaded into another flash movie by just reading that variable? Then i wouldn't have to modify the source fla's.
I could, but why don't yo just create your own "close" button and position it wherever you want in a layer above the movieclip where you load imagevue? Just set it to remove slideshow movieclip.
Posted: 27 Oct 2008, 13:54
by pat_morita
that was the first thing i did. Well, it works, but ... if i have the main menu from imagevue, why not using its own close-button, keeping the design as clean as possible..?
one global variable would be enough
Pat
Posted: 29 Oct 2008, 03:41
by mjau-mjau
Sure, but where would you have this "close" button located? You want it in the main menu "Close gallery"?
Posted: 29 Oct 2008, 04:42
by anytime732
Hi, im really sorry to be the dumb guy but im very new to web dev stuff, so far ive managed to embed the v2 gallery in an html page but now my site is beeing converted to flash, as im new to flash too ive been having difficulty loading the gallery onto the site, i tried adding the code to my flash project but im not sure if i placed it in the right place! would it be possible for some quick intructions on how to embed the gallery into a flash project??
thanks in advance for all you time
Posted: 29 Oct 2008, 06:27
by pat_morita
mjau-mjau wrote:Sure, but where would you have this "close" button located? You want it in the main menu "Close gallery"?
hi karl,
there might be two possibilities as far as i can see:
1.) Include it in the
main menu like you suggested. Good for those who include the whole gallery incl. thumbnails and all folders accesible.
2.) What i want to do: Include it in the
main controls like the "X" in V1 for those who just want to use the slideshow as standalone without folders and main menu.
What i did (actually) in V1 is -in order to keep the design as clear as possible- i added a global variable in the source fla into the code of the main menu close button. If it changes its value, the slideshow is unloaded.
Pat
Posted: 29 Oct 2008, 22:09
by mjau-mjau
anytime732 wrote:Hi, im really sorry to be the dumb guy but im very new to web dev stuff, so far ive managed to embed the v2 gallery in an html page but now my site is beeing converted to flash, as im new to flash too ive been having difficulty loading the gallery onto the site, i tried adding the code to my flash project but im not sure if i placed it in the right place! would it be possible for some quick intructions on how to embed the gallery into a flash project??
You can't EMBED the gallery into a SWF - You can however LOAD the gallery into another SWF file. If you read the top few explanations in this topic, I am not quite sure what to add. Load the gallery like this:
loadMovie("imagevue/imagevue2.swf", movieClip);
Keep in mind the restrictions and mentioned in the earlier posts.
Posted: 29 Oct 2008, 22:16
by mjau-mjau
pat_morita wrote:1.) Include it in the main menu like you suggested. Good for those who include the whole gallery incl. thumbnails and all folders accesible.
2.) What i want to do: Include it in the main controls like the "X" in V1 for those who just want to use the slideshow as standalone without folders and main menu.
Of course this can be done quite easily, although I am slightly skeptical to the methods. I don't see why anyone would have a "close" button in the main menu. It certainly wouldn't be the standard place for a user to look. Also, a close button in the maincontrols doesn't seem very intuitive to me either... Closing a module that is loaded into another flash page should be available by navigating away from the gallery in the native page menu, or perhaps by some breadcrumb links at the top/left ... If I visit a gallery page on a website, I don't expect to see a close button - I expect to be able to navigate away from it through the generic page menu ... If anything at all, a close button would perhaps implify that the current image being viewed would close.
Posted: 30 Oct 2008, 06:06
by anytime732
hi
ive tried the command above, i inserted a new symbol as a movie clip then hit f9 and entered in the code with the correct location but when i load the page all i get is the background colour of the movie clip.
any ideas??
oh and when i exported as a flash move i set it to actin script 3 and flash 9!
Posted: 30 Oct 2008, 10:31
by pat_morita
anytime732 wrote:
any ideas??
read older posts as karl metnioned and ... my hint: try the searchfunction ...
Its hard to give any hints if you just talk about a black screen...
Posted: 30 Oct 2008, 10:36
by pat_morita
mjau-mjau wrote:pat_morita wrote:1.) Include it in the main menu like you suggested. Good for those who include the whole gallery incl. thumbnails and all folders accesible.
2.) What i want to do: Include it in the main controls like the "X" in V1 for those who just want to use the slideshow as standalone without folders and main menu.
Of course this can be done quite easily, although I am slightly skeptical to the methods. I don't see why anyone would have a "close" button in the main menu. It certainly wouldn't be the standard place for a user to look. Also, a close button in the maincontrols doesn't seem very intuitive to me either... Closing a module that is loaded into another flash page should be available by navigating away from the gallery in the native page menu, or perhaps by some breadcrumb links at the top/left ... If I visit a gallery page on a website, I don't expect to see a close button - I expect to be able to navigate away from it through the generic page menu ... If anything at all, a close button would perhaps implify that the current image being viewed would close.
i understand your point of view. i'll shortly explain my little project:
the slideshow opens up in front of the website - means the website itself gets greyed out (like lightbox). now i need a close button in the slideshow itself to unload it. True, i could use my own menue and position it above the layer. It'll just kill the design, because my website design doesnt fit to the slideshow look. So i tried to keep it separate via greying out, because i dont want to use other slideshow technic. I fell in love with Imagevuex

Posted: 31 Oct 2008, 01:26
by mjau-mjau
anytime732 wrote:oh and when i exported as a flash move i set it to actin script 3 and flash 9!
You may need to export as flash8, AS2 ...
Also, make sure your paths are right. The document that loads imagevue.swf, where is it located? If it's not located in the main gallery folder, then you need to use globalpath parameter.
Posted: 04 Nov 2008, 19:30
by l2net
I will forgive pardons for my English (the electronic translator).
As the code for gallery loading not on all screen, and in the size of page (approximately 500 – 500 pixels) should look?
What minimum window for correct work of gallery?
In advance thanks!