![]() |
![]() |
||||||
|
|||||||
| Tags: add, bitmap, container |
![]() |
|
|||
|
Yes all the explanations in the docs are like this, but this assumes that I am
writing this in a class that extends the Sprite class, which I am not and then what exactly do you add to the VBox? Because you can't add the Sprite that then exists. I have found that this works directly however: var content:Image = new Image(); content.addChild(myBitmap); content.height = myBitmap.height; content.width = myBitmap.width; myVBox.addChild(content); Is there some reason why this incredibly simple way of doing this is not documented somewhere? Doug |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise