By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,916 Members | 1,286 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,916 IT Pros & Developers. It's quick & easy.

SWFAction in ming does not work

P: n/a
Why this code is not working on Solaris 2.8 host. Always
getting:

[Wed Jul 9 14:22:53 2003] [error] PHP Fatal error: swfaction() [<a
href='http://www.php.net/function.swfaction'>function.swfaction</a>]:
getURL('http://www.php.net'
^
Line 1: Reason: 'syntax error'
in /.../htdocs/ming2.php on line 28
$b1->addAction(new SWFAction("getURL('http://www.php.net','_blank');"),
SWFBUTTON_MOUSEUP);

Any ideas?

PHP Version: 4.3.2
Ming: 0.2a
Jul 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
pa*****@schlaepfer.com (Patrick Schlaepfer) wrote:
Why this code is not working on Solaris 2.8 host. Always
getting:

[Wed Jul 9 14:22:53 2003] [error] PHP Fatal error: swfaction() [<a
href='http://www.php.net/function.swfaction'>function.swfaction</a>]:
getURL('http://www.php.net'
^
Line 1: Reason: 'syntax error'
in /.../htdocs/ming2.php on line 28
$b1->addAction(new SWFAction("getURL('http://www.php.net','_blank');"),
SWFBUTTON_MOUSEUP);


Hi Patrick,

Hm, strange - what happens if you create an action first and then add the
action to the button? E.g.:

$a = new SWFAction("getURL('http://www.php.net','_blank');");
$b1->addAction($a, SWFBUTTON_MOUSEUP);

JOn
Jul 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.