You'll probably have to wait until Petteri Paananen replies. No one else who frequents here regularly has taken SWF export as far as he has. He work with a product called eDocker made for working with SWF exported files. (www.edocker.com)
Are you saying you want to launch PDF on page load... when user enters the page, PDF opens up immideately?
You can´t do that directly in InDesign but if you have Flash Professional, you can create a button with one line of code, export it as SWF, place that SWF to indesign page and make it autoplay. The code inside the button will be triggered when user enters the page and it will open up a browser and loads your PDF to browser window...
If you want to try it yourself
1) Create new ActionScript3 file in Flash Professional, you can make it quite small, something like 30x30px
2) Dont put anything to stage if yiou want that element to be invisible in your layout
3) Select first (and only keyframe) and open Window > Actions
4) Write foloowin line in code editor:
navigateToURL(new URLRequest("http://www.mydomain.com/MyPDF.pdf"), "_blank");
Replace http://www.mydomain.com/MyPDF.pdf with actual working URL that points to your PDF
5) Export file as SWF
6) Place SWF to correct page and keep it selected
7) Open Media panel and make your SWF play on page load
Thats it... now you can try to export your SWF and try it out, remember that you may have to upload it server before it starts to work. And remember also that you have to keep your exported indesign SWF and resources folder together all the time. (If you have placed videos or SWF files into indesign layourt, resources folder will be generated automatically. InDesigns stores all the placed media files into that folder and loads them dynamically from there at runtime).
Good morning Peter and thank you.
However, I do not want to open an external pdf ( or any other external file for that matter ) on the swf page load, I simply want to use the *buttons I have created with InDesign to launch those items from different pages inside my exported swf.
All of the functionality and facility to do that appears to be part of the InDesign UI ... but clearly this is not the case.
I need to send a complete finished job ( all zipped up with all the resources ) so that the client can simply upload the swf, the html etc to their site, but prior to that, I would have no knowledge of their URL addresses of the assets to include in the *buttons.
I have no real knowlege of Flash or Actionscript
www - dividiprojects - dot - com
Ok Steve thanks
See my reply to Petteri
You should know that I am really REALLY pulling my hair out now
Dividi Projects - Interactive & Digital Media Authoring
m: +44 (0) 7837 408164