MySpace Open Platform

A Place For Developers

Welcome Developers!

in

Welcome!

in

flash navigateToURL sandbox error 2146

Last post 07-08-2009 2:03 AM by Fahad. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 11-09-2008 7:02 PM

    flash navigateToURL sandbox error 2146

     I have develped a widget that i run through clearspring.

    you can view it on my server

    http://phonocraft.net/clients/blackmountain/indiemusicassault2008/

    or on my profile in the music section

    http://www.myspace.com/toonamo

    Basically everything runs fine including loading php files off my server to run the internal functions.

    What i need to know is how to i make links for the sponsers i have. I know that myspace has set the network access to internal so that external links will not work. Does anyone know a work around?

     

    here is the code so you know what i am using now.

     

    bmp.addEventListener(MouseEvent.CLICK, bmpClick);


    function bmpClick(event:MouseEvent):void{
        var bmpURL:URLRequest = new URLRequest ("http://www.blackmountainproductions.net/");
        navigateToURL(bmpURL, '_blank');
    }


  • 11-10-2008 7:47 AM In reply to

    Re: flash navigateToURL sandbox error 2146

     You lost me re: the external link thing. Are you saying you want to link sponsors as in ads? I know we allow ads on the canvas and we also allow external links so long as they open in another window. Maybe I'm missing something from your post? Let me know, we'll work through it :)

    Rhonda

     

  • 11-10-2008 3:50 PM In reply to

    Re: flash navigateToURL sandbox error 2146

     You are correct. I am trying to make an ad in the widget itself open a new window for this ad. Then flash gives me the sandbox error. The only fix i see online is to allownetworking "all: rather than "internal." I can't do this however so i am looking for an alternative. if you go to the widget on my server using the link above you can see it is programed to open in another window.

     

    Thanks for your help ^_^

  • 11-11-2008 6:45 AM In reply to

    Re: flash navigateToURL sandbox error 2146

     LEt me see if I can figure out what this error means. I'll get back with ya

    Rhonda

     

  • 11-11-2008 8:34 AM In reply to

    • Tonnie
    • Not Ranked
    • Joined on 10-27-2008
    • Posts 1

    Re: flash navigateToURL sandbox error 2146

    The error means that the flash is blocked by the embed object which is set to allowNetworking="internal", which restricts the flash from navigating away from the myspace domain. I'm having the same problem here and can't really find what the current status is on linking externally from myspace embeds, but I think it is still not allowed.

    Flex Runtime error description: 2146 Security sandbox violation: _ cannot call _ because the HTML/container parameter allowNetworking has the value _. which here is "navigatoToURL" and "internal".

    I tried sending an iframe to the www.myspace.com/Modules/PostTo/Pages/Default.aspx page as a workaround, but this get modified when I post it. If anyone has any suggestions for a workaround please let us know.

  • 03-18-2009 5:22 AM In reply to

    Re: flash navigateToURL sandbox error 2146

     I'm also facing same problem. Did you find out any solutions?

    Filed under: , ,
  • 07-08-2009 2:03 AM In reply to

    • Fahad
    • Not Ranked
    • Joined on 04-24-2008
    • Posts 1

    Re: flash navigateToURL sandbox error 2146

     did any of you find any solution for the sandbox url navigation error?
    I am also having the same problem

Page 1 of 1 (7 items)