[Flashcoders] getting information about other application window with adobe air?

2009-10-22 Thread Sidnei Vladisauskis
Hi,

I need develop a desktop application, which needs get some information about
a specific window of the other application, like name of window, size and
position.

I thought to use adobe air to develop it, but It doesn't has this
functionality, I can get just the size of screen.

Who knows some way to do this?
Some wrapper able to get external information from the system or something
like that?

Thanks
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders]

2008-10-14 Thread Sidnei Vladisauskis
Hey folks,

I´m having a great problem with connection between a flash interface and
socket python.

When run my SWF into flash all work normal, my socket accept my conection
and my messenges.

But when I run my SWF embeded in html (using firefox) my socket recive
 messenge.

I read this article:
http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html

But still not work.

My socket is host in http://192.168.0.2:10201
My html with swf is host in http://192.168.0.3/transmissao

I tried this:
Security.loadPolicyFile("http://192.168.0.3/transmissao/crossdomain.xml";);
(in my code into the SWF)

It is my crossdomain.xml:



   
   


I tried  too, but no
success.

I tried send crossdomain from socket with sendall, but no success too.

I tried run all in some one server, but...

Somebody, have a solution?

Thanks a lot...
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] how to use AV1Movie Class?

2008-04-04 Thread Sidnei Vladisauskis
The class AVM2Loader not worked.

The swf that I need load is a game, and has very actions

I think that convert script as2 in as3
:o(


On Fri, Apr 4, 2008 at 5:26 AM, Ian Thomas <[EMAIL PROTECTED]> wrote:

> If you do need to talk to an AVM1 movie (flash AS1/AS2) in an AVM2
> movie (AS3) you can use Grant Skinner's excellent SWFBridge:
> http://www.gskinner.com/blog/archives/2007/07/swfbridge_easie.html
>
> Cheers,
>Ian
>
> On Fri, Apr 4, 2008 at 8:19 AM, ekameleon <[EMAIL PROTECTED]> wrote:
> > Hello :)
> >
> >  For me the problem is the difference between AVM2 and AVM1 in the FP9
> :)
> >
> >  It's really difficult to execute AVM1 and AVM2 scripts in the same
> time.
> >
> >  For me the best way is to transform the AVM1 swf in AVM2 swf or... use
> AS3
> >  source code from the main swf application to resolve all elements in
> the
> >  AVM1 swf.
> >
> >  Example in my framework i use 2 class :
> >
> >  http://www.ekameleon.net/vegas/docs/asgard/display/TimelineScript.html
> >  http://www.ekameleon.net/vegas/docs/asgard/display/AVM2Loader.html
> >
> >  To install my framework you can read :
> >  http://code.google.com/p/vegas/wiki/InstallVEGASwithSVN
> >
> >  EKA+ :)
> >
> >  2008/4/4, Sidnei Vladisauskis <[EMAIL PROTECTED]>:
> >
> >
> > >
> >  > Hi,
> >  >
> >  > I tried use your example, I trace in completeHandler and see that the
> >  > object
> >  > loaded is a AV1Movie, ok...
> >  >
> >  > But my problemes are some functions not run, for examples hitTest,
> tweener
> >  > and other functions excluded in AS3.
> >  >
> >  > Very bugs happen with my swf-AS2 loaded in my swf-AS3.
> >  >
> >  > I need they run whitout bugs.
> >  > :o(
> >  >
> >  > Is there any way?
> >  >
> >  >
> >  > On Thu, Apr 3, 2008 at 2:37 PM, Sidnei Vladisauskis <
> [EMAIL PROTECTED]>
> >  > wrote:
> >  >
> >  >
> >  > > tks...
> >  > >
> >  > > I will try this example...
> >  > >
> >  > > tks a lot...
> >  > >
> >  > >
> >  > > On Thu, Apr 3, 2008 at 12:59 PM, ekameleon <[EMAIL PROTECTED]>
> wrote:
> >  > >
> >  > > > hello :)
> >  > > >
> >  > > > see the example in the reference of the AS3 class :
> >  > > >
> >  > > >
> http://livedocs.adobe.com/flex/2/langref/flash/display/Loader.html
> >  > > >
> >  > > > See the example in the end of the page
> >  > > >
> >  > > > In the completeHandler callback method you can test the type of
> the
> >  > > > "event.target.content" reference :)
> >  > > >
> >  > > > Example
> >  > > >
> >  > > > private function completeHandler(event:Event):void
> >  > > > {
> >  > > > trace("completeHandler: " + describeType(
> >  > > > event.target.contentType ) ); // import the
> flash.utils.describeType
> >  > > > method in the header of your code.
> >  > > > }
> >  > > >
> >  > > >
> >  > > >
> >  > > > and read :
> >  > > >
> >  > > >
> http://livedocs.adobe.com/flex/2/langref/flash/display/AVM1Movie.html
> >  > > >
> >  > > > .. after, open Flex or Flash CS3 and copy the code and test it
> with an
> >  > > > external swf in AS2 and AS3...
> >  > > >
> >  > > > It's easy to test it :)
> >  > > >
> >  > > > EKA+ :)
> >  > > >
> >  > > >
> >  > > > 2008/4/3, Sidnei Vladisauskis <[EMAIL PROTECTED]>:
> >  > > > >
> >  > > > > Hi ekameleon ,
> >  > > > >
> >  > > > > tks for your help, but was you have a exemple??
> >  > > > >
> >  > > > > tks again.
> >  > > > >
> >  > > > >
> >  > > > > On Thu, Apr 3, 2008 at 12:17 PM, ekameleon <[EMAIL PROTECTED]
> >
> >  > > > wrote:
> >  > > > >
> >  > > > > > hello :)
> >  > > > > >
> >  > > > > > yes when you use the Lo

