Swf in AS2 not working

Using Captivate 4.  Tried to load two swf files and had two separate results.
First one - Action Script 2.  In the first window to open, it begins playing, but when I open and the "new animation" window opens to apply it, it says it only has one (1)  frame.  When I apply, it doesn't play on the slide.  Made with Flash 8.
Second one - AS3.  In the first window to open, it begins playing, but when I open it says project is AS2 and needs to be changed to add.  I select continue and it shows the file having 65 frames. Made with Flash 10.
Any idea why my first swf doesn't play even though I have an option between an AS2 or 3 project.
Thanks!

Well, I'm gonna answer my own post here.
I added this code to the first frame of the loaded SWF and
things seem to be working swimmingly.
this._lockroot = true
G

Similar Messages

  • SWF Files do not work in Firefox. My sites work fine in Explore & Safari? Why is this? I have updated all my plugins, reinstalled yet still nothing?

    SWF Files do not work in Firefox. My sites work fine in Explore & Safari? Why is this? I have updated all my plugins, reinstalled yet still nothing?

    Can you post a link?
    Does that only happen on that website or do you have that problem with all Flash content?
    Reload web page(s) and bypass the cache.
    * Press and hold Shift and left-click the Reload button.
    * Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    * Press "Cmd + Shift + R" (MAC)
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • Loading external swf into Fla. not working

    I have created a Flash page that loads an external swf into
    it when you click a button. The swf loads but the actionscript
    assigned to the swf which scrolls images across does not work. When
    i open the swf in a browser window with the direct link to it the
    scroll works but inside the fla file the swf loads but the scroll
    buttons are not working at all. Would this be something in the
    actionscripting in the swf or fla file. Any advice would be greatly
    appreciated, thank you.

    var imageRequest:URLRequest = new URLRequest("my_gallery.swf");
    var imageLoader:Loader = new Loader();
    imageLoader.load(imageRequest);
    addChild(imageLoader);
    is as3 code.  that won't work in your as2 project.
    here's the equivalent in as2:
    this.createEmptyMovieClip("targetMC",this.getNextHighestDepth());
    targetMC.loadMovie("my_gallery.swf");

  • SWF file is not working in Portal PROD System

    Hi All,
              We have written custom mxml script in Adobe Flex 3 which displays the list of applications stored in the DB. Then we have posted that .swf file into our Portal KM and then we have created one URL iView with the location from KM.
    These days we are facing issue like the output of the script is not working means the applications are not listed on the portal prod system.
    Whenever the issue arieses we are requested to upload the file once again into KM and it works after the upload been done.
    We are not sure what could be the reason for this issue and I request any one to assist us to resolve this issue.
    Please let me know if you need more info on this issue.
    Thanks in advance.
    Best Regards,
    Vijaykumar K.

    Hi Vijay,
    I belive this should be a portal issue, anyways let me give it a try.
    I never worked on flex in SAP but did similar stuff in portal content development.
    Do you have any traces in that development..?
    Did you check any messages being loged in portal...?
    Check if there is any issue with the file like couldn't recognise a resource from KM which is required etc.
    Cheers,
    Sai

  • Swf playback controls not working correctly

    Hello all -
    When I publish the Captivate project that contains a swf file
    and an audio file everything plays well until I use the controls.
    Stop/pause works fine,but when I use rewind or ff etc the swf file
    will not rewind nor start over.
    Any help would be appreciated
    Thanks
    Rick

    Uninstalling Glimmerblocker fixed the problem of Safari being able to access all web sites.  One of the other many procedures I did must have solved the issue of the apps not launching.

  • Cp6 + AS3 swf : "target == stage" not working

    Hello,
    I've done a SWF where I want to reset stage when clicking outside objects.
    The SWF alone works perfectly but does not inside Captivate.
    I did a simplified version :
    mc.visible = false;
    stage.addEventListener(MouseEvent.CLICK, clickOutside, false, 0, true);
    function clickOutside(e:MouseEvent):void
              if (e.target == stage)
                        mc.visible = true;
    The line :   if (e.target == stage)
    does not work anymore.
    Does importing SWF in Cp adds another level (stage is Cp scene, the SWF parent) ?
    Thanks.

    The captivate slide is the object capturing the event. Why don't you use an invisible button or transparent movieclip to capture the event? Then check if e.target.name == instance name.

  • Swf file does not work from InDesign

    I am not sure if this is a Flash or InDesign question, so i will post on both..
    I am trying to embed an “animated” swf file (that was created in flash) into an InDesign layout and then export the InDesign layout to swf. in the resulting html file my navigation works ok but the swf file does not play “animate” when viewed in html or flash. It only shows up as a graphic. 
    I have tried exporting the ID file to xfl and bringing it into flash but then none of my animation works. What am I doing wrong?
    any help would be appreciated.
    thanks
    mattG

    You´re doing nothing wrong. SWF export of InDesign CS4 doesn´t support any media files. You can place videos, sounds and animations into indesign layout, but if you export to SWF, they won´t work in resulting SWF. They work in interactive PDF.
    And you can export your basic layout to Flash CS4 by using XFL export and import those media elements in Flash, but that may be quite a job. I have been strugled a lot with that method. My files used to go really messy when I open them in Flash.

  • SWF/Flash hyperlink not working in iweb

    Hi guys,
    Really really stuck with this one...
    I have a flash file of which i have placed wihin my iweb site (the flash file shows and operates perfectly)
    However - the SWF's hyperlink will not work within iweb.
    The flash file itself is fine and the nyperlink within it works perfectly when opened within a browser.
    Here is the code below - if anybody has any help I would be so grateful.
    <object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/ flash/swflash.cab#version=6,0,40,0" border="0" width="800" height="600"><param name="movie" value="http://droprecords.net/drop_records/drop_circle_1_CS5_network.swf"><param name="quality" value="High"><embed src="http://droprecords.net/drop_records/drop_circle_1_CS5_network.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="400" height="200"></object>

    I've tried about 5 different codes now and although they all show the flash button - none of them allow the hyperlink within it to work properly.
    So frustrating.
    The closest one was this one;
    <iframe src="http://droprecords.net/drop_records/drop_circle_1_CS5_network.swf" allowtransparency="true"  width="400px" height="200px" frameborder="0" </iframe>
    But that opens up the link insiade a small iframe window instead of the full external window.
    ARRGGGHHHH

  • Play button AS2 not working need help please!

    Hi,
    I have an AS2 project with two scenes, Scene 1 is has a pre-loader and Scene 2 has an embedded .flv animation from after effects with some other basic tweened shape layers and masks. I've used the Components UI and dragged a "Replay" button to the last keyframe with a seperate actions layer with the following code:
    stop();
    Replay.addEventListener(MouseEvent.CLICK, replayMovie);
    function replayMovie(evt)
    gotoAndPlay("Scene 2",1);
    I'm a beginner in Flash and have been following instructions off the net but I can't get it to Replay the movie when the button is clicked, it does nothing
    any help will be appreciated.

    Hi,
    I would not reply on the scene naming thingy if I were you. IN the pat I have had the very same problem and found that using
    _root.gotoAndPlay(frameNumberHere); works a lot better.
    ALSO
    if your scene 1 has 10 frames in it and your want to gotoAndPLat the 1st frame of your second scene then use:
    var number_of_Frames_in_1st_scene = 10
    var frame_I_want_to_go_to_and_play_in_my_second_scene_is = 1
    var frameNumber = number_of_Frames_in_1st_scene + frame_I_want_to_go_to_and_play_in_my_second_scene_is;
    _root.gotoAndPlay(frameNumber);
    dont forget the _root.

  • Swf url links not working on local files

    Tearing my hair out on this one. I have simple swf files with
    links to html pages in the same directory - they work fine on the
    internet, but not when they're local. I'm on a mac osx 10.4.11
    FireFox and Safri. Flash pro cs3. I need the links to work on the
    web & CD. I've updated flash player ... etc...
    thanks in advance for any clues!
    Dave

    Hi Per,
    Wamp server's default site folder is www.  For best results, you should move your Local Site folder to www inside your wamp server.  That way, when you save changes locally they are automatically saved to your local testing server. 
    Click on screenshots below:
    Spaces in file and folder names are never a good idea because they get converted to %20 characters which can lead to path problems.
    Nancy O.

  • Play SWF/F4V Movie Not Working

    I am stumped when trying to play a SWF file (F4V) on an html or asp page.  I have uploaded the files to our test server as well as production.  The page (ASP or HTML) loads and shows the placeholder along with the movie image and the play button.  However, nothing happens when I click play. Nothing at all.  The movie should start on load.  You actually see the pause button at this point.
    The movie is a company video saved down from DVD to F4V format.  I can use the File:// command and point the network path and the movie plays just fine in Safari and FireFox (assuming HTML here). However it does not play in IE8 using the File:// command line.  Using the URL path the movie does not play at all in any browser.  I can right click on the SWF file in Windows Explorer and it plays fine.
    From this I assume my movie works, and can be played from the HTML file (as long as I use the File:\\ path, but not the URL.
    My file structure (relative path) looks like this:
    /galleries/All_I_Want_For_Christmas
         All_I_Want_For_Christmas_Video.swf
         AuthoredContent.xml   (has relative paths to the sources folder content)
         Movie_2010_christmas.asp
         Movie_2010_christmas.html
         /Sources
              PGC_Dpgc Ba_1.png
              PGC_Dpgc Bn_1.jpg
              PGC_Dpgc Bs_1.jpg
              PGC_Dpgc_1.jpg
              PGC_Epgc_entryPoint_Ebp_1.f4v
    My paths appear correct in my html/asp code and my object looks like this:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="640" height="480" title="All I Want For Christmas">
              <param name="movie" value="galleries/All_I_Want_For_Christmas/All_I_Want_For_Christmas_Video.swf" />
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <embed src="galleries/All_I_Want_For_Christmas/All_I_Want_For_Christmas_Video.swf" quality="high" wmode="opaque" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="640" height="480"></embed>
    </object>
    Any suggestions would be appreciated.  Thanks in advance.

    hi,
    yes to both.
    i found out that i have downloader eccellorator plus
    installed, this was causing the download box to appear.
    how am i able to find out if they have this and stop it from
    being used?
    or is there another way to have the video file play without
    having this happen to other visitors who may not have turned off
    their downloader program.
    thanks

  • [SOLVED] SWF files are not working in Firefox 5.0.1. When visiting websites with 'zoom' on photos Forefox asks how to handle rather than just going to zoom

    On previous versions of Firefox I was able to use the 'zoom' feature on photos at retail websites. This no longer works. (You can go to Territory Ahead as an example). Firefox asks what to do with the SWF file. There is no option to use Shockwave (I think this is a Shockwave file). Thanks for your help. Warren

    Ooops. Never mind. I recently upgraded other programs and I no longer had the Shockwave player installed in my system. Reinstalled it and all if well.

  • CuePoints AS2 Not working Properly Netstream

    Hi All, Im trying to get cuepoints working on an old as2 project.
    I have a netstream video component and want the cuepoints embedded in the FLV to trigger buttons to appear. I have embedded them as Event Cuepoints.
    For some reason every page on google/forums/websites say a similar thing and suggest using code like this;
    ns.onCuePoint = function(infoObject:Object){
        trace(infoObject.name);
        if(infoObject.name == "CP1") {
            trace("yes working");
    For some reason this doesnt do anything. I have read loads of Adobe  help pages too and the ONLY code I have managed to trace the Cuepoints is as used below;
    ns.onMetaData = function(metaProp:Object) {
        traceMeta(metaProp);
        // traceObject(metaProp, 0);
    function traceMeta(metaProp:Object):Void {
        var p:String;
        for (p in metaProp) {
            switch (p) {
            case "cuePoints" :
                //cycles through the cue points
                var cuePointArr:Array = metaProp["cuePoints"];
                for (var j:Number = 0; j < cuePointArr.length; j++) {
                    //cycle through the current cue point parameters
                    trace("\t cuePoints[" + j + "]:");
                    var currentCuePoint:Object = metaProp[p][j];
                    trace("\t\t name: " + currentCuePoint.name);
                    trace("\t\t time: " + currentCuePoint.time);
                    trace("\t\t type: " + currentCuePoint.type);
                    if(currentCuePoint.name == "CP1") {
            trace("YO!Loading banner_holder!");
    This shows all of the cuepoints within the FLV. I cant figure out how to change the code to trigger actions WHEN the FLV hits a Cuepoint.
    Ive spent months on this and now im pulling hair! Please Help!
    Cheers
    Dan

    Hi
    Below code works fine in cue points trigger when the video is playing.
    I have three cue points in my video namely cuepoint1, cuepoint2 and cuepoint3. The following code triggers the alert message "YO!Loading banner_holder!" when the video reaches the cuepoint1. If you would like you can add conditions for any number of cuepoints.
    var nc:NetConnection = new NetConnection();
    nc.connect(null);
    var ns:NetStream = new NetStream(nc);
    ns.onCuePoint = function(infoObject:Object)
        trace("onCuePoint:");
        for (var propName:String in infoObject) {
            if (propName != "parameters")
                trace(propName + " = " + infoObject[propName]);
            else
                trace("parameters =");
                if (infoObject.parameters != undefined) {
                    for (var paramName:String in infoObject.parameters)
                        trace("   " + paramName + ": " + infoObject.parameters[paramName]);
                else
                    trace("undefined");
        trace("---------");  
    if(infoObject.name == "cuepoint1") {
            trace("YO!Loading banner_holder!");
    ns.play("flv_file_name.flv");
    Thanks

  • My website containing a swf file does not work now since update of 3.6.4

    I have recently set up my own site using flash panorama player (swf file) which has been successfully working for a few months now: annedoncaster.co.uk. I recently did an update on my firefox browser which I am sure has caused an issue with my panoramas showing, they no longer load or show on my website. I have tried all the other browsers and they all load the panorama, which is very odd.
    == This happened ==
    Every time Firefox opened
    == Update of firefox 3.6.4

    @'''Anne''':
    That is a tough one.
    I can only make it work if I disable OOPP for the Flash plugin and close and restart Firefox.
    It works if I copy and paste the URL of the Flash in the location bar, but as soon as I use HTML code then it fails.
    Apparently the plugin-container process isn't able to play that file.
    You can try to file a bug report for it on https://bugzilla.mozilla.org/ to see if anything comes up.
    See http://kb.mozillazine.org/Plugin-container_and_out-of-process_plugins
    You can set the prefs dom.ipc.plugins.enabled.* to false on the about:config page to disable the plugin-container process.
    dom.ipc.plugins.enabled (currently false by default)
    dom.ipc.plugins.enabled.npswf32.dll (Flash)
    To open the ''about:config'' page, type '''about:config''' in the location (address) bar and press the Enter key, just like you type the url of a website to open a website.
    If you see a warning then you can confirm that you want to access that page.

  • Presenter 9: "Change SWF loading text" not works

    Hello, everyone,
    I have just bought Adobe Presenter 9 to transfer PPT to e-Learning course file.
    When I try to change SWF loading text, I modify the presentation's vconfig.xml file by adding:
       <uitext name=”ADOBE_PRESENTER” value=”Welcome to our training”/>
    And I add this sentence for each language.
    Eventually, my vconfig.xml file looks like:
       <language id="en">
         <uitext name="DOCWRAP_MSG" value="Save to My Computer"/>
         <uitext name="DOCWRAP_PROMPT" value="Click to Download"/>
         <uitext name="ADOBE_PRESENTER" value="Changed text"/>
         </language>
    However, it still keeps appears "Adobe Presenter" when starting the course file.
    What's wrong with my operation? Any ideas?
    Duplicate post was removed by: Jorma Jennings

    If placing it in the published files (vconfig.xml), it appears it should be placed after the <!-- uitext --> comment, aprox line 62.
    My viewer.xml looked like:
    <uifont name="FONT_QUIZPOD_QUIZ_PASSSCORE_VALUE" value="Verdana,9,true,false,true"/>
    <!-- uitext -->
    <uitext name="ADOBE_PRESENTER" value="This Presentation Has Been Brought to You by the Letter Q"/>
    <!-- substitution: %n == slide number -->
    <uitext name="UNNAMEDSLIDETITLE" value="Slide %n"/>
    After making that change, I see that text when playing back the presentation.

Maybe you are looking for

  • Hello, i got a new phone and while connecting to iTunes it didn't sync all the data. What do i do? I do not want to start over

    can't sync my new phone to the data on the itunes. pls help

  • Branch

    Hi, There are 9 branches how to create branches in SAP B1 ,clients require branch wise customer aging report .I have planning to create branch as dimension but I couldnt gt the reports.Plese help. Thanks, Harsha.

  • Linking PE51 Form and SAPScript Form

    I have found quite a few posts on this topic but I didn't find anything conclusive. We have an SAPScript form and a PE51 form. We run the Pre-program DME where we specify the PE51 form name. Then we run the DME program. But the form is not generated.

  • Edge Turn-In Shipping Label

    I need a shipping label to turn in my old phone used for Edge up.  The label links included in the recent order under my verizon only include links for returning the new phone.  I need a link that prints a label for a turn-in phone, not a return (pho

  • Create a rule for one specific day

    Greetings, I am not sure this is the right forum for me to ask for help; if not, please kindly redirect me to the right one.  Thanks I am using MS Office 2013 outlook on Windows 7.  Love it.  However, I would like to create one out-of-office reponse