siopsdoobie
(or anyone who can help)
I was reading siopsdoobie’s comment at the bottom of page 5 regarding PNG transparency.
On the first frameactions of the”img_mc” movieclip look for this line:
var pixelData = new flash.display.BitmapData(from._width, from._height);
replace it with this:
var pixelData = new flash.display.BitmapData(from._width, from._height, true, 0×00FFFFFF)
So, I end up with this code (Pastie Link):
http://pastie.org/230227
When I publish, I am getting this error message
Error Symbol=img_mc, layer=Actions, frame=1:Line 3: ‘
’ or ’,’ expected
var pixelData = new flash.display.BitmapData(from._width, from._height, true, 0×00FFFFFF)
Error Symbol=img_mc, layer=Actions, frame=1:Line 6: Unexpected ‘}’ encountered
}
Total ActionScript Errors: 2 Reported Errors: 2
Does anyone know what i’m doing wrong, or have another solution
Posted 3 months ago