cancel
Showing results for 
Search instead for 
Did you mean: 

Fire plugs or code in webdynpro from flash island

Former Member
0 Kudos

Hello, I have a simple question, is there a way to fire plugs, events or code inside the webdynpro if I have a button in a flash island ?

Edited by: Isaac Mena on Aug 20, 2009 6:34 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Try this on click of the button:


FlashIsland.fireEvent(this, 'onSubmit');

In WDJ create the FlashIsland UI element with a child GACEvent. Set the property "name" of this GACEvent to "onSubmit" or whatever name that you have used in the Flex project.

Regards,

Satyajit

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

with the help of these things you can fire a plug or event.

Adobe Flex Builder 2 or 3

Adobe Flash Player 9 Update 3

Flash Island Flex library

A Web Dynpro component with a FlashIsland UI element

and the procedure as follows

1.open the view and, select the RootElement in the Outline view and choose FlashIsland from the context menu entry Replace With

2.Select the RootElement and enter the name of your component to the property swfFile, for example: myFlash.swf. This file has to be stored in the mime repository. The relevant path is: <Web Dynpro DC name> -->Resources -->src --> mimes --> Components --> component name>.

3.Select the RootElement and choose Insert Event from the context menu. Specify the name according to the Flash/Flex componentu2019s event name. Specify an action for the onAction event as described in Creating Actions

Regards

Manohar