flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Evyatar Ben Halevi-Arbib <evyata...@gmail.com>
Subject Re: Canvas background image
Date Mon, 13 Oct 2014 09:16:43 GMT
What if you just put a BitmapImage / Image / SWFLoader component as the
first child of the Canvas?
You should have no problem setting its verticalCenter & horizontalCenter
with "0" that way...

Good luck,
Evyatar

On Fri, Oct 10, 2014 at 4:10 AM, mark goldin <markzolotoy@gmail.com> wrote:

> I am adding a background image to canvas using the following:
> mx:Canvas backgroundImage="{image_class}"
>
> It works but the image is not centered vertically. Instead, it gets all
> away up. How can I center it vertically and horizontally?
>
> Thanks
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message