Embedding a SWF Video in an AIR 2 HTML App

I've been through the forums for awhile and I can verify that my issue doesn't have to do with transparency or chrome.  I have an IFRAME which is in the application sandbox, giving it access to files in app-storage.  Dynamic images are loading fine, but my dynamically generated <OBJECT> code that is placed in the DOM is not loading the SWF video.  I can see the object placeholder, but no video.
Are there any requirements to embedding a SWF file, perhaps size requirements (both height and width required)?  Given the fact that my content is dynamic and I don't know the dimensions of the SWF file, I currently have two options for embedding:
1. Calculate the height and width of the parent element, and assign those values to the OBJECT params.
2. Use 100% width and height on the OBJECT
This might pose problems with the proportions of the SWF file, which I'm hoping can be fixed by the scale PARAM (http://kb2.adobe.com/cps/127/tn_12701.html).
Please help, I haven't been able to find any similar problems.  I followed the documentation for embedding from here:
http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS4B441C24-BAE3-4110-91FD-A4E5EEFB2467.htm l

Is this happening for any swf file, or is this an issue related to video?

Similar Messages

  • NativeWindow reload in AIR/HTML apps?

    In an AIR/HTML app, is it possible to make a NativeWindow
    reload itself? I don't see anything in the API docs for
    NativeWindow that would allow this.
    I am opening new NativeWindows via a JS function, but if a
    particular window is already open, i call orderToFront() to get the
    window in focus instead of creating a new NativeWindow, but I would
    like to have the window contents refreshed because I am passing
    different parameters in the query string. Any way to do a simple
    HTML/JS-style window.reload() equivalent for NativeWindow?
    thanks,
    -norm

    Hi,
    Since this is an HTML AIR app, you probably only need to
    refresh HTMLLoader.
    For eg: nativeWindowObj.stage.htmlLoader.reload().

  • Javascript history.back() doesnt fire in AIR html app

    I'm working on air app (html/ajax/javascript). I need to make a navigation feature, like a browser back and forward button in a page with iframe, all pages are on same domain.
    I have the following scenario:
    Adobe AIR (version 2.7.1) app that loads (air.HTMLLoader) index.php from mydomain.com
    index.php file has following design:
    <html>
        <body>
            <input type="button" value="< BACK" onclick="iframeID.history.back();">
            <input type="button" value="FORWARD >" onclick="iframeID.history.forward();">
            <ul>
                <li><a href="/page1.php" target="iframeNAME">page 1</a></li>
                <li><a href="/page2.php" target="iframeNAME">page 2</a></li>
            </ul>
            <iframe src="page_default.php" id="iframeID" name="iframeNAME"></iframe>
        </body>
    </html>
    So, this code works in FireFox, Chrome, Safari, but not in Adobe AIR app
    I can't find any documentation about this issue, really cant understand where is the problem, as i know adobe air uses webkit for web pages browsing like chrome and safari but only in air app this code doesnt work.
    I hope someone can help me.
    Thanks!

    http://forums.adobe.com/community/robohelp/airhelp
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Removing Flash Margins in Embedded SWF video

    We have embedded a SWF video on an html page and there are
    blank margins on the left and right side of the image, video. We
    used this code to embed the video. <object width="497"
    height="397">
    <param name="movie"
    value="Final_ani_Transportation.swf">
    <embed src="Final_ani_Transportation.swf" width="497"
    height="397"></embed>
    </object>
    Thanks

    Just curious...is the code you posted used to constrain the
    SWF to its proper size?
    <object width="497" height="397">
    <param name="movie"
    value="Final_ani_Transportation.swf">
    <embed src="Final_ani_Transportation.swf" width="497"
    height="397"></embed>
    </object>

  • How to embed a swf video into an html page?

    I am haing trouble embedding my swf video into my html page. Here is my code:
    <embed height="340" width="549" src="flashvideos/test.swf" allowscriptaccess="always" allowfullscreen="true" flashvars="&amp;MM_ComponentVersion=1&amp;skinName=C:/Users/RogerPa1/Documents/Visual Studio 2008/WebSites/WebSite1/Products/Create/flashvideos&amp;streamName=C:\Users\RogerPa1\Docum ents\Visual Studio 2008\WebSites\WebSite1\Products\Create\flashvideos\Robotics&amp;autoPlay=true&amp;autoRew ind=false"></embed> 
    When I run the page the place where the flash player should be is blank. But if I right click I can select settings so the flash player is there. I'm using absolute urls for the flashvars because I read in a forum that that's what you're supposed to do. Anyway I am a little frustrated that the video won't play. I tried creating a video with no skin and the same problem occurs.
    Thank You
    idesofdecember

    Answered

  • Using Facebook SDK in Air HTML environment

    Hi,
    I am building an AIR application using HTML/JS and I'm trying to work with Facebook Javascript SDK for some simple functionality.
    It seem however when running and an AIR environment I am not able to access the FB object.
    I have the SDK locally so I know its there but simple FB.init() and FB.login() are non-existent and without errors...
    I also tried using the FB AS3 library by incldeding it in <script> tags but this gives me an error
    TypeError new window.runtime.com.facebook.graph.Facebook() is not a constructor
    Don't know if its because my xml namespace is version 2.0 and not 1.5 (1.5 errors as well but it says some IFilePromise class is not found.
    Can the Javascript SDK be used in building Adobe AIR HTML apps?

    Annoyingly the SDK hasn't been updated in over three years. I've had a casual look via Visual Studio's object inspector to see if I can spot any new methods or properties that could be useful but if they are there then they are hidden well. Media Kind, for example, was introduced in iTunes 9, I think, but can't be read from code.
    I don't know what tasks you're hoping to automate, but you might find some of my scripts useful either in their own right or as food for thought.
    tt2

  • Html App: air.trace() not outputting to console... are Adobe still supporting html apps in AIR?

    Hi
    Just getting up and running
    Mac OS X 10.9. Adoe AIR 3.9. All working fine except air.trace() not outputting anything to the console.
    Bit of googling meant I created a mm.config in ~ with the line:
    ErrorReportingEnable=1
    but still no joy.
    Any other tips for getting this to work or is it just now broken and/or unsupported?
    Are HTML apps wrapped in AIR now legacy technology?

    I have the same question... I've been trying to get an Adobe AIR HTML app going, but there appears to be no IDE that supports debugging an HTML/JS AIR App, and fdb, which is supposed to be able to debug HTML/JS AIR apps, does not.
    Is HTML/JS still a supported way of developing Adobe AIR apps?  If so, then why aren't issues like this getting some attention?
      -Josh

  • Embedded SWF video = slow loading page?

    Hello and good morning,
    I have recently created a website on DreamWeaver 8 with three
    SWF videos (not FLV but SWF) embedded on it. The videos are
    supposed to be set at "progressive download" but the page takes
    ages to load up, as if the browser was loading up the videos as it
    loads up the page itself.
    Any ideas? Thank you!

    Thanks, Hans
    I should have noted in my first post that this was through Firefox... But regarding  IE 8  (im using Windows 7 on my PC) it's slow from the very start and will sometimes skip, stutter and even completely stop half way through.
    The original animation test should be much quicker.. about 4 seconds.
    Im wondering if anyone else can verify this on their browser?
    Jeff

  • Embedded swf "jumping" when scrolling an html page

    Hello!
    I have created a banner file in Flash and when embedding an swf file on the html page the swf banner appears to be "jumping" up and down when the page is longer and needs to be scrolled. This only happens when scrolling the page.
    I put up an example here:
    www.selkografiikka.com/test/coaching4.html
    You can see the black swf box jumping towards the red dots when scrolling.
    This turns out to be a problem on a website I'm working with since it's creating a rather nervous vibe to the whole feel of the site - example here:
    http://www.selkografiikka.com/tindra/index.htm
    Any ideas what's causing this?
    I am using Dreamweaver and Flash cs3.
    It seems to be a problem in all the browsers.

    Thank you Jon and Nancy for your replies.
    Sorry it took me a little while to figure out how to reply here.
    I’m happy this is not a problem on each computer according to your replies.
    I believe Java Script would be more up to date way of doing this, but the original idea was more complicated – with animated text and such so that’s why flash. I thought just to make a static picture that will show in ipads and such when flash is not supported.
    I can still see that jumping thing although I updated my flash player and otherwise have just the same browser versions as Jon.
    I might consider switching the animation part to javascript animation.
    Thank you guys!
    Liisa

  • Export to SWF , AIR , HTMl are greyed out!

    Hi,
    Just purchased Xcelsius Present 2008..Export functions (SWF, AIR, HTML) are greyed out..Why and how to activate these? I purchased the full product!
    Atul

    Atul,
    With Xcelsius Present you can export your visualization only to Adobe PDF and Microsoft Office.
    You may wish to refer the link below..
    http://www.sap.com/solutions/sapbusinessobjects/sme/xcelsius/productcomparison/index.epx
    -Anil

  • Embedding a YouTube Video utilizing HTML Insert Crashes Muse Repeatedly

    Just today I have noticed when embedding a YouTube Video in Muse that it has begun crashing repeatedly. I cannot get the video to stay embedded to finish this project. Is there a bug or a work-around?
    Thank you.

    Please try using YouTube embed code with the "Enable privacy-enhanced mode" option checked. It appears this crash is being triggered by recent changes in how YouTube's embed code works. At least early evidence indicates turning the "Enable privacy-enhanced mode" option on when creating the embed code appears to change the behavior of the embed code enough to avoid triggering this crash within Muse.
    If you do try this, please report back to let us know whether or not setting this option enables you to avoid this crash. Thanks.

  • Turning the page in a pdf from inside a swf video

    I am creating interactive PDFs from InDesign. On the first page of the pdf I have a swf video in which I would like to put a link or a button that would move you to page 2 of the pdf. Not another frame of the video or URL, but just the next page of the PDF. Is it possible to do this? And if so, how?

    You don't make it clear what you're using. A "SWF" is a Flash file, and a video is a video. A SWF can load and play a video, but "SWF video" means nothing.
    If you're talking about a SWF file created in Flash, then inside your SWF you will have to fire an ExternalInterface command using ActionScript:
    ExternalInterface.call(“eval”, “pageNum++”);
    If you're talking about a video file embedded in the PDF and using the default playback widget, then you can't do it.

  • Need Help with SWF Video Files

    Hello there. I'm experiencing a new problem with Presenter.
    I'm using WinXP, PowerPoint 2002 SP3, and the latest version of
    Presenter. I have a presentation that contains many video clips.
    I've converted them all to SWF files and have inserted them on each
    slide via the Slide Properties dialog box, and inserted
    corresponding "silences". However, when I publish my presentation
    locally, instead of showing the SWF video in the top right corner
    of the screen as it is supposed to do, I get a mirror image of the
    current slide on that small upper right window. It is like the
    presentation is embedding a copy of the slide where the video is
    supposed to be. This never used to happen, so I'm baffled. Any
    thoughts or suggestions would be greatly appreciated.

    You probably will be able to play most of those problem files by using this freeware: VLC
    If you want more information you would likely get more responses by posting in the Quicktime for MacOS forum:
    http://discussions.apple.com/forum.jspa?forumID=932

  • Embedding a SWF file with an iFrame

    I wanted to embed an assessment in to one of my PDFs. I know I can't do it directly so I tried to create a small little Flex app that shows an iFrame (see here for the example). I then tried to insert this (as a SWF) in to my PDF file. I have a problem where when selected in the PDF it displays the SWF file, but not the linked URLs for the iFrames. Any ideas? how I might be able to get around this. Here is an example of what I was working on.
    Any help would be much appreciated.
    Noel

    hat do you mean with embedding a SWF file into another?
    you can embedd a SWF file in a HTML file. you can load a SWF
    file in another SWF file.
    but to embedd a SWF into another is not possible.

  • Can I upload a you tube video to my air

    Can I upload a You Tube video to my air?

    Perhaps this is what you are looking for:
    http://download.cnet.com/MacX-YouTube-Downloader/3000-2071_4-75737345.html
    They claim
    "MacX YouTube Downloader is a totally free YouTube video downloader for you to download YouTube video with fast speed on Mac.It is specially designed for Mac users to download videos from YouTube for free."
    Disclaimer: I have never used this.

