SWFAction in ming does not work

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Patrick Schlaepfer

    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.swfact ion'>function.s wfaction</a>]:
    getURL('http://www.php.net'
    ^
    Line 1: Reason: 'syntax error'
    in /.../htdocs/ming2.php on line 28


    $b1->addAction(ne w SWFAction("getU RL('http://www.php.net','_ blank');"),
    SWFBUTTON_MOUSE UP);

    Any ideas?

    PHP Version: 4.3.2
    Ming: 0.2a
  • Jon Kraft

    #2
    Re: SWFAction in ming does not work

    patrick@schlaep fer.com (Patrick Schlaepfer) wrote:
    [color=blue]
    > 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.swfact ion'>function.s wfaction</a>]:
    > getURL('http://www.php.net'
    > ^
    > Line 1: Reason: 'syntax error'
    > in /.../htdocs/ming2.php on line 28
    >
    >
    > $b1->addAction(ne w SWFAction("getU RL('http://www.php.net','_ blank');"),
    > SWFBUTTON_MOUSE UP);[/color]

    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("getU RL('http://www.php.net','_ blank');");
    $b1->addAction($a , SWFBUTTON_MOUSE UP);

    JOn

    Comment

    Working...