Display content via flash 9 swf?

I have swf that requires flash 9, and I'm trying to show content on it. To facilitate this, I set wmode to transparent. The problem is that this ONLY works when the user has installed flash 10, and I really don't want to require flash 10 to view the content on the site I'm working on. When I pull a div over flash content with flash 9, swf merges or completely overwrites the div.

How can I prevent this without requiring flash 10 from the user?

I use swfobject to insert swf and jquery-ui to display divs by the contents of flash memory.

EDIT:

This failure behavior is only observed in Safari.

+2
source share
5

, . -.

. " " . , -, . , Iframe , IFrame. , div -, IFrame :

    <iframe style="position:absolute;top:250;left:150;"></iframe>

div iframe :

    <div style="position:absolute;top:250;left:150;"></div>

jquery , ui.dialog. , - , .

1) id , . ,

<object id="movie1"></object>

2) , ( , ), javascript, . ,

$("#movie1").css("display","none");

3) . ,

$("#dialog").dialog("open");

4) . ,

  $("#dialog").dialog("close");
  $("#movie1").css("display","inline"); 
+2

wmode transparent Flash Flash Player 10.

, wmode transparent; SWF, wmode opaque. .

, HTML- "", CSS.

: http://learnswfobject.com/advanced-topics/placing-html-elements-over-a-flash-movie/

+3

, , .

(x) html - z-index

+------------+
|            |
| +-------------+
| |   html      |
| |             |
| +-------------+
|   Flash    |
+------------+

, (x) html Flash :

+------------+
|  html      |
|            |
+------------+
+------------+
|            |
| Flash      |
|            |
|            |
|            |
|            |
+------------+

, , Flash/html .

+1

( 10 ). Flash Player 9/Safari, . .

WModes

pipwerks, WMode , / . Safari/Flash9 .

-1

wmode . , , HTML/, Flash.

-1

Source: https://habr.com/ru/post/1725775/


All Articles