Can't stop... What is the problem with this button code?

Hello

I am totally confused as to why I can't navigate to another frame.

I put 2 days in this simple problem now and I'm ready to give up and go back to AS2.

Help, please!

I use CS4; publish the AS3 settings, 10.0


I have a button on frame 2 that should take me to frame 3 when you click it.

(So far I tried a hundred different ways, but I don't get to frame 3...)

I tried different things...

> Create the button dynamically from the library...

> Insert statically library on frame 2...

> referencing the mainTimeline by a variable...

> wrapping the stop action in another function... (if it is placed directly on the timeLine of the movie properly goes directly to frame 3)

> naming frame 3...

> using "nextFrame" rather than "STOP"...

etc...

In most cases I don't get an error in the output panel and no compiler error either. It simply doesn't get it!

(Just on the same frame after I click the button)

Here is the code which I think should work; but does not work:

function moveTo3 (event: MouseEvent): void {}

trace ("Button_Clicked"); always redraws correctly; but the film does not go to frame 3.

gotoAndStop (3);

}


f_btn.addEventListener (MouseEvent.CLICK, moveTo3);

WHAT ME MISSING HERE?

Thanks in advance...

If you found the trace, you get frame 3.  Something else is causing the stop(); to ignore.  You have any kind of active continuous operation code in the file, as an ENTER_FRAME listener, or some other listener who might have been waiting in the wings?  As I said, it is not likely to be a bug, it is not impossible.  If you can save a copy of the fla file in a CS3 file and make it available via a server I can take a look and see if I can find the suspects.

Tags: Adobe Animate

