Is this maybe a path issue?  The source as specified, would require the image to be in the same folder as the app, right?

 

Perhaps you need an “assets” folder that will have a consistent location from wherever you run the app?

 

Tracy

 


From: [email protected] [mailto:[email protected]] On Behalf Of Abdul Qabiz
Sent: Friday, June 10, 2005 12:55 AM
To: [email protected]
Subject: RE: [flexcoders] Images in swf

 

Nithya,

 

Your code looks good but make sure 3724.jpg is a non-progressive jpeg. Flash Player can not load progressive jpegs.

 

 

-abdul

 


From: [email protected] [mailto:[email protected]] On Behalf Of nithya karthik
Sent: Friday, June 10, 2005 9:48 AM
To: [email protected]
Subject: RE: [flexcoders] Images in swf

hai abdul,

      

sorry abdul. i forgot to attach the code. i am sending it now. pls help.

 

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns="*"   backgroundColor="#FFFFFF"  >
        <mx:Canvas clipContent="true" backgroundColor="#FFFFFF" verticalGap="0" height="400" width="400"
          hScrollPolicy="off"
          vScrollPolicy="off">
         
             <mx:Image source="3724.jpg" height="100%" width="100%"/>
        </mx:Canvas>

</mx:Application>

Abdul Qabiz <[EMAIL PROTECTED]> wrote:

Hi Nithya

 

Are you embedding the images or loading on runtime? If you are loading on runtime, make sure Jpeg file is non-progressive one.

 

-abdul

 


From: [email protected] [mailto:[email protected]] On Behalf Of nithya karthik
Sent: Thursday, June 09, 2005 5:17 PM
To: flexcoders
Subject: [flexcoders] Images in swf

hai,

      when i compile an mxml application to swf and run the swf, the images doesnt get displayed. I mages in the mxml file as jgp. y does it it not appear in my swf file? any alternative to achieve this? pls help

Send instant messages to your online friends http://uk.messenger.yahoo.com

Send instant messages to your online friends http://uk.messenger.yahoo.com


Yahoo! Groups Links

Reply via email to