show gallery in an area of a flash movie

excalibre

Joined: 2008-12-22
Posts: 14
Posted: Sun, 2011-10-09 11:13

Hi.

I am trying to use my gallery install in an existing flash movie

I have several buttons in the movie and want one of them to load my gallery into a predefined area of the flash movie.

is this possible, viable or is it just not feasible?

Any help would be appreciated (oh and i am only mediocre with flash and by no means an expert).

Thanks in advance.

Steve
eX

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2011-10-09 12:42

Buy yourself a copy of SlideshowPro for flash developers.
Grab a copy of one of my SSP->G2 connector scripts and whalah.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
excalibre

Joined: 2008-12-22
Posts: 14
Posted: Wed, 2011-10-12 23:42

Thanks Very Much Suprsidr sounds great.

I am however having a problem.

This solution sounds so simple yet i ca not get the slideshowpro flash to work.

I changed the line 30 as required, uploaded to the gallery folder (just gallery in my case) - dragged the slideshowpro player to the stage and changed the xml file path to http://mysite/gallery/opml.php and set the type to opml

all i get is a black box where the player is meant to be.

i have changed the path for the xml file to FULLY QUALIFIED DOMAIN/gallery/opml.php and also tried /gallery/opml.php and also gallery/opml.php.

The part that is confusing me as far as i can tell is that the properties and the website for this plugin, states file.xml and images.xml

you are changing to opml.php not xml and you do not use an images.xml as they do. is this all ok or am i missing the big picture.

please help out this dummy and get his gallery flashed. ;-$

Regards

UPDATE:: i have loaded up mydomain/gallery/ssp.php and i get a list of my galleries and no style information at the top of the page - just in case this helps - as it appears to be finding the information.

gallery/opml.php shows nothing at all - just a white screen when loaded directly.

Hope this helps find my problem.

regards

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2011-10-12 23:53

You also need ssp.php so both files(opml.php and ssp.php) need to be in your /gallery/ directory
ssp.php also needs line 30 configuration.

visit your opml and view source to see if it is generating an album list like mine.
opml generates an album list whereas ssp.php displays the albums.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
excalibre

Joined: 2008-12-22
Posts: 14
Posted: Sun, 2011-10-16 22:46

Ok so far i get:-

if i look at the source for ssp.php i get the correct fullyqualified path to the gallery links
if i look at the source for opml.php i only get the local address for the links.

ssp.php =

Quote:
<gallery>
<album title="Black Cove" tn="http://MYDOMAIN.co.uk/gallery/main.php?g2_view=core.DownloadItem&g2_itemId=36&g2_serialNumber=2&g2_GALLERYSID=TMP_SESSION_ID_DI_NOISSES_PMT">
<img id="33" title="P5200010.JPG" caption="" link="http://MYDOMAIN.co.uk/gallery/main.php?g2_itemId=33&g2_GALLERYSID=TMP_SESSION_ID_DI_NOISSES_PMT" src="http://MYDOMAIN.co.uk/gallery/main.php?g2_view=core.DownloadItem&g2_itemId=33&g2_serialNumber=1&g2_GALLERYSID=TMP_SESSION_ID_DI_NOISSES_PMT" tn="http://MYDOMAIN.co.uk/gallery/main.php?g2_view=core.DownloadItem&g2_itemId=34&g2_serialNumber=2&g2_GALLERYSID=TMP_SESSION_ID_DI_NOISSES_PMT" target="_blank"/>
<img id="38" title="Garden eels.JPG" caption="" link="http://MYDOMAIN.co.uk/gallery/main.php?g2_itemId=38&g2_GALLERYSID=TMP_SESSION_ID_DI_NOISSES_PMT" src="http://MYDOMAIN.co.uk/gallery/main.php?g2_view=core.DownloadItem&g2_itemId=38&g2_serialNumber=1&g2_GALLERYSID=TMP_SESSION_ID_DI_NOISSES_PMT" tn="http://MYDOMAIN.co.uk/gallery/main.php?g2_view=core.DownloadItem&g2_itemId=39&g2_serialNumber=2&g2_GALLERYSID=TMP_SESSION_ID_DI_NOISSES_PMT" target="_blank"

and for the opml =

Quote:
<body>
<outline type="xml" xmlUrl="http://192.168.200.59/gallery/ssp.php?g2_itemId=27" />
<outline type="xml" xmlUrl="http://192.168.200.59/gallery/ssp.php?g2_itemId=29" />
<outline type="xml" xmlUrl="http://192.168.200.59/gallery/ssp.php?g2_itemId=28" />
<outline type="xml" xmlUrl="http://192.168.200.59/gallery/ssp.php?g2_itemId=30" />
<outline type="xml" xmlUrl="http://192.168.200.59/gallery/ssp.php?g2_itemId=31" />
<outline type="xml" xmlUrl="http://192.168.200.59/gallery/ssp.php?g2_itemId=32" />

my gallery just shows a black box where ssp is supposed to show the gallery

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sat, 2011-10-15 00:55

that would create a crossdomain conflict.
you can change function init() in opml.php to match ssp.php

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
excalibre

Joined: 2008-12-22
Posts: 14
Posted: Sun, 2011-10-16 22:47

Just reporting back - sorry for the delay but just got round to trying.

YES this does get the gallery working.

Thank you so much for taking the time to help me get it up and running.

EDIT: Removed my site links for my own security purposes.