Groups | Blog | Home
all groups > flash (macromedia) > may 2007 >

flash (macromedia) : Linking to document


Newbie1234
5/7/2007 10:53:48 PM
I have a button, and when this button is clicked, I want a document that is in rich text format to open. Anyone know how to do this?

urami_
5/8/2007 12:00:00 AM


[quoted text, click to view]

There only way to do it from browser is by using getURL action.
This however is very unpredictable and it's solely in the end user hands
(and his browser preference settings). instead of actual URL define the
path to the file, it will either open the file or prompt download
dialog.

example:
getURL("filename.rtf");


--
Best Regards

Urami


--

Beauty is in the eye of the beer holder...


<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
Newbie1234
5/9/2007 2:41:42 PM
Yes it worked using that code. BUT, when the swf file is played, a box appears
to prompt for download which is fine but it appears behind the played swf
movie. How can i get it to appear in front of the swf movie?
ggshow
5/10/2007 4:44:34 AM
Newbie1234 >
I dont think we can display a rtf file in flash player.
Try load txt or xml file, with formatting, and display it in a html enabled
dynamic text field.
Do remember that not all html tags are supported.
For a list of flash supported html tag, go
http://livedocs.adobe.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/js/html/wwhelp.ht
m?href=00001040.html
urami_
5/10/2007 5:20:07 AM


[quoted text, click to view]

Sorry, no idea, this is something the browser does and we can't control it.
Which by the way sound really odd :) never heard anyone having such experience.



--
Best Regards

Urami


--

Beauty is in the eye of the beer holder...


<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
AddThis Social Bookmark Button