List Info

Thread: compile error when using integration kit




compile error when using integration kit
country flaguser name
Switzerland
2007-03-16 06:16:22
HI all,

I'm just trying to get the integration kit to run and
struggle with a
compilation error as soon as I put the sources on my
project:

JavaScriptProxy.as: Error: A file found in a source-path
must have an
externally visible definition. If a definition in the file
is meant to
be externally visible, please put the definition in a
package.

I'm using Flex SDK versiuon 2.0.1.0


Any help ?

thanks
Matthias


_______________________________________________
Flashjs mailing list
Flashjsosflash.org
http://osflash.org/mailman/listinfo/flashjs_osflash.org

Re: compile error when using integration kit
country flaguser name
United States
2007-03-16 06:21:44
if you're using flex, you can just use ExternalInterface,
and you  
don't need the integration kit.


The Js kit was created for as2 projects using flash player 7
or lower.



On Mar 16, 2007, at 7:16 AM, Matthias Huber wrote:

> HI all,
>
> I'm just trying to get the integration kit to run and
struggle with a
> compilation error as soon as I put the sources on my
project:
>
> JavaScriptProxy.as: Error: A file found in a
source-path must have an
> externally visible definition. If a definition in the
file is meant to
> be externally visible, please put the definition in a
package.
>
> I'm using Flex SDK versiuon 2.0.1.0
>
>
> Any help ?
>
> thanks
> Matthias
>
>
> _______________________________________________
> Flashjs mailing list
> Flashjsosflash.org
> http://osflash.org/mailman/listinfo/flashjs_osflash.org


_______________________________________________
Flashjs mailing list
Flashjsosflash.org
http://osflash.org/mailman/listinfo/flashjs_osflash.org

Re: compile error when using integration kit
country flaguser name
United States
2007-03-16 06:22:03
or even better, use the adobe flex/ajax bridge.



On Mar 16, 2007, at 7:16 AM, Matthias Huber wrote:

> HI all,
>
> I'm just trying to get the integration kit to run and
struggle with a
> compilation error as soon as I put the sources on my
project:
>
> JavaScriptProxy.as: Error: A file found in a
source-path must have an
> externally visible definition. If a definition in the
file is meant to
> be externally visible, please put the definition in a
package.
>
> I'm using Flex SDK versiuon 2.0.1.0
>
>
> Any help ?
>
> thanks
> Matthias
>
>
> _______________________________________________
> Flashjs mailing list
> Flashjsosflash.org
> http://osflash.org/mailman/listinfo/flashjs_osflash.org


_______________________________________________
Flashjs mailing list
Flashjsosflash.org
http://osflash.org/mailman/listinfo/flashjs_osflash.org

Re: compile error when using integration kit
user name
2007-03-16 06:24:13
Hi Matthias,

I don't think the JS integration kit is really for you if you're publishing to Flash Player 9, the Flash/JavaScript communication kit was created prior to the inclusion of the ExternalInterface class that shipped with Flash 8.
The errors you are getting are because the JS/Flash integration kit has been written in ActionScript 2, and you are publishing to ActionScript 3.

Daniel

On 3/16/07, Matthias Huber < matthias.hubercanoo.com">matthias.hubercanoo.com> wrote:
HI all,

I9;m just trying to get the integration kit to run and struggle with a
compilation error as soon as I put the sources on my project:

JavaScriptProxy.as: Error: A file found in a source-path must have an
externally visible definition. If a definition in the file is meant to
be externally visible, please put the definition in a package.

I'm using Flex SDK versiuon 2.0.1.0


Any help ?

thanks
Matthias


_______________________________________________
Flashjs mailing list
Flashjsosflash.org">Flashjsosflash.org
http://osflash.org/mailman/listinfo/flashjs_osflash.org


Re: compile error when using integration kit
user name
2007-03-16 06:25:18
Damn it, I hate it when that happens.... ;)

Daniel
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )