Re: [flexcoders] Image

2008-05-23 Thread Laith Juwaidah
I'm getting confused, didn't we set loader to be contentHolder of Image in the previous line? On Fri, May 23, 2008 at 2:07 PM, Manish Jethani [EMAIL PROTECTED] wrote: On 5/22/08, Laith Juwaidah [EMAIL PROTECTED] ljuwaidah%40gmail.com wrote: Sorry, I copied the wrong line, it's giving

Re: [flexcoders] Image

2008-05-22 Thread Laith Juwaidah
22, 2008 at 12:50 AM, Laith Juwaidah [EMAIL PROTECTED]ljuwaidah%40gmail.com wrote: I haven't messed with mx_internal, can you please give me an example or something? import flash.display.Loader; import mx.controls.Image; import mx.core.mx_internal; var image:Image = theImageObject; var

Re: [flexcoders] Image

2008-05-22 Thread Laith Juwaidah
Sorry, I copied the wrong line, it's giving the error on loader.mouseEnabled = false; On Thu, May 22, 2008 at 11:07 AM, Laith Juwaidah [EMAIL PROTECTED] wrote: Sorry to bother you again but I'm getting a run-time error on the line: var loader:Loader = image.mx_internal::contentHolder as Loader

Re: [flexcoders] Re: Image

2008-05-21 Thread Laith Juwaidah
%40yahoogroups.com, Laith Juwaidah [EMAIL PROTECTED] wrote: The first method won't work because there'll be a lot of pictures, and they'll be moved and resized quite often. I tried the second one already, it shows the menu of the container but if there's a component under it and I hover

Re: [flexcoders] Image

2008-05-21 Thread Laith Juwaidah
, Manish Jethani [EMAIL PROTECTED] wrote: On 5/20/08, Laith Juwaidah [EMAIL PROTECTED] ljuwaidah%40gmail.com wrote: I'm having a problem, I want to put an image on the application (which is a container for some windows and components), and I want it to just show the picture without

Re: [flexcoders] Image

2008-05-21 Thread Laith Juwaidah
Wait! that won't work, they won't be on top then. On Wed, May 21, 2008 at 2:38 PM, Laith Juwaidah [EMAIL PROTECTED] wrote: I'm just adding it as a child. I tried your way and now it doesn't even show the menu when it is right clicked. I'm starting to consider using them as background

Re: [flexcoders] Image

2008-05-21 Thread Laith Juwaidah
I just did img.mouseEnabled = false; How do I access its internal Loader object? On Wed, May 21, 2008 at 6:54 PM, Manish Jethani [EMAIL PROTECTED] wrote: On Wed, May 21, 2008 at 4:08 PM, Laith Juwaidah [EMAIL PROTECTED]ljuwaidah%40gmail.com wrote: I'm just adding it as a child. I

Re: [flexcoders] Image

2008-05-21 Thread Laith Juwaidah
I haven't messed with mx_internal, can you please give me an example or something? Thanks On Wed, May 21, 2008 at 11:18 PM, Manish Jethani [EMAIL PROTECTED] wrote: On Wed, May 21, 2008 at 9:02 PM, Laith Juwaidah [EMAIL PROTECTED]ljuwaidah%40gmail.com wrote: I just did img.mouseEnabled

[flexcoders] Image

2008-05-20 Thread Laith Juwaidah
the picture without it receiving any events. Thank you. -- Laith Juwaidah http://www.ljuwaidah.org/ http://ljuwaidah.blogspot.com/

Re: [flexcoders] Re: Image

2008-05-20 Thread Laith Juwaidah
: Hi Laith, Take a look at the backgroundImage property. You can also add an Image control to your application and set mouseEnabled=false. -TH --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Laith Juwaidah [EMAIL PROTECTED] wrote: Hi, I'm having a problem, I want