php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30293 SWFText addString() appears todo nothing
Submitted: 2004-09-30 16:07 UTC Modified: 2005-02-20 01:00 UTC
Votes:7
Avg. Score:4.3 ± 0.5
Reproduced:7 of 7 (100.0%)
Same Version:7 (100.0%)
Same OS:3 (42.9%)
From: Jared dot Williams1 at ntlworld dot com Assigned:
Status: No Feedback Package: Ming related
PHP Version: 5.0.2 OS: Windows 2000/IIS
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2004-09-30 16:07 UTC] Jared dot Williams1 at ntlworld dot com
Description:
------------
With Ming2.0a (the version thats including with php5.0.2)

It seems impossible to display text with SWFText object.

The addString() method appears to not add the string to an SWFText object.

Looking at the swf output in a decompiler the created SWFText object exists, with the correct colour etc, but no text string to display.

I've tried numerous examples from the 'net, such as
http://ming.sourceforge.net/examples/text.html
(example had to be modified to point to a valid .fdb)

all display the same problem


Reproduce code:
---------------
http://ming.sourceforge.net/examples/text.html
(example had to be modified to point to a valid .fdb)

Expected result:
----------------
320x240 flash movie, with yellow text 'fnar! fnar!' centered 

Actual result:
--------------
No text is displayed

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-08 09:46 UTC] xnathanx at yahoo dot com
I have exactly the same issue.
Same version of PHP/ming.

Object exists, but no text string is added using the addString() function.
 [2005-02-12 22:28 UTC] tony2001@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.0-win32-latest.zip

Seems to be a ming bug, as addString() segfaults for me somewhere in libming.
 [2005-02-20 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Dec 02 22:01:23 2020 UTC