Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 01-09-2004, 06:50 PM   #1
Registered User
Join Date: Jul 2002
Location: deep inside planet earth
Posts: 28
Default need help

hello there !

i have javascript code for change images after certain interval,
what i need to do is change the images to flash movies (banners)

src = ["image1.gif", "image2.gif", "image3.gif", "image4.gif"]
url =["http://smth.com", "http://smth.com", "http://smth.com", "http://www.smth.com"]
duration = 4;

ads=[]; ct=0;
function switchAd() {
var n=(ct+1)%src.length;
if (ads[n] && (ads[n].complete || ads[n].complete==null)) {
document["Ad_Image"].src = ads[ct=n].src;
ads[n=(ct+1)%src.length] = new Image;
ads[n].src = src[n];
function doLink(){
location.href = url[ct];
} onload = function(){
if (document.images)

i know this is not actionscript, but anyway if some1 knows how to change src with .swf???


mystic is offline   Reply With Quote

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 04:35 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.