Skip to main content
May 1, 2007
Question

Help - my photo xml photo album's on fire...:)

  • May 1, 2007
  • 1 reply
  • 201 views
Hello there,

I have recently completed the tutorial on how to make a slideshow with thumbnails. It is found here: http://www.kirupa.com/developer/mx2004/thumbnails.htm . I figured this would be a great way to show off a friends photogallery. The site is viewable here: www.prestigeinteractive.com/anneliephotography .

Well I can get it to work, however, when I try to load the swf file into another fla, the paths are messed up. Sadly, I am not good with code, so I am wondering what lines would need to be fixed in order to make this code work?

First I will tell you how I've structured the site.
- I have a swf file that basically loads a bunch of swf files into their appropriate x y coordinates.
- I have buttons that when selected open up external swf files into a movie clip called siteContentPage_mc . (this is where the site's content is loaded)
- On one page that is called portfolio, I want to have my slideshow photogallery page load. I am wondering how I would have to modify the code to make it work in this setting. I know it has to do with paths, but I am not sure which one's need changing. Currently the xml file resides in the folder with the swf files.

Here is the code at this time.

This topic has been closed for replies.

1 reply

Participating Frequently
May 1, 2007
here is 2 situation always happen when a swf loaded into another.

1) root of loaded swf point to root of main movie.
Attach script below to 1st frame of your loaded gallery swf.
this._lockroot = true;

2) if both of your swf located in different directory, the xml & picture path should be relative to the main swf.