I already did this!

--- In [email protected], "Abdul Qabiz" <[EMAIL PROTECTED]> wrote:
> If you are using Loader, then it should be doing the same for you. Set
> the width, height of Loader and your image would be resized to that
> size.
> 
> 
> For example:
> 
> <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml";>
>     <mx:Loader
> source="http://www.bigfoto.com/sites/galery/flowers1/flow011_small.jpg";
> width="400" height="300"/>
> </mx:Application> 
> 
> 
> -abdul
> 
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of rockmoyosa
> Sent: Thursday, June 16, 2005 2:45 PM
> To: [email protected]
> Subject: [flexcoders] Re: Image disappears
> 
> 
> I forgot to say that I want to resize it to a s
ize that fits in a
> window of 400x300. So it doesnt work.
> 
> --- In [email protected], "Abdul Qabiz" <[EMAIL PROTECTED]> wrote:
> > Seems, some different issue. Never mind.
> > 
> > -abdul 
> > 
> > -----Original Message-----
> > From: [email protected] [mailto:[EMAIL PROTECTED]
> On
> > Behalf Of rockmoyosa
> > Sent: Thursday, June 16, 2005 2:12 PM
> > To: [email protected]
> > Subject: [flexcoders] Re: Image disappears
> > 
> > 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
> 
> 
> 
> 
>  
> Yahoo! Groups Links





 
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