Hi all,
im having a problem with this function flash.display.BitmapData, it was working perfectly until update 11.03, but now is not working.
can any one tell me if there is a replacement function for this one?
this is the code that is giving me problems *altough i think is a bug for the new release 11.05 and i have sent an email to adobe and i never got a answer.
tmc = _root.createEmptyMovieClip("smoothImageLoadTemp"+i, _root.getNextHighestDepth());
tmc.createEmptyMovieClip("ti", tmc.getNextHighestDepth());
tmc.tm = targetMovie;
with(tmc)
{
tmcl = new MovieClipLoader();
tmcl.onLoadComplete = function()
{
ti.onEnterFrame = function()
{
pixelData = new flash.display.BitmapData(ti._width, ti._height,true,0xFFFFFF);
pixelData.draw(ti);
tm.attachBitmap(pixelData, 1, "always", true);
tm.smoothImageLoadComplete()
removeMovieClip(ti._parent);
}
}
tmcl.loadClip(imgURL, tmc.ti);
}
the issue im having is that the images got loaded but mask and functionalities are not respected.
here is the web link where you can see the error: www.mar-adentro.net (click in Colecciones).
the idea is to have 2 images a small one and then clicking a magnifier link you can move the mouse over the zoommed images to see details. and like i said it was wokring perfectly until the new flash player was released. I know is an old code from AS2. but im having a hard time updating this. Any help is greatly appreciated.
Thanks a lot.