This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Macromedia Flash > September 2007 > how to control one movie from another?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author how to control one movie from another?
Steve Foxover

2007-09-24, 10:14 pm

Hi,

I am trying to do what Real Player 11 does and inject a swf into a
loaded web page so I can control the pause/play etc of an flv.

In C++ I can call
hr = m_pFlashObject->LoadMovie(1,strFile.AllocSysString());
to load my swf in layer 1. It displays some debug text over the 3rd
party swf and does not break the other swf's functionality.

Does anyone have any advice on how to call a function in a 3rd party
swf that does not have the ExternalInterface.addCallback function
declarations?

I was thinking
NetStream.prototype.mypause_orig = NetStream.prototype.pause;
NetStream.prototype.pause = function(flag)
{
this.mypause_orig(flag);
}

or just
_root._pause();

any advise?

Regards

Steve

Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews