SunQuest
           HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 27th, 2000, 07:20 PM
Diane B Diane B is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Fallbrook, CA, US
Posts: 1 Diane B User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.


Reply With Quote
  #2  
Old August 28th, 2000, 08:49 AM
pieux pieux is offline
Seņor Member
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Aug 2000
Posts: 1,156 pieux User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 17 m 59 sec
Reputation Power: 9
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > :confused:how do i display a loading page while a PDF file loads?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway