use the htmlloader class to load your pdf unless you're making a mobile app and should use stagewebview.
where is that in flash cs5?
you have to use as3, air 1.0 or better for htmlloader.
Im very unexperienced on flash, can you please tell me more? Just to clarify, all i want to do is to make a photo -i have in a flash banner- to be clickable and to direct to a pdf file. Can you tell me the code to this? Im going bananas on this issue :-(
right click your on-stage photo>click convert to symbol>movieclip>ok.
in the properties panel, assign the photo movieclip an instance name (eg, photo_mc).
in the actions panel, use:
navigateToURL(new URLRequest("thepath/filename.pdf")); // use the path/file name if the pdf is on the same server with your published html and swf. otherwise, use the absolute path/name: http://www.adobe.com/enterprise/accessibility/pdfs/acro7_pg_ue.pdf