1. #1
    Ext User
    Join Date
    Mar 2007
    Location
    T
    Posts
    39
    Vote Rating
    0
    hicker is on a distinguished road

      0  

    Default flash z-index problem

    flash z-index problem


    hi,
    i've a flash animation in the center of the page and i'm showing a basic dialog. but flash stays on top of dialog. i've tried to give z-index to flash object's style, and
    Ext.useShims = true;
    and added
    shim:true
    to basic dialog's config parameters but nothing changed. am i missing something?

  2. #2
    Ext User
    Join Date
    Mar 2007
    Location
    T
    Posts
    39
    Vote Rating
    0
    hicker is on a distinguished road

      0  

    Default


    here is the solution:
    add this line to flash object's params:
    <param name="wmode" value="opaque">

    and this parameter to <embed... tag
    wmode="opaque"

  3. #3
    Ext User tinker's Avatar
    Join Date
    Sep 2007
    Posts
    26
    Vote Rating
    1
    tinker is on a distinguished road

      0  

    Thumbs up gr8!

    gr8!




    worked like a charm for me! thanks!!!

    just a question though ... what exactly is "wmmode"?

  4. #4
    Ext User
    Join Date
    Mar 2007
    Posts
    19
    Vote Rating
    0
    visves is on a distinguished road

      0  

    Default


    Thanks for following up and posting the solution! Saved some time!

  5. #5
    Ext User
    Join Date
    Dec 2008
    Posts
    1
    Vote Rating
    0
    manoilayans is on a distinguished road

      0  

    Smile Thanks..!

    Thanks..!


    Quote Originally Posted by hicker View Post
    here is the solution:
    add this line to flash object's params:
    <param name="wmode" value="opaque">

    and this parameter to <embed... tag
    wmode="opaque"

  6. #6
    Ext User
    Join Date
    Jun 2009
    Posts
    23
    Vote Rating
    0
    Copernicus is on a distinguished road

      0  

    Default


    I also had this problem and the solution suggested here works fine if you have a html file with the flash object so you can modify the parameters directly. But what if you (like me) use swfobject to insert the flash movie into the page dynamically? Then you need a different approach. Here is how I solved this.

    Code:
    function embedChart(targetElement) {
    var flashVars = {}
    flashVars["data-file"] = "/chartrequest/";
    
    var params = {}
    params["wmode"] = "transparent";
    
    swfobject.embedSWF("/res/app/flash/open-flash-chart.swf", targetElement, "100%","100%", "9.0.0", "expressInstall.swf", flashVars,params)}
    The important part is params, where you can send in parameters to the flash object. Just set wmode to transparent and send it in. I also tried setting it to opaque and it works too. it seems to have the same effect. I also set the z-index on my div which hosts my flash movie to -100, like this:

    Code:
    <div id="chart" z-index:-100></div>
    Hope it helps someone.

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi