What is the appropriate action script code so that when i click on a picture then a pdf that is linked to that picture opens in the browser and is ready to be printed!
I dont know if you are looking for as2 or as3, but here is the solution from AS3 code snippets:
1)turn your picture into a MovieClip Symbol F8
2)Give your movieclip the instance name "thePicture"
3)Change www.adobe.com to the URL for your .pdf file this can be an absolute link or relative link if the PDF and .swf file are in the same folder structure.
navigateToURL(new URLRequest("http://www.adobe.com"), "_blank");
Click Here to Expand Forum to Full Width
Poll by Flashkit.com