Hi,
AFAIK, you can not control an ActionScript 2 movie from ActionScript 3
movie. The possible ways are:-
1) Use LocalConnection
2) Use ExternalInterface (not recommended at all).
#1 has been used by many folks (Yahoo! Maps and many others) and there are
couple of projects around that approach. Sorry, I don't remember project
names, please search for it.
If you search, you would get many links.
There are a few, that might get you started:-
http://www.kirupa.com/forum/showpost.php?p=1964550&postcount=249
You can also look at how Yahoo! Maps communication Kit is working:-
http://developer.yahoo.com/flash/as3_api_libraries.html#maps
-abdul
On 11 Apr 2007 04:33:11 -0700, nowak_petr <[EMAIL PROTECTED]> wrote:
Hi,
I see I can access content properties with target.content ...
swfContent = e.target.content;
swfContent.gotoAndStop(2);
totalFrames_txt.text = String(swfContent.totalFrames);
bytesTotal_txt.text = String(swfContent.loaderInfo.bytesTotal);
frameRate_txt.text = String(swfContent.loaderInfo.frameRate);
Is it possible to control flash playing ? To know when it ends ? And
others... Where can I get more information about swfContent
properties and methods ? This is Flash documentation, I guess...
Thanks for help
Petr
--- In flexcoders@yahoogroups.com , "Hilary
Bridel" <[EMAIL PROTECTED]>
wrote:
>
> Hi,
> This may help a little...
> http://www.bridel.org/?p=9
>
> Hilary
>
> --
>
>
> On 10 Apr 2007 13:11:02 -0700, nowak_petr <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> > I have a flash SWF (9 or older version) and I play it with
SWFLoader.
> > I'm able to play, stop. But how to know the number of frames ?
Control
> > the speed of play ? And others .. Is it possible ?
> > The flash SWF file is not my own, it's external, so no under
control
> > (version, local connection, ...).
> >
> >
> >
>
>
>
> --
> Hilary
>
> --
>