Ive searched quite a bid arround the web(Google, Bing and stuff), chekked here the FAQ and the former threads in the search.
my problem is my script doest show anny picture os data.
This are the sympthons: The image is loaded correctly(shows a picture when i add it to a image container) Also my shape work a lil bit gus it say in a Alert.show function it has a shape object. the img.addChild(lader.content); also works fine.
It goes horribly wrong on this to lines bla.addChild(img); and stage.addChild(bla);.
I hope someone can point me in the right derection.
here's my code:
private function initVars():void
private function doe_iets(evt:Event):void
var round_rect:Shape = new Shape();
lader.mask = round_rect;
Not sure what bla is or what error you are getting, but normally one does not add things directly to the stage. Try adding to systemManager or application.
Also note that Flex container children must implement IUIComponent, which simple Shape does not.
Flex SDK Developer
Adobe Systems Inc.
bla is a movieclip im trying to use the mask to make the foto's i have round edged