bugGnash - The GNU Flash player - Bugs: bug #22131, XML bug

 
 

bug #22131: XML bug

Submitted by:  Sandro Santilli <strk>
Submitted on:  Sun 27 Jan 2008 09:43:22 AM UTC  
Votes:  50  
 
Category: ActionScriptSeverity: 4 - Important
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Sandro Santilli <strk>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 27 Jan 2008 09:47:29 AM UTC, comment #1:

This is actually working with Gnash head...
The reporter probably used 0.8.1

Sandro Santilli <strk>
Project MemberIn charge of this item.
Sun 27 Jan 2008 09:43:22 AM UTC, original submission:

From -unavailable- mailing list:

Using the below code, I can view an xml doc in flash, however I get only
[type Object] when viewing with Gnash. Any ideas?

-----------------------------------------------------------

from ming import *

Ming_setScale(20.0000000)
Ming_useSWFVersion(6)
movie = SWFMovie()
movie.setDimension(550,400)
movie.setRate(31)

strAction = """

createTextField('output',50,50,50,250,250);

myXML = new XML();
myXML.onLoad=handleLoad;
myXML.load('xmldoc.xml');

function handleLoad (success) {
if (success) {
output.text= this;
}else{
output.text='fail';
}

myformat = new TextFormat();
myformat.color = 0xff0000;
myformat.font = 'Arial';
myformat.size = 12;

with (output){
multiline = true;
wordWrap = true;
border = true;
setTextFormat(myformat);
}
}

Sandro Santilli <strk>
Project MemberIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by shirish (Voted in favor of this item)
  • -unavailable- added by strk
  • -unavailable- added by strk (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 50 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 30 Jan 2008 09:32:48 PM UTCstrkStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Mon 28 Jan 2008 10:26:57 AM UTCshirishCarbon-Copy-=>Added shirish
    Sun 27 Jan 2008 09:47:29 AM UTCstrkStatusIn Progress=>Ready For Test
      Carbon-Copy-=>Added braydon fuller

    Back to the top


    Powered by Savane 3.1-cleanup1