PDA

View Full Version : The strangest thing


friz2002
12-27-2002, 08:04 PM
Hi,

I don't know how to explain this problem exactly, so I posted a link (at the bottom) to the html page with the .swf and the .fla

If you look at the .swf , you'll see that the black background slowly disappears again.
Also, after a while the text dissapears and then suddenly it's back :confused:
Anyone has an idea how i can prevent this from happening?

Thx in advance

link to swf and fla file (http://www.geocities.com/chris_vigier/intro2.html)

annexion
12-27-2002, 09:31 PM
Well, I've managed to fix the shrinking, black background. Go into the zwart_mc and remove the white outline of the shape. I have absolutely NO idea why it is shrinking by itself, but removing the outline fixes that problem. As far as the text, I assume it disappears when the background has shrunk all the way, so, once the background is fixed, that should remedy the text problem.

Good luck.

friz2002
12-27-2002, 10:08 PM
Hi annexion,

thx to your answer I figured out why it happend. The _xscale of the mc was still increasing, so the white line got thicker and so it looked like the mc was shrinking.

But I haven't found a solution to fix this yet :(

Anyone??

annexion
12-28-2002, 03:59 AM
Well, you can make the line a hairline, or you can use an if statement...

if(this._xscale<100){
this._xscale+=5;//or whatever number you want
}else{
this._xscale=100;
}

Good luck.

friz2002
12-28-2002, 11:14 PM
Hi annexion,

I tried something like that , but no luck

here's my code

_root.tekst_mc._alpha = 0;

begin = function () {
if (this._xscale>=100 && this._yscale<100) {
this._xscale = 100;
this._yscale += 20;
} else {
this._xscale += 20;
}
deel2();
};

deel2 = function () {
if (this._yscale>=100 && _root.tekst_mc._alpha<100){
this._yscale = 100;
myID2 = setInterval(deel3, 1000);
}
};

deel3 = function () {
_root.tekst_mc._alpha += 1;
clearInterval(myID2);
};
_root.zwart_mc.enterFrame = begin;

cheez
12-29-2002, 01:04 AM
Hehe, I think asking us to stare intently at a very-slowly-fading-out message entitled Subliminal is little much ;)

Carry on!
-Cheez


Originally posted by friz2002
Hi,

I don't know how to explain this problem exactly, so I posted a link (at the bottom) to the html page with the .swf and the .fla

If you look at the .swf , you'll see that the black background slowly disappears again.
Also, after a while the text dissapears and then suddenly it's back :confused:
Anyone has an idea how i can prevent this from happening?

Thx in advance

link to swf and fla file (http://www.geocities.com/chris_vigier/intro2.html)