Hi Venkat,

Now I got the problem, why I am facing this issue. but could not find
the solution for it.

See problem is, We have to call action script from java script. For
this, as you mentioned, we have to give the name of the swf object as
a parameter window[].

Since we are embeding our mxml code in the jsp, the swf file which is
generated after compling the jsp has unpredicted name. i.e. I have
abc.jsp in which i have include mxml code. After invoking this jsp,
the swf object is generated may have the file name as
abc333EE4444444E.swf. It is not predicted. I do not know how the name
is given to this object.And because of this, I can not understand what
to put in window[] as parameter.

Could you explain me what will be workaround or solution for this?


Let me know if you need more information on this.


Thanks & Regards,
Chandan



On Oct 17, 8:44 pm, "Venkat Viswanathan" <[EMAIL PROTECTED]>
wrote:
> Hi Chandan,
>
> Inside window, appname is not the name of the mxml file. Its the id/name you
> assign to the SWF object. JavaScript uses the id to communicate with Flex.
> And as Hissam said, look for ExternalInterface class in Flex. There is a
> method in the class called "addCallback" which you will have to use.
>
> Regards,
> Venkatwww.venkatv.com
>
>
>
> On Fri, Oct 17, 2008 at 7:06 . PM, HISSAM <[EMAIL PROTECTED]> wrote:
> > search for ExternalInterface in flex- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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