Any news on this?
Hi There - Right now, I believe a BitampFill object (as well as the BitmapImage graphic element) can take embedded assets (that is by specifying a source which uses the @Embed directive) as well as pointing the source object to dynamic assets that are loaded at runtime (either to a local file, or a trusted URL). Additionally, BitmapFill can take a display object as its source and it will create a bitmap rendering of said display object. If this isn't working for you, can you please file a bug in JIRA and include a bugfile showing the buggy behavior?
Actually BitmapImage will no longer support loading dynamic assets.
Because the files ned to be trusted this behavior is unpredictable and
can be difficult to debug if it fails. Rather than be inconsistent
about what external assets are supported we're limiting the
functionality for 4.0 and will look into a more full-featured support
in the next release (you can use mx:Image if you need external support
If you read my question carefully, you will notice that i am not asking about loading a BitmapImage dynamicly.
I am aware of the adobe's hyper security settings , sandboxes and all that.
All i need to do is to have a vector drawing and/or a dynamically created display object as the BitmapFill source.
Now we have the FXG format built inside Flex4. It is more or less resembles Defraga and Defraga has a Vectorfill tag which you can feed a vector drawing.
I know, it is basically a bitmapfill behind the scenes.
So instead of creating a png image in photoshop, we can create a vector drawing with FXG tags and feed the drawing to the BitmapFillinorder to repeat the drawing to create a pattern.
That is the only reason i asked the question in the following format >> "BitmapFill mxml tag"
This is the new FXG tag, and i am afraid it is again crippled implementation of Defraga.
Hope it will change.