WHen my popup and canvas is bigger(900,900) than the original size of
the image(800x600) it works fine. my structure is like this:

<popup w=900 h=900>
 <canvas> //(for background image)
  <loader x=0 y=0/>
 </canvas>
</popup>

So when popup and canvas is smaller image disappears

--- In [email protected], "rockmoyosa" <[EMAIL PROTECTED]> wrote:
> Im loading an image through AS. (just setting the contentpath/source).
> this Image is 800x600. Im openinng A Popup (TitleWindow) and than I
> set de the path. Giving the load command. It will load andeven the
> complete event is called. But no Image is shown. If I'm trying it by
> embedding the image it works. If I save the image and place it in my
> webapp and tha setting tghe path to local it works. If I get another
> smaller image from the same server it wordks also. but when I'm
> loading it from an other server it fails(loading will complete, but
> image is not visible). what seems to be the problem?
> 
> ------------ MXML ------------
> <mx:Loader id="image_large" width="350" height="240" visible="true"
> autoLoad="false" complete="loader.visible=false; progressbar.mode =
> 'manual'; progressbar.setProgress(100, 100)" />
> 
> 
> ------------- AS -------------
> this._scope.image_large.contentPath = ""+detailData.Content.Image.url;
> this._scope.image_large.load();





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to