FlashIsland UI element missing to embed Flex application
Hi,
I am trying to add flex application into my webdynpro java . But FlashIsland UI element is not displaying in my NWDS.
I am using NWDS Version: 7.0.09
EP Version: 7.0 SP: 16
Is there any way to get the FlashIsland UI element in my view?
Regards
Vineela
Hi Vineela,
To implement Flash Island for Web Dynpro Java applications integrating Flash Islands, you require the following:
Adobe Flex Builder 2 or 3
Adobe Flash Player 9 Update 3
Flash Island Flex library WDIslandLibrary.swc. To enable the use of a Flash/Flex component in Web Dynpro, the component must exist in the form of a FlashIsland. This wrapping enables the communication between the Flex component and the Web Dynpro Framework.
Are you sure, you are having the required installations available with you. Please check the links below for more information on the same, in case you have missed:
[Adobe Flash Islands for Web Dynpro Java|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/301e6047-01c9-2b10-3998-a08970c23639]
[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/203ece12-85bf-2b10-31a1-cc051670e9c7]
Please keep posted in case found useful. Thanks!
Regards,
Gaurav Bhardwaj
Similar Messages
-
Best practice to embed flex application in html
Hello guys
I am not sure what's the best practice to embed the flex application. We couldn't use html code in flex builder. Would you guys edit the html files via other tools to embed the swf file after the application is completed or there are other ways to do it. Thanks for the reply.Hi Jerry,
Why you couldn't use the html code generated in flex builder. In the html wrapper file generated in FlexBuilder you have SWF embed code directly along with the Flash Player detection javascript code...If your users don't have the FlashPlayer installed or if they don't have the latest Flash Player version installed then the application will prompt the users to install the latest Flash player plugin..
What's the problem that you have got by using the html wrapper file generated in FlexBuilder..
Thanks,
Bhasker Chari -
Embed a Flash Application into a Flex Application
Hello everybody,
I'd like to know if there is a way to embed a Flash
Application into a Flex Application. My goal is to wrap Flash apps
in Flex Modules, and I don't know how to do it.
I know it is possible to embed swf by using @Embed and an
mx:Image tag, or to use flash content by creating a flash swc
component. However these two solutions don't allow to call the
methods of the Flash app.
On the other hand, it is possible to load a swf file via the
Loader Class, and then call the methods via loader.content. But
with this solution I can't embed the swf in my flex application and
I have to load it at runtime.
Any ideas ?Look into SWFLoader.
Be aware though, you can not directly access AS2/FP8/Flash8
swf's from within an AS2/FP9 app. Local connection is used in this
case.
There are dataType and timing issues with SWFLoader. Here is
a complete example:
http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectID=690
Tracy -
Can I embed the Flash Document preview on my Flex Application
Hi I am creating a Flex application utilizing acrobat document sharing, and I was wondering if I could have it display a preview of my documents very similar to http://share.acrobat.com/adc/.
I notice that you can embed flash on webpage by the use of this viewer https://share.acrobat.com/adc/flex/mpt.swf, and I tried loading it and appending necessary variables to it, it works but I cannot resize the viewer. I'm not sure if Im doing it wrong or its just the viewer not compatible at all.
Thanks, I really appreciate if anyone could point me on the right direction.I'm sorry, but at present this isn't something that we support. We didn't build the viewer with the intent of allowing others to use it in flex.
Best Regards,
Michelle -
Error in compiling Flex application: 64K byte limit
Hi experts ,
While deploying the VC model , i m getting this error :
Error in compiling Flex application: Error: A function in the code exceeds the 64K byte limit (actual size = '65557'). Since the problem occurs in the compiler-generated deferred instantiation code, please refactor/componentize portions of this document.
(/usr/sap/NW2/JC00/j2ee/cluster/server0/GUIMachine_Business_Packages/Contribution_Margin_36461/FLEX_COMPILATION_FOLEDR/AAD15VY.mxml:19)
Failed to compile AAD15VY.mxml
Could any one help me out in solving this issue ..its urgent ...
Your suggestions will be rewarded.
Thanks,
PratimaYou have to remove few components from your model to decrease the compiler generated LOC.
Check the following link for detailed solution:
https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=936390
Taken from SAP Notes:
<i>Solution
Doing the following may help:
1.Divide problematic iViews into a number of nested iViews.
2.Optimize each model to reduce the number of elements that it
contains:
a.Reduce the number of signals by merging signals of the same name.
b.When your application updates forms with read-only fields, use
expression boxes and a data store instead of signals.
c.Minimize the use of animations in your models, including form
sliding and chart animation effects
d.Use a data store to store variables, instead of invisible forms.
To display messages, use a simple text rather than a static dynamic
expression.
3.For on-the-spot, temporary workarounds, you can try dragging an empty
layer onto the Design board. This sometimes solves the problem ad
hoc, but is not recommended as a best practice.
</i> -
Passing correct image-file path in flashVar from jsp into embedded Flex application
I have an application that embeds an image viewer, written in
Adobe Flex within a jsp page running in a J2EE application on
Tomcat 5.5. The Flex code is a one-line modification of the
application displayed at (
http://www.adobe.com/devnet/flex/samples/fig_panzoom/).
The image viewer is founded and loaded in the output to the
screen, but I cannot get the Image Viewer to display the image
correctly, even though I succeed when either I run the .swf from
the command-line or from an HTML page.
My webapp is called FRSApp. The directory structure is, under
FRSApp:
myTest.html
jsp/catalog.jsp
pan_zoom_files/images/map.jpg
The JSP code is thus,
code:
<%@ taglib prefix="mm" uri="FlexTagLib" %>
<mm:mxml
source="../pan_zoom_files/FIG_PanZoom_for_jsp.mxml" >
<mm:flashvar name="myVar"
value="/FRSApp/pan_zoom_files/images/map.jpg"/>
</mm:mxml>
the code within PanZoom.mxml is,
private var _imageURL:String =
Application.application.parameters.myVar;
<ns1:ImageViewer
id="imageViewer"
imageURL="{ _imageURL }"
bitmapScaleFactorMax="5"
bitmapScaleFactorMin=".05"
width="100%" height="100%"
x="0" y="0"/>
I have tried other paths to the image file, including
images/map.jpg [required by command-line execution of .swf]
pan_zoom_files/images/map.jpg [required by HTML page
(myTest.html) that embeds the .swf file]
I have succeeded in loading image viewer embedded in the jsp
page when the image path is hard-coded in the mxml file, by means
of the following code:
<div id="swf-id" class="swfcontent"><embed
type="application/x-shockwave-flash"
src="../pan_zoom_files/FIG_PanZoom_for_jsp.swf" id="swf-id"
name="swf-id" bgcolor="#ffffff" quality="high" wmode="opaque"
height="480" width="772"></div>
<script type="text/javascript">
// <![CDATA[
var props = new Object();
props.swf = "../pan_zoom_files/FIG_PanZoom_for_jsp.swf";
props.id = "swf-id";
props.w = "772";
props.h = "480";
props.ver = "9";
props.wmode= "opaque";
var swfo = new SWFObject( props );
registerSWFObject( swfo, "swf-id" );
// ]]>
</script>
The error is either a "failed to load image" generated by the
Image Viewer code, or a Flex system error message, resembling a
null-pointer exception:
TypeError: Error #1009: Cannot access a property or method of
a null object reference.
at FIG_PanZoom_for_jsp()
at _FIG_PanZoom_for_jsp_mx_managers_SystemManager/create()
at mx.managers::SystemManager/initializeTopLevelWindow()
at mx.managers::SystemManager/docFrameHandler()
Any ideas are greatly appreciated!!Solved the problem. I had made several mistakes. One of them
was to pass in the J2EE context path when what was needed was the
fully qualified image url:
http://localhost/FRSApp/pan_zoom_files/images/earth-map_small.jpg.
The second mistake was to assume the flashvar variable could be
picked up by initializing Action Script in the the mxml file,
designated by <mx:script> tags. No, the flash variable will
only be visible within the <mx:Application>
</mx:Application> tags. -
How to enter text in text input box using virtual keyboard in flex application
Re: how to enter text in text input box using virtual keyboard in flex application
hi,
im using flash builder 4,
i designed virtual keyboard, i have to update the text in text input box continously by using virtual keyboard.
i used button events.i did some mistake there.
can some one help me out of tat.
thanks in advance.
i have included my mxml program with this.
virtualkeyboard.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" creationComplete="initfunc()">
<fx:Script>
<![CDATA[
import mx.controls.Alert;
private function initfunc():void
b1.addEventListener(MouseEvent.CLICK,handleEvent);
b2.addEventListener(MouseEvent.CLICK,handleEvent);
b3.addEventListener(MouseEvent.CLICK,handleEvent);
b4.addEventListener(MouseEvent.CLICK,handleEvent);
b5.addEventListener(MouseEvent.CLICK,handleEvent);
b6.addEventListener(MouseEvent.CLICK,handleEvent);
b7.addEventListener(MouseEvent.CLICK,handleEvent);
b8.addEventListener(MouseEvent.CLICK,handleEvent);
b9.addEventListener(MouseEvent.CLICK,handleEvent);
b10.addEventListener(MouseEvent.CLICK,handleEvent);
b11.addEventListener(MouseEvent.CLICK,handleEvent);
b12.addEventListener(MouseEvent.CLICK,handleEvent);
b13.addEventListener(MouseEvent.CLICK,handleEvent);
b14.addEventListener(MouseEvent.CLICK,handleEvent);
b15.addEventListener(MouseEvent.CLICK,handleEvent);
b16.addEventListener(MouseEvent.CLICK,handleEvent);
b17.addEventListener(MouseEvent.CLICK,handleEvent);
b18.addEventListener(MouseEvent.CLICK,handleEvent);
b19.addEventListener(MouseEvent.CLICK,handleEvent);
b20.addEventListener(MouseEvent.CLICK,handleEvent);
b21.addEventListener(MouseEvent.CLICK,handleEvent);
b22.addEventListener(MouseEvent.CLICK,handleEvent);
b23.addEventListener(MouseEvent.CLICK,handleEvent);
b24.addEventListener(MouseEvent.CLICK,handleEvent);
b25.addEventListener(MouseEvent.CLICK,handleEvent);
b26.addEventListener(MouseEvent.CLICK,handleEvent);
b27.addEventListener(MouseEvent.CLICK,handleEvent);
b28.addEventListener(MouseEvent.CLICK,handleEvent);
b29.addEventListener(MouseEvent.CLICK,handleEvent);
b30.addEventListener(MouseEvent.CLICK,handleEvent);
b31.addEventListener(MouseEvent.CLICK,handleEvent);
b32.addEventListener(MouseEvent.CLICK,handleEvent);
b33.addEventListener(MouseEvent.CLICK,handleEvent);
b34.addEventListener(MouseEvent.CLICK,handleEvent);
b35.addEventListener(MouseEvent.CLICK,handleEvent);
b36.addEventListener(MouseEvent.CLICK,handleEvent);
b37.addEventListener(MouseEvent.CLICK,handleEvent);
b38.addEventListener(MouseEvent.CLICK,handleEvent);
b39.addEventListener(MouseEvent.CLICK,handleEvent);
b40.addEventListener(MouseEvent.CLICK,handleEvent);
b41.addEventListener(MouseEvent.CLICK,handleEvent);
b42.addEventListener(MouseEvent.CLICK,handleEvent);
b43.addEventListener(MouseEvent.CLICK,handleEvent);
b44.addEventListener(MouseEvent.CLICK,handleEvent);
b45.addEventListener(MouseEvent.CLICK,handleEvent);
b46.addEventListener(MouseEvent.CLICK,handleEvent);
b47.addEventListener(MouseEvent.CLICK,handleEvent);
b48.addEventListener(MouseEvent.CLICK,handleEvent);
b49.addEventListener(MouseEvent.CLICK,handleEvent);
b50.addEventListener(MouseEvent.CLICK,handleEvent);
b51.addEventListener(MouseEvent.CLICK,handleEvent);
b52.addEventListener(MouseEvent.CLICK,handleEvent);
b53.addEventListener(MouseEvent.CLICK,handleEvent);
public function handleEvent ( e : MouseEvent ) : void
var a:String= e.target.name ;
Alert.show(e.target.name);
var b:String=null;
switch(a)
case "Button20":
b=textbox.text;
//textbox.text="a";
textbox.text=b+"a";
break;
case "Button21":
//textbox.text="b";
textbox.text=b+"b";
break;
default:
//textbox.text="s";
textbox.text=b+"s";
]]>
</fx:Script>
<s:Panel x="43" y="82" width="527" height="213">
<mx:Button x="71" y="86" id="b1" label="1" width="30" height="24"/>
<s:Button x="180" y="86" id="b2" label="5" width="30" height="24"/>
<s:Button x="127" y="86" id="b3" label="3" width="30" height="24"/>
<s:Button x="99" y="86" id="b4" label="2" width="30" height="24"/>
<s:Button x="323" y="86" id="b5" label="0" width="30" height="24"/>
<s:Button x="294" y="86" id="b6" label="9" width="30" height="24"/>
<s:Button x="265" y="86" id="b7" label="8" width="30" height="24"/>
<s:Button x="237" y="86" id="b8" label="7" width="30" height="24"/>
<s:Button x="209" y="86" id="b9" label="6" width="30" height="24"/>
<s:Button x="42" y="86" id="b10" label="`" width="30" height="24"/>
<s:Button x="382" y="86" id="b11" label="=" width="30" height="24"/>
<s:Button x="353" y="86" id="b12" label="-" width="30" height="24"/>
<s:Button x="410" y="86" id="b13" label="back" width="76" height="24"/>
<s:Button x="157" y="86" id="b14" label="4" width="30" height="24"/>
<s:Button x="43" y="109" id="b15" label="tab" width="66" height="24"/>
<s:Button x="105" y="109" id="b16" label="q" width="31" height="24"/>
<s:Button x="247" y="109" id="b17" label="y" width="30" height="24"/>
<s:Button x="303" y="109" id="b18" label="i" width="31" height="24"/>
<s:Button x="361" y="110" id="b19" label="p" width="34" height="23"/>
<s:Button x="394" y="109" id="b20" label="[" width="31" height="24"/>
<s:Button x="191" y="109" id="b21" label="r" width="34" height="24"/>
<s:Button x="424" y="109" id="b22" label="]" width="31" height="24"/>
<s:Button x="222" y="109" id="b23" label="t" width="31" height="24"/>
<s:Button x="161" y="109" id="b24" label="e" width="31" height="24"/>
<s:Button x="133" y="109" id="b25" label="w" width="31" height="24"/>
<s:Button x="332" y="109" id="b26" label="o" width="31" height="24"/>
<s:Button x="275" y="109" id="b27" label="u" width="31" height="24"/>
<s:Button x="220" y="133" id="b28" label="g" width="31" height="24"/>
<s:Button x="424" y="132" id="b29" label="enter" width="62" height="24"/>
<s:Button x="43" y="132" id="b30" label="caps" width="66" height="24"/>
<s:Button x="275" y="133" id="b31" label="j" width="42" height="23"/>
<s:Button x="314" y="132" id="b32" label="k" width="31" height="24"/>
<s:Button x="133" y="133" id="b33" label="s" width="31" height="23"/>
<s:Button x="161" y="133" id="b34" label="d" width="31" height="23"/>
<s:Button x="250" y="133" id="b35" label="h" width="31" height="23"/>
<s:Button x="105" y="133" id="b36" label="a" width="31" height="23"/>
<s:Button x="191" y="133" id="b37" label="f" width="31" height="23"/>
<s:Button x="342" y="132" id="b38" label="l" width="31" height="24"/>
<s:Button x="152" y="154" id="b39" label="x" width="31" height="24"/>
<s:Button x="353" y="154" id="b40" label="." width="31" height="24"/>
<s:Button x="325" y="154" id="b41" label="," width="31" height="24"/>
<s:Button x="294" y="154" id="b42" label="m" width="31" height="24"/>
<s:Button x="259" y="154" id="b43" label="n" width="37" height="24"/>
<s:Button x="236" y="154" id="b44" label="b" width="31" height="24"/>
<s:Button x="211" y="154" id="b45" label="v" width="31" height="24"/>
<s:Button x="181" y="154" id="b46" label="c" width="31" height="24"/>
<s:Button x="122" y="154" id="b47" label="z" width="31" height="24"/>
<s:Button x="380" y="154" id="b48" label="/" width="31" height="24"/>
<s:Button x="368" y="132" id="b49" label=";" width="31" height="24"/>
<s:Button x="396" y="132" id="b50" label="'" width="31" height="24"/>
<s:Button x="43" y="154" id="b51" label="shift" width="82" height="24"/>
<s:Button x="407" y="154" id="b52" label="shift" width="79" height="24"/>
<s:Button x="455" y="109" id="b53" label="\" width="31" height="24"/>
</s:Panel>
<s:TextInput x="161" y="27" id="textbox" width="253"/>
</s:Application>
regards,
saran rhi,
how to code for these buttons "control,alt,delete,insert and spacebar".
can u help me how to program?
i have attached the mxml code with this,
virtualkeypad1.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
creationComplete="application1_creationCompleteHandler(event)" viewSourceURL="srcview/index.html">
<fx:Script>
<![CDATA[
import flash.utils.getQualifiedSuperclassName;
import mx.events.FlexEvent;
private var inpText:String = 'inp1';
private var shiftState:Boolean = false;
private var capsState:Boolean = false;
protected function keyboard_clickHandler(event:MouseEvent):void
this[inpText].text = this[inpText].text+(event.currentTarget as Button).label;
if (shiftState == true) shift_clickHandler(null);
protected function caps_clickHandler(event:MouseEvent):void
capsState = !capsState;
if (capsState == true)
currentState = "SHIFTED" else currentState = "PRIMARY";
protected function tab_clickHandler(event:MouseEvent):void
this[inpText].text = this[inpText].text+" ";
protected function shift_clickHandler(event:MouseEvent):void
shiftState = !shiftState;
if (shiftState == true)
currentState = "SHIFTED" else currentState = "PRIMARY";
protected function enter_clickHandler(event:MouseEvent):void
this[inpText].text = this[inpText].text+"\n";
protected function backspace_clickHandler(event:MouseEvent):void
var tmpStr:String = this[inpText].text;
this[inpText].text = tmpStr.substr(0,tmpStr.length-1);
protected function application1_creationCompleteHandler(event:FlexEvent):void
inp1.setFocus();
protected function focus_enterHandler(event:MouseEvent):void
inpText = event.currentTarget.id;
]]>
</fx:Script>
<s:states>
<s:State name="PRIMARY"/>
<s:State name="SHIFTED"/>
</s:states>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<s:TextInput id="inp1" y="36" width="151" horizontalCenter="0" click="focus_enterHandler(event)" y.PRIMARY="239" horizontalCenter.PRIMARY="42" width.PRIMARY="199" height.PRIMARY="31"/>
<s:Group id="keyboard" width="661" height="184" horizontalCenter="0" y="300" focusEnabled="false">
<s:Button x="5" y="5" label="~" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="`"/>
<s:Button x="49" y="5" label="!" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="1"/>
<s:Button x="93" y="5" label="@" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="2"/>
<s:Button x="137" y="5" label="#" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="3"/>
<s:Button x="181" y="5" label="$" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="4"/>
<s:Button x="225" y="5" label="%" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="5"/>
<s:Button x="269" y="5" label="^" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="6"/>
<s:Button x="313" y="5" label="&" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="7"/>
<s:Button x="357" y="5" label="*" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="8"/>
<s:Button x="401" y="5" label="(" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="9"/>
<s:Button x="445" y="5" label=")" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="0"/>
<s:Button x="489" y="5" label="_" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="-"/>
<s:Button x="533" y="5" label="+" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="="/>
<s:Button x="577" y="5" label="Backspace" height="43" width="80" fontSize="11" fontWeight="bold" click="backspace_clickHandler(event)"/>
<s:Button x="5" y="48" label="Tab" height="43" width="67" fontSize="12" fontWeight="bold" click="tab_clickHandler(event)"/>
<s:Button x="72" y="48" label="Q" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="q"/>
<s:Button x="116" y="48" label="W" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="w"/>
<s:Button x="160" y="48" label="E" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="e"/>
<s:Button x="204" y="48" label="R" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="r"/>
<s:Button x="248" y="48" label="T" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="t"/>
<s:Button x="292" y="48" label="Y" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="y"/>
<s:Button x="336" y="48" label="U" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="u"/>
<s:Button x="380" y="48" label="I" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="i"/>
<s:Button x="424" y="48" label="O" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="o"/>
<s:Button x="468" y="48" label="P" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="p"/>
<s:Button x="512" y="48" label="{" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="["/>
<s:Button x="556" y="48" label="}" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="]"/>
<s:Button x="600" y="48" label="|" height="43" width="57" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="\"/>
<s:Button x="5" y="91" label="CapsLock" height="43" width="80" fontSize="12" fontWeight="bold" click="caps_clickHandler(event)"/>
<s:Button x="85" y="91" label="A" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="a"/>
<s:Button x="129" y="91" label="S" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="s"/>
<s:Button x="173" y="91" label="D" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="d"/>
<s:Button x="217" y="91" label="F" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="f"/>
<s:Button x="261" y="91" label="G" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="g"/>
<s:Button x="305" y="91" label="H" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="h"/>
<s:Button x="349" y="91" label="J" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="j"/>
<s:Button x="393" y="91" label="K" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="k"/>
<s:Button x="437" y="91" label="L" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="l"/>
<s:Button x="481" y="91" label=":" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY=";"/>
<s:Button x="525" y="91" label=""" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="'"/>
<s:Button x="569" y="91" label="Enter" height="43" width="88" fontSize="24" fontWeight="bold" click="enter_clickHandler(event)"/>
<s:Button x="5" y="134" label="Shift" height="43" width="106" fontSize="24" fontWeight="bold" click="shift_clickHandler(event)"/>
<s:Button x="111" y="134" label="Z" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="z"/>
<s:Button x="155" y="134" label="X" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="x"/>
<s:Button x="199" y="134" label="C" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="c"/>
<s:Button x="243" y="134" label="V" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="v"/>
<s:Button x="287" y="134" label="B" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="b"/>
<s:Button x="331" y="134" label="N" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="n"/>
<s:Button x="375" y="134" label="M" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="m"/>
<s:Button x="419" y="134" label="<" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY=","/>
<s:Button x="463" y="134" label=">" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="."/>
<s:Button x="507" y="134" label="?" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="/"/>
<s:Button x="551" y="134" label="Shift" height="43" width="106" fontSize="24" fontWeight="bold" click="shift_clickHandler(event)"/>
</s:Group>
</s:Application>
thanks in advance,
saran r -
Embedding Fonts in a Flex application -- Legal issues?
I am currently building a Flex application for a Client. The Style guide they have provided shows Univers 55, Univers 65, and Univers 45 as the main fonts for the site and the app.
Page 1567 of Using Flex 4.5 states
Note:
Check your font licenses before embedding any font files in your applications. Fonts might have licensing restrictions that preclude them from being stored as vector information.
The fonts they are using in the AI file for the design document appear to be older version Adobe 1.0 TrueType fonts dated 30th June 1997.
I can not find the original license for these fonts, but such licenses may pre-date embedding technology, so are we allowed to embed them?
As an alternative could we safely use the OTF Univers LT Std family and are there any differences?
Message was edited by: lingoguruAs far as i see it, it's mainly just for convenience.
Embedding an image into application removes the need for you to store it elsewhere on the server, as it becomes part of the .swf file.
From personal experience it's very handy with small images, as it doesn't increase the size of the .swf file too much, and it means you don't have to keep track of them when distributing your release build.
you don't have to embed anything, you can simply reference it by location instead, but you'll experience a slight delay as it's loaded into the application on request.
The need for using this feature depends entirely on what you're trying to accomplish.
If you're making something like a large image gallery, it'll completely remove the need for wait for pictures to load when you're scrolling through them. However i wouldn't recommend it as you'll send your application size will go through the roof, and the waiting time for the whole application to load would be fairly extensive.
If you have an application with like 40 small ~3kb images using for navigation icons or something, you might as well, it's just convenient and won't impact the loading time by too much. -
Adobe Air+ Flex applications to build from database
Hi,
I know how to create a Flex application from database.But
when we are developing a flex application from database using Adobe
AIR,i'm not able to run the application.It is throwing an error
saying .xml file is missing.Can anyone help me out with
this?In Flex, an application can be created from database by
following the steps as follows:
STEP 1. Create a new Flex Project and name it as for example,
“FLEXDB”. Select the
application type as “Web Application (runs in Flash
Player)” and Application server type as
“ASP.Net”.
STEP 2. Go to Data->Create application from database.
Select the project as
FLEXDB”.Create a new Connection to SqlServer 2005 and
specify the database and name that connection
as”TestConn”. Then select any table (for example
DashboardRegion) from the list of tables and click
“Next” button.
STEP 3. Select the Server language as “C# with Web
Services”. Click “Finish”.
STEP 4. Then the following files and folders will be created
under the project “FLEXDB”
automatically.
• DashboardRegion.mxml -- is a design page.
• DashboardRegionScript.as -- defines web service
object and capture the results and assigns the results to the
corresponding UI Component.
• DashboardRegionConfig.as -- calls the Web Service
file.
• DashboardRegion.asmx -- calls the Class Files
(DashboardRegion.cs file).
• Web.config – defines the Connection string
• App_Code is a folder which contains the following
files
o DashboardRegion.cs that interacts with SQL Server 2005 and
return the results.
o TestConn.cs that defines connection to SQL Server 2005.
STEP 5. Run the application “DashboardRegion.mxml
”.We can see the Database results
Fetched and displayed in the corresponding UI Component in
the output.
Now we are trying to create a Similar Flex Application using
Adobe AIR.
For this, we have to follow similar steps mentioned as above
with a slight modification in STEP 1. It will be as follows:
STEP 1. Create a new Flex Project and name it as for
example, “FLEXDB”. Select the
application type as”Desktop Application (runs in Adobe
AIR)” and Application server type as “ASP.Net”.
The remaining steps are same as above.
When we try to run the application
“DashboardRegion.mxml”, it is throwing an error saying
“DashboardRegion-app.xml” file is missing. To solve
this issue we tried creating “DashboardRegion-app.xml”
file manually, the application is running but, again throwing an
error saying “Unable to load WSDL. If currently online,
please verify the URI and/or format of the WSDL
(../DashBoardRegion.asmx?wsdl)”.
Can any one please suggest a solution for this?
Or Help me how to connect sql server 2005 in the Adobe AIR
application that are buid using Flex builder. -
Embedding Flex applications inside a portlet question
I'm trying to embed a Flex application within a Java portlet on my WLP 10.3.2 portal. I'm able to display the Flex app in the portlet but now I'm trying to access data. Does anyone know of any documents that cover how to access Flex data from a portlet and how to access portlet data from the embedded Flex application?
thanksWhen you mentioned you integrated Flex App inside a Portlet, are you using like iFrame tag or Browser Portlet where in iFrame tag you specify the Flex app url like that. If so, then you will not be able to share any data/information between this iFrame portlet and the actual other real portlets.
If these Flex app has something like JSR based Flex portlets, then you can integrate them in WLP more easily. Another option is to consume these Flex Portlets as remote portlets using WSRP on WLP Side and the producer will be Flex Portal App (with flex portlets).
See if this link helps: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/lcds/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=wsrp_1.html
Ravi Jegga -
Refresh Flex application only once.
Hi All ,
In my Flex Application i am calling a function like :
applicationComplete = "addPanel(999999);" , which will add a panel. 999999 is nothing but flag.
But i should refresh application Only Once .... how to do that..
Thanks in Advance...The SWC files are within the resource directory of LCDS.
For example:
C:\lcds31\resources\lcds_swcs\FlexSDK4\frameworks\locale\en_US
fiber_rb.swc
C:\lcds31\resources\lcds_swcs\FlexSDK4\frameworks\libs
fiber.swc and fds.swc
You can use the following within ANT.
<!-- Get default compiler options. -->
<load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
<!-- List of path elements that form the roots of ActionScript
class hierarchies. -->
<source-path path-element="${FLEX_HOME}/frameworks"/>
<!-- List of SWC files or directories that contain SWC files. -->
<compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
<include name="libs" />
<include name="../bundles/{locale}" />
</compiler.library-path> -
Click through transparent flex application
hi
I need to load transparent flex application (over div with intractive element) and have the posssibility to click through this application.
In flash profesional it is possible but in flex ?
thanks
Eany reply on this problem ?
-
Installed CF8 and now Flex application throwing error
HI,
I've just installed CF8 developer edition, and now I've tried
creating a new Flex application, which has nothing in it, just an
empty Main.mxml file, I did set ColdFusion Remoting as the way the
application will access data, through the project setup wizard.
Now when I run the application I get this error message:
VerifyError: Error #1053: Illegal override of subtopic in
mx.messaging.Consumer.
at frame2
at [abc-decode]
at flash.display::MovieClip/nextFrame()
at mx.managers::SystemManager/private::deferredNextFrame()
at
mx.managers::SystemManager/private::preloader_initProgressHandler()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.preloaders::Preloader/private::timerHandler()
at flash.utils::Timer/flash.utils:Timer::_timerDispatch()
at flash.utils::Timer/flash.utils:Timer::tick()
Then if I click continue I get this error message:
ReferenceError: Error #1065: Variable
_CursorManagerStyle__embed_css_Assets_swf_mx_skins_cursor_BusyCursor_1386701310
is not defined.
at [abc-decode]
at flash.display::MovieClip/nextFrame()
at mx.managers::SystemManager/private::deferredNextFrame()
at
mx.managers::SystemManager/private::preloader_initProgressHandler()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.preloaders::Preloader/private::timerHandler()
at flash.utils::Timer/flash.utils:Timer::_timerDispatch()
at flash.utils::Timer/flash.utils:Timer::tick()
And then if I click continue once more I get the Initializing
load screen start but never finish running so my application never
loads.
The other odd thing is I have some Flex apps which I built on
CF7, which I then imported to CF8 and they work fine running on
CF8, its only new projects which fail.
If I create a new project which doesn't use ColdFusion
remoting, the Flex application works fine. So something is a miss
with the remoting connection I think.
Any ideas?
Thanks
StephenFor me exactly the same problem. I need it to connect to my school's intranet.
I think it means either waiting for an update, or somehow find a way to use the build in VPN functionality of Leopard instead.
Good luck for us all! -
Error # 1014 verifyError - flex application in Livcycle Workspace
Hi All
I have created a flex application using Flex SDK 3.4.1 to be incorporated in Adobe LiveCycle ES 2. My flex application is working fine, but when I lunch the flex application inside the Adobe LiveCycle Workspace, I got Error # 1014 VerifyError and the cause of this error is the use of flashx.textLayout.elements.TextFlow libaray.
Any help is really appriciated.
Best regards
KhaledThat explains it then. This example requires the ContentElement, which is only present in FlashPlayer 10 and later. The example should require that -- when the project is set up, it can specify the minimum Player version it requires. Then if you try to run it on an earlier Player you get a warning that the SWF can't load on this Player, and it tells the user what version number is required. Try installing FP10, and it should work.
-
Revision: 11627
Author: [email protected]
Date: 2009-11-10 14:01:01 -0800 (Tue, 10 Nov 2009)
Log Message:
Fix setting luminosity masks on graphic elements - missed an occurence where setting cacheAsBitmap to true was needed.
QE notes: Regress
Doc notes: No
Bugs: http://bugs.adobe.com/jira/browse/SDK-24089
Reviewer: Pete
Tests run: All FXG (static and runtime) tests
Is noteworthy for integration: No
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-24089
Modified Paths:
flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicEleme nt.asFYI - This regression has been filed here: http://bugs.adobe.com/jira/browse/SDK-31989
Maybe you are looking for
-
I get frequent (and maddening) timeouts when using Dreamweaver CS3. This happens on 2 different computers, one running XP and one Vista. This is not a resource issue. The screen grays out and the cpu usage goes to 50%. This recurs every few minutes a
-
Performance Issue with Multiple Joins :-)
Hi there! I have a dilemma over using multiple joins...and I am not sure whether there is any alternative to this. Please help me out if you can.. I have a table DATA having 100 columns and 2 million records and I have another metadata table Code_Map
-
Please tell me the procedure .
I am using eclipse IDE. I see a.java and b.java file in my eclipse IDE. Now i put c.java and d.java in the same physical location side by side to a.java and b.java But , i dont see those in the eclipse IDE !! i want those files inside the IDE...what
-
Why is iTunes 11 UI so HORRIBLE?!
The new UI on iTunes 11 makes no sense. It is massively unintuitive. Some views are image thumbnails, some are lists, but the ability to control your view is almost non-existent. Whoever approved the new UI design should be subjected to extraordinary
-
Can you someone help me create a login based on a mysql table that includes username password and url, and the user is redirected based on their username? Do I create some kind of recordset base on the username? I tried to do it and the page does not