I recently purchased Imagevue and I've set up my gallery. I'm pretty familiar with some php, html and css, however my Flash is somewhat limited. I've searched the forums, searched google but unfortunately I cannot find an answer to my problem, hence my post.
In the template - Firestarter, the background is swf. I've created and using a swf background in a new template I've done. However, the swf background in Firestarter stays in place when you resize, which looks wonderful. My swf background ends up "moving" each time the window is changed and only returns back to the bottom right position on refresh.
Link so you can see:
http://enchantedcanvas.com/Gallery/#/content/1/
If you resize the broswer window, you'll see what I mean. I would love for the background to remained "fixed" like the Firestarter background does but not sure exactly what code to put.
The AS is 2.0, and I've checked to make sure that on the template config I have it set to noScale, alignment is bottom right.
The AS code I'm using is as follows:
Code
fireflays =function(maxF) {
this.createEmptyMovieClip("fireflay_mc",this.getNextHighestDepth());
fireflay_mc.attachMovie("fireflay", "f", fireflay_mc.getNextHighestDepth());
no_f=1;
duplicateFirefly = function(){
fireflay_mc.f.duplicateMovieClip(["f"+no_f], no_f);
fireflay_mc["f"+no_f]._x=Math.random()*Stage.width;
fireflay_mc["f"+no_f]._y=Math.random()*Stage.height;
fireflay_mc["f"+no_f]._alpha=Math.random()*100;
fireflay_mc["f"+no_f]._rotation=Math.random()*360;
//fireflay_mc["f"+no_f]._xscale=fireflay_mc["f"+no_f]._yscale=Math.random()*100; //scale firefly
no_f++;
if(no_f>maxF) clearInterval(fireflayID);
}
fireflayID = setInterval(duplicateFirefly, 100);
}
fireflays(100);
It is the main "image" in the flash that doesn't stay put. I thought about adding the image via CSS, and having the swf just be the "dots", however it doesn't show on the template as I think the swf overrides it.
I hope this makes sense, and if you need anything more from me, please ask. I have searched far and wide before coming here, as it helps me learn but I've truly hit a brick wall!
Thanks so much