Problems with Tweens

Hi

Quite new to Action Script 3. I have some code that loads in some external .jpgs they’re only small so I’m not using a preloader.

What I finding though is that the file views fine in Flash but not always in the browser. This seems at its worst in Firefox on the Mac. The images load but don’t aways fully fade in. I know some of you think the standard flash tweens are poor but surely they should be able to do this.

I would really appreciate it if one of you guys could have a look at my code to see if you can spot anything that my cause this.


//Load in Files
import fl.transitions.Tween;
import fl.transitions.easing.*;

var fileReq1:URLRequest = new URLRequest("../../flash_work/images/products/doors/lavenham/lavenhamBirch.jpg");
var fileReq2:URLRequest = new URLRequest("../../flash_work/images/products/doors/lavenham/lavenhamButtermilk.jpg");
var fileReq3:URLRequest = new URLRequest("../../flash_work/images/products/doors/lavenham/lavenhamWhite.jpg");

var fileLoad:Loader = new Loader();
fileLoad.load(fileReq1);

fileLoad.contentLoaderInfo.addEventListener(Event.COMPLETE, fileLoaded );

function fileLoaded (event:Event):void
{
	var myHolder:MovieClip = new holder();
	addChild(myHolder);
	var myTween1:Tween = new Tween(myHolder, "alpha",Back.easeOut,0,1,2,true);
	myHolder.addChild(fileLoad);
	myHolder.x = 90;
	myHolder.y = 129;
	myHolder.width = 336;
	myHolder.height = 483;
}

//Move Load in Functions
function loadInFile1 (event:MouseEvent):void
{	
	fileLoad.load(fileReq1);
}