473,387 Members | 1,374 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

SWFAction in ming does not work

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
1 2921
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: eric | last post by:
Greetings! I've installed Apache 2.0.xx and PHP 4.3.2. I want to use Ming as a module to PHP. The instructions that came with Ming say to: as a php module (unix) download php_ming.so.gz...
2
by: rostik | last post by:
I've developed the web-site by PHP with using Ming-library. All worked well on the local computer, but when I uploaded all to the internet server I have got an error :( Ming library does not set...
0
by: jmdeschamps | last post by:
Hello to all, I'm trying to get binaries for Ming but can't find them FOR PYTHON... Yes I know its a PHP group, but i believe someone as made a binary of Ming that is symbolically linked to PHP...
1
by: jmdeschamps | last post by:
I've tried to follow gerhard lead from:...
0
by: jmdeschamps | last post by:
I have yet to find a way to compile the source of Ming (a library to produce SWF files (Flash), http://ming.sourceforge.net/) to run from Python under Windows XP Even with some help (from a C++...
2
by: titouille | last post by:
Hello everybody !! anyone has try to build ming0.3beta1 for python 2.3.3 under windows ?? Since three days, I try to build it with mingw32, and finally, I am stopped with C declarations error...
9
by: nasim | last post by:
Hi please Help me for using SWF Flash file in Visual C++ 6.0. How I can Use SWF Flash files in Visual C++ 6.0, and how to manipulate SWF Flash files in Visual C++ 6.0. thanks nasim
4
by: daz.diamond | last post by:
hoping someone can help ... how do I install ming (with python) on win32? have downloaded the tar.gz of ming-0.3.0 which doesn't have a handy self-installer, and I'm absolutely foxed as to what...
1
by: Daniel Nogradi | last post by:
It might be slightly off topic here but couldn't find a more suitable place for this question: I'm trying to build the python binding for ming -- http://ming.sf.net -- but for some reason the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.