aaronyeo22
asked on
flex remote display image
how do i display remote image like;
another computer ip address : 192.168.0.1/myimage/abc.pn g (not http)
another computer ip address : 192.168.0.1/myimage/abc.pn
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
like i use window 7 start and key in //192.168.0.1/myimage/abc.
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
CyanBlue
ASKER
<s:Image x="451" y="169" source="@Embed('file:////M ACBOOKPRO- C57D/untit led folder 8/signss.png')"/>
for embedding that can display. While i change it not embedded just normal display the image not appear.
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
CyanBlue
ASKER
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
if possible, is will occur any issue about crossdomain.
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
CyanBlue