Similar Questions

  • What is the problem with this embed code (pretty please)?

    Hello - anyone can tell me what I am doing wrong? I modified a friends homepage and I am tryring to incorporate the new .swf file that works perfectly in the second URL

    http://www.verityslice.com/grownuphtml/index.html (does not work)

    http://www.verityslice.com/grownuphtml/gum.html (work - published originally in Flash)

    Thank you

    In

    http://www.verityslice.com/grownuphtml/index.html

    Line under causing your html trying to load gum.swf of http://www.grownupmarketing.com/gum.swf, which failed.

    http://www.grownupmarketing.com/"/ >

    Option 1: use the good relative to your swf file path

    "grownuphtml/gum.swf".

    Option 2: use the full path to your swf file

    'http://www.grownupmarketing.com/grownuphtml/gum.swf'.

    Option 3: remove the tag base above.

    * but you may need to correct the target of the link of your page menu items.

  • What is the problem with this simple code?...

    Can someone help out please why the track will come out as two "undefined" s?...

    On the stage is a MC called 'link_mc' which is essentially a box. Then, there is an another MC on the stage, called "box_mc" and inside that is a field of text called "output_txt. Thank you!...

    haha - okay, when you assign an instance name for a clip dynamically attached a
    string is required, so:

    _root.attachMovie ("box_mc", MC, this.getNextHighestDepth ());

    --
    -------------------------------
    Remove "_spamkiller_" at the post office
    -------------------------------

  • What is the problem with this URL

    Can someone tell me what is the problem with this url
    owa_util.redirect_url(apex_util.prepare_url('f?p='||:APP_ID||':25:'||:APP_SESSION||'::'||:DEBUG||':25,28'||':P25_JOBID,P25_PG:&P3_JOBID.,3, null,||:APP_SESSION'));
    It gives me a value for P25_PG, that is to say 3 but always sets P25_JOBID to 0

    Gus

    Hello Gus,

    It looks like point P3_JOBID has no value for the rendering of the page.
    If the value is set subsequently, you can try the following change

    owa_util.redirect_url(apex_util.prepare_url('f?p='||:APP_ID||':25:'||:APP_SESSION||'::'||:DEBUG||':25,28'||':P25_JOBID,P25_PG:'||:P3_JOBID||',3, null,||:APP_SESSION'));
    

    But the part at the end

    ||',3, null,||:APP_SESSION'
    

    Wil do nothing because you give only 2 items in the list separated by commas of the page elements you want to submit. Everything after the second comma in the comma separated value list is of no use for the url of the apex.

    As additional info, the URL of the Apex is built like this:
    >
    1 - application ID or alias
    2 - page ID or Alias
    3 - session & SESSION. : APP_SESSION
    4. application (for example, PRINT_REPORT = REPORT_1) & ASK. : REQUEST
    5 - debug (YES or NO) & DEBUG. : DEBUG
    6 - cache framework

    APP - clear the cache for the entire application
    SESSION - clear the current user session cache
    PR - Reset pagination
    x - clear the page cache x
    -empty the cache for the element y

    7 - separated by a comma list of items on the page
    8 - the list of values separated by commas
    9 - mode printer friendly (YES or blank)

    f? p = & APP_ID.: 1010: & APP_SESSION. : & DEBUG. : RP, 1010:P1010_ITEM1, P1010_ITEM2, P1010_ITEM3:A, B, C
    >

    Kind regards
    Kees Vlek
    -----
    Company: http://www.orcado.nl
    Blog: http://www.orcado.nl/blog/blogger/listings/69-kvlek
    Twitter: http://www.twitter.com/skier66
    If the answer to question please change replied and mark the appropriate post as correct / helpful.

  • How I download 80070103 windows update is update safe what is the problem with this update

    Just got the update installation today to download update 80070103 time ever I go to download the update fail what is the problem with this update & how do I get updated.

    Hello

    Thanks for posting in the Microsoft Community.

    If I understand correctly that you have problems with Windows Update.

    Please answer these questions:

    1. What is the update's KB number?

    2 have you made any changes to the computer before the show?

    Let us try the following methods:

     

    Method 1: Run the following fix - it:

     

    The problem with Microsoft Windows Update is not working:

    http://support.Microsoft.com/mats/windows_update/

    Method 2: See the following article:

    Windows Update 80070103 error code:

    http://Windows.Microsoft.com/en-us/Windows-Vista/Windows-Update-error-80070103

    Hope the helps of information. We know if you need help. We will be happy to help you.

  • What is the problem with this Forum? Why Adobe taking so long to reply to messages?

    What is the problem with this Forum? Why Adobe taking so long to reply to messages?
    It is in fact 'specific' Forum of Photoshop.
    I usually come back another Adobe forum responses quickly.

    Chime.

    Hi people,

    For what it's worth, there are several of us who try, in addition to our regular work, to keep an eye on two other forums.  Quite simply, we care about the product and try to make sure that we give our customers the best experience as possible.  Plus, what better way to hear about your weak points in order to solve them.  But, as Mylenium and Christmas as well stress this, the forums are officially a user experience.  If you need help fast or official, it isn't the best place to do it.

    Regarding your question of Arab, Rahzah, I answered in two different threads and would be happy to help you with your problem.  Please choose a single thread and stick with it. two tabs is a pain.

    Thank you
    David

    PS - some of us do check the forums on our time, as I did last week at the launch while I was on vacation.

  • What is the problem with this WHERE statement?

    What is the problem with this WHERE statement?

    < cfquery datasource = "manna_premier" name = "kit_report" >
    SELECT SaleDate,
    TerritoryManager,
    Distributor,
    DealerID,
    Variable,
    US_Dealers.ID,
    DealerName,
    DealerAddress,
    DealerCity,
    DealerState,
    DealerZIPCode
    Orders, US_Dealers
    WHERE US_Dealers.ID EQ DealerID AND SaleDate BETWEEN #CreateODBCDate (FORM. Implementation) # AND #CreateODBCDate (FORM. End) #.
    ORDER BY SaleDate
    < / cfquery >

    It's driving me crazy!

    Syntax error (missing operator) in query expression ' US_Dealers.ID EQ DealerID

    You accidentally use the CF equals operator: "EQ".

    Instead of MS Access: «=»

    [Macromedia] [SequeLink JDBC Driver] [ODBC Socket] [Microsoft] [ODBC Microsoft Access driver]...

    in a query expression. AND SaleDate BETWEEN #10/1/2009 #-October 18, 2009 #'.

    I don't see how CreateODBCDate() would produce these values.  But maybe it's just a quirk of the error message?

  • Could someone explain to me what is the problem with this refined expression?

    Hi, could someone explain to me what is the problem with this refined expression

    faultCode:Server.Processing faultString:' unable to invoke CFC - regular expression malformed ' ^ [0-2][0-9][/][0-1][0-2][/][1-2][0-9]{3}+$ '.»»

    Thank you

    I think that the + should not be there. Do you have a match?

  • What is the problem with this pl/sql code?

    What is the problem with this statement of the cursor? I am getting PLS-00341 error for her:
    CURSOR cur_rsource(p_sql_stmt IN VARCHAR2) IS
            SELECT plan_table_output FROM v$sql s, table(dbms_xplan.display_CURSOR(s.sql_id, s.child_number)) t WHERE sql_text LIKE '''%'||p_sql_stmt||'%''';
    How to solve this problem?

    Thank you

    Published by: PhoenixBai on December 14, 2009 14:05

    I don't have time right now to study exhaustively, but for me his vomit ORA-00942 table or view does not exist on this line:

        SELECT sql_id, child_number into tmp_sql_id, tmp_child_number
             from v$sql where sql_text like sql_statement||'%' and sql_text not like '%v$sql%';
    

    I am able to select from v$ sql in normal SQL as user I am compiling as, so don't know why it's complaing.

    Anyone know if there are certain restrictions on access to the views v$ through PL/SQL?

    EDIT: http://www.dbasupport.com/forums/showthread.php?t=22299

    Access to the views of $ v seems to be through a role - try giving explicit access to it.

    As SYS, you must grant select permissions on V_$ SQL (V$ SQL is synonymous with V_$ SQL) to your owner of the procedure. Just tested on my system and it allows him to compile.

    Published by: Cyn on December 14, 2009 10:30

  • What is the problem with this WMF?

    Hello

    The next WMF is extracted from a word document:

    x_and_f_onTopOfEachOther.wmf

    When placed in another Word file or when it is placed in an Open Office Writer document WMF seems fine, but when placed in a product Adobe (Illustrator or InDesign), the letters 'x' and 'f', and 'd' and 'x' stack up to each other.

    What is the problem and how to fix it?

    Thank you

    She helps all select and set auto kerning. Here is what happened to me

    Don't notice any specified kerning.  Now

    With Auto kerning value

  • What is the problem with my http code?

    I have a problem with the following code on the Bold 9700.  The code works on the Simulator and other devices, but some users have problems.  It seems that nothing is returned when getting the html page.

        static String get_page(String url)
        {
    
            StreamConnection s = null;
            InputStream input = null;
    
            try
            {
    
                s = (StreamConnection)Connector.open(url);
    
                input = s.openInputStream();
                byte[] data = new byte[4096];
                int len;
                StringBuffer raw = new StringBuffer();
                long startTime = System.currentTimeMillis();
    
                while ( -1 != (len = input.read(data)) )
                {
    
                    if (len > 0) {
                        raw.append(new String(data, 0, len));
                    }
    
                    // check for timeout waiting for server; or
                    // what if page never closes...
                    if (System.currentTimeMillis() - startTime >  30000)
                    {
                        s.close();
                        return("ERR2");
                    }
                }
                s.close();
    
                return(raw.toString());
            }
            catch (Exception e)
            {
                return("ERR3");
            }
    
            finally
            {
                try
                {
                    if (input != null)
                        input.close();
                }
                catch (Exception e)
                {
                }
            }
        }
    

    Y does it have that none of the Options application settings must be defined? for example: TCP/IP

    The Thread I pointed you to and the various "required reading" material, describes how the different network paths are selected by changing the suffix of the URL used connection.  The standard demo does not add a suffix, by default, choose BES connection, so will be.  Unless of course, the carrier has provided a different default value for a feature not BIS, for example, I understand that Vodafone UK will send it via WAP.

    According to the treatment of suffix / default connection, the request will be routed through a number of "gateways" like BES/MDS or the carrier's WAP gateway.  If any of them could give the 500.

    Assuming that it makes actually to your server (I assume this is a URL that you control), then the 500 from the treatment of your Web.  For example, this could be because your processing wait some headers in the http request which are not provided.  Or, that demand has been sent by a gateway changing the headers in a way that is not pregnant with your web server.

    With same URL work on the browser is unfortunately not much of a test as it can be routed through a method of communication that you do not use (for example, on Vodafone BIS devices I think the default browser will use BIS - B) and, in addition, it could provide some headers for the http connection that you do not provide.

    The point really is that there are many places that could break this code.  And there are number of variables, including what method of connection is used (and in the case of Vodafone, effectively forced to use), which carrier is used and which headers were provided.

    But I think the first thing we do is to know who is giving you the 500.  If you can follow the application to your own server, so much the better.  If you can not, in the headers that come back with 500, you should some server information.  The dump out., empty the suffix of connection you use and if possible, get the log records from at the time this was done (which confirms the method of connection actually used).

    I also search this forum for more information on issues people have had with the carriers.  I know that there is some information on Vodafone UK.  According to me, that there is still something at least another carrier.

    Sorry, comms on the BB is not as simple as that...

  • What is the problem with this PDF?

    When I close a certain document PDF Adobe Reader (11.0.2) asks: ' do you want to save changes to... before closing?

    Apparently, something is wrong with this document, but what?

    The document is displayed correctly.

    How can I find out what's wrong with the document?

    The document can be found here.

    Horn

    question.png

    Thanks for your help guys. I found the problem. Some of the shifts in the xref table were incorrect.

    Apparently, Adobe Reader corrects the xref table. When you close the player he manages this fix as a change in the document, thus showing the dialog box "do you want to save.

  • What is the problem with this CHARGE?

    I tried to have the number of State of two values, but it returns zero or empty.

    That's what I'm trying
    <?count(PPD_STATUS[(PPD_STATUS='Close Review(Finished)') and (PPD_STATUS='Open Half-Year Review')])?>
    But it works with contains a value only as
    <?count(PPD_STATUS[contains(.,'Manager Review (GS)')])?>
    but I'm not able to put the 2 values contains.

    any idea?

    Kind regards!

    How a column in a row can have two status at the same time? [PPD_STATUS = 'Close Review (Finished)' and PPD_STATUS = ' Open semester Review "]

    I think it should be or as you need the county where PPD_STATUS = 'Close Review (Finished)' or ' Open semester Review»

    or

    or

    and make sure your control value is exactly the same as u get in xml format or otherwise copy from xml and paste it into a State

  • What is the problem with this dynamic query? help

    with the following code, I get the correct answer.
    I just want to know maxempno current (and care for the 3rd, 4th tank only)

    declare
    Temp varchar2 (2);
    Start

    Select substr (A1.empno, 3, 2) in the emp A1 temp where A1.empno = (select (max (A2.empno) of emp A2) and rownum = 1;)
    HTP.p ('temp' is |) Temp)
    end;

    Temp is 34

    =====================================
    Now I need to make a call to the procedure and pass the name of a table and column

    P_CHECK_MAX
    ('emp' = > p_table,)
    ('empno' = > p_column)

    create or replace procedure 'P_CHECK_MAX '.
    (p_table in VARCHAR2,
    p_column in varchar2)

    is
    Temp varcahr2 (2);
    d_select varchar2 (500);

    Start
    d_select: ='SELECT substr (A1.'| p_column | 3: 2) IN ' | "temp" | 'FROM ' | p_table | "A1 WHERE A1.' | p_column | "= (SELECT max (A2.' | p_column |')) OF ' | p_table | ("A2) AND rownum = 1';
    immediately run d_select;

    end;

    I'm getting ORA - 00905 missing keywords. Can you help me what is the missing word here? I am stomped for hours on it.

    Published by: wanwan63 on September 29, 2009 06:23
    Sorry I reverse the setting in the call. must be p_table = > 'emp', p_column = > 'empno '.

    P_CHECK_MAX
    ("emp"-online p_table,
    'empno'-online p_column)

    It must be

    p_check_max(p_table=>'emp', p_column=> 'empno)
    

    d_select: ='SELECT substr (A1.'| p_column | 3: 2) IN ' | "temp" | 'FROM ' | p_table | "A1 WHERE A1.' | p_column | "= (SELECT max (A2.' | p_column |')) OF ' | p_table | ("A2) AND rownum = 1';
    immediately run d_select;

    IN is not part of the SQL syntax. Its syntax PL. If you can not use dynamic SQL. It should be like this

    d_select:='SELECT substr(A1.'||p_column|| ',3,2)  FROM ' || p_table || '  A1 WHERE A1.' ||p_column ||'= (SELECT max(A2.' ||p_column||') FROM ' || p_table||' A2) AND rownum=1';
    execute immediate d_select into temp;
    
  • Create tables custom wwww in schema Apps (what are the problems with this?)

    Hi all

    I'm a dba in a new environment where a number of custom diagrams is created in the schema of apps. I know that this is not considered the best practices of Oracle and I would like to make some recommendations for a change. Before that, I would like to know the problems that are associated with custom tables, living in the apps schema. We're currently on 11.5.10.2 on AIX. Also, if anyone can point me to the 'Official' standard customization or Oracle documentation where can I back up my case it would be greatly appreciated.

    Thanks in advance,

    Hello

    Please see this thread.

    Custom application implemented in E-bussiness Suite
    Re: Custom application is implemented in E-bussiness Suite

    Kind regards
    Hussein

Maybe you are looking for