Works fine in debug but not when published

So I have simple navigation code setup to step through frames (I'm using Flash instead PowerPoint--too many pictures that are PSDs and illustrations that are AIs to do the conversions over to something PowerPoint understands).
The code:
stop();
stage.addEventListener(KeyboardEvent.KEY_DOWN, slideNav);
function slideNav(event:KeyboardEvent):void
switch (event.keyCode)
  case Keyboard.DOWN:
   nextFrame();
   break;
  case Keyboard.UP:
   prevFrame();
   break;
  case Keyboard.HOME:
   gotoAndStop(1);
   break;
  case Keyboard.END:
   gotoAndStop(this.totalFrames);
   break;
When I test it using the debug (Ctrl+Shift+Enter) it works fine.  When I publish it, the up and down arrows work but the Home and End keys do not work.  They do nothing, no error messages, nothing.
Using Flash CS4 Pro 10.0.2.  ActionScript 3.  Windows 7 64-bit.
Any suggestions?
Thanks.

Nevermind.  That was stupid of me.  Have to disable the keyboard shortcuts or it doesn't work.

Similar Messages

  • Fixed headers while scrolling works fine in bids but not when deployed to reportserver

    Hi, I am using SQL Server 2008 R2 & deploying a report to reportserver with fixed headers while scrolling, this works fine in bids but not when deployed to reportserver. We are IE 9.
    Thanks in advance...............
    Ione

    Hi ione721,
    Since you have identified the 2 xml files are identical, according to my knowledge, there maybe a compatibility issue with IE 9 and SSRS 2008 R2, so I suggest that you could run the report in compatibility mode. Please make sure you have turned on Compatibility
    View in Internet Explorer 9 by following steps:
    When Internet Explorer recognizes that a webpage is not compatible, you will see the Compatibility View button on the Address bar. Try clicking it.
    When Compatibility View is turned on, the button changes from an outline to a solid color when you view the page.
    The following screenshots are for your reference:
    If you have any questions, please feel free to let me know.
    Best Regards,
    Wendy Fu

  • Advance actions work while in Captivate, but not when Published

    Hey,
    So I have a button which is suppose to both send you to the next slide and open up a web page in a new window. While in Captivate (5.5), it works, and wonderfully. However, after I publish it...pushing the button does nothing. Any thoughts as to why?

    Your Grand Kids" graphic is overlapping the left part of the navbar. Reduce the size of that graphic or move it off the navbar.
    OT

  • Website displays fine in Preview but not when 'Published' to BC

    Hi
    I've posted this question twice in the Adobe Muse discussion forums and had zero response so hopefully people with more experience form the BC perspective might be able to shed some light on this.
    Basically I have a subscription to Muse and with that the ability to host one site with Business Catalyst. When checking the first site I designed I'd use 'Preview in Browser' and the site occasionaly displayed incorrectly, so I changed my habits to publishing the work-in-progress site to the BC url with this current site.
    Unfortunately there are multiple display problems with doing this; the two images below show the difference between 'Publish' to the BC domain and 'Preview site in browser'.
    I've cleared the cache of the browser multiple times and used both Firefox and Safari and the problem still remains. I'm assuming it's a problem with Business Catalyst?
    Does anyone have a solution for this? Has data become corrupted in BC, and if so is there a way of 'flushing' the data held on the BC site clean to start from scratch?
    Would really appreciate some help here as it's impossible to show my client the current state of the site
    Thanks in advance
    Phil

    Hi Liam
    Tried it in Safari and Firefox (I'm on a Mac), cleared the cache and still was getting issues.
    http://httpwiles06businesscatalystcom.businesscatalyst.com/clients.html
    If you go to the client page there I'm getting the images behing strangely like the top pic I posted, also the top type image has moved over.
    i set up a subdomain on my own site to use as a test space for this client site and it works perfectly; that's on
    http://martinedwardstest.phunction.net/
    Appreciate any fedback, opinions or help on what might or might not be wrong.
    Cheers
    Phil

  • Any idea why .swf works in "simulate download" but not when Published?

    Hi,
    I have a project where I have a main project which loads external .swfs, and those external .swfs in turn load more external .swfs. In my main project, everything works perfectly when I preview using simulate download, but once the .swf is published it doesn't work properly. I'm assuming is has something to do with my main site Preloader, that's why I posted here. I'm pasting the code here and attaching the latest size report. Any ideas or help is appreciated!
    extLoader_mc._visible = false;
    var yChange = 109.2;
    var yStart = 330.2;
    myInterval = setInterval(preload,100);
    function preload() {
    var current = _root.getBytesLoaded();
    var total = _root.getBytesTotal();
    var pctLoaded = Math.round(current/total*100);
    mask_mc._y = yStart - yChange/100*pctLoaded;
    if (current >= total) {
      clearInterval(myInterval);
      _root.gotoAndStop("Main_1");

    I think this is either a problem with my site preLoader or my external .swf Loader. I was checking out the bandwith profiler and saw something weird and I wondered if anyone could explain...I've added a picture. I have a blank frame on only my actions layer to export classes to and it seems that frame 2 is "bleeding" into frame 1. Could this be my problem? Why would this happen? Thanks

  • Email button works in preview mode but not when published to PDF

    I thought I had cracked everything but -  I have set preferences to email results to a specific address. In preview mode this works and outlook is opened with all the details. Once I have published to Acrobat 9 pdf - there is no response to the email button. If I play the SWF file I have the same problem. What am I doing wrong? Using Captivate 5 trial and Acrobat 9.3 Pro.

    HI there
    You might try adding the location to the trusted locations list as described below:
    Click here to view
    But i'm guessing you didn't see the link below.
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • I'm having an intermittent problem with my midi controllers triggering Mainstage 3. I'm using a PreSonus Firebox audio interface. It's been working fine for months, but now when I first turn on the computer in the morning , I'm not able to trigger Ma

    I’m having an intermittent problem with my midi controllers triggering Mainstage 3.
    I’m using a PreSonus Firebox audio interface.
    It’s been working fine for months, but now when I first turn on the computer in the morning , I’m not able to trigger MainStage from the keyboard.  I tried different midi controllers, different keyboards, different midi cords, and check midi preferences.  The audio interface is working fine and is recogonized, but the midi doesn’twork.  I re-started the computer several times and then finally it miraculously starts working again.
      I’ve been having to this every day now.  Any help or ideas is very much appreciated.

    I Had the same problem with a FireStudio. Try unplugging the FireWire plug and the power plug. Wait for a few seconds, then plug both back in. The light on my FireStudio was flashing blue/red which means "not connecting." I did what I just described, and everything works again. Hope it works for you.

  • Button hyperlinks work in project preview but not in published .swf

    Captivate 6, button hyperlinks work in project preview but not in published .swf, the cursor changes the “the hand” but the hyperlink does not redirect.
    Any ideas?
    Like I said my buttons work great in preview mode after publishing, one click and the PDF opens in a new browser window. Open the project through the published .swf files and the links will not work.
    Using Captivate 6 on WIndows 7

    Hello,
    Welcome to Adobe Forums.
    Once your project published, add the .swf file in Flash Global Setting :
    1) Right Click on the content (Published .swf file) and click on Global Settings
    2) Go to Advanced Tab and Click on Trusted Location Settings  (Scrool down to see this button)
    3) Click on "Add" button and then "Add file", browse for the Captivate 6 published file and click on OK
    4) Launch the .htm file again (Location where Captivate publish your project)
    Hope this helps !!
    Thanks,
    Vikram

  • Load swf works in Publish Preview but not when published

    Hi Folks,
    I having a problem where im trying to load two 1mb SWF movies into my Flash piece. It works fine in Publish Preview but not when I finally publish. I get this error in IE:
    SecurityError: Error #2000: No active security context.
    I have googled around and there is some talk online of a hack where by you get a timeout to overcome this. However im not so technical do I dont really know how to do this to my code in AS3. My code at the moment is below.
    Any help would be much appreciated and rewarded with Karma
    movieClip_12.addEventListener(MouseEvent.CLICK, fl_ClickToLoadUnloadSWF_9);
    var fl_Loader_9:Loader;
    //This variable keeps track of whether you want to load or unload the SWF
    var fl_ToLoad_9:Boolean = true;
    function fl_ClickToLoadUnloadSWF_9(event:MouseEvent):void
    if(fl_ToLoad_9)
      fl_Loader_9 = new Loader();
      fl_Loader_9.load(new URLRequest("search.swf"));
      addChild(fl_Loader_9);
    else
      fl_Loader_9.unload();
      removeChild(fl_Loader_9);
      fl_Loader_9 = null;
    // Toggle whether you want to load or unload the SWF
    fl_ToLoad_9 = !fl_ToLoad_9;
    movieClip_14.addEventListener(MouseEvent.CLICK, fl_ClickToLoadUnloadSWF_10);
    var fl_Loader_10:Loader;
    //This variable keeps track of whether you want to load or unload the SWF
    var fl_ToLoad_10:Boolean = true;
    function fl_ClickToLoadUnloadSWF_10(event:MouseEvent):void
    if(fl_ToLoad_10)
      fl_Loader_10 = new Loader();
    fl_Loader_10.load(new URLRequest("refunds.swf"));
      addChild(fl_Loader_10);
    else
      fl_Loader_10.unload();
      removeChild(fl_Loader_10);
      fl_Loader_10 = null;
    // Toggle whether you want to load or unload the SWF
    fl_ToLoad_10 = !fl_ToLoad_10;

    I think this is either a problem with my site preLoader or my external .swf Loader. I was checking out the bandwith profiler and saw something weird and I wondered if anyone could explain...I've added a picture. I have a blank frame on only my actions layer to export classes to and it seems that frame 2 is "bleeding" into frame 1. Could this be my problem? Why would this happen? Thanks

  • ITunes/Apple Mobile Device works fine w/iPod but not iPad

    Hi. I'm getting stuck on this and would like some help to solving this problem. Basically I'm trying to sync my iPad; however, whenever I connect it, this meesage pops up: "this iPad cannot be used because the Apple Mobile Device is not started." The problem is that when I try to plug in an iPod using the same wire, it works fine, no problem, but the iPad just won't connect. I have since uninstall and reinstall all Apple components (iTunes, AMD, QuickTime, etc) and it's still the same thing...iTunes connects fine w/ the iPod, but not the iPad. What to do? Thnx in advance.
    EDIT:
    Btw, I've tried to connect the iPad while the iPod is connected, and the "Apple Mobile Device is not started" error message pops up too, which is weird, because the iPod is connected and syncing at that time...which means the Apple Mobile Device thing IS started. >.>

    The iOS devices use Apple Mobile Device Service, while older iPods use the iPod Service.
    Checkout this Apple document -> How to restart the Apple Mobile Device Service (AMDS) on Windows
    Are you able to restart the service after following the steps in that article?

  • Query working fine in toad but not in forms 6i

    i have following coding on when button press triger
    declare
    CURSOR C1(year number,month number) IS
    SELECT ITM_NO,ITM_NAME,XAQ QTY,XAQ*TP VAL,gp
    FROM
    select ci.itm_no ITM_NO,ci.itm_name ITM_NAME ,cpg.group_id gp ,xaq ,ALLIED.CORP_PRIC_TP( ci.itm_no)TP from
    select prod_no,sum(xaq)*1 xaq
    from
    select prod_no, sum(nvl(xrd_sqty,0)) Xaq
    from allied.mrk_01_02
    where year=year and f_prd=month
    and area_id in (10200,10400,10100,10300,10500,20500,20300,20100,20200,20400,30100,30400,30300,30200)
    group by prod_no
    union all
    select prod_no, sum(nvl(xrd_sqty,0)) Xaq
    from allied.mrk_02_02
    where year=year and f_prd=month
    and area_id in (10200,10400,10100,10300,10500,20500,20300,20100,20200,20400,30100,30400,30300,30200)
    group by prod_no
    union all
    select prod_no, sum(nvl(xrd_sqty,0)) Xaq
    from allied.mrk_03_02
    where year=year and f_prd=month
    and area_id in (10200,10400,10100,10300,10500,20500,20300,20100,20200,20400,30100,30400,30300,30200)
    group by prod_no
    union all
    select prod_no, sum(nvl(xrd_sqty,0)) Xaq
    from allied.mrk_04_02
    where year=year and f_prd=month
    and area_id in (10200,10400,10100,10300,10500,20500,20300,20100,20200,20400,30100,30400,30300,30200)
    group by prod_no
    group by prod_no
    ) A,allied.corp_inv ci,allied.corp_01_01 c01, allied.corp_01_02 c02,allied.corp_prod_group cpg,allied.v_prod_grp vpg
    where ci.itm_no=a.prod_no
    and ci.itm_no=c02.itm_no
    and c01.grp_id=c02.grp_id
    and c01.grp_id in(55,56,57,58,59)
    and vpg.prod_no =ci.itm_no
    and vpg.group_id=cpg.group_id
    where XAQ <>0;
    Begin
         delete from fiaz.tmp_topten_prod;
         for i in c1(:year,:month)
    loop
              insert into fiaz.tmp_topten_prod
              values(i.itm_no,i.itm_name,i.qty,i.val,i.gp,0);
         end loop;      
    standard.commit;
    message('inserted in temp');
         exception when others then
              message (dbms_error_text);
              message (dbms_error_text);
    End;
    Same Query (as used in cursor c1) works fine in toad but giving wrong result from forms... and the problem is xaq field i.e returns incorrect qty...
    i guess union clause is not working in this situation...
    plz suggest me the appropriate changes in the query to work well from form as well...
    combination:Forms 6i,Oracle 8.0.6
    Regards,
    Usman Afzal

    As per your suggestion i have created a stored procedure but the followin error prevents procedure creation
    create or replace procedure fiaz.topten_prod(v_yr number,v_mn number) is
    begin
    delete from fiaz.tmp_topten_prod;
    insert into fiaz.tmp_topten_prod(itm_no,itm_name,qty,val,grp_id,prority)
    SELECT ITM_NO,ITM_NAME,XAQ QTY,XAQ*TP VAL,gp,0
    FROM
    select ci.itm_no ITM_NO,ci.itm_name ITM_NAME ,cpg.group_id gp ,xaq ,ALLIED.CORP_PRIC_TP( ci.itm_no)TP from
    select prod_no,sum(xaq) xaq
    from
    select prod_no, sum(nvl(xrd_sqty,0)) Xaq from allied.mrk_01_02
    where year=v_yr and f_prd=v_mn
    and area_id in (10200,10400,10100,10300,10500,20500,20300,20100,20200,20400,30100,30400,30300,30200)
    group by prod_no
    union all
    select prod_no, sum(nvl(xrd_sqty,0)) Xaq
    from allied.mrk_02_02
    where year=v_yr and f_prd=v_mn
    and area_id in (10200,10400,10100,10300,10500,20500,20300,20100,20200,20400,30100,30400,30300,30200)
    group by prod_no
    union all
    select prod_no, sum(nvl(xrd_sqty,0)) Xaq
    from allied.mrk_03_02
    where year=v_yr and f_prd=v_mn
    and area_id in (10200,10400,10100,10300,10500,20500,20300,20100,20200,20400,30100,30400,30300,30200)
    group by prod_no
    union all
    select prod_no, sum(nvl(xrd_sqty,0)) Xaq
    from allied.mrk_04_02
    where year=v_yr and f_prd=v_mn
    and area_id in (10200,10400,10100,10300,10500,20500,20300,20100,20200,20400,30100,30400,30300,30200)
    group by prod_no
    group by prod_no
    ) A,allied.corp_inv ci,allied.corp_01_01 c01, allied.corp_01_02 c02,allied.corp_prod_group cpg,allied.v_prod_grp vpg
    where ci.itm_no=a.prod_no
    and ci.itm_no=c02.itm_no
    and c01.grp_id=c02.grp_id
    and c01.grp_id in(55,56,57,58,59)
    and vpg.prod_no =ci.itm_no
    and vpg.group_id=cpg.group_id
    where XAQ <>0;
    commit;
    end;
    Error:
    "PLS-00201: identifier ALLIED.MRK_01_02 must be declared "
    i have not changed any thing in query working fine in toad without create procedure text and if i describe this table it shows the structure (desc allied.mrk_01_02)
    Now where is the problemmmmm
    Plz Help

  • MySQL query works fine for Debug mode not during regular run mode

    Hello fellow Java gurus,
    I'm very much confused at the moment. I have an Java application that populates and accesses a MySQL database. It's a little complicated to explain but basically I've got a few threads that manipulate it. The database itself can handle multiple client connections.
    Now, my first SQL query determines whether records exist within a particular timeframe, since one of my columns is a time of arrival (toa). This works fine in debug and normal run mode. My second SQL query is only executed once the first query returns true, which occurs 100% of the time. The second query is very similar, however, has the very weird behaviour of working the way I want it during debugging mode, but doesn't work at all during normal run mode. I really do not understand. I've tried running the 2nd query using the same connection and also a different connection as to the 1st query but it really doesn't make a difference to the non-working outcome.
    If anyone has any ideas as to as to why this is happening, please help me. Any feedback would be greatly appreciated. I am desperate at the moment.
    Kind regards,
    Mitch.

    Sorry everyone, I've been able to solve it. My boolean variables were being set to their opposite values! Silly me.... cheers anyway....

  • Can't FLIP a quick RENDER! Works fine in SHAKE but not to flip or Disk!

    Learning with Lynda.com!
    Part 1 has you rendering two files, one is a still image, the other a quicktime movie, I don't have the money for premium so I got my own clouds movie (.mov) and added a still plane.
    I key framed 1 - 100 and playing it back its fine in shake, but not on FLIP or DISK, its nothing but a still image. Have done it 5 times making sure that all the right buttons are on, or not, and as I said, it works INSIDE of shake but won't RENDER to FLIPBOOK!
    I don't suppose anyone wants to send me the exercise files? (on knees begging LOL) I am a member, just can't afford $300 for one pop and this is really the only program I need to learn.
    Thanks!

    Sorry if I'm pointing out something obvious that you already know. Have you checked the time range in the render dialog? Shake does not fill in the values for you automatically, and defaults to "1" so only renders the 1st frame. It needs to be set to eg "1-100".

  • Podcast - works on iTunes page but not when subscribed

    Hi, I produced my podcast, submitted the feed through iTunes store and was validated. However, it happens so that people can listen to the podcast on iTunes page but not when they subscribe to it and try to download. error points to URL issues apparently. Help.

    It works perfectly well for me. On subscribing I saw all three episodes and downloaded and played Episode 2 without any problems. The only explanations I can suggest are that either some of your subscribers are having some sort of technical issue at their end: or that your server is intermittently sulking and failing to respond to requests. Try playing the episode from this link a few times on spaced-out occasions and see whether you ever get a failure:
    http://thecricketcouch.com/CouchTalk/CouchTalk-AntSims-SanaKazmi-062611.mp3

  • Apple TV working fine with Wireless, but not on Ethernet

    I just got an Apple tv for my B-day and I can't get the Ethernet port to work.
    It works fine on wireless but if i plug in the cable to my 5 port switch that then goes to my router it will not login to the store, or sync or fine youtube. It has and ip and everything. I tried opening that port 38 something. And no go? Does anyone have any ideas?
    I have a 2wire router, and one 5 port switch, the PS3, Wii and Xbox all work on the switch just fine.
    I even upgrade to firmware 2.01

    Thanks for your help guys
    I have tried another ethernet cable but no go. I'm going to get a new one at the store today. As for the IP. the first time I plugged it in the IP was way diffrent from the one on my router so i manually added the new ip and subnet mask etc etc. And still no go. It is seen in itunes but tells me it can't sync. And if i go to the Apple TV it will not open any of the web enabled features. No you tube, no store, no nadda.

Maybe you are looking for

  • How to Generate a report based on a drop-down list?

    Good Afternoon, I am looking for a way to create a drop down list/select list with the values '2008' and '2009'. Based on the value selected in the list, data will be displayed from a table. In the table, there is January to December for 2008 and Jan

  • Native photo's at 3264*1836 (16:9) format

    Hi there, I am switched from a Nokia C6-01 to a Iphone S4. The Nokia C6-01 had the possibilty to take photo's at many resolutions, 3264*1836 (16:9) 6 megpix format was one of them. However so far as i know the Iphone 4S knows default only one format,

  • Portal password Policies and MS Active directory Group Policies

    Has anybody worked with EP6 and Active directory (as the writeable directory). More specifically I am trying to find experience or good documentation about working with the password policies for each. For example if you have the Portal password expir

  • Reading out filenames of a folder?

    Hello out there, does anyone know how I can read out the filenames of a special folder on my operating system with ABAP? I don't want to read the content of the files. I only need the names of all the files in that folder. The operating system is Sol

  • Is it possible to add all the time I spent on activities in one calendar?

    I have set up iCal so that there are different calendars for each project that I am doing. Is there a way to automatically sum up the time that I spent on all the activities within that calendar? It would make my life easier because I can then tell a