u can try using a loader too

----- Original Message ----
From: Sherif Abdou <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, February 7, 2008 6:46:40 AM
Subject: Re: [flexcoders] Image Source is not assigned

"http://myserver/ images_dir/ {changing_ variable} .jpg"


----- Original Message ----
From: YOGESH JADHAV <[EMAIL PROTECTED] com>
To: [EMAIL PROTECTED] ups.com; [EMAIL PROTECTED] oups.com
Sent: Thursday, February 7, 2008 3:43:27 AM
Subject: [flexcoders] Image Source is not assigned


Hi all,
              I am assigning an Image's source  dynamically, but i don't see 
any image, whta wrong ?
both 
        my_image.source = "http://myserver/ images_dir"+changing_variable 
+".jpg";
and 
        my_image.load( "http://myserver/ images_dir"+changing_vaiable+ ".jpg");
are not working. I have checked that all paths are correct and images do exist. 
I even tried fixed path, it not working. 
The image is displayed only when i assign a fixed path thru flex builder 
properties ( n not programitacally ) and turn "autoload" ON.
What to do ?

-- 


Regards,
Yogesh 





Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. 



      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

Reply via email to