Detect wmode in SWF

Is there a way to detect the wmode setting in a SWF
file?

What's the name of the product? Who is the manufacture? Have you talked to them? I assume this product produces a swf but no fla.  It sounds like either the product is defective or you're not using it right. I suppose there are several products that do that the only one that I know about is Captivate.
Captivate has a Forum here at Adobe.  You could import the swf and talk to it but I'm still trying to figure that one out so I can't help you there.

Similar Messages

  • Detect audio in swf file?

    Hello,
    We are working with a software package that records the
    user's screen and audio from their microphone and then saves the
    recorded session (video + audio) to an swf file.
    Unfortunately sometimes there are audio problems during
    recording and when you play back the swf file you can see the video
    but you don't hear any sound;.
    Is there a way programatically to detect if the file contains
    audio or not? Furthermore since all files are indeed intended to
    have audio, is there a way to determine if the audio in the file is
    something other than the sound of silence (i.e. some actual noise
    or activity in the audio stream)?
    Thank you
    -lucena

    What's the name of the product? Who is the manufacture? Have you talked to them? I assume this product produces a swf but no fla.  It sounds like either the product is defective or you're not using it right. I suppose there are several products that do that the only one that I know about is Captivate.
    Captivate has a Forum here at Adobe.  You could import the swf and talk to it but I'm still trying to figure that one out so I can't help you there.

  • How to detect if my SWF was successfully retrieved or not?

    Hi All,
    We have a full-viewport Flex app that is integral to our business.  "Full-viewport" means that there is nothing else on the page--the Flex app uses the entire viewport.
    The app was developed in Flash Builder 4, and we're using the default HTML/JavaScript that Flash Builder provides for the host page that SWF lives on.  This is using SWFObject.
    From time to time, we get calls from customers who try to use our Flex app and instead get a completely blank page. The only way I can replicate this myself is if I do something to prevent the SWF from downloading.  E.g., if I change the name of the SWF so that SWFObject gets a 404.
    The best guess I can give as to why customer's might get this behavior is that they've got some kind of security software that is blocking SWFs, or at least blocking this particular SWF.
    I am wondering how I can tell, in JavaScript, whether or not the SWF was successfully loaded by SWFObject.  I would like to display a notice to the user saying that the Flash file failed to download, and giving them some suggestions on how to get it to download (e.g., check security software settings, unblock Flash, etc.).  I would then also send a notification to myself notifying me that we had a "blank screen" incident, along with some debugging information about the client's browser.
    If there was a way for me to know in JavaScript the results of the SWFObject embed attempt, I think I could do this.  Suggestions?
      -Josh

    Well, an issue I've run into is that since my Flex app is full-viewport, there's nowhere for me to display an HTML message.  The Flash move displays on top of everything as usual.
    So, even if I were able to work out a way to determine if the SWF failed to load, I wouldn't be able to display it.  But I suppose I could redirect the user to another page where I gave them some useful troubleshooting information.
    Any any rate, this got me thinking--why is Flash movie displaying on top of everything--even if I delete the SWF file, so there is no Flash movie to download.  Hmm... right click on the big white viewport, and you get "Movie not loaded" in the Flash Player context menu.
    So, even though the Flash move is not loaded, the Flash Player did start.  Which leads me to ask... is there a way to interrogate the Flash Player directly, and see if it loaded the movie or not?
    Clearly the Flash Player is aware that the SWF failed to download.  It tells me right in the context menu, "movie not loaded."  The question is, can I programmatically interrogate the Flash Player from within JavaScript?
    Suggestions?
    p.s., I'm aware that I could change the WMODE to transparent to try and let my HTML message show through the SWF, but I want to avoid doing that at all costs :-) I've had too many problems in the past with subtle (and frustrating) errors when I change WMODE away from the default value of Window.

  • Detect end of swf & reload another

    Hi,
    Currently I am using this code to play a selection of .swf files using the keyboard.
    var myrequest:URLRequest=new URLRequest("1.swf");
    var myloader:Loader=new Loader();
    myloader.load(myrequest);
    stage.addChild(myloader);
    //Adds event listener to the stage.
    stage.addEventListener(KeyboardEvent.KEY_DOWN, detectKey);
    function detectKey(event:KeyboardEvent):void {
    if (event.keyCode==81) {
       var myrequest1:URLRequest=new URLRequest("2.swf");
    myloader.load(myrequest1);
    if (event.keyCode==87) {
       var myrequest2:URLRequest=new URLRequest("1.swf");
    myloader.load(myrequest2);
    if (event.keyCode==69) {
      var myrequest3:URLRequest=new URLRequest("3.swf");
    myloader.load(myrequest3);
    Now I would like to detect the end of, say, 1.swf to load into a different swf, does anyone know how best to acheive this? I have tried a few tutorials with no success!
    Many Thanks

    One way would be to have each swf be assigned an event listener after being loaded so that you could have each one dispatch an event when they complete.  The event handler function for the listener would take care of loading the next swf.
    Another approach, if these are frame by frame animations, could be to continually compare the currentFrame versus the totalFrames as soon as the files are loaded and initialized.  When the two values are equal, trigger loading the next.
    In both cases you should include listeners to determine when the files are loaded before establishing either method.

  • Detecting when an external swf has stopped playing

    I want to load a short swf to play whilst a flv loads in the
    background. The problem is detecting when the swf has finished
    playing. I would use the current and total frames but unable to
    identify what swf or mc to attach the methods to. I have tried
    Loader.content but this is not working.
    Any ideas please.

    It looks like you're using AS3 and a Loader object. If that's
    the case then you can access the loaded content like this:

  • Detecting swf unload

    Hello,
    I'm trying to figure out the proper way to detect the unloading of a loaded swf.
    My app is an AIR/iOS book project that behaves differently on the device vs testing locally in Flash Builder.
    When viewing the console in debug I see this in Flash Builder:
    1) [SWF] assets/swfs/common.Page1.swf - 808,976 bytes after decompression
    2) [Unload SWF] assets/swfs/common.Page1.swf
    3) [SWF] assets/swfs/common.Page2.swf - 969,002 bytes after decompression
    However, looking at the debug console when testing on an iPad, I don't always see 2) after 1). It only appears after going to Page3. So sometimes a swf seems stuck in memory. This causes a significant performance hit and eventually can lead to a crash.
    The ViewController function for adding pages is basically:
    1) destroy, remove and nullify a "_currentPage" page it if already exists
    2) garbage collect (System.gc() twice)
    3) check to see if flash.events.Event.UNLOAD event has fired. If not, call same function again after slight delay
    My question is if there is some other event that should be listened for to detect when the swf is truly unloaded? i.e. whatever actually happens in the Flash Player that displays this in the console: [Unload SWF] assets/swfs/common.PageNameHere.swf
    I want to pause the app until the previously loaded asset swf is removed before going to the next page.
    Hopefully this issue makes sense.
    Thanks in advance for any help.
    Best,
    Mark

    (welcome to the stupid-error club.  you're in good company.)
    and, you're welcome.

  • Flsh CC 2014 Bug - SWF detected as SWF-Eploit when compiled a second time

    There seems to be a serious bug in Flash CC 2014. When compiling an swf for the first time, everything is fine. But after compiling it a second time (even without making any changes) the anti virus software of the server hooks in and deletes the file automatically because of a swf exploit cve detection!
    Anyone else having this problem or any suggestions on how to solve this?

    I've the same problem!
    My old .SWF version is running fine on the server. I can execute it from the website.
    When rename this .SWF version locally (PC) and send this exact same copy to the server by FTP, it 's rejected.
    Server response.
    > 550 Virus Detected and Removed: Swf.Exploit.CVE_2014_0564-2
    : /renamed.swf
    The file itself seams to be ok, scanned locally with Panda antivirus and AVG.
    I compiled it with the latest FLASH, still the same server response.
    I'll think to contact the server desk of the provider. I'll think it is a false positive for CLAMAV.
    Pieter

  • Javascript calls (StopPlay/Rewind/GotoFrame/...) not working on all flash files

    Hello everybody,
    I am using the flash player plugin (9.0 r115) in Safari
    (3.0.4).
    On some flash files, the StopPlay/Rewind/GotoFrame/Back
    functions are not working. On some other they are working well.
    How can I detect (in advance) .swf files where these command
    will not work ?
    Is it particular with actionscript ?

    > Do you mean the AC_RunActiveContent.js file? yes it has
    been uploaded and
    > is in the same folder with the other four flash docs.
    The page code is looking for the .js file in the Scripts
    folder:
    <script src="Scripts/AC_RunActiveContent.js"
    type="text/javascript"></script>
    When I point my browser at:
    http://www.jackson.army.mil/PAO/Scripts/AC_RunActiveContent.js
    I get 404 - File not found.
    The browser cannot run the Flash movie if it cannot find the
    .js file inside
    the Scripts folder.
    Where on the server did you upload the AC_RunActiveContent.js
    file?
    Regards
    John Waller

  • Browser scroll bars

    Hello all!
    I have a spark application that is 100% width and height but also has a minWidth and a minHeight.
    I need it to show the browser's scrollbars when the browser window is smaller than minWidth or minHeight but I just can't do it!
    Any hint, please?
    Best regards,
    Jorge

    When you set a width/height on a Flex application that value is then used as the width/height of the SWF in HTML (via JavaScript).  You can see this by looking in your bin-debug folder at the HTML file that is generated for your application:
    swfobject.embedSWF(
    "Repro2.swf", "flashContent",
    "100%", "100%",
    swfVersionStr, xiSwfUrlStr,
    flashvars, params, attributes);
    The 100%, 100% in the JavaScript code listed above is setting the width/height of the SWF.  Notice that minWidth/minHeight isn't reflected at all in the sizing and I believe that is because there is no way to define it consistently across all major browsers (if I remember correctly IE6 doesn't fully support it).
    If you think this would be useful I would suggest filing an enhancement request (http://bugs.adobe.com/flex).
    In the mean time you might want to look into...
    - learning about the CSS min-width/min-height styles
    - writing some custom JavaScript/CSS that detects when the SWF size goes below your minWidth/minHeight and at that time uses JavaScript to change the size of the SWF to the minWidth/minHeight instead of 100%, 100%.
    - using Flex scrollbars instead of browser scrollbars

  • OnLoadInit within xml for loop

    Hi,
    I have some code that loads in xml which works fine (see
    below)
    I have a for loop, and based on the content of the XML, swf's
    are loaded in to moving clips.
    when each of the swf's have completed loading in I need to
    change the clips scale, position etc.
    I need to indroduce to the code below some way of detecting
    when each swf is loaded. I have been doing research and know I need
    to integrate a loadInit function into the code. I have tried
    alsorts and looked at alot of code but can't seem to get anything
    working.
    If any of you can poinbt me in the right direction that would
    be great.
    stop();
    var y:XML = new XML();
    y.ignoreWhite = true;
    var page_cat_ids:Array = new Array();
    var page_cat_names:Array = new Array();
    y.onLoad = function() {
    var category:Array = this.firstChild.childNodes;
    for (i=0; i<category.length; i++) {
    page_cat_ids.push(category
    .attributes.cat_id);
    page_cat_names.push(category.attributes.cat_name);
    duplicateMovieClip(_root.characterClipContainer.characterClip,
    "characterClip"+i,
    _root.characterClipContainer.getNextHighestDepth());
    _root.characterClipContainer["characterClip"+i]._x = 100*i;
    _root.characterClipContainer["characterClip"+i].characterClipName.text
    = page_cat_names
    _root.characterClipContainer["characterClip"+i].characterClipImage.loadMovie("../images/f lash/characters/"+page_cat_names+".swf");
    y.load("../xml/categories_page_1.xml");

    Sorry, I missed something out.
    there is however another problem. As the code loops it is
    adding the page_cat_names to each other. Because of this the movie
    is loading in the first swf but can't find the others becuase they
    dont exist.
    see the error from my output panel below. the trace is coming
    out at the end though.

  • How can i detect if the picture or swf file is produced from legal flash?

    I have recently bought images and swf files from a student for my website.
    I've just realized that the images and swf might be from pirated flash product because i found out that
    the original flash is really and i mean really pricey! I don't believe he bought an original product.
    How do i detect if it is from a legal product? I'm worried as i'm going to put it in my website.
    I can't get the guy who did this for me as he is in another country already.
    If it is possible to detect this and it is indeed from pirated product, how can i make it legal again?
    Please help.

    Hey Rob,
    Its the same question, just that i want to know if it is possible to trace the source if the file is an image.
    If it is not possible to trace the source be it a swf or an image file, then i will just upload it to my website.
    I wouldn't bother to check if it came from a pirated flash product.
    The image is created from flash 8 just for me. It is not downloaded from another source.
    Thanks.

  • How to detect end of flash movie (SWF file) in Javascript

    I have used Dreamweaver CS4 to integrate my SWF file as shown
    below. So far so good. See GoToNext()
    my website
    What I wouldd like to do is have the SWF movie trigger a
    javascript function in my html page when the video is stopped
    playing (i.e. when it is finished) There are no controlls in that
    SWF file - it is basically am add banner. I would think this would
    be easiest done by rasinng an event in SWF that is communicated to
    javascript, where I can add an event listener, and thus trigger my
    function.
    How can this be done in the simplest way?
    <div id="bodyFlash"
    class="clearfloat"><p> </p>
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="760"
    height="150" id="FlashID" title="Chillifire Banner">
    <param name="movie" value="flash/chillifire.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="transparent" />
    <param name="swfversion" value="6.0.65.0" />
    <!-- This param tag prompts users with Flash Player 6.0
    r65 and higher to download the latest version of Flash Player.
    Delete it if you don’t want users to see the prompt. -->
    <param name="expressinstall"
    value="Scripts/expressInstall.swf" />
    <!-- Next object tag is for non-IE browsers. So hide it
    from IE using IECC. -->
    <!--[if !IE]>-->
    <object type="application/x-shockwave-flash"
    data="flash/chillifire.swf" width="760" height="150">
    <!--<![endif]-->
    <param name="quality" value="high" />
    <param name="wmode" value="transparent" />
    <param name="swfversion" value="6.0.65.0" />
    <param name="expressinstall"
    value="Scripts/expressInstall.swf" />
    <!-- The browser displays the following alternative
    content for users with Flash Player 6.0 and older. -->
    <div>
    <h4>Content on this page requires a newer version of
    Adobe Flash Player.</h4>
    <p><a href="
    http://www.adobe.com/go/getflashplayer"><img
    src="
    http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif"
    alt="Get Adobe Flash player" width="112" height="33"
    /></a></p>
    </div>
    <!--[if !IE]>-->
    </object>
    <!--<![endif]-->
    </object>
    </div>
    ...

    on the last frame in the banner file you can use the
    ExternalInterface class to call a specific JS method, and even pass
    data if needed.

  • "Detecting" a variable from an externally-loaded SWF via SWFLoader

    I load an external SWF file from a click event.  Then, when the interactions has reached the end of the presentation, we'd like it to unload itself, and go into another state.
    Is that possible?  ( actually transformed the SWF into a component using Flash Builder 4 hoping that would be easier to detect variables and events)
    Thanks,
    Doug

    It is possible, but you'll have to wire up the communications between the
    SWFs

  • How to detect the end of a loaded swf file

    Hello Guys
    This is my first time on this forum, come here with a great
    hope
    I have loaded a picture file (jpeg) and a video file (swf)
    into the main flash file using xml
    on frame 3, I load the picture and on frame 7, I load the
    video, there is a stop action on frame 6
    Now when the flash is executed the picture is displayed ( it
    says "Click here to view the video")
    when the user click the picture , the video is loaded and
    starts to play ---- so far everything is working fine
    now what I want to do is, once the video finishes playing (
    not stoped) I want to display the picture again
    can you tell me how to detect the end of an external loaded
    swf files,
    Please help me
    Thanking You
    Shriram

  • Detect end of captivate swf

    I am loading a swf that I created in captivate into another
    flash file. I would like to be able to detect when tha captivate
    swf is at the end. Is there a way in flash to detect when a
    captivate swf is at the end?

    Hi Jencarter,
    another possbility could be to embed a small swf-animation
    into the captivate-movie that calls a function in the root, in this
    case the flash-file which loads the captivate-movie.
    We had the same problem, in the flash-file a function
    "chapterend" should be called as soon the captivate-swf is at the
    end.
    So I've build a small swf which just calles the actionscript:
    _root.chapterend();
    This swf can be imported into the last slide of the
    captivate-movie (or on any other position, if you need it).
    Best regards

Maybe you are looking for