Re: [FlexJS] background images not showing

2017-02-14 Thread Justin Mclean
Hi,

> Is this for SWF or JS?

For JS. Assume any FlexJS codeI post is for JS, if I was targeting AS I’d used 
the FlexSDK.

> For both platforms, you may need to set width/height on the View.

As I said the text shows just not the images, so there's some width/height 
there. Can the parent view be smaller than the container?

I changed view to this:


And a small percent of the image show but just behind the text not at the 
specified 100% width which seems like a bug.

If I change to this:


Re: [FlexJS] background images not showing

2017-02-14 Thread Alex Harui


On 2/13/17, 11:46 PM, "Justin Mclean"  wrote:

>Hi,
>
>Can anyone confirm this is a bug?
>
> I’m getting the text showing but no image showing. I can see in the
>network panel that the image is being downloaded.

Is this for SWF or JS?  I don't think there is SWF-side support for
backgroundImage.  It would be great if a volunteer extended
SolidBackgroundBead and supported it.

For both platforms, you may need to set width/height on the View.

HTH,
-Alex



[FlexJS] background images not showing

2017-02-13 Thread Justin Mclean
Hi,

Can anyone confirm this is a bug?

 I’m getting the text showing but no image showing. I can see in the network 
panel that the image is being downloaded.


http://ns.adobe.com/mxml/2009;
xmlns:js="library://ns.apache.org/flexjs/basic">


















Thanks,
Justin