Hi Jason,
I did that already (I think), however I used the libflashplayer.so from  
<installdir>/runtimes/player/lnx which is supposed to be a debug version. From 
the flex sdk release notes:
"Install the appropriate debug Flash Player from the 
install_root/runtimes/player/platform directory."

I´ve replaced  /usr/lib/flashplugin-nonfree/libflashplayer.so with the above 
mentioned libflashplayer.so . Neither this nor the standalone player (also from 
the SDK) gives trace output. Is the standalone not supposed to give debug 
output?

Izak

----- Original Message ----
From: "Merrill, Jason" <[EMAIL PROTECTED]>
To: Open Source Flash Mailing List <[email protected]>
Sent: Monday, August 11, 2008 10:22:38 PM
Subject: Re: [osflash] Am I overlooking any crucial tools?

 
You have to have the Flash 9 Debug version of the player installed, not 
the regular version of the Flash 9 player.   You can install it from 
the Adobe web site.
 
Jason 
Merrill
Bank of 
America 
Enterprise 
Technology & Global Risk L&LD
Instructional Technology & 
Media 
Join the Bank of America Flash Platform Developer 
Community
Are you a Bank of 
America associate interested in innovative learning ideas and 
technologies?
Check out our internal  GT&O 
Innovative Learning Blog & subscribe. 
 


________________________________
 From: [EMAIL PROTECTED]  [mailto:[EMAIL PROTECTED] On Behalf Of izak  marais
Sent: Monday, August 11, 2008 4:02 PM
To: Open  Source Flash Mailing List
Subject: Re: [osflash] Am I overlooking  any crucial tools?


Hi everyone, 
Well after fresh install and a  reboot my flash player works again. I´ve 
replaced  /usr/lib/flashplugin-nonfree/libflashplayer.so with the debugger 
libflashplayer.so from the SDK and it still works. I can also run swf's in the  
standalone player. I've started compiling actionscript tutorials using mxmlc. 

However I can't get trace() to work (in either the plugin or the  standalone). 
Trace instructions are simply ignored. I've even tried running  the compiler 
with the debug=true flag, but as expected that does not  influcence trace(). 
What could I be doing wrong?

Here is a minimal  example (contents of file HelloWorld.as:

package { 
    import flash.display.Sprite; 
     import flash.text.TextField; 
      
    public class HelloWorld extends Sprite { 
         
         public function HelloWorld() { 
             var display_txt:TextField = new  TextField(); 
             display_txt.text = "Hello World!";                              
//displays text
             trace("attempting to trace something else")          //does nothing
             addChild(display_txt); 
        } 
    } 
} 

The compiler is invoked:
mxmlc -benchmark=true  HelloWorld.as

regards,
Izak



-----  Original Message ----
From: Martin Wood-Mitrovski  <[EMAIL PROTECTED]>
To: Open Source Flash Mailing List  <[email protected]>
Sent: Thursday, August 7, 2008 9:29:49  AM
Subject: Re: [osflash] Am I overlooking any crucial  tools?



izak marais wrote:
> Thanks for the feedback. I am  glad that the compiler will work easier 
> than the player. Ubuntu  indeed uses the nspluginwrapper and I previously 
> had the flash9  player working, however by following the first part of 
> the  SDK  installation instructions (uninstall falsh player plugin and 
> replace  it with the debugger version distributed as part of the SDK) I 
> have  managed to break it.
> 
> However, the stand-alone-player (i.e.  not the browser-plugin) 
> distributed with the SDK runs fine. So is it  really necessary to have 
> the browser-plugin-player be the debugger  version? Does the rest of the 
> SDK depend on this? Or could I use the  stand-alone-player for debugging 
> and stick with the standard  player?

just use the standalone.


actually thats one thing  that bothers me about FlexBuilder is that it defaults 
to generating html  wrappers and launching them in the browser without any 
preferences to  change it for new projects.

what i find strange is that they could have  easily integrated the player into 
an 
eclipse view either via some JNI  stuff to directly host the plugin or via the 
browser component, after all Adobe should know their own technology....anyway, 
im rambling about  FlexBuilder which isn't free or open source so not really 
appropriate  :)


_______________________________________________
osflash  mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org


      
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to