Hi All

*Sample code:*

*Flash Function*
*   filename: Sample.fla *

*/*End of the frame in the Flash file*/*
*EndFrame();*
*function Endframe():void*
*{*

*dispatched(new Event('CustomEvent'));*

*}*
*
*
*
*

*Flash Builder 4 Function

          **/*loading SWF*/*

*private function fnLoadswf():void
{
*

*var swfLoad:SwfLoader= new SwfLoader();
swfLoad.source='sample.swf';
this.addChild(swfLoad);
swfLoad.content.addEventListener('CustomEvent',fnTest);*

*}

private function fnTest(event:Event):void
{
          Alert.show('Test');
}*

*
*

I have dispatched one event in the end of the frame in the flash CS4 swf
file.

Am loading this flash CS4 swf into Flash builder SWF Loader. Is there any
way to get that dispatched Event.

Actually, am used the above code for collecting the event from the flash.
But it is not work.

Can any one please tell me how to collect the dispatched Event from the
Flash CS4.
-- 
Rakshu

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to