How to get Flash movie into randompromo

A place to ask questions and get help. Be the first on your block to post ...

How to get Flash movie into randompromo

Postby nwiest » Thu Apr 19, 2007 9:58 am

I inserted a flash movie that is 210x80 into the randompromo script but it will not display. This is the 2nd different flash movie I have tried and both times it will just display the name of the movie but not the movie. Can anyone tell me why this might be. The site I am working with it on now is biosci.unl.edu

Any help would be greatly appreciated!
nwiest
 
Posts: 11
Joined: Thu Jan 18, 2007 3:53 pm
Location: Beadle Center

Postby saltybeagle » Thu Apr 19, 2007 3:20 pm

Ah yes,

The original random promo method only supported flat image files (.jpg,.png,.gif). To utilize flash animations we had to expand the random promo code which requires some small changes --- and a new format for storing the promo data (xml).

The wiki has some information which outlines the process - http://www1.unl.edu/wdn/wiki/Random_Promo_Images

Check out that page and be sure to note if you have any troubles.
Brett Bieber
Image
saltybeagle
 
Posts: 376
Joined: Fri Jan 16, 2004 3:10 pm
Location: 321 Admin

Postby JRW » Tue Jun 26, 2007 4:57 pm

Is there a limit to the number of jpgs or flash elements that are used?I'm trying to include a number of stills, but not all of them are appearing. I think it may be related to how many there are (over 10) or how they are numbered in the js file? Here is an example of where I suspect is the trouble, but not sure:

"http://dept.unl.edu/images/promo/person001_210x80.jpg";
leftImgArray[10][1] = "Recognition";
leftImgArray[10][2] = "http://dept.unl.edu/recognition/";
leftImgArray[10][3] = "";
leftImgArray[11] = new Array;
leftImgArray[11][0] =
JRW
 
Posts: 15
Joined: Wed Dec 14, 2005 12:15 pm
Location: Information Services

Postby alvin_woon » Thu Jun 28, 2007 8:44 am

Hi JRW, there's a new way to do random promo (it uses xml instead of JS array).

Please check out http://www1.unl.edu/wdn/wiki/Random_Promo_Images
and let me know if you have further questions.
alvin_woon
Site Admin
 
Posts: 59
Joined: Wed Mar 01, 2006 11:05 am


Return to Help & Assistance

Who is online

Users browsing this forum: No registered users and 1 guest

cron