|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I've got a client who wants to show a Flash ad while the visitor is waiting
for their printable brochures (200k - 400k in Adobe PDF) to load. We have the flash part, & I can get it to play in a popup window, but I can't figure out how to make it go away once the PDF has loaded. I need the flash movie to loop until the PDF file has downloaded all the way.* The PDF is in a frameset. Ideally the loading page would be in the frameset too... Please Please help! I've looked all over the web & I just can't figure it out! Diane *At one point I tried putting the flash movie at the top of a really long page with the PDF embedded at the bottom with a bookmark & setting a behavior in Dreamweaver to go to the bookmark on load. Thing is, as soon as Acrobat Reader launched, the page jumped to the bookmark instead of waiting for the brochure to load. |
|
#2
|
|||
|
|||
|
I haven't tried it myself to see if it works, but in the frameset, have JavaScript that creates the window containing the Flash movie. Also, have a JavaScript that checks (every second or so) if the frame containing the PDF has finished loading. I think there's a function for this, but I'm not positive. Another thing you could look into is whether or not you can use <EMBED> instead of just displaying the raw PDF in the frame. If you can do that, put the flash movie in a <DIV> and hide the <DIV> with a function that is called by the <BODY onLoad=""> attribute.
|
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > :confused:how do i display a loading page while a PDF file loads? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|