FLV file not loading

Hi!
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
    creationComplete="myVid.pause();">
    <mx:VBox>
        <mx:VideoDisplay id="myVid"
            source="../assets/ES_morcuera.flv"
            height="250"
            width="250"
        />
        <mx:HBox>
            <mx:Button label="||" click="myVid.pause();"/>
            <mx:Button label="&gt;" click="myVid.play();"/>        
        </mx:HBox>
    </mx:VBox>
</mx:WindowedApplication>
When I push the play button I get this message: Error: 1000: Unable to make connection to server or to find FLV on server.
The FLV path is right:
./.flexProperties
./.actionScriptProperties
./.settings
./.settings/org.eclipse.core.resources.prefs
./libs
./assets
./assets/ES_morcuera.flv
./assets/walking.flv
./src
./src/main.mxml
./src/main-app.xml
./bin-debug
./bin-debug/main-app.xml
./bin-debug/main.swf
./.project
I am running this as an AIR app in a linux box.
I have tried with two videos:
ES_morcuera.flv: [ffflv] vfm: ffmpeg (FFmpeg Flash video)
wlaking.flv: [VP6A]

Hi!
I have found the solution.
AIR expects a protocol, which in this case is “file:///” (not the file's NativePath).
So
<mx:VideoDisplay id="myVid"
            source="../assets/ES_morcuera.flv"
            height="250"
            width="250"
/>
must be:
<mx:VideoDisplay id="myVid"
             source="file:///home/user/myProject/assets/ES_morcuera.flv"
             height="250"
             width="250"
/>
Bye.