Maybe you are looking for

  • Home Sharing - works in WiFi, not Ethernet: Help!

    Hi all - I've had an Apple TV happily working with Home Sharing from a Mac Mini when both were on the WiFi network from my Time Capsule router. However, I've just installed Ethernet cabling at home so all three are now connected on a wired network, a

  • BW Upgrade - Down time - Delta queue

    Hello Experts, We are in the process of upgrading the BW system from 3.1 to BI7 but not the R3. Do we need to drain the delta queue from R3 before the upgrade or we can only go ahead about the BW Delta queue only? As per the note: 506694, its talks a

  • AirPort to AirPort communication

    I currently use an AirPort Express for my WiFi. I wanted to extend the network range within my home so I planned to purchase an  AirPort Extreme but I've also just purchased a Direct TV DVR unit that would be located on another floor of my home, away

  • More than one song in a movie?

    Whenever I try and import additional songs, instead of placing it where the red line is, it simply overwrites the previous song I had. The clips are longer than the song, and it just stays quiet for the remainder of the clip. Is there any way of putt

  • CC apps showing in CC but not Applications?

    Hi, I downloaded CC and all programmes were working apart from Illustrator - whenever I opened a file it would think about opening it then suddenly force quit. I uninstalled CC and reinstalled it. Once my CC was installed, my programmes showed up in