Thanks for your reply mitch.

 

I tried discarding the leading .. and I still get no image.  My file structure is

 

MainApp.mxml

Images(folder)

---recycle.gif

Components(folder)

---ComponentUsingImage.mxml

 

Is there something I am missing?  I tried embedding the image in actionscript and holding it in a variable, but that didn’t work.  Can anyone help me with this?

 

Michael

 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mitch Grasso
Sent: Monday, June 05, 2006 1:22 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Image problems

 

I believe there is a bug in 3.0 that requires image embed paths to start with '/'. You can remove the leading ..

 

mitch

 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael
Sent: Monday, June 05, 2006 7:23 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Image problems

Hello all, I am trying to work with drag and drop.  I have a canvas in which I put a background image to be a recycle bin.  Everything was fine for about a week and all of a sudden the image has disappeared.  I don’t know what is going on.  I cannot think of anything that has changed that may have caused it.  Can someone tell me if there is a better way of doing this???

 

<mx:VBox>

     <mx:Label text="Recycle Bin" fontWeight="bold"/>

     <mx:Canvas id="trash" height="75" width="75" backgroundImage="@Embed('../images/recycle.gif')" dragEnter="doDragEnterImage(event);" dragDrop="doDragDropImage(event)"/>

</mx:VBox>




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to