Should Javascript injection be done ONLY if one trace is emitted ?

0 views
Skip to first unread message

Eric Priou

unread,
Jul 4, 2007, 12:03:53 PM7/4/07
to flash-th...@googlegroups.com
Hi devs,


One more thought :
To get the javascript function enabled, we need to wait for a call to
Console.enabled setter function.
I wonder why, because that don't permit firebug's console use
withouth having trace something in the actionscript code before…

So why not launch the :
Console.initExternalInterface();
JavaScriptInterface.injectCode();

as soon as possible ?

Since those ones are static methods, that should be fairly easy.
What do you think ?

Cheers.
---
Eric Priou aka erixtekila
Dev notes : http://www.v-i-a.net/inprogress
Oregano XMLSocket server forum : http://www.v-i-a.net/forum


aemkei

unread,
Jul 4, 2007, 12:11:53 PM7/4/07
to flash-thunderbolt
Good point!

In my opinion the command line interface should be launched asap.
- Martin

On Jul 4, 6:03 pm, Eric Priou <erixtek...@gmail.com> wrote:
> Hi devs,
>
> One more thought :
> To get the javascript function enabled, we need to wait for a call to
> Console.enabled setter function.
> I wonder why, because that don't permit firebug's console use

> withouth having trace something in the actionscript code before...

Eric Priou

unread,
Jul 5, 2007, 6:29:01 AM7/5/07
to flash-th...@googlegroups.com

Le 4 juil. 07 à 18:11, aemkei a écrit :


Good point!

In my opinion the command line interface should be launched asap.
I've commited the changes in order to make javascript injection at launch time.
I've also added the document.getElementById thing in order to make the object tag choosen from the command line interface.

Can you create the zip again ? Thanks.

aemkei

unread,
Jul 5, 2007, 9:06:22 AM7/5/07
to flash-thunderbolt
The ZIP and some more init fixes are up!
Reply all
Reply to author
Forward
0 new messages