Flash Island height issue

Hi,
I have two views one view (main_view) contains an viewcontainer the other view is the flash island itself.
The viewcontainer will be used to hold the flash island.
This works fine the flash island loads probably.
But when I add elements to the main_view (like input fields,...) the flash islands doesn't show up. If you want to be able to see  the flash islands you have to change the height of the flash islands view to a fixed value.
This is annoying because it will create scroll bars and we don't want to have it because the flash island already contains a scroll bar.
Is it possible to use a flash island with other elements and set the flash islands view height to 100% so it adapts to the screen resolution?
Regards,
Jonas

Hello,
I have created a word document which has all of the properties of the Web DynPro components to make this work.
This link contains a zip archive which contains
1) Word document with relevant properties and values.
2) Nugget file of Web DynPro application
3) Flex project archive of basic project.
[http://wiki.sdn.sap.com/wiki/download/attachments/249005507/Solution.zip?version=1&modificationDate=1314047949356]
If the link doesn't work, please try this one, which is to a wiki page:
http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=249005508
Regards,
Larry
Edited by: Larry Hardin on Aug 22, 2011 2:23 PM
Edited by: Larry Hardin on Aug 22, 2011 2:26 PM

Similar Messages

  • Flash Island issues

    Hi all,
    -Is it possible to create a FlashIsland dynamically? I'm building a flashisland for a web dynpro application that is dynamically build up. My problem exists when replacing the standard uielements by a flashisland, the blue box(swf background) shows up but it wont load(right click on movie says:"Movie not loaded").
    Is there a way of doing this?
    -Also you can run the demoapplication WDR_TEST_FLASH_ISLAND for the second issue. Is it possible not all features for flashisland are working because when you try here  "Integration > change url of .swf file" and "integration > flash island on the popup" they will crash with an error saying this is not possible. Are these future features?
    Kind regards,
    Kim

    Hi Thomas,
    We are replacing a webdynpro application into flashislands. It's build up with a home component that loads up other specific components depending on which view you want to have displayed.
    Now we're already experiencing big load times, and some delay untill the SAP data connection is made (10 seconds) after the application is shown. So we have to find a way to load the Flash Island views dynamically or seperately when we need them.
    We've also found a way to shorten the load time by changing the framework linkage (Project -> Properties -> Framework linkage set to Runtime Shared Library RSL) so that the framework is in a seperate .swf file, and only the application swf file has to be loaded. But when adding the framework swf file in the MIME repo, and you run the application it can't be found.
    Kind regards
    Kim
    Edited by: Kim Schoukens on Nov 9, 2010 5:48 PM with RSL details

  • Flash Island width and height - screen resolution

    Hi,
    I'm wondering if anybody knows a way to determine the screen resolution used in WDA? You might wonder why do we need screen resolution when you have 100% and flow layout.. well we're using a Flash Island frontend, and you are obligated to enter a height and width for the island. We'd like to support multiple resolutions for users and we could try to bind height and width to context attributes and set these in WWDOINIT perhaps if we'd know how to determine the resolution.
    Thanks in advance,
    Wouter

    and you are obligated to enter a height and width for the island
    I'm not sure that's completely true - I have an island that we set the height for - but the width as 100% -  that seems to work just fine - albeit that the size is fixed from entry into the application - resizing the window does not resize the island.
    I haven't wanted an island with 100% height - but are you sure this doesn't work?
    if you watch the teched virtual session [CD203: Best Practices for Designing Web Dynpro ABAP User Interfaces |http://tinyurl.com/2dcp3fv] there is looooooooooong section in there where they go on and on about 100% rendering - it's pretty obvious - but worth repeating (at least it seems so in the session) 100% is only 100% of the container that the container is embedded within.
    Have a go - I'm not 100% convinced you can't have a 100% island
    Cheers,
    Chris

  • Flash Islands Tutorial I - Confusion with Flex/Flash Builder Versions

    Hi Guys,
    i am new to the Adobe Flex/Flash Islands technology and tried to implement Tutorial I by Thomas Jung. Unfortunately i am confused by the various different versions for flex and the corresponding IDE's.
    As far as i understood SAP at the moment only supports Flex versions up to version 3.3 for NetWeaver 7 EHP1. Furtheron the Adobe Charting Components (used in the Tutorial) seem to be part of the Flex Builder Professional Version only.
    So i went to the Adobe Website and looked into the products and download areas. All i found was Flash Builder 4.5 Premium and the various Adobe and Open Source Flex SDK versions. I am using Flash Builder 4.5 as a trial right now. Unfortunately the Charting Components are not included.
    So the question i have is whether the Charting Components (e.g. <mx:BarChart /> )are included in the non Trial version of Flash Builder 4.5 Premium or whether there is any possibility to get them as an Add-On. Or do i have to use Flex Builder 3 Professional (i found no information about this on the Adobe Website)?
    Additional Hint:
    I found out that when i compile the poject with Flex SDK vesion 3.6 or higher, the compiler knows the <mx:BarChart /> tag. Also in that case the view designer is working. However FlashIslands is only supported up to Flex SDK 3.3. But when i choose 3.3 the <mx:BarChart /> tag and some other related tags are unknown.
    This is a really anoying issue.
    Best Regards,
    Dirk
    Edited by: Dirk Jäckel on Jul 19, 2011 12:14 PM

    HI Dirk,
    wtith Web Dynpro, you can only use Flex SDK version 3.3 and downwards. You can download the SDK here [http://opensource.adobe.com/wiki/display/flexsdk/DownloadFlex3]
    Flash Builder ships with Flex SDK 4.5 which is not compatible with WDA flash islands.
    As for the charts library, which Adobe referes to as the Data Visualization Component, it is also available as a separate download which can be unzipped into the same directory as the Flex SDK -- the library is available here [http://www.adobe.com/cfusion/entitlement/index.cfm?e=flex3sdk]
    I must say I am also confused, because as far I can tell data visualization component is not included in 3.3, but SAP makes no mention of this. Hopefully someone else can enlighten us on this issue?

  • Flash island: popup during install

    Hello all,
    We are using webdynpro ABAP with flash island. These WDA are displayed to users in a SAP portal.
    As a lot a users don't have enough authorizations on their PC to install applications. We would like to avoid the automatic popup asking for flash installation and to have instead a short message redirecting users to PC administrators.
    Well, my best solution for the moment is:
       - Raise an event in the WDA.
       - This event is catch in the masthead of the portal, the handler of this event check if the user has flash player installed or not.
       - This hanlder then fire an event with the result (flash or not) of this test as a parameter.
       - In the main view (initialization) of my WDA I have subscribed to this second event to get the resutl of the check (done in the portal due to javascript restriction in WDA).
       - Even if I map the enable property and visibility property of my flashisland container depending on the result of the test, I always have the install popup displayed if I don't have flash installed. Even if the portal eventing mechanisme is working (I don't have the flashisland displayed if I don't have flash installed).
    I have already played with some flash builder options around the generation of a wrapper. But don't find anything working for my requirement.
    Does someone already face the same issue/requirements and have a solution to solve this?
    Thanks,
    Olivier

    >Even if I map the enable property and visibility property of my flashisland container depending on the result of the test, I always have the install popup displayed if I don't have flash installed.
    That won't be enough to stop the Flash Plug-In from initializing. What I would suggest is that you set the dummy EMPTYVIEW as the default view of the ViewContainer that would normally hold the FlashIsland.  Then if you pass your check, fire a navigation plug to replace the EMPTYVIEW with the Flash Island View.  Only by not embedding the view at all can you avoid the Flash Player initialization.

  • Adobe Flash Islands + Web Dynpro Java - CE 7.1 EHP1

    Hi All,
             I am currently working on flash islands in web dynpro java(CE 7.1 EHP1  Trail version). i have done some sample projects in Flex Builder and using the complied(Flex Complier 2.0) SWF file, i was able to do data transfer between web dynpro java and Flex component. every thing works fine till this but if i complie the flex project using Flex Complier 3.0, i am able to see the Flex component rendered in web dynpro java, but data transfer dosent work.
    i have checked few thread in SDN and came to know to use WDFlashIsland30.SWC library to complie using FLex Builder 3.0.
    i got this library and complie the Flex Component using Flex Complier 3.0 and placed this WDFlashIsland30.SWC in server also but the problem exists .... the complied Flex Component is getting reddered in web dynpro java but the data transfer is not happening ???
    what could be problem ???
    1.  Is it enough to place the WDIslandLibrary30.swc libraby in CE 7.1 EHP1 version for data communication between Flex and Web Dynpro Java if so what could be the problem ?
    2. Or do i need update the Server ???
    Thanks and Regards,

    HI,
    your issue is completely independent from the server, it's a pure client problem. In general Web Dynpro Java does not care which Flex version you used to compile, as long as you used the right library.
    If you did not change anything else it should work. Are you sure you replaced the used library and changed the source-code-compliance before recompiling?
    Kind Regards,
    Carl Heckmann

  • Flash islands

    Hi All
    I want to start developing an adobe flash island component.
    I understand that I can only develop in Flex SDK version that is lower then 3.4.
    My problem is that I can only download adobe flash builder 4 (this is the only version purposed in adobe.com) .
    In this version the compiler can only run SDK 3.5 and higher.
    Can any of u tell me how do I get adobe flash builder 3, or any other idea how to solve the issue?
    Thanks
    Nitsan

    Hi
    Flex SDK 3.* doesn't have data visualization components included (Charts) so you'll have to custom implement them in the SDK.
    You can find the tutorial how to combine these [here|http://www.webappsolution.com/wordpress/2009/04/22/installing-flex-33-sdk-data-visualization-33-swc/] , if you're having any problems I can upload the SDK with data visualization already combined.
    Kind regards,
    Wouter

  • Flash Island "Children DataSources"

    Hi all, I've been looking over the documentation for binding the data sources and properties in the FlashIsland's context nodes with The flex object, all of them show a simple scenario of one data source and few properties, but never shows the case of Children DataSources. I've had to use this case but I came across the following issue.
    The issue simply is Iu2019ve been accessing the DataSources defined in my FlashViewu2019s Context using the Bindable variables on my FlashIsland at the flex side, and whenever I need to get the ChildDataSource of it, I would use the actual name of that ChildDataSource thatu2019s defined in the COMPONENTCONTROLLERu2019s Contextu2026 I figured that this is not a good practice for reusability!
    Just to make sure Iu2019m clear this is a small example
    for each(var item:Object in _myFlashIsland.Box)
                var boxData:ArrayCollection = item[[BOX_DATA]];
    Where myFlashIsland.Box is the Bindable DataSource variable, and u201CBOXDATAu201D is the name of the ChildDataSource of Box.
    Would there be a way I can get the name of u201CBOX_DATAu201D generically or use the u201Cnameu201D property in my FlashIsland view at the SAP side the same way I used it for Box, so whoever is using the component wonu2019t have to strict their context to have this naming?
    Thank you in advance, and have a wonderful day.

    You had stumped me on this one, but I went back to the developer in Palo Alto who wrote the Flex side of the FlashIslands implementation.  He was kind enough to pass along this explanation. I had never tired it before, but there is a method of the FlashIsland library called getDataSourceFieldName that can be used for this.  Here is his complete explanation:
    There are two ways to access the child data source.  The first is to just use the normal data source declaration, if you do that you will get the lead selected (or default selected) child data source.  Lets say your context looks like this:
    context root
    |
    +-A (context node)
      |
      +-a1 (context attr)
      +-a2 (context attr)
      +-B  (context node)
        |
        +-b1 (context attr)
        +-b2 (context attr)
    And lets say you create your Flash Island with a GACDataSource name="A" and a child GACDataSource name="B"
    In your Flex code you would declare:
    public var A:Object;
    public var B:Object;
    "A" would be set to the lead selected node for context node "A" and "B" would be set to the lead selected node for context node "B".
    If, however, you would like to iterate through the all of the child context nodes you can use the getDataSourceFieldName FlashIsland function to get the correct child's field name.  Given the previous example the following should work:
    public function set A(val:Object) : void {
        if(!(val is IList))
            return;
        var mainDS = val as IList;
        var childDSField:String = FlashIsland.getDataSourceFieldName(this, B);
        for(var i:int=0; i<mainDS.length; i++) {
            var mainDSRowObject = mainDS<i>;
            var thisRowsChildDS:Object = mainDSRow[childDSField];
            Alert.show('Child ' + i +
                    ': attr1: ' + thisRowsChildDS[BAttr1Field] +
                    ' attr2: ' + thisRowsChildDS[BAttr2Field]);
    public var B:Object;
    public var BAttr1Field:String;
    public var BAttr2Field:String;

  • Error while running Adobe Flash Islands in ABAP Web dynpro

    Hi All,
    I am new to Adobe flash Islands. I am trying with simple examples. I have downloaded SDK and Flash Builder from Adobe.com
    I have build the flex project and imported as MIME in WD and integrated into it. If i see the design of the flex project in Flash Builder all seems ok. However, when i run my WD i am facing below error.
    TypeError: Error #1006: getCurrent is not a function.
         at sap::FlashIsland$cinit()
         at global$init()
         at Labelisland/initApp()
         at Labelisland/___Labelisland_Application1_initialize()
         at flash.events::EventDispatcher/dispatchEventFunction()
         at flash.events::EventDispatcher/dispatchEvent()
         at mx.core::UIComponent/dispatchEvent()
         at mx.core::UIComponent/set processedDescriptors()
         at mx.core::Container/createComponentsFromDescriptors()
         at mx.core::Container/createChildren()
         at mx.core::UIComponent/initialize()
         at mx.core::Container/initialize()
         at mx.core::Application/initialize()
         at Labelisland/initialize()
         at mx.managers.systemClasses::ChildManager/childAdded()
         at mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()
         at mx.managers::SystemManager/initializeTopLevelWindow()
         at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()
         at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()
         at flash.events::EventDispatcher/dispatchEventFunction()
         at flash.events::EventDispatcher/dispatchEvent()
         at mx.preloaders::Preloader/timerHandler()
         at flash.utils::Timer/_timerDispatch()
         at flash.utils::Timer/tick()
    I tried couple of examples, all ending with same error and flash component is not getting displayed at runtime.
    Hope some one helps me. Thanks in advance.

    Hello,
    See Note: https://service.sap.com/sap/support/notes/1312542
    Flex SDK 3.4 and higher is not supported as documented.
    You should use Flex SDK 3.3 to build Web dynpro FlashIslands.
    Hope this helps!
    Thanks,
    Srilatha

  • Using flash island in ABAP Webdynpro

    Hi,
    I am trying to use Adobe Flash Island.. but when i right click on root element container i dont get option as Swap root element..
    I also tried creating new element with Flash Island option...
    I also cant find library stored in the MIME repository under SAP/PUBLIC/BC/UR/nw7/FlashIslands..
    What configuatin are required to be done for using flash island in WebDynpro ABAP...
    Regards,
    Jigar OZa

    Maybe you use the wrong NW version.
    Check that you use component SAP_ABA with version 701 or 711.

  • About Flash Islands In Web Dynpro Java

    Hi All,
    We developed a sample Web Dynpro Java application with Flash Islands. It executed fine. We used the Flex 2.0.1 Hotfix 3 Compiler. But now we have a requirement to use Flex 3.2 complier. But if we use SWF files in Web Dynpro, comipled with Flex 3.0 complier, It is not rendering the UI components. How can I resolve this problem. In some thread, I saw this problem is resolved in latest patch of CE 7.1 EHP1. Is it?. If so what is that patch and from where I can download this patch?
    Thanks,
    Sampath G

    hi,
    Check out this link. It will give you an idea how to integrate Aobe island comp with web dynpro.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/307b434f-ff32-2b10-e885-991247270480
    Thanx.

  • Data connection between Java Webdynpro - Flex Flash Island

    Hi,
    I'm developing a Java Webdynpro with connection to a Flex Flash Island. I'm using Flex 3.2.
    I've already set up the connection from WDJ to Flex, by using Events and the FlashIsland.fireEvent method, this all works fine. Now I'm trying to update a value in WDJ, to be updated in Flex. This gives the following error:
    Error: Error #1023: Stack overflow occurred.
         at Function/http://adobe.com/AS3/2006/builtin::apply()
         at mx.binding::Watcher/wrapUpdate()
         at mx.binding::PropertyWatcher/eventHandler()
         at flash.events::EventDispatcher/dispatchEventFunction()
         at flash.events::EventDispatcher/dispatchEvent()
         at mx.core::UIComponent/dispatchEvent()
         at UWLApplication/set opentask_updated()
         at MethodInfo-4234()
         at Function/http://adobe.com/AS3/2006/builtin::call()
         at sap.core.wd.context::WDContextListener/execute()
         at sap.core.wd.context::WDContext/notifyListeners()
         at sap.core.wd.context::WDContext/_set()
         at sap.core.wd.context::WDContext/set()
         at sap.wd.island::WDIsland/storeProperty()
         at sap.wd.island::WDIsland/onUpdateProperty()
         at mx.binding.utils::ChangeWatcher/wrapHandler()
         at flash.events::EventDispatcher/dispatchEventFunction()
         at flash.events::EventDispatcher/dispatchEvent()
         at mx.core::UIComponent/dispatchEvent()
         at UWLApplication/set opentask_updated()
         at MethodInfo-4234()
    This is especially strange, cause before I had a refresh button in which I updated my entire item collection. Now, I have added this field and suddenly I get this error !
    Does anybody has any idea what this could mean? Any help would be much appreciated ...
    My field in Flex:
    \[Bindable\]
    public var opentask_updated:Number;
    <mx:Text id="opentask_updated_text" text="{opentask_updated.toString()}" />
    My adaptions in WDJ:
    public void getInbox( )  {
           wdContext.currentInboxElement().setOpentask_updated(0);
    public void wdDoInit()  {
           getInbox();

    Solved!
    It appeared to be a "long" parameter and I was trying to put it in a "Number" parameter in Flex (because there is no long in Flex)
    When I changed both to String, it worked!

  • Flash Island WD ABAP Engine

    Hello everybody
    I've a question...
    Is it possible using only ABAP ENGINE to develop with Flash Island on WD ABAP ?
    Is it necessary having also the java engine?
    Thanks to all.

    Abap engine alone is enough to develop and embed flash applications in the flash islands.
    You need abap engine and also adobe flex builder.
    refer to this tutorial for step by step procedure to develop a demo application .
    it doesnot require a java engine.
    [http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10989ef6-968c-2b10-50a9-eb34a5267163|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10989ef6-968c-2b10-50a9-eb34a5267163]
    thanks
    sarbjeet singh

  • Flash Islands : convert bindable ArrayCollection

    Hi Experts,
    I'd like to use a Flex calendar component in a Flash Island in my WDA application.
    I've created a node (EVENTS) with 3 attributes (STARTTIME, ENDTIME, SUMMARY) and created a GACDataSource (calendarEvents) with 3 GACProperties (startTime, endTime, summary). Then I've created some bindable variables in my Flex application :
    [Bindable]
    public var calendarEvents:ArrayCollection;
    [Bindable]
    public var startTime:String;
    [Bindable]
    public var endTime:String;
    [Bindable]
    public var summary:String;
    If I put a DataGrid in my Flex application and use calendarEvents as dataProvider everything works fine and the data is displayed in the grid :
    <mx:DataGrid dataProvider="{calendarEvents}" id="grid">
         <mx:columns>
              <mx:DataGridColumn headerText="Start" dataField="{startTime}"/>
              <mx:DataGridColumn headerText="End" dataField="{endTime}"/>
              <mx:DataGridColumn headerText="Summary" dataField="{summary}"/>
         </mx:columns>
    </mx:DataGrid>
    However, if I use calendarEvents as dataProvider for the calendar component, the events are not displayed on the calendar. This component expects an ArrayCollection that looks like :
    [Bindable] public var eventsArray:ArrayCollection = new ArrayCollection([
    {startTime: "2011/03/10 00:00", endTime: "2011/03/11 00:00", summary: "Meeting"}]);
    The problem is the calendarEvents ArrayCollection contains WDContextNode objects. How do I convert this ArrayCollection to an ArrayCollection that can be understood by the calendar component?
    Regards,
    Pierre

    Problem solved by specifying calendar data with custom functions.
    Pierre

  • Environment needed to build and test Flash islands ?

    Hi Everyone,
    I'm a Flex developer and I know very little about SAP technologies. I'm very interested in Flash Islands and the possibilities that they bring to the table. I attended Thomas Jung's talks at TechEd and I think I know how to build an Island on my own .. actually I've already kinda built one that I think would work. The documents at Mentor Workshop google code site were very helpful http://code.google.com/p/sdn-mentor-handson-2008/downloads/list
    Now the problem I have is that I have no where to test these Islands that I build (Thomas was gracious enough to help me test my first Island in WebDynpro and I hear its working) ... I don't work for a company and do not have access to a company installation ... so I would like to setup my own basic test Netweaver instance where I could tryout my Islands. I'm hoping that someone here could walk me through the steps I need to get started ... which version should I install? from where? Once the install is done do I need to do anything else? what do I do with all the .nugg and transport files provided here... http://code.google.com/p/sdn-mentor-handson-2008/downloads/list
    etc.
    I would really appreciate your help,
    Thank you,
    Mrinal
    http://weblog.mrinalwadhwa.com

    Hi. First thing you need is a NetWeaver ABAP system. You can download the trial from here.
    https://www.sdn.sap.com/irj/scn/downloads?rid=/library/uuid/80fd9a0a-e306-2a10-c896-b84c77c13ed2
    Once this is installed, then you can install SAPlink, which will help you in importing the .nugg files.  If you don't have any NetWeaver ABAP experience, this may be a challenge for you.
    Regards,
    Rich Heilman

Maybe you are looking for