This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
This might be a silly doubt for you Flex gurus; kindly forgive my ignorance as I am a newbie to Flex :-(. The issue is I have a Image component in my mxml. The 'source' of the same is a url of a png file from some other system. If I use the url in my web browser directly it works. But if I use the same in my Image component the image does not show up. The only reason I can see is because the source url contains '#' in it as the png name contains that. So the source value is something like: "http://ea123:8080/something/new#value#01.png".
Can this be the reason? If so, what can be done to solve it? Thanks a zillion.
When you load images at runtime, you should be aware of the security restrictions of Flash Player or AIR. For example, you can reference an image by using a URL, but the default security settings only permit applications built in Flex to access resources stored on the same domain as your application. To access images on other servers, ensure that the domain that you are loading from uses a crossdomain.xml file.
So you mean to say it is a security issue and not a specific one related to '#' in my url right? Even I thought the same & did put crossdomain.xml to see if it is working fine.
But the thing is the issue exist only for those images which have '#' in their url and the other images are loading without any errors. This problem exists even if I put crossdomain.xml in the server of the images
So I think the issue is specific for character like '#' rather than an generic problem. But I am not yet able to find any solution for this