Hello Kurt,
Nice example. How do i put same functions and events from externalInterface.call by AS3
How does shockwareflash call into external with VS Basic Apps?
Example:
If i am using with Flash-Movie like Flex-Application
Like this Applications.Exit(); = like applications was called by VS-App ( MDM Zinc 3. has worked withEvents by AS3 -> mdm.Applications.Exit(); )
Example Code:
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="AppInit()">
<mx:Script>
<![CDATA[
import examples.Application;
private function AppInit():void
{
// Initalize with VS Basic Project!
examples.Application.init(this);
}
private function AppExit():void
{
// Exit VS Basic Project will to exit.
examples.Application.Exit();
}
]]>
</mx:Script>
<mx:Button x="10" y="10" label="Click Exit" click="AppExit()"/>
</mx:WindowedApplication>
But Libraries do not work only Example like i want to know with events or functionsby sending externalInterface.call.
What does VS Basic Project call onto shockwareflash?
-> examples.Application.Exit(); was parsed by ExternalInterface.call. ExternalInterface should to connect with currecty event or function fom VS Basic.
Can you show example?
I hope my idea with shockwaveflash + VS Basic = swf2exe like MDM Zinc 3.x, TopCom SwfKit 3.x, Adobe Air 1.5x, ScreenTimes mProjector 4.x etc....
Thanks Regards, SnakeMedia
lol