Page 1 of 1

Include Imagevue in .swf animation

Posted: 20 Feb 2011, 17:20
by julien
Hi all !

I'm trying for days to include imagevue in my swf. I searched a lot and a lot over the web, but I'm very noob in AS ...

So, here is my problem :

I made a few flash animation (1600px x 900px)
When this animation ends, it stays as background and I want Imagevue fades in (with fixed dimensions : 1000px x 700px)
How to do it ?

I tryed some codes, movieclips but I do not have any experience in flash dev :(
Does anybody has an idea please ? :)

Thanks a lot !

Julien

Re: Include Imagevue in .swf animation

Posted: 21 Feb 2011, 02:26
by mjau-mjau
First of all, I hope you are using AS2.0, because you can not mix AS3.0 and AS2.0 ... You simply load Imagevue into your gallery like this:
Code
loadMovie("imagevue2.swf", movieClip);
I am not quite sure what you mean by "fixed dimensions" 1000x700 ... Imagevue just aligns data based on the stage. What if the users stage is smaller than 1000x700? Imagevue doesn't use size ... it just uses the area that is available to it, and aligns elements accordingly, and scales images and thumbnails based on this.

Re: Include Imagevue in .swf animation

Posted: 21 Feb 2011, 18:18
by julien
Hi Karl !

Thanks for your fast answer ! :wink:

I made it in AS2, but I am a real noob... :oops:
Where should I put this code ?

I wrote it in the "action" of the last frame of my animation, but suppose I have to create a MC and place it on a new layer ?

Thanks a lot in advance !
Julien

Re: Include Imagevue in .swf animation

Posted: 22 Feb 2011, 04:04
by mjau-mjau
Something like this:
Code
createEmptyMovieClip("myImagevue", 1);
loadMovie("imagevue2.swf", myImagevue);

Re: Include Imagevue in .swf animation

Posted: 24 Feb 2011, 08:55
by julien
Hi Karl !

Thanks, it works fine ! But I want to set width/height and position of this movieclip.

Do you know how to do it, please ?

Thanks you in advance !

Re: Include Imagevue in .swf animation

Posted: 24 Feb 2011, 13:03
by mjau-mjau
Code
myImagevue._x = 0;
myImagevue._y = 0;
You can't set the width or height of imagevue ... It uses the entire stage area.

Re: Include Imagevue in .swf animation

Posted: 24 Feb 2011, 14:07
by julien
Thanks Karl, so there is no way to do it ?

In the HMTL version I made with imagevue, I embeded it in an iframe, it worked nice.

So, maybe we can we open an html page via flash ?

Re: Include Imagevue in .swf animation

Posted: 25 Feb 2011, 02:09
by mjau-mjau
julien wrote:Thanks Karl, so there is no way to do it ?
Well, "it" is a bit vaguely defined. Imagevue uses the entire SWF stage size to align navigation, menu, controls, images and thumbnails. It would be somewhat of a challenge to make all elements scale and position themselves based on some virtual boundaries. Not quite sure what you are trying to do, but unfortunately, you can't limit Imagevue SWF to only display within some confined area of your SWF project. Imagevue is not just a simple SWF or JPG that scales up and down - It simply adapts content positions to the stage area.
julien wrote:In the HMTL version I made with imagevue, I embeded it in an iframe, it worked nice.
Yes, because Imagevue uses 100% of the SWF stage size, and an iframe contains the entire SWF.
julien wrote:So, maybe we can we open an html page via flash ?
Not quite sure what you are asking for, but you can open html pages from flash yes (also the imagevue flash).

Re: Include Imagevue in .swf animation

Posted: 25 Feb 2011, 06:54
by julien
Ok thanks for all those answers ! ;)