on 08-04-2011 7:30 AM
Hi
I integrated Flash Islands Into Webdynpro Abap..Flash Island Is displaying..but the values which im passing through wddoinit method to the frontend is not displaying..binding from context nodes to gacproperty is done( name same as flex field is given )....
Thanks & Regards,
Vasavi
Here is my flex code..
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:fx="library://ns.adobe.com/flex/mx"
layout="vertical" width="100%" height="100%"
initialize="initApp()" >
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
import mx.controls.Alert;
import sap.FlashIslandLoader;
import mx.core.Container;
import mx.resources.IResourceBundle;
import sap.FlashIsland;
[Bindable]
public var childname:String;
[Bindable]
public var dateofbirth:Date;
[Bindable]
public var placeofbirth:String;
[Bindable]
public var mothersname:String;
[Bindable]
public var fathersname:String;
[Bindable]
public var doctorsname:String;
[Bindable]
public var hospitalname:String;
public function initApp():void
{
FlashIsland.register(this);
}
public function sendSubmit():void
{
childname = chnm.text;
placeofbirth = pob.text;
mothersname = mn.text;
fathersname = fn.text;
doctorsname = dn.text;
hospitalname = hn.text;
FlashIsland.fireEvent(this,"newsel");
}
]]>
Edited by: Vasavi.K.G on Aug 4, 2011 1:21 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The newer versions of the FlashIslands libraries are available in service note 1614265
Hello Vasavi,
In your previous thread you mentioned that you are using Flex builder 4.5. the FlashIsland Library is compatible with Flex 3.0. I'm not sure whether it supports 4.5. But I expect it support the basic features. Pls post your flex code. We will check and let you know the problem
BR, Saravanan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saraa,
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:fx="library://ns.adobe.com/flex/mx"
layout="vertical" width="100%" height="100%"
initialize="initApp()" >
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
import mx.controls.Alert;
import sap.FlashIslandLoader;
import mx.core.Container;
import mx.resources.IResourceBundle;
import sap.FlashIsland;
[Bindable]
public var childname:String;
[Bindable]
public var dateofbirth:Date;
[Bindable]
public var placeofbirth:String;
[Bindable]
public var mothersname:String;
[Bindable]
public var fathersname:String;
[Bindable]
public var doctorsname:String;
[Bindable]
public var hospitalname:String;
public function initApp():void
{
FlashIsland.register(this);
}
public function sendSubmit():void
{
childname = chnm.text;
placeofbirth = pob.text;
mothersname = mn.text;
fathersname = fn.text;
doctorsname = dn.text;
hospitalname = hn.text;
FlashIsland.fireEvent(this,"newsel");
}
]]>
WHEN I EXECUTE THIS GETTING AN TYPE ERROR
TypeError: Error #1006: getResourceBundle is not a function.
at sap::FlashIslandLoader$cinit()
at global$init()[D:\depot\_build\tc\wd.flex\NW730CORE_SP_COR\src\_flashislands_custom\script\sap\FlashIslandLoader.as:7]
at sap::FlashIsland$/register()[D:\depot\_build\tc\wd.flex\NW730CORE_SP_COR\src\_flashislands_custom\script\sap\FlashIsland.as:29]
at bc/initApp()[C:\Users\c5158344\workspace\bin-debug\bc\src\bc.mxml:35]
at bc/___bc_Application1_initialize()[C:\Users\c5158344\workspace\bin-debug\bc\src\bc.mxml:7]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:13128]
at mx.core::UIComponent/set processedDescriptors()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:1871]
at mx.core::Container/createComponentsFromDescriptors()[E:\dev\4.5.1\frameworks\projects\mx\src\mx\core\Container.as:4196]
at mx.core::Container/createChildren()[E:\dev\4.5.1\frameworks\projects\mx\src\mx\core\Container.as:3189]
at mx.core::UIComponent/initialize()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent.as:7624]
at mx.core::Container/initialize()[E:\dev\4.5.1\frameworks\projects\mx\src\mx\core\Container.as:3131]
at mx.core::Application/initialize()[E:\dev\4.5.1\frameworks\projects\mx\src\mx\core\Application.as:1049]
at bc/initialize()
at mx.managers.systemClasses::ChildManager/childAdded()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\managers\systemClasses\ChildManager.as:189]
at mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\managers\systemClasses\ChildManager.as:359]
at mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\managers\SystemManager.as:3063]
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\managers\SystemManager.as:2849]
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\managers\SystemManager.as:2729]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.preloaders::Preloader/timerHandler()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\preloaders\Preloader.as:542]
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
Whether i need to add any extra libraries ...
Do needful Help....
Edited by: Vasavi.K.G on Aug 4, 2011 1:19 PM
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.