PDA

View Full Version : Error using setMask()



daheroes
May 31st, 2005, 10:30 PM
Hello all.

I was wondering if anyone might know offhand why the images at this link: http://brekkbockrath.com/design 2/lookandfeel2.html don't load properly the first time. Because after you let the browser load all of the images, then refresh the page, they load perfectly.

I realize that I should be posting the source code, but I don't have it right now. I will post it later today, for anyone interested.

Thanks for your time.

hgfl
May 31st, 2005, 10:42 PM
Works okay for me first time. Are you on dial-up??


BTW, for the benefit of others who wish to view the link unbroken here it is: http://brekkbockrath.com/design%202/lookandfeel2.html

(when you posted the link, the space between "design" and "2" broke it in half!)

daheroes
June 1st, 2005, 05:09 AM
Works okay for me first time. Are you on dial-up??
Not quite, I have something between DSL and dial-up in terms of connection speed.

Thanks for the link fix, btw.

Here's the actual code on the FLA, pertaining the LoadManager:


var myFile = new AddFile("composite", 180, 32, 150, 121, "../images/thumbs/flash/composite.jpg", 150, 150);
var myFile2 = new AddFile("creativedesign", 340, 32, 150, 121, "../images/thumbs/flash/creative_design.jpg", 150, 150);
var myFile3 = new AddFile("bbock04", 500, 32, 150, 121, "../images/thumbs/flash/bockrath04.jpg", 150, 150);
var myFile4 = new AddFile("dread", 660, 32, 150, 121, "../images/thumbs/flash/dread.jpg", 150, 150);
var myFile5 = new AddFile("brekkbockrath", 180, 163, 150, 121, "../images/thumbs/flash/brekkbockrath.jpg", 150, 150);
var myFile6 = new AddFile("extlabs", 340, 163, 150, 121, "../images/thumbs/flash/frontcover.jpg", 150, 150);
var myFile7 = new AddFile("flame2", 500, 163, 150, 121, "../images/thumbs/flash/flame2.jpg", 150, 150);
var myFile8 = new AddFile("underconstruction", 660, 163, 150, 121, "../images/thumbs/flash/underconstruction.jpg", 150, 150);
var myLoadManager = new LoadManager("0xFFFFFF", 126, 8, 113, 19, 100, true, true, "maskWipe");
myLoadManager.addFile(myFile);
myLoadManager.addFile(myFile2);
myLoadManager.addFile(myFile3);
myLoadManager.addFile(myFile4);
myLoadManager.addFile(myFile5);
myLoadManager.addFile(myFile6);
myLoadManager.addFile(myFile7);
myLoadManager.addFile(myFile8);
myLoadManager.startQueue();

Attached is the class LoadManager.