Shared Object skip intro after the first visit

I hope that you guys can see something that I am missing. I want to skip the intro of the film flash after the first visit, so that the user does not see the intro to main site.

I have the code on frame 1, an flv on frame 2 intro below and the main site on frame 3. Code seems perfect and straight forward, why it does not work for me. I have a stop(); on image 2 and 3, but I removed them to see if that would fix it, but no luck.

_so = SharedObject.getLocal ("skipIntro");

_introcheck = 0;

If (_so.data.introcheck! = _introcheck) {}

_so. Data.introcheck = 0;

_so. Flush();

Intro was not played

gotoAndStop (2)

} else {}

Intro was played

gotoAndStop (3)

}

Test your swf file by using the following twice.  Copy and paste the text in the output panel:

_so = SharedObject.getLocal ("skipIntro");

_introcheck = 1;

If (_so.data.introcheck! = _introcheck) {}

trace ("the game intro")

_so. Data.introcheck = 1;

_so. Flush();

Intro was not played

gotoAndStop (2)

} else {}

trace ("fried intro");

Intro was played

gotoAndStop (3)

}

Tags: Adobe Animate

Similar Questions

  • Windows 7 Pro 64-bit not start after the first update.

    Integrated system:

    Motherboard: Version of the BIOS Gigabyte GA-X58A-UD3R revision 2.0: FA

    CPU: Intel Core i7-930

    Memory: 6 GB Corsair PC3-12800 DDR3 Triple channel

    HD: Western Digital Black 500 GB SATA 3 Gb/s

    Water cooler: Corsair H50

    The operating system has been installed and running perfect. Readers for the mobo has been installed and and all is well. I can see everything on my computer, network, disks, programs, Device Manager and etc.

    First update for the system, only the important updates were downloaded and after the reboot, the system will not start. The system to start repairing the system but found no problem and restart again and return to the screen of system repair.

    The operating system has been installed 5 times and I had the same problem after the first update, the system unbootable. I tried to boot from the Windows dvd, but I had the same problem again.

    Can someone help me with this problem?

    Thank you

    M. Vilela

    Hi Danielle,

    In addition to the suggestion of Rock Star, you can try the following steps and check if it helps.

    Step 1

    You can first try to start the computer in safe mode and check if you can boot to the desktop. Access the link below and follow the steps to boot to the desktop. To boot to the desktop in safe mode keep tapping key F8 during restart. Once you see the option to start in safe mode select and press to enter.

    http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-mode

    Step 2

    If you are able to boot to the desktop in safe mode, you can access to view the history of update on your computer and search for the error code and the updates that failed to install and post it back.

    To view the update history, follow the steps below:

    A. open the control panel (all items view) and click the Windows Update icon.

    B. click on the link to view update history.

    To view the details of a single Windows Update. Select and right-click on a Windows Update list, and then click details.

    Step 3

    I would say also allows you to perform a system restore in safe mode to see if you can restore the computer to an earlier date when it was working fine.

    To restore the operating system to an earlier point in time, follow these steps:

    a. Click Start, type system restore in the search box and then in the list click on the system restore program.

    If you are prompted for an administrator password or a confirmation, type your password or click on continue.

    b. in the System Restore dialog box, click on choose a different restore point and then click Next.

    c. in the list of restore points, click a restore point created before you started having the problem, and then click Next.

    d. click Finish.

    The computer restarts and system files and settings are back to the State they were in when the restore point was created.

    Access the link below to learn more about how to repair the operating system and how torestore configuring operatingsystem to a point in time earlier in Windows:

    http://Windows.Microsoft.com/en-us/Windows7/what-is-system-restore

    I hope this helps. Let us know the results.

    Thank you and best regards,

    Srinivas R

    Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • After the first year student delivery extension

    I bought Adobe Creative Suite student/teacher edition a year paid in advance, and I'm rather looking forward to it must be renewed this year. I'm still in College and the creative suite is vital to my curriculum and the courses that I am enrolled in. Is it possible to continue the student before her rate rises after the initial of a year?

    The introductory rate of $19.99 / month (with an annual commitment) for students to save 60% on the price for the first year. After the first year, we will renew your contract automatically for another year at the standard student monthly price then in effect once we have checked your student eligibility (currently at $29.99 / month) unless you cancel. Once you're more student, the price goes to the standard price (which is currently $ 49.99 / month).

    Please visit the FAQ of the teaching Creative Cloud for business / training FAQ

    You can see the plans and buy a subscription to creative cloud here:

    http://www.Adobe.com/creativecloud/buy/students.html?promoid=KSPAR

    https://creative.Adobe.com/join/edu

  • How to disable the button after the first click (click multiple problem)

    Hello

    I have a ' create' button related to processes of insertion in the database view. The problem is that when I click on him twice, I have two insertion in my database (even with the option run processes: "Once a visit to Page"). Is it possible to disable the button after the first click? and activate on load before the header?
    or maybe there's better solution? I thought that the process of the option run must stop multiples (insertion).

    Przemek

    Przemek:

    You can do the following.
    (1) set the "button"style"of the 'Create' button to be 'Button HTML'"
    (2) set the "key Attributes" have
    ID = "myButton".
    (3) in the "optional Redirect URL" section set to 'Target' ' "URL".
    (4) for the URL, specify {code}
    JavaScript: $x('myButton').disabled = true; doSubmit ('CREATE') {code}

    CITY

  • Firefox does not open a link after the first; Open ok in new tab front.

    In the last week or two, for reasons not clear to me, Firefox does not open the new links after the first; It is used to open a new connection in new tabs (according to my preference) without problems in the past. Now it does not blink again.

    Over time, I've added new applications and others removed, and, of course, I can't exclude from their role in the problem that I have now. I would appreciate some help to solve this problem.

    You have this problem when running in Firefox SafeMode?

    http://support.Mozilla.com/en-us/KB/safe+mode

    Do not choose anything at the moment, just use 'continue in safe mode.

    If this is not the case, see this:

    http://support.Mozilla.com/en-us/KB/troubleshooting+extensions+and+theme...

  • URGENT::opening multiple files - i have 3 files in my directory... When I run the code I can open a file and read it... but the while loop get blocked after the first iteration... can someone me help or give some indications

    bbmChatDB of public database;

    public static FileConnection fconnRead = null;
    public static String fileReadData = "";
    public static InputStream is = null;
    data Byte [] = null;
    DataInputStream is = null;

    Here is my code...

    I have 3 files in my directory... When I run the code I can open a file and read it... but the while loop get blocked after the first iteration... can someone me help or give some indications

    try {}

    FileConnection fc = Connector.open("file:///store/home/user/documents/BSM/") (FileConnection); "

    If (fc.exists ()) {}

    Enumeration e = fc.list ();

    While (e.hasMoreElements ()) {}

    System.out.println ("files are:" + (String) e.nextElement ());

    play this file
    StringBuffer stringBuff = new StringBuffer();
    try {}
    System.out.println ("opening file")-;
    System.out.println ("file name is:" + (String) e.nextElement ());
    fconnRead = Connector.open("file:///store/home/user/documents/BSM/(String)e.nextElement(),Connector.READ_WRITE) (FileConnection);
    System.out.println ("data length")-;
    If (fconnRead.exists ()) {}
    is = fconnRead.openDataInputStream ();
    data = IOUtilities.streamToBytes (is);
    Ddd = new String string (data);
    fileReadData = ddd.toString ();
    System.out.println ("length of data:" + fileReadData.length ());
    System.out.println ("read data :" + fileReadData);

    }

    } catch (IOException ee) {}
    ee.printStackTrace ();
    System.out.println ("Exception in the read data :")
    + ee.getMessage ());
    }

    }
    }

    } catch (IOException e) {}

    e.printStackTrace ();
    }

    {Finally

    try {}
    If (is! = null) {}
    is. Close();
    }
    System.out.println ("is closed...");
    } catch (IOException e1) {}

    E1. PrintStackTrace();
    }

    If (fconnRead! = null) {}
    try {}
    fconnRead.close ();
    } catch (Exception e) {}
    System.out.println (try ());
    }

    }

    }

    You can recode this treatment so that it uses only:

    e.nextElement ())

    Once a loop iteration.

    Directly at the start saying something like:

    String fileName = e.nextElement ());

    and use fileName everywhere in your loop.

    Also be aware that printStackTrace() will do nothing in your situation, it only works if you catch Throwable.  So make sure you something output all your catches exception and also have a catch (Throwable t) to catch the things you miss, as follows:

    {} catch (Throwable t)

    t.printStackTrace ();

    System.out.println ("Eception exception:" + t.toString ());

    }

    I think your code is thrown an exception and you don't see it.

  • Apps de Metro de Windows 8 Pro cannot connect to internet after the first reboot

    Hello

    I have recently installed Windows 8 Pro x 64 OEM, and I noticed after awhile that my store, Stocks, Weather, News,... cannot connect to the internet more. However, all other applications work.
    Even more strange, after installing all the updates, I noticed that I can navigate with my IE on the desktop, but not a single party of metro?
    Long story short, after several relocations (refresh option), I've noticed as a result of behavior:
    1. during the first start after installation, EVERYTHING WORKS PERFECTLY. I can browse, look at the weather, everything store.
    2. when I restart the computer and any time after that, is STOP WORKING.
    Another thing I noticed was that his (SoundBlaster Audigy) card didn't work the first time, but after rebooting, it worked, so I guess something happened after the first reboot?
    It was a clean install (OEM version) and Windows are activated, and I tried signing in with or without live account (no difference).
    Help me please, since this is quite irritating :(

    Hello

    I finally found the problem.
    The invisibility of the active network has pushed me towards the answer.
    biggest mistake I made was using the option refresh windows, because it was useless for my troubleshooting.
    By mistake I chose my first install, public internet connection and the course of the updating of the system did not ask see me that.
    In defining the private connection after clean installation (No refresh, brute force reinstall) makes everything work after reboot and completely solved the problem for me.
    Why the network does not disappear after reboot? It's something weird, and it shouldn't happen!
    The resolution of network problems found no problem, because the internet connection worked, but he had no problem with no network also appear or metro apps does not.
    This should be corrected, as it would be a great help in this scenario.
    TL; DR: Make sure you set your connection on the private sector, or windows becomes crazy and your metro applications do not work (and I also noticed that visual studio could not deploy projects in this scenario, but that's another story).
  • Upgrade Windows 8 Pro blocked after the first reboot

    I have a HP Media Center PC m7470n. When I upgraded with Windows 8 Pro disc, after the first reboot, it gets stuck on the Windows form with turning points. He's not going back to XP and when I stop and restart, he goes right back to the same screen. I tried to boot from a hard drive and CD ROM with the disc in. I also tried to do a system restore, but it still maintains just that goes back to the same screen. , I even contacted Microsoft Support and after 1 1/2 hours, I had to let go because I had to go to work and they do not have a solution for me. I am not able to go in Mode safe either. Can someone help me with this update or at least get back to XP so that I can at least use my computer? At the moment I feel that Windows 8 Pro comes to have my computer in an oversize weight.

    Hello

    Thanks for posting the question in the Microsoft Community. If I understand correctly, you can not connect to the computer. I understand that it must be frustrating, but don't worry, we are here to help solve the problem and guide you in the right direction.

    I suggest you follow the steps:

    (a) starting from the DVD of Windows 8.

    (b) click on repair your computer.

    (c) click on troubleshoot.

    (d) click on Advanced options , and then click auto repair.

    (e) follow the on-screen instructions and complete the repair.

    If you are always faced with the question, please respond with more information, and we will be happy to help you.

    Thank you.

  • values based on the following logic 'values after the first values of two '_' and before last '_' values '.

    Hi all

    I need the values according to below 2logics in a single select query using instring and substring

    1 values based on the following logic 'values after the first values of two '_' and before last '_' values '.

    2 values based on the following logic 'values after the first values of two '_' and before last'-'values '.

    EXM:

    Entry: ABCD_EFGH_IJKLM - NOPQ_XYZ output: IJKLM - NOPQ

    Entry:. ABCD_EFGH_IJKLM - NOPQ output:IJKLM

    Thank you.

    Check the following

    WITH DATA1 AS

    (SELECT "ABCD_EFGH_IJKLM - NOPQ_XYZ" double val)

    UNION ALL

    SELECT 'ABCD_EFGH_IJKLM - NOPQ' double val

    )

    SELECT SUBSTR (VAL, INSTR(VAL,'_',1,2) + 1, DECODE (BIGGER (INSTR (VAL, '_',-1, 1), INSTR(VAL,'-',-1,1)), INSTR (VAL,'-', - 1, 1), LENGTH (VAL) + 1, INSTR (VAL, '_',-1, 1))-(INSTR (VAL, '_', 1, 2) + 1))

    OF DATA1;

    Concerning

    Salim

  • force password reset after the first connection

    Hi all! I am facing a few problems that I hope you can help me with. I am the authentication of the APEX for my application - and I try to get my request to the user to reset their password after the first use of force. I thought that this should automatically - but is not (even if I use the integrated login page). So, I turn to you to see if you can help understand me what I miss. Thank you for reading!

    Authentication scheme: The authentication of the APEX, with a procedure of login after called check_pwd_reset. The procedure looks like this:

    /*

    PROCEDURE check_pwd_reset IS

    l_host_url varchar2 (1000): = apex_util.host_url ('SCRIPT') | ' f ? p = 53140:500:' | : APP_SESSION.

    BEGIN

    IF (apex_util.change_password_on_first_use (: APP_USER) = TRUE AND apex_util.password_first_use_occurred (: APP_USER) = FALSE) THEN
    apex_util.set_session_state ('FSP_AFTER_LOGIN_URL', l_host_url);

    END IF;

    END;

    */

    Login page: Default 101 - no change

    After (pg 102) login page: 2 password fields and a button "submit". The validation checks to see if the passwords match. If they do,
    then it executes the following process: apex_util.change_current_user_pw(:P500_NEW_PASSWORD);

    At the end of this process, he headed a branch of pl/sql: apex_authentication.logout(:SESSION,:APP_ID);

    Everything seems to work well - BUT my user (configured to change the password at the first login) is ALWAYS prompted to change their password after the first login. It seems as if the call to password_first_use_occurred never is true.

    To observe this behavior, please use customer user and password
    lisaf1: https://apex.oracle.com/pls/apex/f?p=53140:LOGIN_DESKTOP:104844892394198

    I still don't understand why the procedure did not indicate the flag correctly, but support for Oracle has been able to give me a solution. For those who are interested in the future - the solution was to set the workspace setting "require the user account Expiration and locking" to Yes.

    I didn't realize that this setting would influence the requirement for a user to change their password on first use.

  • What cancellation would be paid should I cancel the month by month plan ' photography' after the first 14 days?

    Adobe said that after the first days 14 cancellation period of reflection would make me responsible for '50% of the remaining contract obligation '. I can't find another explanation as to what is the obligation of contract. Common sense would make me think that would mean 50% billable months remaining. However, the lack of transparency makes me suspicious that it could be defined as the total of the annual contract.

    Can someone tell me permanently? And show me where in the terms it says this?

    Thanks in advance

    R

    The contract is for 12 months. If you cancel after cooling then you pay 50% of however much of the 12 months is remaining.

    Adobe - General conditions of subscription

  • Hi, I have the photomembership of creative cloud but after the first month, I can't open any of the applications. It is saying that it cannot find any product on my adobe ID. Can you help me with this?  Thank you

    Hello

    I have the photomembership of creative cloud, but after the first month, I can't open any of the applications. It is saying that it cannot find any product on my adobe ID. Can you help me with this?

    Thank you

    I received help in the chat. Thank you very much

  • A sound signal at the top of the package after the first export?

    Hello

    Im getting a beep at the top of the package after the first export. I continue to have export packages a second time. Usually on the second attempt the beep has disappeared.

    No idea why this is happening?

    R

    Philippe

    Hi Philippe,.

    Im getting a beep at the top of the package after the first export. I continue to have export packages a second time. Usually on the second attempt the beep has disappeared.

    No idea why this is happening?

    No, you can work with support to resolve the issue.

    Thank you
    Kevin

  • Hi, when I buy an annual service by my credit card, after the first month, for the next can I change the credit card?

    Hi, when I buy an annual service by my credit card, after the first month, for the next can I change the credit card?

    Hello

    You can change the billing information anytime before the next renewal. Please see the link below on how to update the billing information.

    Manage your creative cloud membership

    Hope this will help you.

    Kind regards

    Hervé Khare

  • Grep to add the tab character after the first character?

    Hello

    GREP assistants are able to help with a question?

    I am trying to add a tab character after the first character in line in a paragraph style. So, for example, I would like to a tab after the I, D, O and N in the following poem...

    Can Wincy spider climbed up the spout
    Down came the rain and swept away the spider
    Is out the Sun and dried up all the rain
    Now can Wincy spider went up the spout again


    Thank you!

    To find

    ^ \w

    Implement

    $0\t

Maybe you are looking for