Re: [Flashcoders] how to use AV1Movie Class?

2008-04-03 Thread Sidnei Vladisauskis
Hi,

I tried use your example, I trace in completeHandler and see that the object
loaded is a AV1Movie, ok...

But my problemes are some functions not run, for examples hitTest, tweener
and other functions excluded in AS3.

Very bugs happen with my swf-AS2 loaded in my swf-AS3.

I need they run whitout bugs.
:o(

Is there any way?


On Thu, Apr 3, 2008 at 2:37 PM, Sidnei Vladisauskis <[EMAIL PROTECTED]>
wrote:

> tks...
>
> I will try this example...
>
> tks a lot...
>
>
> On Thu, Apr 3, 2008 at 12:59 PM, ekameleon <[EMAIL PROTECTED]> wrote:
>
> > hello :)
> >
> > see the example in the reference of the AS3 class :
> >
> > http://livedocs.adobe.com/flex/2/langref/flash/display/Loader.html
> >
> > See the example in the end of the page
> >
> > In the completeHandler callback method you can test the type of the
> > "event.target.content" reference :)
> >
> > Example
> >
> > private function completeHandler(event:Event):void
> > {
> > trace("completeHandler: " + describeType(
> > event.target.contentType ) ); // import the flash.utils.describeType
> > method in the header of your code.
> > }
> >
> >
> >
> > and read :
> >
> > http://livedocs.adobe.com/flex/2/langref/flash/display/AVM1Movie.html
> >
> > .. after, open Flex or Flash CS3 and copy the code and test it with an
> > external swf in AS2 and AS3...
> >
> > It's easy to test it :)
> >
> > EKA+ :)
> >
> >
> > 2008/4/3, Sidnei Vladisauskis <[EMAIL PROTECTED]>:
> > >
> > > Hi ekameleon ,
> > >
> > > tks for your help, but was you have a exemple??
> > >
> > > tks again.
> > >
> > >
> > > On Thu, Apr 3, 2008 at 12:17 PM, ekameleon <[EMAIL PROTECTED]>
> > wrote:
> > >
> > > > hello :)
> > > >
> > > > yes when you use the Loader class.. inside your reference you can
> > find
> > > the
> > > > "content" reference who is the reference of the Bitmap or MovieClip,
> > > > etc...
> > > > if the external swf is a AVM1 file the type of the reference is
> > AVM1.
> > > >
> > > > Use the Loader class and test the content property when the external
> > swf
> > > > is
> > > > loading.
> > > >
> > > > EKA+ :)
> > > >
> > > > 2008/4/3, Sidnei Vladisauskis <[EMAIL PROTECTED]>:
> > > > >
> > > > > Hi,
> > > > >
> > > > > I´m developing my new portfolio in AS3 for learn.
> > > > >
> > > > > I need load swf AS2 into the movieclip in my swf AS3.
> > > > >
> > > > > I researched, but I don´t find one documentation for this.
> > > > >
> > > > > I find a reference using AV1Movie Class?
> > > > >
> > > > > is it correct for load a swf AS2?
> > > > >
> > > > > But how to use this class with Loader class?
> > > > >
> > > > > Tks.
> > > > > ___
> > > > > Flashcoders mailing list
> > > > > Flashcoders@chattyfig.figleaf.com
> > > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > > > >
> > > >
> > > > ___
> > > > Flashcoders mailing list
> > > > Flashcoders@chattyfig.figleaf.com
> > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > > >
> > > >
> > > ___
> > > Flashcoders mailing list
> > > Flashcoders@chattyfig.figleaf.com
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> >
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] how to use AV1Movie Class?

