Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Mar 2009
    Thanked 0 Times in 0 Posts

    Question Windows Compatibility?

    I created a "password protected" .swf using AS3, slapped it on an html page that runs perfectly with browsers on MAC (firefox, safari). But when i try to access the page on a PC (IE, Firefox), the .swf seems to stop after entering the password, leaving a blank page... However, when i refresh the page, the file runs properly. Anyone know how to get it to run properly without having to refresh the page?

    Here's the AS i used ---

    note - "party" is the password, "hidden" is the frame label that should play when entering the password, but does so only when the page is refreshed...

    enter_btn.addEventListener(MouseEvent.CLICK, enterclick);

    failed_txt.background = false;
    failed_txt.border = false;

    var mypass:String;

    function enterclick(event:MouseEvent){
    mypass = pass_txt.text;
    if(mypass == "party"){
    } else {
    failed_txt.text = "Please enter a valid password."

  2. #2
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Thanked 238 Times in 229 Posts
    This sounds like a browser issue, not actionscript. Make sure that you have updated your flash player on the PC and send a link (or pm me if its private and you'd like me to test it).
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts