Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Sep 2007
    Posts
    49
    Thanks
    0
    Thanked 0 Times in 0 Posts

    unsafe operation error

    I have a splash page I made in flash with some as3 buttons. The thing works fine when I test the movie but when I publish the swf and play it in the player or in a browser I get a prompt "Adobe Flash Player has stopped a potentially unsafe operation". I've changed the settings several times to always allow as the prompt tells me too but when I reload the page I get the same error and if I just click 'ok' none of the buttons work. What could be wrong?

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    We need to see your actionscript. There is no way for us to tell you what the problem is. We aren't psychic.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    New Coder
    Join Date
    Sep 2007
    Posts
    49
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Sorry I thought it would have to do with how to set the publishing not to do with the AS.

    Code:
    function goAbout(event:MouseEvent):void {
    navigateToURL(new URLRequest("http://evvyawards.org/27/about/") , "_self");
    }
    
    about_b.addEventListener(MouseEvent.CLICK, goAbout);
    
    function goContact(event:MouseEvent):void {
    navigateToURL(new URLRequest("http://evvyawards.org/27/contact/") , "_self");
    }
    
    contact_b.addEventListener(MouseEvent.CLICK, goContact);
    
    function goFriends(event:MouseEvent):void {
    navigateToURL(new URLRequest("http://evvyawards.org/27/friends/") , "_self");
    }
    
    friends_b.addEventListener(MouseEvent.CLICK, goFriends);
    
    function goSubmit(event:MouseEvent):void {
    navigateToURL(new URLRequest("http://evvyawards.org/27/submit/") , "_self");
    }
    
    submit_b.addEventListener(MouseEvent.CLICK, goSubmit);
    
    function goShow(event:MouseEvent):void {
    navigateToURL(new URLRequest("http://evvyawards.org/27/show/") , "_self");
    }
    
    show_b.addEventListener(MouseEvent.CLICK, goShow);
    
    function goNominees(event:MouseEvent):void {
    navigateToURL(new URLRequest("http://evvyawards.org/27/nominees/") , "_self");
    }
    
    nominees_b.addEventListener(MouseEvent.CLICK, goNominees);
    
    function goPress(event:MouseEvent):void {
    navigateToURL(new URLRequest("http://evvyawards.org/27/press/") , "_self");
    }
    
    press_b.addEventListener(MouseEvent.CLICK, goPress);

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    okay I think new URLRequest only works for external sites if the checkbox that says allow access to local files only is unchecked when publishing.
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

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