.swf inside HtmlLoader appears on top of other air content

When there is an HtmlLoader with a .swf wmode window the .swf file appears over top of everything!
I understand that .swf should appear above everything inside the HtmlLoader, but I don't think it should appear over top of anything outside of the HtmlLoader.
A simple example of this would be:
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
   xmlns:s="library://ns.adobe.com/flex/spark"
   xmlns:mx="library://ns.adobe.com/flex/mx">
<mx:HTML location="http://youtube.com" width="100%" height="100%" />
<s:Button width="300" height="300" label="should be over all html content, .swf in html appears over it. click and watch a youtube video to see." />
</s:WindowedApplication>
I NEED a fix to this~!
Even placing a second HtmlLoader with an .swf wmode window over top produces random results with the top .swf sometimes on top and other times below the lower .swf

As you have discovered, two elements on the surface of a <div> cannot occupy the same space. The solution lies in getting one of the elements to "lie down," either by getting it totally off the surface and making it a background of it or by actually "levitating" one above the other.
Apply a unique id to each div in which an image now lies.
Place each image in the background of its div, defining it in your CSS.
You will not then be able to use the image as a button, and you may want to add something else to click on.
OR (this second way is probably better)
Change the .FilmStill definition by adding position: relative;
Change the .SlantedWritingFilms definition by adding position: absolute; and positioning attributes (left: 0; top: 0; for instance)
Change each .SlantedWritingFilms <span> into a <div> within <div class="FilmStill">.
Beth

