PDA

View Full Version : Hình nằm trên flash?



neo063
24-02-2009, 09:25
Hi ~~..

giờ mình muốn để 1 cái hình nằm trên 1 cái flash.. mình đã thử những cái mình biết nhưng nó vẫn chưa ra, co ban nao biet giup minh với..

Thanks

html của mình như thế này:
<div> <embed src="images/23062.swf" type="application/x-shockwave-flash" autostart="true" width="765" height="492"></embed> </div>
<div style="position:absolute; z-index:1; top:10px; left:30px "> <img src="images/video.jpg" width="450" height="450"/> </div>

hoangtu0103
26-02-2009, 09:10
uh, mình cũng gặp thế mà chưa biết cách chỉnh các bạn ah. Có ai biết hướng dẫn với!

anhhunglong
27-02-2009, 23:33
bạn thay code chèn file flash bằng code này xem sao

<DIV id=Layer1
style="Z-INDEX: 1; LEFT: 1px; WIDTH: 45px; POSITION: absolute; TOP: 0px; HEIGHT: 1px"><EMBED
src=196oi7.swf width=776 height=368
type=application/x-shockwave-flash wmode="transparent" menu="false"
quality="high"></DIV>

suutamcongnghe
01-03-2009, 10:37
Bạn sửa lại như sau:


<div style="position: absolute; z-index: 1;"><embed src="images/23062.swf" type="application/x-shockwave-flash" autostart="true" width="765" height="492"></embed></div>
<div style="position: absolute; z-index: 10;"><img src="images/video.jpg" width="450" height="450"/></div>

Xong!