Search…

X3 Photo Gallery Support Forums

Search…
 
julien
Experienced
Topic Author
Posts: 31
Joined: 17 Jan 2011, 15:34

Include Imagevue in .swf animation

20 Feb 2011, 17:20

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
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Include Imagevue in .swf animation

21 Feb 2011, 02:26

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.
 
julien
Experienced
Topic Author
Posts: 31
Joined: 17 Jan 2011, 15:34

Re: Include Imagevue in .swf animation

21 Feb 2011, 18:18

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
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Include Imagevue in .swf animation

22 Feb 2011, 04:04

Something like this:
Code
createEmptyMovieClip("myImagevue", 1);
loadMovie("imagevue2.swf", myImagevue);
 
julien
Experienced
Topic Author
Posts: 31
Joined: 17 Jan 2011, 15:34

Re: Include Imagevue in .swf animation

24 Feb 2011, 08:55

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 !
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Include Imagevue in .swf animation

24 Feb 2011, 13:03

Code
myImagevue._x = 0;
myImagevue._y = 0;
You can't set the width or height of imagevue ... It uses the entire stage area.
 
julien
Experienced
Topic Author
Posts: 31
Joined: 17 Jan 2011, 15:34

Re: Include Imagevue in .swf animation

24 Feb 2011, 14:07

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 ?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Include Imagevue in .swf animation

25 Feb 2011, 02:09

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).
 
julien
Experienced
Topic Author
Posts: 31
Joined: 17 Jan 2011, 15:34

Re: Include Imagevue in .swf animation

25 Feb 2011, 06:54

Ok thanks for all those answers ! ;)