View Full Version : Generating dynamic links in flash through jsp

05-08-2001, 10:14 PM
I have build a flash movie file with menus and links. The next step I want to take is to change the links in the flash menu dynamically according to the user input.
For example the flash menu contains a button called "My Documents" with a link "/mydocuments/servlets/documents.jsp". When a user changes his settings through a jsp page, the link should point to "/mydocuments/document.jsp" for the button "My Documents".
Is it possible to change the link in flash to the new url, as the inputs are from an outside source such as a jsp page than within flash.
Is there are any suggestions, codes, tutorials, threads or sites that I can view or refer.Thanks.

05-08-2001, 11:28 PM
In some of my flash movies I use the load vars command. In flash 5 a dynamic text box can support HTML. So you just put a regular html anchor in the file you are loading. If your links have "&" in them you should put them in url encoded format first. I don't know if this answers your question. Good luck

nameOfDynamicTextBox1=<a href='url1'>link1</a>
&nameOfDynamicTextBox2=<a href='url2'>link2</a>
&nameOfDynamicTextBox3=<a href='url3'>link3</a>