简体   繁体   中英

Load swf file on click of (javascript)navigation label

I am trying to make a (heavy)swf file slideshow. for that i have created navigation labels at the bottom of the html page using javascript.And my my 'aim' is when i 'll click on any navigation label,particular swf file will be loaded. Here i'm getting problem is , when i open that html file all swf files are loaded at the same time. so when i click on nxt label part of swf only displays.

so what is the soln to this?

is there any way that when i'll click on navigation label only that time particular swf file will played and when i'll go to nxt label, previous label shoud have to unload.

我认为您应该动态加载SWF文件,而不是预先加载,在显示元素时立即更改该元素的src属性。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM