Displaying swf files in G2

doceave

Joined: 2009-01-20
Posts: 176
Posted: Thu, 2010-03-18 21:12

Hi guys, perhaps another one line answer to make my day... How can I display swf files in G2? Said swf file has a dependency folder.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2010-03-18 21:30

that dependency needs to be in the same relative path from main.php as it would standalone.

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

 
doceave

Joined: 2009-01-20
Posts: 176
Posted: Thu, 2010-03-18 21:37

Sorry...? The same relative path from main.php...

So I have a swf file and a dependency folder. The swf goes into an ablum: G2data/album/flashpanoramics/pano1.swf
Where does the dependency folder go?

Thanks

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2010-03-18 21:44

flash animations need their dependencies relative to where they are being displayed, not where they actually reside.
So the swf is being displayed @ main.php which is in gallery's root wherever that may be on your site.

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

 
doceave

Joined: 2009-01-20
Posts: 176
Posted: Thu, 2010-03-18 22:04

I'm still not having any luck... dependency folder is in /gallery2/ along with main.php and the swf I have uploaded into an album main_gallery/panos/

Am I understading you correctly?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2010-03-18 22:10

Well, I know nothing about the swf, standalone where do the dependencies usually reside?

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

 
doceave

Joined: 2009-01-20
Posts: 176
Posted: Thu, 2010-03-18 22:13

Dependency files in a folder which accompanies the swf

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2010-03-18 22:46

and your viewing the swf through gallery2/main.php or is your gallery embedded?
a link would have helped back in your first post.

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