So what seems to be the problem ??? Call back a function from the
javascript end and in that function manipulate the Module Loader to
load what ever module you want. You can even pass the name of the
module from the javascript end to the function that ur calling back.
That should work as u require.

First create a module loader in ur file as below :
<mx:ModuleLoader  id="abc"  url="Module1.swf"/>

Then add the function

public function loadModule():void
{
       abc.unloadModule();
       abc.loadModule("Module2.swf");
}

Call back loadModule function from javascript & there u have it.

Sorry if I have stated something that u already know. Do clarify what
u need if this doesnt help.

On Apr 1, 6:26 pm, chandra sekhar <chandrasekhar.m...@gmail.com>
wrote:
> Hi Kiran,
>
>     I want to load the modules through Html page. means need load the
> modules based click on the buttons. or any other operations.. i was already
> tried using the above code.(What ur sending).
>
> Can u please give the full control on this.
> Please explain briefly..
>
> Thanks,
> Chandrasekhar reddy..
>
> On Fri, Apr 1, 2011 at 5:20 PM, kiran reddy <kiran.redd...@gmail.com> wrote:
> > Hi U can use ExtenalInterface.addCallback method
>
> > Loding Modules in flex Module Loader and Module Manager
>
> > Go through Live docs in flex
>
> > ExternalIExternalInterface.addCallback( "methodName", this, method );
> > function method() {
> >    trace("called from javascript");
> > }
> > On Fri, Apr 1, 2011 at 11:01 AM, chandra sekhar <
> > chandrasekhar.m...@gmail.com> wrote:
>
> >> Hi ,
>
> >>   Can please explain the call action script function through javascript.I
> >> want to load modules through some operation in html. how to load the
> >> modules.
>
> >> Please explain anyone...
>
> >> Thanks,
> >> Chandra.
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "Flex India Community" group.
> >> To post to this group, send email to flex_india@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> flex_india+unsubscr...@googlegroups.com.
> >> For more options, visit this group at
> >>http://groups.google.com/group/flex_india?hl=en.
>
> >  --
> > You received this message because you are subscribed to the Google Groups
> > "Flex India Community" group.
> > To post to this group, send email to flex_india@googlegroups.com.
> > To unsubscribe from this group, send email to
> > flex_india+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/flex_india?hl=en.

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

Reply via email to