Where to copy the codes for flow logic?
Hi.
I know that SE37 is to access the source code for function modules,
and SE38 is to access the source codes for programs/reports.
Does anyone know where I could get the codes for the<b> flow logic of the dialog screens</b> called by my programs?
Thanks.
Hi,
SE80 transaction
Select program in drop down & enter the program name
Best regards,
Prashant
Similar Messages
-
Where to put the code for dynamically change dataprovider
I have a table bound to dataprovider1 by default ( by the SJC ). In the same page, I also have a dataprovider2 which is for the same fields of the same table of dataprovider1. The only different is to put some criteria on one field ( like F_D1 = '5' ) so that one provider will show all rows, the other just some rows.
The code to change the dataprovider is as follows :
tableRowGroupWorksheet.setValueBinding("sourceData", getApplication().createValueBinding("#{WorksheetPage.dataprovider2}") );
If I put this code into some button_action() and then I click that button, then the page displays the corresponding data just fine.
But if I put this code in either preprocess or prerender, then things seems messed up : the number of pages is for data of dataprovider1, but when I click button Next of the table then it shows the number of pages of dataprovider2. ( I also try to put it in init but this does not help either ).
I need this code to be run when this page is selected but right now it requires me to click on a button :(
The reason I need it runs automatically is because of the logic generated from the previous page.
Thanks for your advive,
VuAfter re-reading the life-cycles of JSF and the injected phases of SJC, I think I know why it does not work when the page is first called. In this case, AplyRequestValue phase is skipped therefore preprocess is never called. Also in this case, the component tree, with binding, validators, ... is only built in the Render Response phase and this phase is right after PreRender is called therefore the binding code I put in prerender is overwritten by Render Response.
When using a button action, the component tree is already built and not rebuit under Render Response, therefore that code is not overwritten. Also in this case, preprocess is called so putting that code under either preprocess or prerender will work.
Please correct me.
Thanks,
Vu -
How to find where the code for append structures for LIS extractors?
Hi,
I found 4 append structures for extractor 2LIS_03_BF,
Out of 4 append structures, I found code for one, using where-used option. But in vain for other 3. Is it possible they didn't transport the code for remaining structures? how to find that?
Cheers,
Kannan NKannan,
When ever you apply a logic to populate tdata for the appended filed then you will be writing some code in CMOD transaction code where you will find a ZXRSAU01
program, just double click on that then it will take you to the complete exit. Ther you can find with your data source name.
Hope it helps...
****Assign Points if it helps******
Gattu -
I purchased an itunes gift card for my nephew. I received a confirmation that the credit card had been debited, however he never received a code to activate his gift. Where can I find out the code for my gift voucher?
If you purchased your gift using iTunes, you can resend it. Just follow these steps to resend an unredeemed gift to any address:
http://support.apple.com/kb/HT1541 -
Where is the code for the contentBackgroundColor in the spark textArea
Where is the code for the contentBackgroundColor in the spark textArea, I can't seem to locate it anywhere but you can set the contentBackgroundColor in the <s:TextArea tag
Hi,
may be it's helpful for you.
http://blog.flexexamples.com/2010/05/18/changing-the-background-color-of-a-disabled-spark- textarea-control-in-flex-4/
Regards
-Bechar -
Where is the code for the collapse button in the default SAP iview layout?
I need to eliminate the collapse/restore button displayed on each iView tray. I was looking at the default layout component (com.sap.portal.layouts.default) but I could not find the code for the tray. The code for "FullWidth.jsp" (this file that implements the "FullWidth" component) is below:
<%@ taglib uri="prt:taglib:com.sap.portal.reserved.layout.TagLibHtmlb" prefix="hbj" %>
<%@ taglib uri="prt:taglib:com.sap.portal.reserved.layout.TagLibLayout" prefix="lyt" %>
<lyt:template>
<hbj:content id="myContext" >
<hbj:page title="Portal Page">
<lyt:container id="column1" />
</hbj:page>
</hbj:content>
</lyt:template>
as you can see, there is no reference to the tray tags.
note: I am familiar with how to create a new iView tray using the new Layout Tag Library (from blog below)
EFP: Layout Tag Library
, but I want am not interested in this approach... All I want is to modify the EXISTING tray.Hi,
may be it's helpful for you.
http://blog.flexexamples.com/2010/05/18/changing-the-background-color-of-a-disabled-spark- textarea-control-in-flex-4/
Regards
-Bechar -
Where do I put the code for ePrint mobile?
I am currently signed in and can't find the area for ePrint mobile.
Hi MalWill456,
Which code are you talking about?:
- The ePrint code that printed off when web services was enabled?
- The code for the HP ePrint Home and Biz app?
- The code or server for the HP ePrint Service app?
Depending on which code you need, you would obtain it different ways.
If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
Although I work for HP, my posts and replies are my own opinion and not those of HP. -
How to batch download the elements and flow logic of screen
hi,all
i am doing programs transfer without using transport request.
it is easy to download simple reports,includeing code, text etc.but how can i deal with reports with customed screen.
for example, i have to download the elements and flow logic of screen 100 in a report. also, i need to upload in another server.
i need you help!
thanks
Regards
LTHi,
There are lots of utilities to do this. just search forum and you will be able to find the one.
Regards,
Atish -
Problem in fetching the code for the line item
Hi,
I am working on a report in which to display the values corresponding to the line item of a PO.
For, ex, if there are 3 line items 10,140,150 and their condition values such zing,zgrd,zbrd are the condition types consist of different values depending on the line item i.e. 10,140,150.
My problem is when i execute the code the data of 1st line item is correctly fetched but the rest 2 line item data is pasted as it is. only the main pricre changes and the code for zing,zbrd,zgrd remains same as it is in the first line item 10.
plzz proivde me guide lines how to solve this problem.
Here's d code:-
DATA : vspl LIKE konv-kbetr.
DATA : vspl1 LIKE konv-kbetr.
DATA : vkwert LIKE konv-kwert.
DATA: VSPL2 LIKE KONV-kbetr. "ZING COST
DATA: VSPL3 LIKE KONV-kbetr. "ZGRD COST
DATA: VSPL4 LIKE KONV-kbetr. "ZBDL COST
LOOP AT item.
SELECT kbetr FROM konv INTO item-rate WHERE knumv = header-knumv AND kposn = item-ebelp
AND ( kschl = 'ZP00' OR kschl = 'P001' OR kschl = 'PBXX' OR kschl = 'P000' OR kschl = 'PB00' OR kschl = 'ZING' OR kschl = 'ZBRD' OR kschl = 'ZGRD').
MODIFY item.
ENDSELECT.
ENDLOOP.
LOOP AT item.
SELECT kwert FROM konv INTO vkwert WHERE knumv = header-knumv AND kposn = item-ebelp
AND ( kschl = 'ZP00' OR kschl = 'P001' OR kschl = 'PBXX' OR kschl = 'P000' OR kschl = 'PB00' OR kschl = 'ZING' OR kschl = 'ZBRD' OR kschl = 'ZGRD').
ENDSELECT.
ENDLOOP.
CLEAR : vspl , vspl1 , vspl2 , vspl3 , vspl4.
LOOP AT item.
SELECT kbetr FROM konv INTO vspl WHERE knumv = header-knumv AND kposn = item-ebelp
AND kschl = 'ZCOM'.
ENDSELECT.
SELECT kbetr FROM konv INTO vspl1 WHERE knumv = header-knumv AND kposn = item-ebelp
AND kschl = 'ZBR1'.
ENDSELECT.
*******************Begin - new code added on 14.01.2009******************
SELECT kbetr FROM konv INTO vspl2 WHERE knumv = header-knumv AND kposn = item-ebelp
AND kschl = 'ZING'.
ENDSELECT.
SELECT kbetr FROM konv INTO vspl3 WHERE knumv = header-knumv AND kposn = item-ebelp
AND kschl = 'ZGRD'.
ENDSELECT.
SELECT kbetr FROM konv INTO vspl4 WHERE knumv = header-knumv AND kposn = item-ebelp
AND kschl = 'ZBRL'.
ENDSELECT.
*******************End - new code added on 14.01.2009******************
ENDLOOP.
LOOP AT item.
item-rate = item-rate + vspl + vspl1.
*******************Begin - new code added on 14.01.2009******************
item-rate1 = item-rate1 + vspl2.
item-rate2 = item-rate2 + vspl3.
item-rate3 = item-rate3 + vspl4.
********************End - new code added on 14.01.2009*******************
MODIFY item INDEX sy-tabix TRANSPORTING rate.
*******************Begin -11`` new code added on 14.01.2009******************
MODIFY item INDEX sy-tabix TRANSPORTING rate1.
MODIFY item INDEX sy-tabix TRANSPORTING rate2.
MODIFY item INDEX sy-tabix TRANSPORTING rate3.
*********************End - new code added on 14.01.2009******************
ENDLOOP.
PLZ PROIVDE ME GUIDLINES HOW TO SOLVE THIS PROBLEM .
Edited by: ricx .s on Jan 19, 2009 10:16 AM
Edited by: Vijay Babu Dudla on Jan 19, 2009 5:22 AMHello,
Why are you looping at the same internal table so many times, you could probably perform everything within one loop instead.
DATA : vspl LIKE konv-kbetr.
DATA : vspl1 LIKE konv-kbetr.
DATA : vkwert LIKE konv-kwert.
DATA: VSPL2 LIKE KONV-kbetr. "ZING COST
DATA: VSPL3 LIKE KONV-kbetr. "ZGRD COST
DATA: VSPL4 LIKE KONV-kbetr. "ZBDL COST
field-symbols <fs>.
LOOP AT item assigning <fs>.
SELECT kbetr FROM konv INTO <fs>-rate WHERE knumv = header-knumv AND kposn = item-ebelp
AND ( kschl = 'ZP00' OR kschl = 'P001' OR kschl = 'PBXX' OR kschl = 'P000' OR kschl = 'PB00' OR kschl = 'ZING' OR kschl = 'ZBRD' OR kschl = 'ZGRD').
MODIFY item.
ENDSELECT.
SELECT kwert FROM konv INTO vkwert WHERE knumv = header-knumv AND kposn = item-ebelp
AND ( kschl = 'ZP00' OR kschl = 'P001' OR kschl = 'PBXX' OR kschl = 'P000' OR kschl = 'PB00' OR kschl = 'ZING' OR kschl = 'ZBRD' OR kschl = 'ZGRD').
ENDSELECT.
ENDLOOP.
CLEAR : vspl , vspl1 , vspl2 , vspl3 , vspl4.
SELECT kbetr FROM konv INTO vspl WHERE knumv = header-knumv AND kposn = item-ebelp
AND kschl = 'ZCOM'.
ENDSELECT.
SELECT kbetr FROM konv INTO vspl1 WHERE knumv = header-knumv AND kposn = item-ebelp
AND kschl = 'ZBR1'.
ENDSELECT.
*******************Begin - new code added on 14.01.2009******************
SELECT kbetr FROM konv INTO vspl2 WHERE knumv = header-knumv AND kposn = item-ebelp
AND kschl = 'ZING'.
ENDSELECT.
SELECT kbetr FROM konv INTO vspl3 WHERE knumv = header-knumv AND kposn = item-ebelp
AND kschl = 'ZGRD'.
ENDSELECT.
SELECT kbetr FROM konv INTO vspl4 WHERE knumv = header-knumv AND kposn = item-ebelp
AND kschl = 'ZBRL'.
ENDSELECT.
*******************End - new code added on 14.01.2009******************
<fs>-rate = <fs>-rate + vspl + vspl1.
*******************Begin - new code added on 14.01.2009******************
<fs>-rate1 = item-rate1 + vspl2.
<fs>-rate2 = item-rate2 + vspl3.
<fs>-rate3 = item-rate3 + vspl4.
ENDLOOP.
Also, use field-symbols and use loop at itab assigning addition so that you can directly change the contents of the table without using modify statment.
regards,
Advait -
Streamlining the code for the button group with individual links and rollover imgs
I am looking for a solution to streamline the code for the array of 20+ buttons located inside the scroll pane.
I know I can make an array if all the buttons would have a unified code executable change, i.e. they would become larger and brighter.
My problem is that each button represents an product image in the lights off stage, then of rollover it is a lights on stage so I have to import two images in the on and off stage and play around with the opacity.
Additional problem is that each button has to ling to a different label.
My question is: is it possible to unify the code if buttons have that much individuality or I have to make each one of them as in the example below.
// makes a hand cursor appear over a mc acting as a button for all the buttons inside the scrollpnaeBckgrnd_mc.scrollpaneBckgrnd_btns_mc.
MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.buttonMode = true;
MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.useHandCursor = true;
///////////////INDIVIDUAL BUTTONS
MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.FloraLyte _btn.FloraLyte_ON.alpha = 0;
var FloraLyte_btn_Tween:TweenLite = TweenLite.to(MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.F loraLyte_btn.FloraLyte_ON, .5, {alpha:1, paused:true});
MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.Flor aLyte_btn.addEventListener(MouseEvent.ROLL_OVER, overHandler_FloraLyte_btn);
MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.Flor aLyte_btn.addEventListener(MouseEvent.ROLL_OUT, outHandler_FloraLyte_btn);
MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.FloraLyte_btn. addEventListener(MouseEvent.CLICK, onClick_floralytePopUp);
function onClick_floralytePopUp(event:MouseEvent) :void {
gotoAndPlay("floralytepp");
function overHandler_FloraLyte_btn(e:MouseEvent):void{
FloraLyte_btn_Tween.play();
trace("you rolled over me");
function outHandler_FloraLyte_btn(e:MouseEvent):void{
FloraLyte_btn_Tween.reverse();
trace("you rolled off me");
MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.FloraLytell_btn .FloraLytell_ON.alpha = 0;
var myTween:TweenLite = TweenLite.to(MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.F loraLytell_btn.FloraLytell_ON, .5, {alpha:1, paused:true});
MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.Flor aLytell_btn.addEventListener(MouseEvent.ROLL_OVER, overHandler);
MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.Flor aLytell_btn.addEventListener(MouseEvent.ROLL_OUT, outHandler);
MovieClip(mc_pane2.content).scrollpaneBckgrnd_mc.scrollpaneBckgrnd_btns_mc.FloraLytell_bt n.addEventListener(MouseEvent.CLICK, onClick_floralytellPopUp);
function onClick_floralytellPopUp(event:MouseEvent) :void {
gotoAndPlay("floralyte2pp");
function overHandler(e:MouseEvent):void{
myTween.play();
trace("you rolled over me");
function outHandler(e:MouseEvent):void{
myTween.reverse();
trace("you rolled off me");as ned suggested, plan your flow and code into it. here is one example:
var buttonArray = [someButton, someOtherButton, aDifferentButton];
for(var i = 0; i < buttonArray.length; i++){
//get reference to county movieclip
var mc = buttonArray[i];
//then add listeners
mc.addEventListener(MouseEvent.ROLL_OVER, overMe);
function overMe(e:MouseEvent){
var mc = e.target;
switch(mc){
case: someButton:
someOtherButton: doThis();
break;
case: aDifferentButton: doThat();
break;
default: //do nothing;
break;
function doThis(){
trace("do this")
function doThat(){
trace("do that") -
How to write the code for a panel when using treeview?
Hi,
We are developing a new plug-in in Indesign as based on treeview. we have completed the design part, but we have some doubts in coding..
One dialog widget and three panels(General, fitting, Eventsandscripts).
The .fr file:
resource GeneralPanelWidget (kGeneralPanelResourceID)
__FILE__, __LINE__,
kGeneralPanelWidgetID, // WidgetId
kPMRsrcID_None, // RsrcId
kBindNone, // Frame binding
Frame(0,0,800,500) // Frame
kTrue, // Visible
kTrue, // Enabled
kGeneralPanelTitleKey, // Panel name
StaticTextWidget
kInvalidWidgetID, // WidgetId (default=0)
kSysStaticTextPMRsrcId, // RsrcId
kBindNone, // Frame binding
10, 15, 138, 35, // Frame: left, top, right, bottom.
kTrue, kTrue, // Visible, Enabled
kAlignLeft, kEllipsizeEnd,kTrue, // Alignment, ellipsize style
ksamPrefProjectPathStringKey, // Initial text.
ksamPrefProjectPathTextEditBoxWidgetID // No associated widget
// TextEditBox Widget resource
TextEditBoxWidget
ksamPrefProjectPathTextEditBoxWidgetID, // WidgetId
kSysEditBoxPMRsrcId, // RsrcId
kBindNone, // Frame binding
Frame(140, 15, 420, 35), // Frame (l,t,r,b)
kTrue, kTrue // Visible, Enabled
0, // Widget id of nudge button (0 so we dont get one)
0, 0,// small,large nudge amount
0, // max num chars(0 = no limit)
kFalse,// is read only
kFalse,// should notify each key stroke
kFalse,// range checking enabled
kFalse,// blank entry allowed
0, // Upper bounds
0, // Lower bounds
"", // Initial text
ButtonWidget
ksamChooseProjectButtonWidgetID,
kSysButtonPMRsrcId,
kBindNone,
430, 15, 500, 35,
kTrue, kTrue,
ksamChooseBtnStringKey,
StaticTextWidget
0, // WidgetId (default=0)
kSysStaticTextPMRsrcId, // RsrcId
kBindNone, // Frame binding
10, 45, 138, 65, // Frame: left, top, right, bottom.
kTrue, kTrue, // Visible, Enabled
kAlignLeft, kEllipsizeEnd,kTrue, // Alignment, ellipsize style
ksamPrefImagePathStringKey, // Initial text.
ksamPrefImagePathTextEditBoxWidgetID // No associated widget
// TextEditBox Widget resource
TextEditBoxWidget
ksamPrefImagePathTextEditBoxWidgetID, // WidgetId
kSysEditBoxPMRsrcId, // RsrcId
kBindNone, // Frame binding
Frame(140, 45, 420, 65), // Frame (l,t,r,b)
kTrue, kTrue // Visible, Enabled
0, // Widget id of nudge button (0 so we dont get one)
0, 0,// small,large nudge amount
0, // max num chars(0 = no limit)
kFalse,// is read only
kFalse,// should notify each key stroke
kFalse,// range checking enabled
kFalse,// blank entry allowed
0, // Upper bounds
0, // Lower bounds
"", // Initial text
ButtonWidget
ksamChooseImgpathButtonWidgetID,
kSysButtonPMRsrcId,
kBindNone,
430, 45, 500, 65,
kTrue, kTrue,
ksamChooseBtnStringKey,
StaticTextWidget
0, // WidgetId (default=0)
kSysStaticTextPMRsrcId, // RsrcId
kBindNone, // Frame binding
10, 75, 138, 95, // Frame: left, top, right, bottom.
kTrue, kTrue, // Visible, Enabled
kAlignLeft, kEllipsizeEnd,kTrue, // Alignment, ellipsize style
ksamPrefMasterTempPathStringKey, // Initial text.
ksamPrefMasterTemplatePathTextEditBoxWidgetID // No associated widget
// TextEditBox Widget resource
TextEditBoxWidget
ksamPrefMasterTemplatePathTextEditBoxWidgetID, // WidgetId
kSysEditBoxPMRsrcId, // RsrcId
kBindNone, // Frame 85
Frame(140, 75, 420, 95), // Frame (l,t,r,b)
kTrue, kTrue // Visible, Enabled
0, // Widget id of nudge button (0 so we dont get one)
0, 0,// small,large nudge amount
0, // max num chars(0 = no limit)
kFalse,// is read only
kFalse,// should notify each key stroke
kFalse,// range checking enabled
kFalse,// blank entry allowed
0, // Upper bounds
0, // Lower bounds
"", // Initial text
ButtonWidget
ksamChooseMasterTempButtonWidgetID,
kSysButtonPMRsrcId,
kBindNone,
430, 75, 500, 95,
kTrue, kTrue,
ksamChooseBtnStringKey,
CheckBoxWidget
ksamShowFrameLabelCheckBoxWidgetID, // WidgetId
kSysCheckBoxPMRsrcId, // RsrcId
kBindNone,
Frame( 10, 165, 320, 185) // left, top, right, bottom
kTrue, // Visible
kTrue, // Enabled
kAlignLeft, // Alignment
ksamShowFrameLabelChkBoxTextKey // Initial text
DefaultButtonWidget
kOKButtonWidgetID, // WidgetID
kSysButtonPMRsrcId, // RsrcID
kBindNone, // Binding
320, 380, 390, 400, // Frame (l,t,r,b)
kTrue, kTrue, // Visible, Enabled
ksamPrefSaveStringKey, // Button text
CancelButtonWidget
kCancelButton_WidgetID, // WidgetID
kSysButtonPMRsrcId, // RsrcID
kBindNone, // Binding
400, 380, 470, 400, // Frame (l,t,r,b)
kTrue, kTrue, // Visible, Enabled
ksamPrefCancelStringKey, // Button name
kTrue, // Change to Reset on option-click.
This is for General panel design and we have written the code for this..but we dont know where to call this functions. we implemented this plug-in based on BasicSelectableDialog sample plug-in. please guide me to complete this code.
Thanks in Advance..Your question is not very clear. Have you gone through the PanelTreeView.sdk example in the sdk?
-
Where are defined the keybindings for keyboard navigation on a JTree?
I guess in the JTree.java file but I can't find the line of that tells the JTree to expand a node when you press the + key.
Do you mean, where is the binding (i.e., the InputMap) created? For the most part, they're generated by the by the LookAndFeel and stored in the UIDefaults table under the keys "FocusInputMap", "AncestorInputMap" and "ComponentInputMap". Most will be found in BasicLookAndFeel.java, but the concrete LnF may override some of them. Also, some UI delegates generate or add to the InputMaps; I know BasicEditorPaneUI does.
If you want the code for the action itself, it's in BasicTreeUI.java, in the inner class "Actions". -
Has anyone one else had problems redeeming the code for the free onetime download of the Star Trek 2009 Movie?
dawnfromcabot wrote:
ITUNES HAS CHARGED MY DEBIT CARD $99.99 FOR GLOBAL WAR RIOT-SOME GAME I DID NOT KNOW WAS LOADED ON MY OTHER PHONE; HOWEVER, WHEN I PULLED UP THIS APP TO SEE EXACTLY WHAT IT WAS WAS I SURPRISED TO SEE I COULD DOWNLOAD IT FOR 'FREE'. I HAVE CONTACTED ITUNES THROUGH THIS REDICULOUSLY CHICKEN SH_T SYSTEM THEY USE SO THEY DO NOT ACTUALLY HAVE TO HEAR HOW UPSET A PERSON IS NOW THAT THEY CANNOT BUY FOOD FOR THEIR CHILDREN BECAUSE OF A MISTAKE MADE ON ITUNES PART. I DID RECEIVE AN EMAILED RESPONSE FROM STEPHANIE WHO ADVISED THIS WAS PUCHARED ON A PHONE THAT HAS PURCHASED DOWNLOADS IN THE PAST. I WONDER IF SHE THOUGHT TO LOOK AT MY ENTIRE DOWNLOAD HISTORY AND DISCOVER THAT NOTHING HAS EVER BEEN PURCHASED ON MY ITUNE ACCOUNT IN THE AMOUNT REMOTELY CLOSE TO WHAT THEY ARE CHARGING ME NOW. THAT IS BECAUSE I DO TRY TO MONITOR THIS ACCOUNT AND OBVIOUSLY THIS LAST PURCHASE WAS DONE WITHOUT MY KNOWLEDGE UNTIL I CHECKED MY ONLINE BANKING ACCOUNT, WHICH I DO EVERY DAY. TO MAKE MATTERS WORSE THE APP STATES IT IS FREE TO INSTALL WHEN YOU PULL IT UP SO NO ONE HAS CLARIFIED TO MY WHERE THE $99.99 COMES INTO PLAY. I WILL NOT DROP THIS UNTIL MY BACK ACCOUNT HAS BEEN PROPERERLY CREDITED IN THE SAME TIME FRAME IT TOOK YOU TO TAKE MY MONEY. I WILL LAUNCH A COMPLAINT WITH EVERY POSSIBLE ENTITY IN THE ITUNES COMPANY AND BUSINESSES OUTSIDE THAT REGULATE THEIR BUSINESS UNTIL THIS HAS RESOLVED IN MY FAVOR AS I AM THE ONE WHO HAS BEEN VICTIMIZED BY A COMPANY I INVITED INTO MY TELEPHONE NETWORK IN GOOD FAITH!!!!!!!!!!!!
Reading that is giving me a headache, how about normal type. -
Architecture question...where to put the code
Newbie here, so please be gentle and explicit (no detail is
too much to give or insulting to me).
I'm hoping one of you architecture/design gurus can help me
with this. I am trying to use good principals of design and not
have code scattered all over the place and also use OO as much as
possible. Therefore I would appreciate very much some advice on
best practices/good design for the following situation.
On my main timeline I have a frame where I instantiate all my
objects. These objects refer to movieClips and textFields etc. that
are on a content frame on that timeline. I have all the
instantiation code in a function called initialize() which I call
from the content frame. All this works just fine. One of the
objects on the content frame is a movieClip which I allow the user
to go forward and backward in using some navigation controls.
Again, the object that manages all that is instantiated on the main
timeline in the initialize() function and works fine too. So here's
my question. I would like to add some interactive objects on some
of the frames of the movieClip I allow the user to navigate forward
and backward in (lets call it NavClip) . For example on frame 1 I
might have a button, on frame 2 and 3 nothing, on frame 4 maybe a
clip I allow the user to drag around etc. So I thought I would add
a layer to NavClip where I will have key frames and put the various
interactive assets on the appropriate key frames. So now I don't
know where to put the code that instantiates these objects (i.e.
the objects that know how to deal with the events and such for each
of these interactive assets). I tried putting the code on my main
timeline, but realized that I can't address the interactive assets
until the NavClip is on the frame that holds the particular asset.
I'm trying not to sprinkle code all over the place, so what do I
do? I thought I might be able to address the assets by just
providing a name for the asset and not a reference to the asset
itself, and then address the asset that way (i.e.
NavClip["interactive_mc"] instead of NavClip.interactive_mc), but
then I thought that's not good since I think there is no type
checking when you use the NavClip["interactive_mc"] form.
I hope I'm not being too dim a bulb on this and have missed
something really obvious. Thanks in advance to anyone who can help
me use a best practice.1. First of all, the code should be:
var myDraggable:Draggable=new Draggable(myClip_mc);
myDraggable.initDrag();
Where initDrag() is defined in the Draggable class. When you
start coding functions on the timeline... that's asking for
problems.
>>Do I wind up with another object each time this
function is called
Well, no, but. That would totally depend on the code in the
(Draggable) class. Let's say you would have a private static var
counter (private static, so a class property instead of an instance
property) and you would increment that counter using a
setInterval(). The second time you enter the frame and create a new
Draggable object... the counter starts at the last value of the
'old' object. So, you don't get another object with your function
literal but you still end up with a faulty program. And the same
goes for listener objects that are not removed, tweens that are
running and so on.
The destroy() method in a custom class (=object, I can't
stress that enough...) needs to do the cleanup, removing anything
you don't need anymore.
2. if myDraggable != undefined
You shouldn't be using that, period. If you don't need the
asset anymore, delete it using the destroy() method. Again, if you
want to make sure only one instance of a custom object is alive,
use the Singleton design pattern. To elaborate on inheritance:
define the Draggable class (class Draggable extends MovieClip) and
connect it to the myClip_mc using the linkage identifier in the
library). In the Draggable class you can define a function unOnLoad
(an event fired when myClip_mc is removed using
myClip_mc.removeMovieClip()...) and do the cleanup there.
3. A destroy() method performs a cleanup of any assets we
don't need anymore to make sure we don't end up with all kinds of
stuff hanging around in the memory. When you extend the MovieClip
Class you can (additionally) use the onUnLoad event. And with the
code you posted, no it wouldn't delete the myClip_mc unless you
program it to do so. -
Urgent where i put this code for delete
hi master
sir this code is right for my requirment but when i put on_delete event system not respons or not delete record
where i put this code for conditional deletion
this is my code
declare
recno number;
begin
if :system.cursor_block='accbal' then
delete accbal where accid=:chartofacc.accid;
go_block('chartofacc');
next_record;
elsif :system.cursor_block='chartofacc' then
select count(*) into recno from accbal where accid=:chartofacc.accid;
if recno=0 then
delete_record;
go_block('chartofacc');
previous_record;
else
message ('system found matching record then no delete master record');
message ('system found matching record then no delete master record');
end if;
end if;
end;
please gide me which event i use
thanking you
aamirHello,
The ON-DELETE triger fires only after a COMMIT statment and only for those records that have been deleted in the block.
Francois
Maybe you are looking for
-
HP Print to Fax Device not installed
I have recently updated to windows 8.1. This has seen me have a few issues with my HP Laserjet Pro 500 MFP M570dw printer driver. I updated the driver and had a few issues, which were solved by the HP Scan and print doctor tool. However in the printe
-
Calculation of Depreciation for Group Asset
Hi Experts, I am getting a problem while doing depreciation for group asset Ex: 80,000; Rate 10% total depreiaiton p.a is Rs 8000/- as per the Indian standards if it is below 180 days it should take Rs 4000/-, but in my system it is showing Rs 3333
-
Does iCloud back up all of my GarageBand tracks?
When I back up or sync my iPad to my computer, does it back up all of my GarageBand tracks as well? I have about 200+ tracks right now still need some final editing. I would hate to lose them all I usually sync my iPad with my computer I just don't k
-
New Iphone 16 gig....old email address?
So I jumped on the wagon and bought a brand new iPhone 3G from Best Buy. I absolutely love it, especially with the news that a new OS is coming out in the coming months. I just had one concern regarding the phone. Before setting up my iTunes account
-
Hi, from easy access or SPRO screen how can we get the navigation path of a Transaction? like Logistics u2192 Logistics Execution u2192 Internal Whse Processes u2192 Bins and Stock u2192 Display u2192 Total Stock per Material Is there any way to get