Problems with sendAndLoad and PHP script

  • oli
  • Born
  • Born
  • oli
  • Posts: 1

Post 3+ Months Ago


I'm new in this forum. I'm having problems with a sendAndLoad call. I invoke a php script with sendAndLoad and try to open a javascript pop-up window from the php, but it doesn't open.

However if i run the php script alone it works.

I'm already test that the php script is invoked from flash, is just that no open the pop-up.

thanks in advance

  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Posts: 1825
  • Loc: In the Great White North

Post 3+ Months Ago

why don't you just call the javascript right from actionscript? The php in the middle seems like an extra layer.

There are other ways but a simple solution is:
Code: [ Select ]
  • spork
  • Brewmaster
  • Silver Member
  • spork
  • Posts: 6297
  • Loc: Seattle, WA

Post 3+ Months Ago

The ExternalInterface class would probably be of great help to you. It allows you to call javascript functions directly from within the ActionScript, complete with callback methods and the works.

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 7 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.