Capturing Flex Display Objects as an Image
Any help is appreciated
I want a way to capture the Display Objects as an image and
post it to a server
Mostly I want to learn if Flex allow you to save objects in
BitMap
Thanks
Check this out:
http://www.cynergysystems.com/blogs/page/andrewtrice?entry=flex_2_bitmapdata_tricks_and
Tracy
Similar Messages
-
Displaying object of type IMAGE inside a tableview
Hi
My requirement is to display all user photos next to the user name in the table
This code doesnt work.. Can u tell me why.... I am using design 2002
<htmlb:tableViewColumn columnName = "picture"
horizontalAlignment = "Center"
title = "Image"
type = "USER" >
<htmlb:image src = "$USERID$"/>
</htmlb:tableViewColumn>is $USERID$ variable value is pointing to the right location of the image?
just to test replace
<htmlb:image src = "$USERID$"/>
with
<htmlb:image id = "img1"
src = "ICON_CHECKED"/>
raja -
Poor Capture on moving objects
I know similar questons like this were asked before, with the results blamed on the camera, but here is my problem: I have a fixed position camera and need to capture a still image with a small moving object (about 10-15mph). When I do a capture, the moving object in the image is unclear (not blurry, more like odd and even fields aren't sync'd). I know it's not the camera, because I have a digital taped copy from that camera, and it's clean when I pause the tape. I'm using a 1411 board on a p4 system. I have included two images - the first image is from a live capture, the second is the digital tape paused and then captured (to show that the camera is not at fault). The moving object in the image is a dog jumping into the water at
about the 13 foot mark on the back of the dock.
Thank you,
-Dave
Attachments:
bigairdog.jpg 24 KB
bigairdog2.jpg 23 KBDave,
Actually, it is the camera. The odd and even fields are taken at different times, so they don't match up. To do this properly, you need to use a non-interlaced camera.
The reason the pause looks good is because the camera is cheating just a little bit. To eliminate the blur, it only uses the lines from the odd frame, and interpolates to create the even lines. I can duplicate the process on your live image using Corel PhotoPaint, and I get an image that looks just like your paused image. If you look closely at the paused image, you notice that some things look a little blockier and blurrier than the live image.
Bruce
Bruce Ammons
Ammons Engineering -
Revision: 15505
Revision: 15505
Author: [email protected]
Date: 2010-04-16 09:29:26 -0700 (Fri, 16 Apr 2010)
Log Message:
Fix image smoothing, which had been broken as a result of some changes to how the display object of an ImageElement is exposed. Add integration test.
Modified Paths:
osmf/trunk/framework/OSMF/org/osmf/elements/ImageElement.as
osmf/trunk/framework/OSMFIntegrationTest/org/osmf/elements/TestImageElementIntegration.asThat's a comment in the file. It has no effect at all.
-
Flex2 CompilerException: Encountered invalid display object Window :
Hello,
I'm using VC 7.0 with SPS 14 and the new Flex 2 runtime. When I deploy an existing Flex VC 7.0 model with the new runtime I get the following Flex Compiler exception:
Flex2Compiler.Compile: FlexCompilerException: Encountered invalid display object Window : null: null
Does anyone know what I need to do to fix it?
Kind regards
StefanHi Govindu,
I runs perfectly with Flex.
Thanks very much for your support.
Here's the GML:
<AEA8W0 name="Input" parent="ADA8VZ" role="INPUT" appName="INPUT" spec="DT_OBJ_IN" anchor="L15" pos="0 15" orig_guid="GMfe4e66c2e4a511dc9286000255334790" fields="}"/><AEA8W1 name="I T Immanfnr Imp" parent="ADA8VZ" role="I_T_IMMANFNR_IMP" appName="OUTPUT I_T_IMMANFNR_IMP" spec="DT_SET_OUT" anchor="R15" pos="100 15" capacity="0" orig_guid="GMfe4e66c3e4a511dc853c000255334790" fields=",F_BIC_IM_WIEDMA:,F_BIC_IMANSPRPA:,F_BIC_IMPLNJAHR:,TXTLG:,PROG_POS:,PROG_DEF_S:,F_BIC_PC_DIV:,F_BIC_IMMANFSTA:,APPR_YEAR:,F_BIC_IMANTEXT1:,F_BIC_IMANTEXT2:,F_BIC_IMANTEXT3:,F_BIC_IMANTEXT4:,F_BIC_IMPLANGES:,CURRENCY:,F_BIC_IMKZAR:,F_BIC_IMGESELLS:,F_BIC_IMWEITVER:,F_BIC_IMUSERID:,F_BIC_ERNAM:,F_BIC_IMERFDAT:,F_BIC_AENAM:,AEDAT:,F_BIC_STA_TXTLG:,F_BIC_PROG_POS:,F_BIC_PPOS_TXTLG:}"/></ADA8VZ><AHC8W2 name="start" parent="AAD8VY" pos="70 130" infoshape="#ID[AXB8W4]" orig_guid="GMfe4e66c4e4a511dc9fb8000255334790"><AEA8W3 parent="AHC8W2" role="DATA" spec="PN_START" anchor="R^" pos="40 10" orig_guid="GMfe4e66c5e4a511dcad8b000255334790"/></AHC8W2><AXB8W4 name="IN_PARAMS" parent="AAD8VY" orig_guid="GMfe4e66c6e4a511dcc5d8000255334790" fields="{}"/><AFA8W5 parent="AAD8VY" src="#ID[AEA8W3]" trg="#ID[AEA8W0]" nobc="true" contour="22" controls="0 0 -40 -45" orig_guid="GMfe4e66c7e4a511dcca55000255334790" fields="}"/><ACC8W6 name="Aktuelle Maßnahmen" parent="AAD8VY" pos="375 220" box_style="0" box_features="SEL BTN TTL" box_size="384 576" grid_style="2" box_rows="0" box_pos="16 64" size="120 60" box_zOrder="-1" box_toolbar="Neue Ma%DFnahme:INSERT(FIRST)" orig_guid="GMfe4e66c8e4a511dcc77c000255334790" fields=",F_BIC_IMANSPRPA:,F_BIC_IMPLANGES:,Sichern:,IM_WIEDMA:,PROG_POS:,F_BIC_STA_TXTLG:,F_BIC_IMMANFSTA:,F_BIC_PROG_POS:,TXTLG:,Loeschen:,MANFStatus_Dyn:,Debug:,Gespeichert:,]'}}"><AEA8W7 name="in" parent="ACC8W6" role="IN" spec="UI_SET_IN" anchor="L15" pos="0 15" orig_guid="GMfe4e66c9e4a511dcb8fd000255334790"/><AEA8W8 name="out" parent="ACC8W6" role="OUT" spec="UI_SET_OUT" anchor="R15" pos="120 15" orig_guid="GMfe4e66cae4a511dc92cd000255334790"/></ACC8W6><AXB8W9 name="STORE_PARAMS" parent="AAD8VY" orig_guid="GM30e2db72e4a611dcca06000255334790" fields=",Bestaetitungsmeldung:,sichtbar_fehler:,Fehlermeldung:,UpdKennzeichen:}"/><ADA8WA name="Zihp Manr Upd" parent="AAD8VY" system_type="SAPFactory" sap_system="BW_BAPI" sap_function="ZIHP_MANR_UPD" pos="360 500" size="100 80" orig_guid="GMbb0c9e70e4a711dc9491000255334790"><AEA8WB name="Output" parent="ADA8WA" role="OUTPUT" appName="OUTPUT" spec="DT_OBJ_OUT" anchor="R15" pos="100 15" orig_guid="GMbb0c9e71e4a711dc84cd000255334790" fields=",E_RESULT_CODE:}"/><AEA8WC name="I Immanfnr Imp" parent="ADA8WA" role="I_IMMANFNR_IMP" appName="INPUT I_IMMANFNR_IMP" spec="DT_OBJ_IN" anchor="L25" pos="0 25" orig_guid="GMbb0c9e72e4a711dca0ab000255334790" fields=",F_BIC_IM_WIEDMA:,F_BIC_IMANSPRPA:,F_BIC_IMPLNJAHR:,TXTLG:,PROG_POS:,PROG_DEF_S:,F_BIC_PC_DIV:,F_BIC_IMMANFSTA:,APPR_YEAR:,F_BIC_IMANTEXT1:,F_BIC_IMANTEXT2:,F_BIC_IMANTEXT3:,F_BIC_IMANTEXT4:,F_BIC_IMPLANGES:,CURRENCY:,F_BIC_IMKZAR:,F_BIC_IMGESELLS:,F_BIC_IMWEITVER:,F_BIC_IMUSERID:,F_BIC_ERNAM:,F_BIC_IMERFDAT:,F_BIC_AENAM:,AEDAT:,F_BIC_PROG_POS:}"/><AEA8XG name="Input" parent="ADA8WA" role="INPUT" appName="INPUT" spec="DT_OBJ_IN" anchor="L15" pos="0 15" orig_guid="GMfbcff800e54f11dcc7fc000255334790" fields="}"/></ADA8WA><ACA8WD name="Maßnahme - Detail" parent="AAD8VY" pos="575 230" box_style="2" box_features="EDT TTL" box_size="464 576" form_layout="ABS" labels_align="BEFORE" overflow="EXC" box_pos="408 64" size="110 60" box_scale="AUTO" orig_guid="GMfd9ff8d2e13811dcbb2c000255334790" box_zOrder="-1" fields=",F_BIC_IMANSPRPA:]'},F_BIC_IMANTEXT1:,F_BIC_IMANTEXT2:,F_BIC_IMANTEXT3:,F_BIC_IMANTEXT4:,F_BIC_IMERFDAT:,F_BIC_IMGESELLS:,F_BIC_IMKZAR:,F_BIC_IMMANFNR:]',ctl:'7',useEnum:'#ID[AXD907]'},F_BIC_IMMANFSTA:]'},F_BIC_IMPLANGES:,F_BIC_IMPLNJAHR:,F_BIC_IMUSERID:,F_BIC_IMWEITVER:,F_BIC_IM_WIEDMA:,F_BIC_PC_DIV:]',text:'(*) Sparte'},F_BIC_PROG_POS:]',show:'Y'},TXTLG:]'},Erfasser:,Wiedma:,Erfasstam:,Pflcihtfeld:,Ende:,Sichern:,IM_WIEDMA:,AEDAT:,F_BIC_AENAM:,F_BIC_ERNAM:,Loeschen:,Debug:,Clear:}"><AEA8WE name="in" parent="ACA8WD" role="IN" spec="UI_OBJ_IN" anchor="L15" pos="0 15" orig_guid="GMfd9ff8d3e13811dcafd1000255334790"/><AEA8WF name="out" parent="ACA8WD" role="OUT" spec="UI_OBJ_OUT" anchor="R15" pos="110 15" orig_guid="GMfda01fe0e13811dc82ed000255334790"/><AXD8WG name="ENUM[ACA8NZ:F_BIC_IM_WIEDMA]" parent="ACA8WD" sap_function="ZIHP_MANR_LIS" sap_system="BW_BAPI" system_type="SAPFactory" inputPort="INPUT" inputPortStruct="OBJ" inputPortAppName="INPUT" inputPortFields="}" inputPortMap="I_IMANSPRPA:%27M1-EK*%27" outputPort="I_T_IMMANFNR_IMP" outputPortStruct="SET" outputPortFields=",F_BIC_IM_WIEDMA:,F_BIC_IMANSPRPA:,F_BIC_IMPLNJAHR:,TXTLG:,PROG_POS:,PROG_DEF_S:,F_BIC_PC_DIV:,F_BIC_IMMANFSTA:,APPR_YEAR:,F_BIC_IMANTEXT1:,F_BIC_IMANTEXT2:,F_BIC_IMANTEXT3:,F_BIC_IMANTEXT4:,F_BIC_IMPLANGES:,CURRENCY:,F_BIC_IMKZAR:,F_BIC_IMGESELLS:,F_BIC_IMWEITVER:,F_BIC_IMUSERID:,F_BIC_ERNAM:,F_BIC_IMERFDAT:,F_BIC_AENAM:,AEDAT:,F_BIC_PROG_POS:,F_BIC_PPOS_TXTLG:,F_BIC_STA_TXTLG:}" outputPortAppName="OUTPUT I_T_IMMANFNR_IMP" valueField="@F_BIC_IMMANFNR" textField="@TXTLG" enumFlags="SORT DUPL" orig_guid="GMdb7e1df0e54211dcc6b4000255334790"/><AXD907 name="ENUM[ACA8WD:F_BIC_IMMANFNR]" parent="ACA8WD" sap_function="ZIHP_MANR_FREI_LIST" sap_system="BW_BAPI" system_type="SAPFactory" inputPort="INPUT" inputPortStruct="OBJ" inputPortAppName="INPUT" inputPortFields="}" inputPortMap="I_IMMANFNR_2CHAR:RIGHT%28@F_BIC_IMPLNJAHR%2C2%29" outputPort="IT_IMMANFNR_FREI" outputPortStruct="SET" outputPortFields="}" outputPortAppName="OUTPUT IT_IMMANFNR_FREI" enumFlags="SORT" valueField="@F_BIC_IMMANFNR" textField="@F_BIC_IMMANFNR" orig_guid="GMf75b2cf0e5f811dcc453000255334790"/></ACA8WD><AFC8WH parent="AAD8VY" src="#ID[AEA8W8]" trg="#ID[AEA8WE]" contour="12" orig_guid="GMcdad1d43e4aa11dc859b000255334790"/><AHL8WI name="store" parent="AAD8VY" pos="705 140" infoshape="#ID[AXB8W9]" orig_guid="GM46c9a440e4ac11dcc881000255334790"><AEA8WJ parent="AHL8WI" role="DATA" spec="PN_STORE" anchor="L" pos="0 10" orig_guid="GM46c9a441e4ac11dcb4b0000255334790"/></AHL8WI><AFA8WK name="sichern" parent="AAD8VY" src="#ID[AEA8WF]" trg="#ID[AEA8WJ]" nobc="true" contour="22" orig_guid="GM46c9a442e4ac11dccb5a000255334790" fields=",Bestaetitungsmeldung:,UpdKennzeichen:}"/><ACA8WL name="Bestätigung" parent="AAD8VY" box_style="6" box_features="EDT" box_size="544 40" form_layout="ABS" labels_align="BEFORE" overflow="EXC" pos="595 350" box_pos="296 8" box_vis="STORE@sichtbar" orig_guid="GMc0dfea00e4ac11dc9a4a000255334790" fields=",bestaetigung_neine:,Meldung:}"><AEA8WM name="in" parent="ACA8WL" role="IN" spec="UI_OBJ_IN" anchor="L15" pos="0 15" orig_guid="GMc0dfea01e4ac11dca35c000255334790"/><AEA8WN name="out" parent="ACA8WL" role="OUT" spec="UI_OBJ_OUT" anchor="R15" pos="80 15" orig_guid="GMc0dfea02e4ac11dc9b4e000255334790"/></ACA8WL><AHL8WO name="store" parent="AAD8VY" pos="775 310" infoshape="#ID[AXB8W9]" orig_guid="GM1f944c81e4ad11dcb546000255334790"><AEA8WP parent="AHL8WO" role="DATA" spec="PN_STORE" anchor="L^" pos="0 10" orig_guid="GM1f944c82e4ad11dcc3fb000255334790"/></AHL8WO><AFA8WQ name="bestaetigung_ja" parent="AAD8VY" src="#ID[AEA8WN]" trg="#ID[AEA8WP]" nobc="true" contour="22" orig_guid="GM1f944c83e4ad11dcc27e000255334790" fields="}"/><AHL8WR name="store" parent="AAD8VY" pos="870 345" infoshape="#ID[AXB8W9]" orig_guid="GM1f944c84e4ad11dccb79000255334790"><AEA8WS parent="AHL8WR" role="DATA" spec="PN_STORE" anchor="L" pos="0 10" orig_guid="GM1f944c85e4ad11dcc4d7000255334790"/></AHL8WR><AFA8WT name="bestaetigung_nein" parent="AAD8VY" src="#ID[AEA8WN]" trg="#ID[AEA8WS]" nobc="true" contour="22" orig_guid="GM1f944c86e4ad11dc8910000255334790" fields="}"/><ACA8WU name="Systemmeldung" parent="AAD8VY" pos="680 445" box_style="6" box_features="EDT" box_size="320 40" form_layout="ABS" labels_align="BEFORE" overflow="EXC" box_pos="16 8" size="100 60" box_vis="STORE@sichtbar_fehler" orig_guid="GM51d968b0e4ad11dcad5e000255334790" fields="}"><AEA8WV name="in" parent="ACA8WU" role="IN" spec="UI_OBJ_IN" anchor="L15" pos="0 15" orig_guid="GM51d968b1e4ad11dc82fe000255334790"/><AEA8WW name="out" parent="ACA8WU" role="OUT" spec="UI_OBJ_OUT" anchor="R15" pos="100 15" orig_guid="GM51d968b2e4ad11dc8459000255334790"/></ACA8WU><AFA8WX name="*bestaetigung_ja" parent="AAD8VY" src="#ID[AEA8W8]" trg="#ID[AEA8WC]" nobc="true" contour="14" orig_guid="GM1deb5010e4b011dcb335000255334790" fields=",F_BIC_IM_WIEDMA:,F_BIC_IMANSPRPA:,F_BIC_IMPLNJAHR:,TXTLG:,PROG_POS:,PROG_DEF_S:,F_BIC_PC_DIV:,F_BIC_IMMANFSTA:,APPR_YEAR:,F_BIC_IMANTEXT1:,F_BIC_IMANTEXT2:,F_BIC_IMANTEXT3:,F_BIC_IMANTEXT4:,F_BIC_IMPLANGES:,CURRENCY:,F_BIC_IMKZAR:,F_BIC_IMGESELLS:,F_BIC_IMWEITVER:,F_BIC_IMUSERID:,F_BIC_ERNAM:,F_BIC_IMERFDAT:,F_BIC_AENAM:,AEDAT:,F_BIC_PROG_POS:}"/><AGB8WY name="Sort1" parent="AAD8VY" pos="245 210" orig_guid="GMc2ff5550e4b111dcb9fe000255334790" fields="}"><AEA8WZ parent="AGB8WY" role="IN" spec="TR_SET_IN" anchor="L" pos="0 15" orig_guid="GMc2ff5551e4b111dc98de000255334790"/><AEA8X0 parent="AGB8WY" role="OUT" spec="TR_SET_OUT" anchor="R" pos="40 15" orig_guid="GMc2ff5552e4b111dcbe1c000255334790"/></AGB8WY><AFB8X1 parent="AAD8VY" src="#ID[AEA8W1]" trg="#ID[AEA8WZ]" contour="14" orig_guid="GMc2ff5553e4b111dccce6000255334790"/><AFB8X2 parent="AAD8VY" src="#ID[AEA8X0]" trg="#ID[AEA8W7]" contour="12" orig_guid="GMc2ff5554e4b111dca801000255334790"/><AHL8X3 name="store" parent="AAD8VY" pos="575 150" infoshape="#ID[AXB8W9]" orig_guid="GMadc85740e52911dcbfb0000255334790"><AEA8X4 parent="AHL8X3" role="DATA" spec="PN_STORE" anchor="L" pos="0 10" orig_guid="GMadc85741e52911dc963b000255334790"/></AHL8X3><AHL8X5 name="store" parent="AAD8VY" pos="595 515" infoshape="#ID[AXB8W9]" orig_guid="GMf1daf230e52911dca80d000255334790"><AEA8X6 parent="AHL8X5" role="DATA" spec="PN_STORE" anchor="L" pos="0 10" orig_guid="GMf1daf231e52911dcaae5000255334790"/></AHL8X5><AFA8X7 parent="AAD8VY" src="#ID[AEA8WB]" trg="#ID[AEA8X6]" nobc="true" contour="22" orig_guid="GMf1daf232e52911dcb92f000255334790" fields=",sichtbar:,Fehlermeldung:,UpdKennzeichen:}"/><AHK8X8 name="timer1" parent="AAD8VY" guard="true" interval="1" pos="440 125" size="40 30" orig_guid="GM506764e0e52b11dc82a2000255334790" fields=",ELAPSED:}"><AEA8X9 parent="AHK8X8" role="DATA" spec="PN_START" anchor="T^" pos="20 0" orig_guid="GM50678bf0e52b11dcacb8000255334790"/></AHK8X8><AFA8XA parent="AAD8VY" src="#ID[AEA8X9]" trg="#ID[AEA8X4]" nobc="true" contour="12" orig_guid="GM50678bf1e52b11dc94a6000255334790" fields="}"/><AHL8XB name="store" parent="AAD8VY" pos="775 245" infoshape="#ID[AXB8W9]" orig_guid="GM636fe260e53011dc84ee000255334790"><AEA8XC parent="AHL8XB" role="DATA" spec="PN_STORE" anchor="L" pos="0 10" orig_guid="GM636fe261e53011dc8753000255334790"/></AHL8XB><AFA8XD name="loeschen" parent="AAD8VY" src="#ID[AEA8WF]" trg="#ID[AEA8XC]" nobc="true" contour="22" orig_guid="GM636fe262e53011dc9fd0000255334790" fields=",sichtbar:,UpdKennzeichen:}"/><AXB8XE name="OUT_PARAMS" parent="AAD8VY" orig_guid="GMce1181f0e53a11dc9ff3000255334790" fields="{}"/><AFA8XQ name="*bestaetigung_ja" parent="AAD8VY" src="#ID[AEA8W8]" trg="#ID[AEA8XG]" nobc="true" contour="14" orig_guid="GMbafb9b50e55311dc853f000255334790" fields="}"/><AHL8YN name="store" parent="AAD8VY" pos="570 185" infoshape="#ID[AXB8W9]" orig_guid="GM3f9a84a0e5d811dc9529000255334790"><AEA8YO parent="AHL8YN" role="DATA" spec="PN_STORE" anchor="L" pos="0 10" orig_guid="GM3f9a84a1e5d811dc8b43000255334790"/></AHL8YN><AFA8YP name="select" parent="AAD8VY" src="#ID[AEA8W8]" trg="#ID[AEA8YO]" nobc="true" contour="22" orig_guid="GM3f9a84a2e5d811dc84ef000255334790" fields="}"/><AHB8YQ name="refresh" parent="AAD8VY" epcm_event="com.sap.vc:epcm" pos="560 580" size="50 20" orig_guid="GMb1a94770e5d811dc8e4b000255334790" fields="{}"><AEA8YR parent="AHB8YQ" role="DATA" spec="PN_SET_IN" anchor="L" pos="0 10" orig_guid="GMb1a96e80e5d811dc977d000255334790"/></AHB8YQ><AEA8YS name="refresh" proto="AEA8YR" parent="AAD8VY" role="OUT" spec="PT_SET_OUT" anchor="R" pos="120 20" orig_guid="GMb1a96e81e5d811dca518000255334790"/><AFA8YT parent="AAD8VY" src="#ID[AEA8WB]" trg="#ID[AEA8YR]" nobc="true" contour="22" guard="@E_RESULT_CODE==0" orig_guid="GMb1a96e82e5d811dc893b000255334790" fields="{}"/><AHA8YU name="refresh" parent="AAD8VY" epcm_event="com.sap.vc:epcm" pos="125 215" size="50 20" orig_guid="GMb1a96e83e5d811dc85d4000255334790" fields="{}"><AEA8YV parent="AHA8YU" role="DATA" spec="PN_SET_OUT" anchor="R" pos="50 10" orig_guid="GMb1a96e84e5d811dcb68a000255334790"/></AHA8YU><AEA8YW name="refresh" proto="AEA8YV" parent="AAD8VY" role="IN" spec="PT_SET_IN" anchor="L" pos="0 20" orig_guid="GMb1a96e85e5d811dc8ace000255334790"/><AFA8YX parent="AAD8VY" src="#ID[AEA8YV]" trg="#ID[AEA8W0]" nobc="true" contour="22" orig_guid="GMb1a96e86e5d811dc906a000255334790" fields="}"/></AAD8VY></GMLUNITS><enums><AXD7M1 name="IMANSPRA" parent="AAA2O" sap_function="ZIHP_IMANSPRPA_LIST" sap_system="BW_BAPI" system_type="SAPFactory" outputPort="I_T_IMANSPRPA" outputPortStruct="SET" outputPortFields=",TXTMD:}" outputPortAppName="OUTPUT I_T_IMANSPRPA" enumFlags="SORT DUPL" valueField="@F_BIC_IMANSPRPA" textField="@TXTMD" orig_guid="GM46f262a0e39311dca3a8000255334790"/><AXD7M2 name="IMGESELLS" parent="AAA2O" sap_function="ZIHP_IMGESELLS_LIST" sap_system="BW_BAPI" system_type="SAPFactory" outputPort="I_T_IMGESELLS" outputPortStruct="SET" outputPortFields=",TXTMD:}" outputPortAppName="OUTPUT I_T_IMGESELLS" enumFlags="SORT DUPL" valueField="@F_BIC_IMGESELLS" textField="@TXTMD" orig_guid="GM25e30720e39511dcc05b000255334790"/><AXC782 name="JANEIN" parent="AAA2O" enumMap="J:Ja;N:Nein;A:A;X:X" orig_guid="GM54b80530e15811dc9558000255334790"/><AXD907 name="ENUM[ACA8WD:F_BIC_IMMANFNR]" parent="ACA8WD" sap_function="ZIHP_MANR_FREI_LIST" sap_system="BW_BAPI" system_type="SAPFactory" inputPort="INPUT" inputPortStruct="OBJ" inputPortAppName="INPUT" inputPortFields="}" inputPortMap="I_IMMANFNR_2CHAR:RIGHT%28@F_BIC_IMPLNJAHR%2C2%29" outputPort="IT_IMMANFNR_FREI" outputPortStruct="SET" outputPortFields="}" outputPortAppName="OUTPUT IT_IMMANFNR_FREI" enumFlags="SORT" valueField="@F_BIC_IMMANFNR" textField="@F_BIC_IMMANFNR" orig_guid="GMf75b2cf0e5f811dcc453000255334790"/><AXD3X8 name="ENUM[ACA1ZQ:F_BIC_IMMANFSTA]" parent="AAA2O" sap_function="ZIHP_STATUS_LIST" sap_system="BW_BAPI" system_type="SAPFactory" outputPort="I_T_STATUS" outputPortStruct="SET" outputPortFields=",TXTLG:}" outputPortAppName="OUTPUT I_T_STATUS" valueField="@F_BIC_IMMANFSTA" textField="@TXTLG" orig_guid="GM696f74a068df11dcb4b0000255334790" enumFlags="DUPL SORT"/><AXD7N0 name="IMWEITERVER" parent="AAA2O" sap_function="ZIHP_IMWEITVER_LIST" sap_system="BW_BAPI" system_type="SAPFactory" outputPort="I_T_IMWEITVER" outputPortStruct="SET" outputPortFields=",TXTMD:}" outputPortAppName="OUTPUT I_T_IMWEITVER" valueField="@F_BIC_IMWEITVER" textField="@TXTMD" enumFlags="SORT DUPL" orig_guid="GM57d1ec00e3a011dc94f2000255334790"/><AXD8WG name="ENUM[ACA8NZ:F_BIC_IM_WIEDMA]" parent="ACA8WD" sap_function="ZIHP_MANR_LIS" sap_system="BW_BAPI" system_type="SAPFactory" inputPort="INPUT" inputPortStruct="OBJ" inputPortAppName="INPUT" inputPortFields="}" inputPortMap="I_IMANSPRPA:%27M1-EK*%27" outputPort="I_T_IMMANFNR_IMP" outputPortStruct="SET" outputPortFields=",F_BIC_IM_WIEDMA:,F_BIC_IMANSPRPA:,F_BIC_IMPLNJAHR:,TXTLG:,PROG_POS:,PROG_DEF_S:,F_BIC_PC_DIV:,F_BIC_IMMANFSTA:,APPR_YEAR:,F_BIC_IMANTEXT1:,F_BIC_IMANTEXT2:,F_BIC_IMANTEXT3:,F_BIC_IMANTEXT4:,F_BIC_IMPLANGES:,CURRENCY:,F_BIC_IMKZAR:,F_BIC_IMGESELLS:,F_BIC_IMWEITVER:,F_BIC_IMUSERID:,F_BIC_ERNAM:,F_BIC_IMERFDAT:,F_BIC_AENAM:,AEDAT:,F_BIC_PROG_POS:,F_BIC_PPOS_TXTLG:,F_BIC_STA_TXTLG:}" outputPortAppName="OUTPUT I_T_IMMANFNR_IMP" valueField="@F_BIC_IMMANFNR" textField="@TXTLG" enumFlags="SORT DUPL" orig_guid="GMdb7e1df0e54211dcc6b4000255334790"/><AXD7ND name="PV_DIV" parent="AAA2O" sap_function="ZIHP_PC_DIV_LIST" sap_system="BW_BAPI" system_type="SAPFactory" outputPort="I_T_PC_DIV" outputPortStruct="SET" outputPortFields=",TXTMD:}" outputPortAppName="OUTPUT I_T_PC_DIV" valueField="@F_BIC_PC_DIV" textField="@TXTMD" enumFlags="SORT DUPL" orig_guid="GMf686c720e3a111dc80ea000255334790"/><AXD8VX name="ProgPos" parent="AAA2O" sap_function="ZIHP_BIC_PRPOS_LIST" sap_system="BW_BAPI" system_type="SAPFactory" outputPort="I_T_PRPOS" outputPortStruct="SET" outputPortFields=",LANGU:,TXTLG:}" outputPortAppName="OUTPUT I_T_PRPOS" valueField="@F_BIC_PROG_POS" textField="@TXTLG" enumFlags="SORT DUPL" orig_guid="GMdd5ef540e52911dc9ddf000255334790"/></enums><IMAGES/><TRANSPORTLOG/></GMLPACK> -
How do I compensate for display objects jumping when screen scaling
I am building an application that is to run at 2 difference stage sizes. 960x640 and 1024x768 (for those paying attention, you may note that those are the high res settings for the iPhone and iPad2)
The app was designed and build to run on a stage of 960x640 and when running at this size, there are no problems.
When the app loads in the 1024x768 window, it "strechs" the stage to fill the window, but keeps the aspect ratio. Everything looks good and the application runs without any problems expect for one thing.
Sometimes, display objects on the stage "jitter" when moving or animating. I have discovered that this is because the stage is "scaling" the x and y values, and is not pixel snapping the objects on the screen, even though the x and y values of the display object are indeed whole numbers.
A prime example of this is I have 2 bitmapData images. bmData_s and bmData_h.
bmData_s is 192x388 in size.
bmData_h is created from a copy of bmData_s with a glow filter stroke on it, resulting in a image that is 198x394 (6 pixels bigger due to a 3 pixel stroke)
I place it on the screen using the following code:
(Background is a bitmap object that is 960x480 and places at 0,0)
(ObjOffset is a point in my app data to position the object, it's a point set to 53,195)
MyObj.x = Background.x + ObjOffset.x + (bmData_s.width/2);
MyObj.y = Background.y + ObjOffset.y + (bmData_s.height/2);
now, when the mouse rolls over the object, I have an event listener to change MyObj.bitmapData to bmData_h
MyObj.bitmapData = bmData_h;
MyObj.x = Background.x + ObjOffset.x + Math.floor(bmData_h.width/2);
MyObj.y = Background.y + ObjOffset.y + Math.floor(bmData_h.height/2);
and back to the _s image on mouse out.
Now, when the app runs on the iPhone which is a 960x640 screen size, or on the PC which is using a window of similiar size, the image doesn't appear to move at all... the "stroke" appears and disappears exactly as it is suppose to
However, when I run it in a window that is 1024x768, the _h image appears to "jump" one pixel up.
I have encountered many other similiar things that only occure when the stage is scaled. There is a spot in the app where I am animating a bitmap by manipulating it's scrollrect x and width (have it's do a wipe in from right to left like a peice of paper unrolling on a table) and due to the scaling, the right edge of the image jumps left and right 1 pixel... but on 960x640 screens, it looks perfect.
Does anyone know how I can compensate for this effect so that this jumping doesn't occur when the stage is stretched to fit the window it's running in?Sounds like a x-browser rendering problem
my guess would be to scale down the inner div's so they add up to less than 100%.
If you floated div's and gave them a %, give one of the div's a smaller.
ie: 2 divs floated in a Header, give one 50% and the other 49.5% -
[svn] 3149: Fix bugs introduced by the display object sharing optimization.
Revision: 3149
Author: [email protected]
Date: 2008-09-08 16:58:35 -0700 (Mon, 08 Sep 2008)
Log Message:
Fix bugs introduced by the display object sharing optimization. This checkin should fix ordering problems when dynamically adding/removing graphic elements, and ordering problems when changing graphic element properties that require a display object (rotation, alpha, filters, etc).
Bugs:
MXMLG-219: BitmapGraphic component content always rendered from 0, 0 origin.
MXMLG-220: setting visible property of Rect and Ellipse does nothing.
MXMLG-222: setting the alpha of a rectangle changes z-order when there are 3 or more rectangles
SDK-16754: Z-order incorrect when a Group is present
QA: Yes - the test files from these bugs (or something equivalent) should be added to our standard test suite
Reviewer: Deepa
Ticket Links:
http://bugs.adobe.com/jira/browse/MXMLG-219
http://bugs.adobe.com/jira/browse/MXMLG-220
http://bugs.adobe.com/jira/browse/MXMLG-222
http://bugs.adobe.com/jira/browse/SDK-16754
Modified Paths:
flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as
flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/BitmapGraphic.as
flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/GraphicElement .asThis is the great thread ;-)
My favorite threads are below.
Munky posted great reply :8}
SQL Query Help
order in a connect by -
Applying a filter to multiple display objects
I have a large amount of btn's that load full size images when clicked. I simply want to add a filter, scaleX and scaleY to each of those buttons and I know there is a better method then typing each btn name with an eventListener for the Mouse_Over and Mouse_Out events. I understand that I need to create a variable of a new filter and then apply it to the display object. Like so..
var glow:GlowFilter = new GlowFilter(0x0066FF, 1, 10, 10);
function hover(event:MouseEvent):void
pic1_btn.filter = new Array(glow);
pic1_btn.scaleX = 1.02;
pic1_btn.scaleY = 1.02;
pic1_btn.addEventListener(MouseEvent.MOUSE_OVER, hover);
function noHover(event:MouseEvent):void
pic1_btn.filter = new Array();
pic1_btn.scaleX = 1;
pic1_btn.scaleY = 1;
pic1_btn.addEventListener(MouseEvent.MOUSE_OUT, noHover);
So if I were to continue this, I would have to type out pic1_btn, pic2_btn, pic3_btn and so on to apply a filter to each object and also type out the object name for each listener. NUTS! So my question is what is the best way to approach this? Thanks for your help.Thank you for that information yesterday, it was really helpful.
OK so what I have is a pretty simple album. At the top of hierarchy I have a file named "loader.swf" that requires a password and then loads the "album.swf" then depending on the button that is selected on the "album.swf" an additional .swf is loaded. These additional .swf's contain the thumbnail buttons which we are discussing and when those buttons are clicked an external full size .jpg is loaded. Following are the actions from the main timeline.
var picLoader:Loader = new Loader();
bar_mc.alpha = 0;
function progressHandler(event:ProgressEvent):void
var myprogress:Number = event.target.bytesLoaded/event.target.bytesTotal;
addChild(bar_mc);
addChild(myTextField_txt);
bar_mc.alpha = 100;
bar_mc.scaleY = myprogress;
myTextField_txt.text = Math.round(myprogress*100)+"%";
picLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, progressHandler);
function imageLoaded(event:Event):void
addChild(picLoader);
removeChild(myTextField_txt);
removeChild(bar_mc);
picLoader.x = (stage.stageWidth - picLoader.width)/2;
picLoader.y = (stage.stageHeight - picLoader.height)/2;
picLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoaded);
function removeFull(event:MouseEvent):void
picLoader.unload();
removeChild(picLoader);
picLoader.addEventListener(MouseEvent.CLICK, removeFull);
On the main timeline I have an instance of a movie clip called "mcThumbs". Within this movieclip I have different pages on different layers and 12 thumbnails per page.
And the actions for mcThumbs
stop();
function picClick(event:MouseEvent):void
this.parent.picLoader.load(new URLRequest(event.target.name + ".jpg"));
for(var a:uint=1; a<=76; a++)
this["newborn"+String(a)].addEventListener(MouseEvent.CLICK, picClick);
function hover(event:MouseEvent):void
event.currentTarget.scaleX = 1.02;
event.currentTarget.scaleY = 1.02;
function noHover(event:MouseEvent):void
event.currentTarget.scaleX = 1;
event.currentTarget.scaleY = 1;
for(var i:uint=1; i<=76; i++)
this["newborn"+String(i)].addEventListener(MouseEvent.MOUSE_OVER, hover);
this["newborn"+String(i)].addEventListener(MouseEvent.MOUSE_OUT, noHover);
function goBack(event:MouseEvent):void
if(currentFrame == 1)
gotoAndStop(totalFrames);
else
prevFrame();
function goForward(event:MouseEvent):void
if(currentFrame == totalFrames)
gotoAndStop(1);
else
nextFrame();
prev_btn.addEventListener(MouseEvent.CLICK, goBack);
next_btn.addEventListener(MouseEvent.CLICK, goForward);
This is where the issue arises. If you hover over a thumbnail button and then go to an different page, that same thumbnail button will remain visible behind the thumbnails of that page. -
Displaying List of BLOB images
Hello everyone,
i successfully and easily used the steps described in http://forum.java.sun.com/thread.jspa?threadID=5047085 for displaying an image from a BLOB column in a database.
this was the first step in the process of developing a page that displays a list of images. Image for example, a picture album.
Ideally, i'd like to display a list of images for a given user_id. I do not want to use Creator's table component because it's layout and appearance and functionality is not usefull for any of my purposes.
is there any way to dynamically add image components to a JSC page? can i somehow create the number of image components to match the number of rows in a resultset (containing all images for a user)??
I'd greatly appreciate any suggestions.
Thanks.
- PThis could be an issue with image caching in the renderers. Try the SuperImage control from here
http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on-flex-as-the-best- option-orhow-i-made-my-flex-images-stop-dancing/ -
[svn] 3726: Checking in on behalf of Ely: Make path share display objects
Revision: 3726
Author: [email protected]
Date: 2008-10-17 15:23:35 -0700 (Fri, 17 Oct 2008)
Log Message:
Checking in on behalf of Ely: Make path share display objects
QE Notes: Test paths along with other display objects and display object sharing. Test path layout with arbitrary 2D xforms.
Doc Notes: None
Bugs: - http://bugs.adobe.com/jira/browse/SDK-17180, http://bugs.adobe.com/jira/browse/SDK-17158
Reviewer: - Evtim
This slows down path a bit, but makes it use less memory.
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-17180
http://bugs.adobe.com/jira/browse/SDK-17158
Modified Paths:
flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/CloseSegment.as
flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/CubicBezierSegment.as
flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/LineSegment.as
flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/MoveSegment.as
flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Path.as
flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/PathSegment.as
flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/QuadraticBezierSegment.asRemember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them. This may or may not be unique to Arch Arm, so you might try asking on their forums as well.
-
Dragging more than one display object in flex3
As per my knowledge, we can drag and drop only one display object at a time.... What should i do if i want to drag more than one display object together as a group.
I am having a canvas and inside it i am having a box..... In that box I am having many Panels.... Now i can create a group of adjascent panels.... And i can drag that panel group to some other place in that box only....
So how to drag a group of display objects together.You can use custom code for that. Flex doesn't use the Flash Player's dragging API. It monitors mouse activity instead. There is an example in Panel.as. You can extend it to move more than one panel.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui -
[svn] 3693: Fix getBitmapData when graphic elements are sharing display objects
Revision: 3693
Author: [email protected]
Date: 2008-10-16 13:28:19 -0700 (Thu, 16 Oct 2008)
Log Message:
Fix getBitmapData when graphic elements are sharing display objects
MXMLG-245 NPE in GraphicElement.getBitmapData()
Moved matrix logic inside of display object null check
Bug: MXMLG-245
QA: Yes
Doc: No
Review: Gordon
Ticket Links:
http://bugs.adobe.com/jira/browse/MXMLG-245
http://bugs.adobe.com/jira/browse/MXMLG-245
Modified Paths:
flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.a sFYI - This regression has been filed here: http://bugs.adobe.com/jira/browse/SDK-31989
-
Problement with Display object
Hello,
With this code i can't show two times same display object
Can you help me ?
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init();">
<mx:Script>
<![CDATA[
private var a:Array = new Array();
private var b:Array = new Array();
private var counter:int = 0;
private function init ():void
a.push("http://dutron.files.wordpress.com/2008/12/sourire-de-cochon.jpg");
a.push("http://www.lanature.fr/fond-ecran/photos/petit-cochon.jpg");
a.push("http://www.coloriagesanimaux.net/animaux/cochons/cochon.jpg");
loadSlide();
private function loadSlide():void
trace("loadSlide");
var imgLoader:Loader = new Loader() ;
imgLoader.load (new URLRequest(a[counter]));
imgLoader.contentLoaderInfo.addEventListener (Event.COMPLETE,imageLoaded);
private function imageLoaded (e:Event):void
b.push(e.target.content);
if (counter == (a.length - 1))
- trace("all slides images");
else
counter++;
loadSlide ();
public function showSlide(e:Event):void
var cLoader:DisplayObject = b[e.currentTarget.selectedIndex];
if(cLoader)
contentImage.source = cLoader ;
]]>
</mx:Script>
<mx:HBox>
<mx:ComboBox change="showSlide(event)" >
<mx:ArrayCollection>
<mx:Object label="AL" data="1"/>
<mx:Object label="AK" data="2"/>
<mx:Object label="AR" data="3 Rock"/>
</mx:ArrayCollection>
</mx:ComboBox>
<mx:Image id="contentImage" />
</mx:HBox>
</mx:Application>I've changed your showSlide function into one line of code:
public function showSlide(e:Event):void
contentImage.source = a[e.currentTarget.selectedIndex];
...and now it's working. I must say I was a little lazy and didn't examine the rest of your code as much as I should . But it seems that you've written to much of it and you've complicated it a little. I don't get it, why are you creating the second array (b:Array)? I'm assuming, that you wanted to keep every picture in the memory to shorten the time of they load, am I right? But from what I know it's not important, cause every modern web browser will do it for you, and will keep them in it's cache after the first load. -
Rich text box used in Infopath Form not displaying option to get images from Computer
Hello,
We have used "Rich text box" in Infopath Form which is not displaying option to get images from Computer.
Options available are : From Address, From SharePoint
But if we Rich text box in list, then it works fine with "From Computer" option.
can you please help me out to get this option.
Thanks in advance.
REgards,
JayashriHi,
From your description, there is no “From Computer” option to get images with rich text box in InfoPath form.
Per my knowledge, by design there are “From Address” and “From SharePoint” options without “From Computer” option in rich text box in InfoPath form. As a workaround, you can develop a custom InfoPath Rich Text box to do it.
About developing a custom InfoPath control, I suggest you create a new thread on the forum “Visual Studio Tools for Office”, more experts will assist you with InfoPath development.
Visual Studio Tools for Office:
https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=vsto&filter=alltypes&sort=lastpostdesc
Thanks,
Dean Wang -
In my Macbook Pro, on a few occassions, the apple menu bar blacks out. its displayed as a negative image. The desktop wallpaper get greyed out and i get a blank screen as wallpaper. No idea why this happens. I reset the system and issue gets resolved.
AshwinVC wrote:
I reset the system and issue gets resolved.
How?
Maybe you are looking for
-
How do you correct error 13019, my iPod won't sync with my Library?
I keep trying to sync my iPod and at first I thought it was due to some songs that wouldn't load from my computer, so I deleted those. But it still keeps popping up saying "iPod could not sync due to unknown error 13019" how do I fix this? Help me ou
-
Image gets cut off when printing tiles
My InDesign file includes an 8" x 28" page containing a full-bleed image that prints as 4 tiles of 8.5" x 11". Whenever I print, the image does not print on the first tile. The foreground text and vector graphics print fine. The image is a PSD, but
-
How do I send a link and not an entire web page in
safari
-
Almost afraid to ask... Where are my Lightroom files?
I've upgraded to LR3 from 2 and in the process Lightroom has chosen to create a new catalog, or at least I think that's the proper term. What was 'Name' catalog with all of my images is now 'Name-2' with all of my images. What happened to the simple
-
Warning of " Date of outside the factory calendar Range"
Hi Experts, I have created a variable of ocalday,It is taking # values and it showing warning " Date of outside the factory calendar Range".How avoid this warning.Actually intially in the one of infocubes carries the # value for 0calday,