Jump to content

Embeding/Including a flash movie that uses xml files


Nikolas.A

Recommended Posts

Hello there and thanks for your help in advance!

 

I use a flash movie in a certain directory

lets say: english/products/<prod_id>/gallery.swf

 

That movies uses the files: settings.xml, menu.xml, splash.jpg that are in the same directory as the flash,

and /images/pics.xml and pictures in that directory and pictures in the /images/thumbs/ directory.

 

I can embed the flash fine in a gallery.php file that is in the same directory as the swf file.

 

Here are the problems:

When i try to include that gallery.php file in the /english/offer.php?id=x file the movie doesn't load

If i try to embed the movie in the offer.php the movie loads ok but can't find the files it needs to work correctly.

I moved the files in the /english/ directory and the movie loaded ok so by embeding the movie in offer.php it makes the swf look for the files in /english/ directory instead of english/prod_id/

 

I can't hardcode it in the flash movie because its a user gallery and each user will have his own gallery and files.

And i m not that good at flash so i dont know how to change the flash so it would use parameters from php.

 

Is there a way in php to include or embed the flash movie and force it to read the files from the correct directory?

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.