Problem with BitmapAsset

Hi, folks. So I have this:
ActionScript Code:
[LEFT][COLOR=#000000][[/COLOR]Bindable[COLOR=#000000]][/COLOR]
[COLOR=#000000][[/COLOR]Embed[COLOR=#000000]([/COLOR]source=[COLOR=#0000FF]“images/slider/path.gif”[/COLOR], scaleGridTop=[COLOR=#0000FF]“0”[/COLOR], scaleGridBottom=[COLOR=#0000FF]“13”[/COLOR], scaleGridLeft=[COLOR=#0000FF]“0”[/COLOR], scaleGridRight=[COLOR=#0000FF]“2”[/COLOR][COLOR=#000000])[/COLOR][COLOR=#000000]][/COLOR]
[COLOR=#993300]public[/COLOR] [COLOR=#993300]var[/COLOR] sliderPath:[COLOR=#993300]Class[/COLOR];

internal [COLOR=#993300]var[/COLOR] BA:BitmapAsset = BitmapAsset[COLOR=#000000]([/COLOR][COLOR=#993300]new[/COLOR] sliderPathCOLOR=#000000[/COLOR][COLOR=#000000])[/COLOR];
[COLOR=#993300]public[/COLOR] [COLOR=#993300]var[/COLOR] pathimg:BitmapData = BA.[COLOR=#000000]bitmapData[/COLOR];
[/LEFT]

and It’s giving me error:
TypeError: Error #1034: Type Coercion failed: cannot convert comps::Path_sliderPath@46afd01 to mx.core.BitmapAsset.

The strange thing is that, it used to work before, but since I re-installed Flex it began giving me this error

Can anyone help?