Hey all,
Once in a while I have a client of mine trying to load one of my modules, I mean a module I sell separately, or a map for example, into someone else’s fullscreen template.
But they get alignment issues because those templates have a different way of dealing with stage resize – Well, different from the way I do it anyway.
When I make a fullscreen template, I only have 1 stageResize function, in the main.fla/swf. I load my modules in a moduleHolder for example, and reposition that (and everything else) on stage resize.
Now the templates which my clients have problems loading my modules in, have a resizeFunction in each of the modules. The moduleHolder is not repositioned in the main.fla, but instead in each of the modules, which works. But when I make a module on its own, I don’t code any stage resize events, because if a client of mine wanted to load it in someone else’s template, I would expect the template to take care of the stage resize positioning, but it doesn’t, and so I have to find out how the template is coded, and add some extra code in my module so it centers itself on stage resize.
What is your opinion on that?
I feel that the main.fla of a template should take care of that on its own, but maybe I’m missing something?
And when you guys make a module on its own, such as an image gallery intended to be loaded in another template, do you code a stage resize event?
If a template is coded so that each module has its own stage resize function, should it not be stated in the help file that if the user wants to load another module, he might have to add some code to it to make it center properly on stage?
Just would like some opinions.
Thanks, LG

