Expand my Community achievements bar.

Database Link on Flex


Level 1
Hi All,

I am a newbie to Flex.Can you please help me out with the
procedure as how I can to provide a link on flex front end screen
which when clicked opens either pdf's,ppt's,word docs from
database.All these documents are stored in the oracle database. I
am using Flex builder 2 and flex data services also.I am
integrating the flex with spring and hibernate also.

Thanks in Advance

1 Reply


Level 2
opening a file from a db is a two step process,

1. use server side code to grab the file from the db and
place it a temp web folder. return the url of the new file back to
the flex client

2. call navigateToURL() from flex to open the new file in a
new browser window