Link to home
Start Free TrialLog in
Avatar of aaronyeo22
aaronyeo22Flag for Malaysia

asked on

flex remote display image

how do i display remote image like;

another computer ip address : 192.168.0.1/myimage/abc.png (not http)
Avatar of CyanBlue
CyanBlue
Flag of United States of America image

When you say not http, how do you access that computer then?

CyanBlue
Avatar of aaronyeo22

ASKER

sorry.

like i use window 7 start and key in  //192.168.0.1/myimage/abc.png to access that particular image

is it possible  using the above path to display image (flex) and not going to use http.

thanks
You do need to provide which protocol to use whether it being http or file. I think Flash automatically defaults to http if omitted.  If you meant to use file protocol, you can map some bogus drive to that directory and use file protocol like t:\\\abc.png to set the source for the image where t drive is mapped to 192.168.0.1/myimage directory.

CyanBlue
<s:Image x="451" y="169" source="@Embed('file:////MACBOOKPRO-C57D/untitled folder 8/signss.png')"/>

for embedding that can display. While i change it not embedded just normal display the image not appear.
That's because Flex automatically loads the given image while it creates a SWF file if you do the Embed tag, but it will load dynamically if you don't that's where http/file protocol kicks in.

CyanBlue
so, it means i must use the http to load that dynamic image through, am i right. If i map another network drive to start with http:192.168.0.1/image/abc.png and not going to use another web server to store that images. Is it possible?

if possible, is will occur any issue about crossdomain.

thanks
ASKER CERTIFIED SOLUTION
Avatar of CyanBlue
CyanBlue
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial