- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
When you created you Navigator (using a Flash Builder project) you set up a folder structure. In that folder structure you added an image that is referenced by the navigator's mxml file. For example, I usually put my images and other bits in an "assets" folder. So if I have an image that I'm using called myimage.png the path will be assets\myimage.png.
When I compile my code all of the assets get stuffed into the .nav file
With the DDX Resource tag you are telling LiveCycle to open the .nav file, find the file specified in the "name" attribute and replace it with a file found at the URI specified in the "source" attribute.
So, if I wanted to replace the old myimage.png with an image file currently located at http://myserver:8080/myapp/images/newfile.png, my resource tag would look like:
<Resource name="assets\myimage.png" source="http://myserver:8080/myapp/images/newfile.png"/>
Views
Replies
Total Likes