How to call Flex app from Javascript in portal question


i've setup flex 4 app callback function. flex app embedded in java portlet on weblogic portal 10.3.2. how can call flex app portlets javascript function? code below shows how flex app embedded in wrapper jsp.

 

<script language="javascript" type="text/javascript">

 

        ac_fl_runcontent(
                    "src", "<%= srcpath %>",
                    "id", "<%= (string)request.getattribute("portlet_name") %>",
                    "name", "<%= (string)request.getattribute("portlet_name") %>", 
                    "width", "<%= request.getattribute("width") %>",
                    "height", "<%= request.getattribute("height") %>",
                    "align", "middle",
                    "quality", "high",
                    "flashvars", "portlet_ws=<%= request.getattribute("window_state")%><%= wsrpencodedchannel %>",
                    "allowscriptaccess","samedomain",
                    "type", "application/x-shockwave-flash",
                    "pluginspage", "http://www.adobe.com/go/getflashplayer");         
</script>



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support