dcsimg
Login | Register   
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


Tip of the Day
Language: DHTML
Expertise: Beginner
Jun 22, 1999

WEBINAR:

On-Demand

Application Security Testing: An Integral Part of DevOps


Shockwave Flash and DHTML

Question:
How can I make a Shockwave Flash movie run over or under a DHTML DIV tag with text inside? I tried to use z-index but it doesn't work well with Flash.

Answer:
With the Flash program (or any Macromedia program, for that matter), there is usually a program that is in the same folder called AfterShock. This program is useful for preparing the HTML page that will support the Shockwave application. Run it, and load a Shockwave SWF file that you wish to use. Then, click on the Shockwave tab in the right-hand pane of the application. In the drop-down for Window Mode, you can make the movie opaque or transparent to the rest of the Web page by changing the option from "Window" to "Opaque Windowless" or "Transparent Windowless". These settings will make the application run in the same layer space as the rest of the browser (i.e., you can use z-index) so that the movie runs beneath other HTML elements. Note that this technique is more expensive in terms of resources than working in Window mode, so expect some performance degradation.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Thanks for your registration, follow us on our social networks to keep up-to-date