gallery AS probs
- Started
- Last post
- 5 Responses
- bassik
Can't get this code working.
I have a master.swf that loads the gallery.swf mc, and the gallery mc loads the individual event mc into it's _root timeline. The jpgs all come from gallery/ which is in the same directory to all of the above mc's.
But at the moment the individual event.swf run perfectly but when loaded into the gallery.swf the images don't load.
HELP!!
http://pastebin.coconut.se/?id=4…
- nadnerb0
var p = _root.photo;
shouldn't that be this.photo? or _parent.photo?
- bassik0
you're probably right, bit it didn't change anything.
I'm actually getting a NaN in the output window.
Any other thoughts, anyone else?
- jmteow0
Probably a problem with your loaded movie addressing the root timeline.
In your gallery.swf FLA file, type
_lockroot = true;
on the main stage.
Re-export it, and then have a looksie at your master.swf file again.
- bassik0
jmteow,
I think you're on the right track but still not working.
This is the order:
master.swf
> gallery.swf
> event.swfIt's not even working in the gallery.swf let alone the master.
Anymore thoughts?
- jmteow0
Hmm... not sure then. I recreated the file structure and AS by myself, and everything worked fine for me.
If you want, send me the files via e-mail, and I'll take a look.