I want to disable one web page from user interaction on click of a button.But my web page contains one iframe which contains some flash content.Now using jQuery when I am disabling the page the flash portion is still intearctive.How can I do this using jQuery ?
            Asked
            
        
        
            Active
            
        
            Viewed 1,166 times
        
    1
            
            
        - 
                    3You mean disable like, pause? Or do you need to just hide it? – Pekka Apr 19 '11 at 07:19
 - 
                    I need it to behave as jQuery modal – Hector Barbossa Apr 19 '11 at 07:26
 - 
                    So you mean disable like, it's visible, can run, but the user shouldn't be able to interact with it? – Pekka Apr 19 '11 at 07:28
 
1 Answers
1
            
            
        you will need to create gray div which will cover whole flash object z-index is greater than flash objects z-index . When you disable page move just show this div .
making z-index work on flash is different story and also bit tricky, answer can be found here : http://www.flashdesignerzone.com/tutorials/t1026.php
or here :
http://slightlymore.co.uk/flash-and-the-z-index-problem-solved/
trick is to add parameter to flash object : WMODE opaque
        firegnom
        
- 833
 - 7
 - 20
 
- 
                    Problem is that it can have knock on affects with mouse wheel actions when u use opaque. http://stackoverflow.com/questions/5477426/issues-with-wmode-opaque-and-issues-with-wmmode-window – jakc Jan 07 '13 at 03:12