Solved

Flash ad running over a webpage

Posted on 2002-05-29
9
218 Views
Last Modified: 2013-12-16
Lately I have been seeing multiple ads that are in flash that run over an existing web page.  I was wondering how do you accomplish this?  Basically it is transparent to the page behind it.
0
Comment
Question by:salamone
9 Comments
 
LVL 6

Expert Comment

by:rootdir
ID: 7042365
Create different small movies and call into ad banner movie or base movie like this

Create array of movie names

Movies= new Array("movie1.swf", "Movie2.swf", "Movie3.swf", "another.swf",.....);

Then use random function to select

Rand_Movie = Math.floor(Math.random()*4);

Load action trigger on banner movie

loadMovieNum (Movies[Rand_Movie], 1);
Movies.splice(Rand_Movie, 1);

That's it You will get what you are looking for

Cheers
RootDir
0
 
LVL 1

Author Comment

by:salamone
ID: 7042434
So this will make the one movie or multiple run accross the entire page.  The ones I have seen basically go accross the middle or come down from the top etc??

Thanks I will give it a try.
0
 
LVL 6

Expert Comment

by:rootdir
ID: 7042454
post the url I will take a look

0
 
LVL 1

Author Comment

by:salamone
ID: 7042588
I saw a car ad on Techtv.com under their products and reviews section but it's an ad so you may or may not see it.  Also, it's kindof like the planters ad that runs on weather.com but I know that one is javascript not flash but it will give you an idea of what I am talking about.

Thanks!
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 6

Expert Comment

by:rootdir
ID: 7043126
Simple
  You can easily pass parameters from flash to javascript vice-versa. These parameter you can use for start ad/end ad etc. Create whatever flash ad you wanted to display on page and call through DIV tags or DHTML tags.

But you have play with DHTML, Flash and Javascript.

Best lick
RootDir
0
 
LVL 23

Expert Comment

by:Zeffer
ID: 7043885
There is no Flash on techtv.com..

To display Flash there needs to be Object/Embed tags..

and good spelling.

Z

0
 
LVL 5

Accepted Solution

by:
stef4s earned 100 total points
ID: 7046349
http://www.macromedia.com/support/flash/how/shock/wless2/index.html

check out this link. Its a little tutorial on how to layer movies
0
 
LVL 1

Author Comment

by:salamone
ID: 7047027
Thanks to everyone who helped me with my question, but stef4s pointed me in the right direction although I think it only runs in IE.

Thanks!
0
 
LVL 6

Expert Comment

by:rootdir
ID: 7047207
I was near to that answer but stef4s pointed right way.
It help me also Thanks
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to convert ASPX website to HTML? 3 55
monthly fee and support for nutrionist 3 132
black magic design 1 120
Intranet building Software 8 96
In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
Now that Expression Web 4.0 (http://www.microsoft.com/expression/products/Upgrade.aspx) is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now