I was wondering if someone could help me with this flash problem. It?s
probably really easy (one or two lines of code) but for some reason I can?t
seem to figure it out.
I simplified the design to make it easier. I just need help with the code.
I?m trying to load ?slideshow.swf? (after ?but2? is pressed) into
?mainPage.swf?. If you play the slideshow.swf by itself it works exactly how I
want it to. But when you execute the mainPage.swf with the loaded
slideshow.swf file most of if seems to work (after pressing "play") except that
the jpg slide show does not start and no jpg images load up at all. The xml
files controls the jpgs and the text and since the text part works I know that
it sees the .xml file? so something is not letting the jpg?s work.
I?m using flash 8 and Action 2 (haven?t upgraded CS3 yet).
I really appreciate any help.
Tim
Here's the link to the files:
zip:
http://www.aurafigueiredo.biz/supportHelp/flashGallery.zip
rar:
http://www.aurafigueiredo.biz/supportHelp/flashGallery.rar
kglad - 10 Jul 2008 02:31 GMT
try adding:
this._lockroot=true;
to the main timeline of slideshow.swf
timVFXflash - 10 Jul 2008 02:51 GMT
Wow, thanks for the quick response.
Sorry for being suck a newbie, I'm not really sure where to put that line of
script. I have 3 "action" keyframes in the slideshow.fla file. I tried
putting it in various places, but I feel like I'm blindfolded. Any ideas?
Thanks again for your quick response...
kglad - 10 Jul 2008 03:01 GMT
you should be able to attach it anywhere just as long as it executes before any code that uses _root executes.
timVFXflash - 10 Jul 2008 03:08 GMT
I think I got it. Thanks again. Very Cool.
For some reason the transitions are a little jerky now, so I'm going to mess around with the fps...
Awsome!
kglad - 10 Jul 2008 06:05 GMT
you're welcome. the fps of your loaded swf is determined by the fps of your _level0 loading swf.