2008-04-03 Thread Sidnei Vladisauskis
tks...

I will try this example...

tks a lot...

On Thu, Apr 3, 2008 at 12:59 PM, ekameleon <[EMAIL PROTECTED]> wrote:

> hello :)
>
> see the example in the reference of the AS3 class :
>
> http://livedocs.adobe.com/flex/2/langref/flash/display/Loader.html
>
> See the example in the end of the page
>
> In the completeHandler callback method you can test the type of the
> "event.target.content" reference :)
>
> Example
>
> private function completeHandler(event:Event):void
> {
> trace("completeHandler: " + describeType(
> event.target.contentType ) ); // import the flash.utils.describeType
> method in the header of your code.
> }
>
>
>
> and read :
>
> http://livedocs.adobe.com/flex/2/langref/flash/display/AVM1Movie.html
>
> .. after, open Flex or Flash CS3 and copy the code and test it with an
> external swf in AS2 and AS3...
>
> It's easy to test it :)
>
> EKA+ :)
>
>
> 2008/4/3, Sidnei Vladisauskis <[EMAIL PROTECTED]>:
> >
> > Hi ekameleon ,
> >
> > tks for your help, but was you have a exemple??
> >
> > tks again.
> >
> >
> > On Thu, Apr 3, 2008 at 12:17 PM, ekameleon <[EMAIL PROTECTED]> wrote:
> >
> > > hello :)
> > >
> > > yes when you use the Loader class.. inside your reference you can find
> > the
> > > "content" reference who is the reference of the Bitmap or MovieClip,
> > > etc...
> > > if the external swf is a AVM1 file the type of the reference is AVM1.
> > >
> > > Use the Loader class and test the content property when the external
> swf
> > > is
> > > loading.
> > >
> > > EKA+ :)
> > >
> > > 2008/4/3, Sidnei Vladisauskis <[EMAIL PROTECTED]>:
> > > >
> > > > Hi,
> > > >
> > > > I´m developing my new portfolio in AS3 for learn.
> > > >
> > > > I need load swf AS2 into the movieclip in my swf AS3.
> > > >
> > > > I researched, but I don´t find one documentation for this.
> > > >
> > > > I find a reference using AV1Movie Class?
> > > >
> > > > is it correct for load a swf AS2?
> > > >
> > > > But how to use this class with Loader class?
> > > >
> > > > Tks.
> > > > ___
> > > > Flashcoders mailing list
> > > > Flashcoders@chattyfig.figleaf.com
> > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > > >
> > >
> > > ___
> > > Flashcoders mailing list
> > > Flashcoders@chattyfig.figleaf.com
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] how to use AV1Movie Class?

2008-04-03 Thread Sidnei Vladisauskis
Hi ekameleon ,

tks for your help, but was you have a exemple??

tks again.

On Thu, Apr 3, 2008 at 12:17 PM, ekameleon <[EMAIL PROTECTED]> wrote:

> hello :)
>
> yes when you use the Loader class.. inside your reference you can find the
> "content" reference who is the reference of the Bitmap or MovieClip,
> etc...
> if the external swf is a AVM1 file the type of the reference is AVM1.
>
> Use the Loader class and test the content property when the external swf
> is
> loading.
>
> EKA+ :)
>
> 2008/4/3, Sidnei Vladisauskis <[EMAIL PROTECTED]>:
> >
> > Hi,
> >
> > I´m developing my new portfolio in AS3 for learn.
> >
> > I need load swf AS2 into the movieclip in my swf AS3.
> >
> > I researched, but I don´t find one documentation for this.
> >
> > I find a reference using AV1Movie Class?
> >
> > is it correct for load a swf AS2?
> >
> > But how to use this class with Loader class?
> >
> > Tks.
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] how to use AV1Movie Class?

2008-04-03 Thread Sidnei Vladisauskis
Hi,

I´m developing my new portfolio in AS3 for learn.

I need load swf AS2 into the movieclip in my swf AS3.

I researched, but I don´t find one documentation for this.

I find a reference using AV1Movie Class?

is it correct for load a swf AS2?

But how to use this class with Loader class?

Tks.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders