gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] Extensions load but don't export as symbols


From: strk
Subject: Re: [Gnash-dev] Extensions load but don't export as symbols
Date: Wed, 19 Sep 2007 22:22:01 +0200

On Wed, Sep 19, 2007 at 11:58:13AM -0700, Dave Watson wrote:
> Hello!
> 
> I'm having a bit of trouble getting the example mysql extension to work.   I
> built gnash from CVS as of a week ago like so:
> ./configure --enable-gui=gtk --with-extensions=mysql --enable-debugger
> make && make install
> 
> great, it looks like it loaded correctly.   Then try some example as code:
> 
> test.as:
> var db = new MySQL();
> 
> and running it I get this:

> ---new object: MySQL
> get_variable_raw("mysql") failed, returning UNDEFINED

Try changing line 423 of extensions/mysql/mysql_db.cpp to use init_member 
instead of set_member.

init_member will take care of converting the label to lowercase if needed
(needed in your case, it seems).

To confirm that's the problem you may also try targetting your movie
to SWF7 or higher, in which case "MySQL" should be found.

--strk;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]