I have not got into flex as much as I thought I would. Everytime I have tried to do something I usually ran across a bug that I did not have time to investigate. The major one that was bothering me was how to get external assets into flash.
While looking at other tutorials I came across Grant Skinners tutorial on BitmapData.loadBitmap gone in Actionscript 3.
This is what I had seemed to try last time but I thought it was worth a shot and I came across a similar error as last time.
“The definition of base class BitmapAsset was not found”. I read the two comments on the tutorial and there was the error I had in beta 2 but no solution. Luckily google came to my rescue. One site written in another language had a wonderful picture
So it looks like you must add some libraries to your project file to get this to work. You can either do this when setting up your project or by right clicking and selecting properties on your current project.
The path to these files for me using the default install was
C:\Program Files\Adobe\Flex Builder 2.0 Plug-in Beta 3\Flex SDK 2.0\frameworks\libs
I still have a couple of warnings and one runtime error but thought I would post this in case I don’t get a change to go back and look into the issues.