Solved

Flash ad running over a webpage

Posted on 2002-05-29
9
215 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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

746 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

13 Experts available now in Live!

Get 1:1 Help Now