Load Imagevue into Flash

How to load Imagevue X2 into another Flash

Can I load Imagevue X2 into another Flash?

Load Imagevue into another Flash

The answer is yes, although we don’t normally recommend this because there may be a range of complications. However, if are able to work with these limitations, there is no reason why Imagevue X2 should not work nicely within your flash porject. Because Imagevue is a full-screen scaling flash application, it will use the full stage area made to its availability, and the same applies even if you are embedding it into your custom flash. Below are a few guidelines you should be aware of before you think about integrating Imagevue into your Flash project:

  • Imagevue X2 will take your entire stage area, which in most cases means it will overlay your current flash when loaded
  • Imagevue X2 should be loaded into a movieClip in the coordinates x:0 y:0, because Imagevue uses the width/height of the stage to position elements and images. Failure to do this may lead to offset of the entire gallery, and several inconsistencies.
  • If you are using a stage size that scales with browser, you should set “noScale” and “TL” alignment to your flash as in the example code below. This is the base that Imagevue works with, and if you are using a different scale- or alignment method, this will cause inconsistencies.
  • Imagevue X2 is currently AS2.0, so your project should be AS2.0 also. We hope to release AS3.0 version in the future

Example Code:

Stage.scale = "noScale";
Stage.align = "TL"

loadMovie("{path}/imagevue2.swf", movieClip)

Comments