Similar Messages

  • Flash swf file not loading on webpage

    Hi there,
    I have put an swf onto my web page and everything works fine when i test it in my browser through dreamweaver.
    When i go online to my website:  http://www.organicgrowshop.co.uk/     it doesn't load
    I have uploaded the two script files to my webhost. I have the latest version of flash on my comp. I can get an FLV file to load ok in its place.
    What am i doing wrong??
    Any help is much appreciated!
    Thanks,
    Matt

    Hi there,
    Thanks very much for taking the time to help me!
    Sorry, i have been messing around trying to get different things to work with no luck.
    I did have the script files and the swf uploaded directly to my root folder, this didnt work so i tried making a scripts subfolder in my root folder to put the scripts in. This hasnt worked either.
    The files are definitely in my root folder. Can you take a look again for me?
    I dont understand why i can get it to work with an FLV file but not with the SWF file?
    Thanks again,
    Matt

  • Xml file not loading from different server

    Hi,
    I have a simple flash banner that is pulling a number from an xml file on a different server. When it gets to the frame where the number should be it just says "transferring data from eckul.com" and will not actually pull in the number. Unfortunately I can't put the files on the same servers. Any help would be much appreciated, below are the links and the xml code I'm using followed by the action script. Cheers
    http://www.sainters.net/newsletters/2010/flash_test_membership2.html
    http://www.eckul.com/number.xml
    <?xml version="1.0"?>
    <inventors>
        <person>
            <name>892</name>
            </inventors>
    function loadXML(loaded) {
    if (loaded) {
    _root.inventor = this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
    _root.comments = this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
    name_txt.text = _root.inventor;
    comment_txt.text = _root.comments;
    } else {
      trace("file not loaded!");
    xmlData = new XML();
    xmlData.ignoreWhite = true;
    xmlData.onLoad = loadXML;
    xmlData.load("http://www.eckul.com/number.xml");

    so, in frame 1 of your fla before you execute that cross-domain load method, use:
    System.security.loadPolicyFile("http:www.yourcrossdomain.com/subdirectoriesIfNeeded/crossd omain2.xml");
    where the following (crossdomain.xml) is in www.yourcrossdomain.com's root (IF you want to allow allow subdirectory policy files):
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
    <site-control permitted-cross-domain-policies="all"/>
    </cross-domain-policy>
    and in the subdirectory (and its descendents) that you want to allow access put crossdomain2.xml:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
      <allow-access-from domain="www.thedomainthatstryingtoloadcrossdomaindata.com" />
    </cross-domain-policy>

  • Troubles with xmp files not loading...

    I'm having troubles with xmp files not loading with images but are present in the image folders. does anyone know why this is happening and if there is a way to fix this. Also when trying to load the xmp individually they are grayed out and unable to load. I have tried this on different machines (Macs) and still no luck. Any help would be greatly appreciated in this issue.

    > The information contained in the XMP file is stored in the DNG file so there is no need for a separate file.
    Aww, yuck!! That's a real drag...
    When editing lots of files (yesterday's shoot produced 8GB) I back everything up to off-line storage and then, after doing all my edits and crops in ACR, I only have to copy over the small XMP files which takes no time at all.
    So if I re-edit the DNG with ACR I have to re-copy ALL the files again to the off-line storage.
    I used to sometimes even save 2 versions of the xmp files when I needed 2 different crops of the same images, such as doing a wide screen 'cinema' crop for a corporate client's Intranet presentation of their event, as well as more standard crops to be used for their newsletters.
    Guess I won't be using DNG any more..
    Thanks for the help Kees :-)
    Russell

  • Imported Jar file not loaded at run time ORA-105100

    Oracle 9iDS forms Version 9.0.2.9.0
    Oracle 9iAS Release 2
    I have imported java classes from a jar file into my form. I have it working in client server. Added the entries to the classpath in the default.env and system environment variable for development of the form and for execution.
    Moved the jar file, form and testing html to the application server. Modified the classpath in the default.env file. Tested the form. Got the ORA-105100 error. MetaLink note 261650.1 states that error frm-40735 When-Button-Pressed triger raised exception ORA-105100 if calling a java function from a jar file. Cause: Jar file not loaded at run time. Solution: add in your default.env CLASSPATH parameter your jar file including the whole directory of the jar file location. That has been done and the OC4J has been restarted. Still get error.
    Oracle support has not been able to give me much help as of yet. Does anyone have any further ideas, or documentation that I can read to help get this working?
    Thanks in advance for any assistance that is offered.

    Hey people any clues?

  • Dreamweaver widget spry .js files not loading

    Problem with spry .js files not loading on index.html whats wierd is it works on other servers but not on other one, is there any js restrictions on the server, links the same, Is it;
    1. useing site root to lnk .js? buggered if I know! But really need to fix this, and all other widgets I have on the site are fine.
    2. Some one suggested there should also be a SpryWidgetBase ? whats that about?
    3.Is my DOCTYPE  ok?
    As I said here it is fine http://www.tompriceshs.wa.edu.au/Publish/ and its the exact same copy! as http://www.tompriceshs.com.au/ but not working here as you will see.
    Your greatness is required yet again! Please.
    Skip

    These are the first lines of the working SpryWidget.js
    // SpryWidget.js - version 0.16 - Spry Pre-Release 1.7
    // Copyright (c) 2009. Adobe Systems Incorporated.
    // All rights reserved.
    // Redistribution and use in source and binary forms, with or without
    // modification, are permitted provided that the following conditions are met:
    //   * Redistributions of source code must retain the above copyright notice,
    //     this list of conditions and the following disclaimer.
    //   * Redistributions in binary form must reproduce the above copyright notice,
    //     this list of conditions and the following disclaimer in the documentation
    //     and/or other materials provided with the distribution.
    //   * Neither the name of Adobe Systems Incorporated nor the names of its
    //     contributors may be used to endorse or promote products derived from this
    //     software without specific prior written permission.
    // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
    // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    // POSSIBILITY OF SUCH DAMAGE.
    (function() { // BeginSpryComponent
    and this is the same for the not working JS
    / SpryWidget.js - version 0.16 - Spry Pre-Release 1.7//// Copyright (c) 2009. Adobe Systems Incorporated.// All rights reserved.//// Redistribution and use in source and binary forms, with or without// modification, are permitted provided that the following conditions are met:////   * Redistributions of source code must retain the above copyright notice,//     this list of conditions and the following disclaimer.//   * Redistributions in binary form must reproduce the above copyright notice,//     this list of conditions and the following disclaimer in the documentation//     and/or other materials provided with the distribution.//   * Neither the name of Adobe Systems Incorporated nor the names of its//     contributors may be used to endorse or promote products derived from this//     software without specific prior written permission.//// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE// POSSIBILITY OF SUCH DAMAGE.(function() { // BeginSpryComponent     if (typeof Spry == "undefined" ||
    My guess is that the latter has been cottupgwd on the way up. Sorry, corrupted.
    To prove the theory, simply link SpryWidget.js from ..wa.edu.au to ..com.au as in
    <script type='text/javascript' src='http://www.tompricehs.wa.edu.au/Publish/Spry-UI-1.7/includes/SpryWidget.js'></script>
    Gramps

  • 4917 license file not loaded

    Hi for all ,
         I have problem with call manager version 6.1 , we upgrade from 4.x to 6.x  , after that when i access
    there massege ( warning license .......)  and when i try to add or delete phone i recevied this massege add phone  ( add failed .[4917 ] license file
    not loaded ) ,  delete phone ( error occured one or more record did not get delete. [4917] license file not loaded ) .
        Please can you help me to solve this problem and how i can solve .
    Thanks ,

    https://supportforums.cisco.com/thread/296808
    i got this link its worth reading or not???

  • Oracle lite message file not loaded

    Hi..
    I'm not getting the proper error messages listed for the POI - error messages. It throws out "message file not loaded". do I have to run/update any scripts manually. please throw me some light

    Hmmm...
    is Your olite40.msb file missing somehow?
    You need it since all error messages for the POL Error Numbers can be found in there.
    I think it has to be in Your PATH.

  • .flv videos not loading

    Hello,
    Has anyone had this problem and found a fix. For some reason my flash videos are not playing. Nothing loads on the Captivate page in the LMS enviroment. It works just fine before I upload the zipped file, I unzipped into into a test folder and it works just fine (the .fla files have a relative path) but when it is uploaded onto the LMS something happens, actually nothing happens:) The flash videos don't load. I am going to guess this is an LMS problem, but just in case, has anyone experienced this and made a change somewhere and it worked?
    Thanks in advance for any input you can give.
    Enjoy the day,
    Keith

    Hi!
    I have found the solution.
    AIR expects a protocol, which in this case is “file:///” (not the file's NativePath).
    So
    <mx:VideoDisplay id="myVid"
                source="../assets/ES_morcuera.flv"
                height="250"
                width="250"
    />
    must be:
    <mx:VideoDisplay id="myVid"
                 source="file:///home/user/myProject/assets/ES_morcuera.flv"
                 height="250"
                 width="250"
    />
    Bye.

  • FLV will not load on macintosh

    thanks in advance for any help.
    i'm relatively new to flash but have executed a simple site
    for a demo reel with several progressive downloading .flv's. i
    figured out everything well enough -- actionscript 3 for
    navigation, etc. -- with the exception of one maddening problem:
    all works beautifully on PC platform and all browsers. on
    macintosh, on both FIREFOX and SAFARI, the SWF loads, but the FLV
    files will not load. users see red adobe "flv" icon instead of the
    FLVPLAYER.
    this briefly describes the site:
    HTML loader page. link loads SWF and goes to 1st frame, which
    is static. buttons in SWF go to other frames that hold FLVPLAYERs
    with content paths to specific FLV files.
    all is being served from a linux box, and, again, all is
    golden for PC users across browsers. on the MAC -- no video.
    i've tried absolute links to the SWF in the HTML. i've tried
    using dreamweaver to embed the SWF rather than use the
    adobe-generated HTML. i've tried monkeying with the .js code, but i
    can't crack this this behavior and now i'm over my head . . . .
    none of this makes any sense to me, because it seems that if
    the SWF loads, all should be good at that point. isn't that the
    idea of FLASH? it's a tidy cross platform wrapper for your
    interactions, animation and media?
    is this a known problem? am i missing something basic? is
    there any help out there?

    This forum is for the Shockwave Player - the plugin for running Adobe Director files in a browser. You need a forum for the Flash Player - the Shockwave Flash plugin. Blame Macromedia for confusing the name space of the 2 separate and distinct plugins

  • XML file not loading in FF from server

    I've created a web page that loads an external XML file and
    then uses javascript code to parse the file for requested
    information. I know it's not the best way to do this, but I'm
    trying to get this working before I move on to "better" methods.
    When I run the page using the "Preview/Debug in browser"
    funtionality of DW everything works great both in IE and FF. But
    when I load the page to the server and then load the page in a
    browser, it works in IE but not in FF. It looks as though FF is
    just not loading the XML file. I can't figure out why the page
    would work if launched from DW, but not work if the page is loaded
    on the server and then run from there, and only in FF.
    The code I'm using to load the XML file is supposed to be
    cross-browser compatible. I've seen many versions like from various
    sources, so it should be OK. I'm pretty new to all of this so I'm
    hoping that I'm just missing something simple. Does anyone have any
    idea why this is behaving this way?
    Thanks for any help.

    so, in frame 1 of your fla before you execute that cross-domain load method, use:
    System.security.loadPolicyFile("http:www.yourcrossdomain.com/subdirectoriesIfNeeded/crossd omain2.xml");
    where the following (crossdomain.xml) is in www.yourcrossdomain.com's root (IF you want to allow allow subdirectory policy files):
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
    <site-control permitted-cross-domain-policies="all"/>
    </cross-domain-policy>
    and in the subdirectory (and its descendents) that you want to allow access put crossdomain2.xml:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
      <allow-access-from domain="www.thedomainthatstryingtoloadcrossdomaindata.com" />
    </cross-domain-policy>

  • FLV file not opening up in media encoder

    I am on a unique job where we are trying to figure out our workflow for video live and on-demand production.  Basically, we will be streaming live video during the day and then we would then like to post the video that just went live and have it available in our on-demand archives.  For our on-demand, we have to have 3 different flv files at 3 different bitrates since we have no idea what our audience's individual computer/internet can handle.
    Because we are doing a high volume of video for this job over the course of two weeks, I am trying to streamline our workflow so that my editors don't have to deal with long hours of babysitting a computer while it is encoding.  Because we have to go from injesting DV footage, then exporting QT, and compressor to make it a H.264 file since Media Encoder cannot read FCP QT files, and then into media encoder to make it to flv.  That is a lot of steps to be taking.  We also have lots of other things to edit aside from the live material.
    We ourselves are sending out the video live on line, so permission is not an issue and we are not ripping off things off of big network websites at all.  You see, the video is encoding as it is going out and I found a way to record the flv video and maintain it in flv format.  However, we would just like to trim the heads and tails for the on-demand version as well create two other flv versions with a different bit rate.
    For some reason, when I open the flv file that we recorded, media encoder does not see anything.  I took that same test flv file and put it in three different media players/compression software.  The flv opens in media streamclip, Adobe Media Player, and Sorensen Squeeze, so I don't understand why you don't see anything when it is in Media Encoder.
    I was even able to trim and re-compress the recorded flv to a lower bitrate flv file.  I don't really want to use Sorensen because I tested versus Media Encoder and it is really slow compared to Media Encoder.  Can someone help me?
    Thanks in advanced.
    Michelle

    I don't think that Adobe's Media Encoder can open FLV files at all, it only creates them.
    Alternatively you can use some of the tools below to top & tail your videofiles:
    - After Effects CS4
    - Premiere CS4
    - RichFLV (www.richapps.de)
    Regarding workflow, have you looked into Adobe's Flash Media Encoding Server?

  • FLV file not showing up on page

    I am a novice with Dreamweaver. I created a site several
    years ago using just Contribute 2. Yesterday I used Adobe Media
    Encoder to encode some QTs to FLV (.f4v) files using a preset for
    Flash 8 compatible FLV files. I created a completely new html page
    in Dreamweaver and inserted the FLV file onto the page. When I use
    "live view" the page works and plays the FLV file perfectly. Then I
    save the file and save to the server. The page updates perfectly
    EXCEPT for the flv file. In Firefox it says I need the latest Flash
    version, (which I don't) in Safari, it just shows up as a blank
    spot on the page, but there is a warning at the bottom of the page
    and it allows you to see what the error is.
    The browsers "activity" window says:
    http://www.veralith.com/FLVPlayer_Progressive.swf
    not found
    Did part of the code - the FLVplayer - not get uploaded to
    the server maybe? What could have gone wrong and how do I fix it. I
    did not write special code to get the FLV file to play on the web,
    I just used the insert function and thought that Dreamweaver was
    going to do the rest for me "behind the scenes."
    Any help would be much appreciated. I read as many "help"
    files as I could, but I just don't know what I'm searching for. The
    website is www.veralith.com. I'm trying to update the "demo" page
    by adding about two dozen FLV files, eventually. Right now, there's
    only supposed to be one on that page, but it's not showing
    up.

    shullfish posted in macromedia.dreamweaver:
    > I thought that when you use the Insert>Media:FLV
    function in
    > Dreamweaver, the .swf and .js files are supposed to be
    created
    > automatically.
    Hmm. I just did a test with CS3 and it did exactly that.
    1. Created a new HTML page and saved it in the defined site
    folder
    2. Insert->Media->Flash Video
    3. Browse to the .flv file (also in the local site)
    4. Chose a skin
    5. [OK]
    6. Save
    A dialog box appeared informing me that it created a Scripts
    folder and
    that I should upload that folder to my server.
    There are now two .swf files in the same folder as the new
    .html file.
    They were not there before.
    1. FLVPlayer_Progressive.swf
    2. Clear_Skin_1.swf
    Mark A. Boyd
    Keep-On-Learnin' :)

  • Flash file not loading first time but loads on refresh

    I have a problem where a flash program is not loading when
    the webpage is first visited, it will get stuck on the loading
    screen. Now for this file to finish loading, it needs to load in
    another file. Once that file is done loading then the program will
    continue. But like I said the first time the program gets stuck on
    the loading screen and never continues. If you hit refresh in the
    browser then the program will continue past the loading screen.
    I've checked the code and everything seems fine there. Could
    this be a security issue? The two files are on the same domain. Or
    if anyone has any insight into this problem, it would be
    appreciated.

    "Dusarn" <[email protected]> wrote in
    message news:e3b9i7$qup$[email protected]..
    >I have a problem where a flash program is not loading
    when the webpage is first
    > visited, it will get stuck on the loading screen. Now
    for this file to finish
    > loading, it needs to load in another file. Once that
    file is done loading then
    > the program will continue. But like I said the first
    time the program gets
    > stuck on the loading screen and never continues. If you
    hit refresh in the
    > browser then the program will continue past the loading
    screen.
    >
    > I've checked the code and everything seems fine there.
    Could this be a
    > security issue? The two files are on the same domain. Or
    if anyone has any
    > insight into this problem, it would be appreciated.
    That is almost always caused by a faulty preloader code. Post
    your preloader code or a link to the website so it can be checked.
    tralfaz

  • SWF Files Not Loading

    I created a master fla and swf files to load into the master
    file externally. Everything loads into the master file just fine
    when I view it in flash or flash player. However I need to add a
    background to it along with a couple other things that I only now
    how to do in dreamweaver. Dreamweaver will load the master flash
    swf but it wont load the external swfs. Please help if you can.
    Thanks.

    I am not sure I completely understand what you are trying to
    do. Can you give us a link to the page in question?

Maybe you are looking for