on 07-16-2011 11:36 AM
Hi,
I am working with integration of flex and web dynpro abap. I am facing unusal problem while loading the images. I have the images in the MIME folder of web dynpro application. Since my swf file and all the images that I want to use are in the same folder(MIME), I am accessing them giving just the image name as source for the image in flex.
By this method I get the images sometimes, but not everytime. So could anyone suggest me alternative method.
Regards
Prashant Chauhan
Edited by: Prashant8809 on Jul 17, 2011 11:56 AM
Hello Prashant,
you need to mention the full path as source for the image in flex.
ex. if your WD application name is Z_TEMP and image file name in mime folder is 'image.jpg' then you need mention the source in flex as
http://servername:50001/sap/bc/webdynpro/sap/Z_TEMP/image.jpg
Hope this solves your problem.
BR, Saravanan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should place the images in an /assets/images folder in your flex project folder. Then you can reference the images with a relative url in your flex application, like this
[Embed(source="../assets/images/exclamation.png")]
[Bindable]
public var imgCls:Class;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.