Similar Messages

  • Why the office windows always on top of others - how to change it back?!!

    I'm using mac os x and office 2011.
    Since maybe couple weeks ago (maybe after one of the office upgrades?), when I have multiple office windows opened (e.g., multiple word documents, excel, powerpoint), these windows always appear on top of others (e.g., safari, calendar) first!
    Here is an example: now i'm using safari, so it's my active window.  If I want to go to calendar (which is already opened), when I click the calendar window, all the office windows (which are opened as well) will jump out first!!  Then I have to click the calendar again to make it become on top of the office windows.  That means, whenever I want to switch to other windows while office windows are opened, I have to click all the other windows twice, because the first time I click on any other type of window, the office windows will jump out no matter what.
    This is very annoying after a while.  I'm not sure if I explained this clear enough.  But how can I change the settings so the office windows can just not always on top of other windows??!!  

    Yes, I can view/hide the OSK with no problem but the keyboard, itself, changed somehow.

  • IPhoto has one (random) main photo for everything on top repeatedly with other appropriate photos behind it. How do I get off that one random photo so the real photos appear on top as it should be?

    iPhoto has one same (random) main photo for everything on top repeatedly with other appropriate photos behind it. How do I get off that one random photo so the real photos appear on top as it should be?

    Backup your iPhoto library and hold down the option and command keys while launching iPhoto - hold until the first aid window appears and rebuild thumbnails - it may take a few tries
    LN

  • Lock icon is appeared at right side top of I phone n am unable todo by double pressing on home screen n voice control icon is not appear I want some other solution

    Lock icon is appeared on top right side of I phone and was unable to rotate my screen need urgent solution

    IOS7: Screen Orientation (Rotate)
    Swipe UP from the bottom edge of the screen to see the Control Center, tap the top right icon next to the Crescent to lock/unlock screen orientation.

  • Load SWF inside naviteWindow [AIR]

    Hello,
    I have an AIR application where I have to load a SWF from a server.
    At some point the user will click on a button and that button will create a new nativeWindow.
    Inside that nativeWindow we have a stage reference.
    I just want to load a SWF, addChild it to the stage and be happy!  :-P
    But I'm getting this error:
    SecurityError: Error #2070: Security sandbox violation: caller http://somewhere.com/swfapp.swf cannot access Stage owned by app:/Teste.swf.
    at flash.display::Stage/get stageWidth()
    at com.swfapp::MainClass/initApp()
    at flash.display::DisplayObjectContainer/addChild()
    at flash.display::Stage/addChild()
    at NativeWindowSWFLoader/loadSWFURLComplete()[C:\Users\hats\Desktop\teste\NativeWindowSWFLoader.as:93]
    I'm using a normal Loader:
    private function loadSWFFromURL():void
              var context:LoaderContext = new LoaderContext();
              context.applicationDomain = ApplicationDomain.currentDomain;
              context.securityDomain = SecurityDomain.currentDomain;
              context.allowLoadBytesCodeExecution = true;
              context.allowCodeImport = true;
              loaderSWFURL = new Loader();
              loaderSWFURL.contentLoaderInfo.addEventListener(Event.COMPLETE, loadSWFURLComplete);
              loaderSWFURL.load(new URLRequest(urlSWF));
    private function loadSWFURLComplete(e:Event):void
                  //var loaderInfo:LoaderInfo = LoaderInfo(e.target);
                  //var byteArray:ByteArray = loaderInfo.bytes;
                   this.stage.addChild(loaderSWFURL);
    Can someone hep me on this?
    Thank you.

    Hi,
    I've recently come across the same problem. I really need some advice and help.
    I was able to load a swf with htmlLoader in a nativeWindow. The swf is a URL base.
    On Windows works without any problem but on mac it doesn't show anything.
    I ran scout to check if the traces on the swf appear and for my surprise they show on scout but the native window screen in totally white. I really have search everywhere and i can't find an answer.
    Any ideas?
    I'm running with a retina mac (latest model).
    Best regards and thanks.

  • Resizing the swf inside a container

    Hi Guys,
    I am using a dashboard inside a vbox. I have integrated my
    dashboard into my main application (i.e. I have two different swfs,
    one of my main application and other of dashboard). Now when I
    login into my application by reducing the size of the browser, the
    pods inside the dashboard appears very small. Now when I increase
    the size of the browser the size of the pods remains small. Now my
    requirement is that the size of the pods should also get increased
    along with the size of the browser. Please help me in this regard.
    Thanks,
    Nirmal Kumar Bhogadi

    Hi mersec,
    That's Ok, I fixed the code like below, you could refer to.
    Private Sub picturebox1_mouseup(sender As Object, ByVal e As MouseEventArgs) Handles PictureBox1.MouseUp
    'Allows picture box to be dragged inside container
    'Top and Left sides of picturebox1 will not exceed point 0,0
    'This will stop any "grey space" from appearing outside these edges.
    pbLoc.X = (PictureBox1.Location.X + (e.X - a))
    pbLoc.Y = (PictureBox1.Location.Y + (e.Y - b))
    If pbLoc.X + screenshot.Width > 0 And pbLoc.Y + screenshot.Height > 0 Then
    If pbLoc.X > 0 Then pbLoc.X = 0
    If pbLoc.Y > 0 Then pbLoc.Y = 0
    If pbLoc.X + screenshot.Width - ClientSize.Width < 0 Then pbLoc.X = ClientSize.Width - screenshot.Width
    If pbLoc.Y + screenshot.Height - ClientSize.Height < 0 Then pbLoc.Y = ClientSize.Height - screenshot.Height
    PictureBox1.Location = New Point(pbLoc.X, pbLoc.Y)
    Else
    'else recovery the location
    pbLoc.X = PictureBox1.Location.X
    pbLoc.Y = PictureBox1.Location.Y
    End If
    End Sub
    If you have any other concern regarding this issue, please feel free to let me know.
    Best regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Edge Animate animations appearing on top of everything in Captivate 8 project

    When I create an animation in Adobe Edge Animate, and then insert that animation into my Captivate 8 project, it appears on top of everything: TOC, glossary, interactions, etc. I've clearly reordered the objects in the timeline so that the OAM file will appear on the bottom, but still when I publish the project, the animation appears on top of everything. Why? Is this a known bug in Captivate 8? Maybe I'm not doing something right Animate, but this is extremely irritating. How can I fix this?

    Hi bs234906
    I am having the exact same issue so not sure if it something we're doing wrong or it is a bug? I think it may have something to do with the <div>'s inside of Edge but not sure? Would love to find out the answer.

  • Drawing image so that it appears on top of another

    Alright, this question isn't as straight forward as it may seem. Yes, I want to draw an image so that it appears on top of another drawn image, but the image I am trying to draw is being drawn in another thread like so:
    public class myApplet extends Applet implements Runnable
      public Graphics g;
      public Thread myThread;
      public void init()
        myThread = new Thread(this);
        myThread.start();
      public void paint()
         super.paint(g);
         //Assume that I loaded in the images properly
         g.drawImage(image1, 0, 0, null); //Assume image1 is a 50 px X 50 px image
      public void run()
         g.drawImage(image2, 0, 0, null); //Assume image2 is a 20 px X 20 px image
    }This also happens if I try to do "g.fillRect();". The 50 X 50 image appears on top of the 20 x 20 image. Does anyone know a way that I can tell the program to draw the image in the thread AFTER the image in the paint method (I know I should be using paintComponent, but this is a sample program. Please don't get too picky about it. I typed it up simply for this post and I wanted to make it simple).
    The reason I'm drawing it in the paint method is because I am making an image move along a set of points. The points are formulated inside the run() method. If I draw it inside of the paint() method it skips points.
    Any help would be GREAT. Thank you.
    Edited by: dustty1818 on Apr 11, 2009 9:05 AM

    dustty1818 wrote:
    public class myApplet extends Applet implements Runnable
    public Graphics g;
    public void run()
    g.drawImage(image2, 0, 0, null); //Assume image2 is a 20 px X 20 px image
    }Edited by: dustty1818 on Apr 11, 2009 9:05 AMDusty,
    There are several serious (fatal) flaws with your design. The biggest is that you should NEVER hold
    on to a Graphics object. If anything you should be calling dispose at the end of the paint method.
    It appears that you are accidentally trying to use a technique called "active rendering".
    You can do active rendering in Java but it would look nothing like what you are doing (and is much
    more advanced). You must resolve to keep all drawing in (or preferably called from) the paint method.
    Have your run() method call repaint() and have your paint() method have all the information it
    needs to render the scene.
    Also, and this is comparatively minor, extend JApplet.
    example:
    import java.awt.*;
    import javax.swing.*;
    public class SceneRenderer extends JApplet implements Runnable{
         Point pt1 = new Point(0, 0);
         Point pt2 = new Point(0, 0);
         public void init(){
              Thread animationThread = new Thread(this);
              animationThread.start();
         public void paint(Graphics g){
              super.paint(g);
              g.setColor(Color.RED);
              g.fillRect(pt1.x, pt1.y, 50, 50);
              g.setColor(Color.BLUE);
              g.fillRect(pt2.x, pt2.y, 20, 20);
         public void run(){
              while(true){
                   pt1.x += 1;
                   pt2.x += 1;
                   repaint();
                   try{
                        Thread.sleep(60);
                   } catch(Exception e){}
    }

  • Is there a way to make labview messages always appear on top of all windows?

    I have a main VI running and a user selects a non-Labview window to work on. Is there a way make the user prompt or user input express VI messages appear on top of all windows? I have experimented with the "make window always on top.vi" from the NI website. That brings the VI that is running to the top but not the prompt for the express VI message. I have also used the "make window always on top.vi" in a sub-VI and called that sub-VI to be always on top and it works. I was just wondering if there was a way to do it with the express VIs that NI already has written instead of making a custom message the way I have mentioned.
    Thanks,
    Troy

    If you only need to display a prompt and can get by with a limited set of canned buttons (OK, Cancel, Retry, Continue, etc.), you can try a VI that calls the Windows API MessageBox function. You can display a message box with user-defined title, text and buttons. There is an option to use the system modality which is what you want in this case. I use my own version of this all the time for that very reason.
    Message Box

  • Explanation sought: why do alternate photos appear with top/bottom border in full screen view?

    I've moved over to Photos - no especial problems to report.
    But I'd be very glad if anyone can explain why, in full screen view, some photos appear as smaller than others. That is, some photos appear with larger black borders to the sides and about half a centimetre of black border top and bottom. Normally photos go to the edge of screen top and bottom - which is as you'd hope, so you can see the maximum amount of detail.
    It happens with portrait and landscape format. So far as I can work out, the pattern is that one photo will display in full screen, then the next one not, flip-flopping back and forth. Apart from wasting screen space, this makes it harder to (e.g) HDR and normal versions of the same shot. Is anyone experiencing the same, or got any ideas what could be going on, or even better, how to stop this?
    For clarity: I am looking at photos taken in the past few days on an iPhone 5s.
    Using Photos Version 1.0 (209.52.0)
    MacBook Pro (Retina, Mid 2012) running OS X 10.10.3

    Old Toad asserts  "This [border problems] is new territory"
    With all due respect, Old Toad, this problem was extensively documented (with examples) in the question of April 22: "screen aspect ratio is wrong in Photos slideshows". 
    https://discussions.apple.com/thread/7007657
    Indeed, you yourself were one of the commenters on that thread.
    Present status At the present time, no fix or workaround is known for border-related issues in Photos.

  • Getting text to appear on top of Image In InDesign 5

    I am struggling to get some text to appear on top of an image in InDesign 5. I did fiddle with layers but it doesn't appear to have multiple layers.
    Could someone walk me through making this work?
    Appreciate the help!
    Brian

    It seems that even if I turn the image off in layers, the text fiend does not sho up. In other words, if I create a text field outside the printable area for the boot, the text is displayed, but when I drag it into the printable area, the text goes blank.
    Let me get this one thing straight though: But draging the text layer entry above the image layer entry, the text layer would thus be above and on top(visable).??
    But it's not working as a result of the above mentioned. I still seems to have something to do with the image layer that exists on the page.
    Ooops! Bob, you hit the nail on the head. Although there was no text wrap spacing added, the text wrap was on. So, selecting a particular image and removing "text wrap" only applies the attributes only to that image. All other images still have text wrap on.....which is what I want.
    Thanks to all.

  • Having stopped audio with a swf inside a sidelet can someone create a swf that will resume the audio

    Ok, rick is going to post the fla of this file and I will
    post the swf. Basically this is all about having a slide that has
    audio running all the way through and enabling the user to roll
    over a sidelet and have the video and audio stop playback.
    At present, the max you can achieve is, to stop video. The
    audio keeps going and of course everything gets out of
    sync. Rick has create a swf that you input into a sidelet (
    after having imported your image or video ) which stops the audio.
    Fantasitc. Unfortunatly he was not successful in creating a swf
    that will resume the audio.
    So there is the mission. To create something that will resume
    the audio, be it a swf inside the sidelet or something else.

    Hi there paul. Am I right in thinking that your code will
    mute the audio. In my situation this would cause problems becasue
    you would roll over the sidelet - the audio would go silent and
    when you rolled off, or resumed the audio, it would have been
    playing so again the video and audio will be out of sync.
    Rick - rather than another swf which would activate the audio
    and video when you roll off the sidelet ( while that is the perfect
    solution ) what about looking at a button the user can press to
    resume things, maybe Im wrong but that sounds a little easier.
    ( however for all those reading this that is not really the
    solution I am looking for, what Im looking for is the above
    solution where you can just roll off and on and so on )

  • Load and resize a SWF inside a MC

    Hi,
    I'm using AS2 to load an SWF inside an MC. The MC measures
    800x600, while the SWF (which can vary in size) measures in this
    case 14x60, even though, looking at it, it seems to be about half
    the size of the hosting MC. This makes me think that the dimension
    scales are different. I'm loading the SWF using MovieClipLoader and
    I'd like to resize it so that it fits as proportionally snug as
    possible within the MC. How can I do this? If I try to resize the
    SWF to the MC's dimensions, it become way too large and goes off
    screen. If instead I try to rescale the hosting MC to fit around
    the SWF, the SWF itself rescales as well. I'm going nuts! How can
    accomplish this?
    Thank you,
    Tatiana

    To make things simple, I'd like to take an existing SWF (the
    picture) and load it into a FIXED SIZED MC (the frame) and I'd like
    to rescale the SWF so that it fits perfectly into the frame.
    By all means, I know that what you said should work and I
    admit my inexperience with AS2, but somehow the SWF's I'm loading
    in, have scales that are totally different with respect to my
    Stage. I even tried loading the SWF directly onto the stage and
    then I loaded the frame separately onto the stage and tried to
    resize it to the SWF's _width and _height. The frame became a tiny
    dot on the screen, while the SWF filled half of my Stage.
    Thanks again for your help.

  • Loading a SWF inside another SWF question

    Hello friends,
    1. (IMPORTANT) As all we know when putting some Flash SWF
    inside an HTML page, normally it starts playing as soon as its
    first frame is loaded.
    Now in my case I have to load a SWF (let call it Flash A)
    inside another Flash, I used mx.controls.Loader control to do this.
    But this internal loaded SWF (Flash A) doesn't display untill it is
    completely loaded. Although what is interesting is that if it
    contains a sound track I can hear it while it is being loaded.
    I wana know is there any way that we can make this Flash
    display while being still loaded.
    2. Is there anyway to change a Flash playback FPS at runtime?
    Thank you so much for any note and help.
    - M

    damatrixhasu wrote:
    > i want to know how i can load a flash inside another
    flash container
    go to help - search for 'loadmovie'
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • AS3 SWF inside Director 11.5.9 quirk

    I've previously used AS2 SWFs inside Director 11.5.9, and the SWFs work fine, actionscript works as it should.
    I'm working on a project where I need to use some AS3 SWFs inside Director, and I've come across a limit on the pixel width and height of the SWF. It seems that if either the pixel width or height of the published SWF are greater than 1638, then any actionscript inside the SWF is ignored when the SWF is loaded into director. The SWF still works ok outside of Director.
    For example, any actionscript stop(); commands are ignored and the playback continuously loops through the swf timeline.
    Has anyone come across this before?
    I am almost 100% certain this issue is related to the pixel width / height, as I've made a simple button navigation swf, and published it with different stage sizes. 1638 or less work inside Director, 1639 or more don't work inside Director!

    Made me laugh until I cried...
    Or did I just cry? :(
    Cruel but funny!
    Richard

Maybe you are looking for