Animation weiterverlinken zu dem zum Button gehörenden Layer
Version: Edge Animate 2014.01
ich habe folgendes Problem.
In meiner Animation gibt es 5 Button die bei Klick
auf einen der Buttons auf den entsprechenden Layer in der Zeitleiste springt.
Das funktioniert auch soweit.
Jedoch habe ich vor dem ersten Layer eine Animation erstellt, die bei Klick
auf einen der Button (egal auf welchen Button ich klicke) ablaufen soll und danach
zu dem zum Button gehörenden Layer springen soll.
Ich habe diesen Code: sym.stop("muenchen");
jedoch bleibt meine Animation am ersten Layer stehen.
Wie muss mein Code aussehen damit bei jedem Button erst die Animation abläuft
und dann auf dem richtigen Layer stehen bleibt.
Vielen dank für die Beispiele, dazu müsste ich aber meine
ganz Animation umbauen. Gibt es einen Code der sich auf die Layer bezieht?
Ich habe jetzt bei Klick diesen Code sym.play("start");
die Animation bleibt dann bei Layer1 stehen, ist ja korrekt so.
Die Animation soll bei Klick auf Button 2 aber ab dem Layer start laufen und erst bei Layer2 anhalten.
Meine Animation ist so aufgebaut.
start--------stop-Layer1----------stop Layer2---------stop Layer3
Wie geht mein Code weiter, dass er bei Layer 2 anhaltet?
sym.play("start"); weiter zu Layer2
Similar Messages
-
Encore: Probleme mit dem Title Button
mein title menu button benimmt sich merkwürdig. Wenn ich meine DVD starte dann klappt alles wunderbar, ich komme mit dem title menu button auf der Fernbedienung immer zurück auf mein Root Menu. Aber sobald ich einen Film starte, in dem Film den title menu button drücke und vom Root menu wieder in die Untermenus gehe, reagiert der Title menu button nicht wenn ich in den menus bin. In den Filmen funktioniert er immer, nur in den Menus nicht mehr.
Aber es wird noch besser, also, ich bin zurück in meinem Untermenu, der title button funktioniert nicht, ich starte einen Film, gehe mit dem normalen menu button zurück in mein untermenu und dann funktioniert der title button wieder ... obwohl er vorher in dem gleichen menu nicht funktioniert hat ??!? Ich gehe in das nächste menu und er funktioniert wieder nicht !! Und das Problem tritt nur bei Marken DVD-Playern auf, der Software DVD-Player und mein Billig DVD-Player spielen die Scheibe normal ab. Was soll das ??
Und noch ein anderes Phänomen, wenn ich bei einem bestimmten Film in der Timeline den End Action und Menu Remote auf "back to the last menu" setze, dann funktioniert der title menu button nicht mehr richtig, sondern verhält sich wie ein "back to the last menu" button. Aber nur wenn ich das bei dem einen Film mache, bei den restlichen verhält er sich normal !!
Weiss einer von euch was das sein kann ?Hallo Mylenium,
Was ich überhaupt nicht verstehe ist, dass CS3 und frühere Versionen von Encore mit SD-Projekten immer einwandfrei funktioniert haben. Ich habe jetzt eine Playlist mit den Kapitelmarken erstellt und diese dann den Schaltflächen zugewiesen. In der anhängenden Datei kann man das genau sehen. Ich habe mal eine Hardcopy vom BS gemacht. In der Vorschau geht alles perfekt. Auf der BD-R im Player klicke ich dann einen Eintrag an und er geht immer wieder zum Menü ohen das Kapiel abzuspielen.
Vielleicht hat ja doch jemand ne Idee. Ich wollte nicht unbedingt meinen Workflow mit DVDit von Sony unterbrechen, denn da geht es anstandslos! -
Animated gif on multiple rollover buttons ?
I want to use animated gifs as MouseOver in rollover buttons.
Somehow when I put this together the animation only works for the
first time I do the MouseOver. - the anim gifs are not looping I
want them to restart every time I have a MouseOut and MouseOver.
I get this to work if i dont put in preload images as default
but then I will have problems with delays instead. Do anyone know
how to solwe this problem in an easy simple to explane kind of way
Greetings from Sweden !I want to use animated gifs as MouseOver in rollover buttons.
Somehow when I put this together the animation only works for the
first time I do the MouseOver. - the anim gifs are not looping I
want them to restart every time I have a MouseOut and MouseOver.
I get this to work if i dont put in preload images as default
but then I will have problems with delays instead. Do anyone know
how to solwe this problem in an easy simple to explane kind of way
Greetings from Sweden ! -
Playing simultaneous animations when clicking on a button
Hello,
Does anyone knows how to make two animations on the timeline in edge animate play simultaneously when i click on a button ?
I have a button in my menu, when i click on it i need to play to animations from the timeline.
Thanks for helping me.hey Vincent,
Try adding the animation to a symbols and playing the symbols. When you make these symbols have auto play un-ticked as the animation will play automatically from the start of the main timeline otherwise. Then on your button you can access the symbols by add code:
sym.getSymbol("symbolname1").play();
sym.getSymbol("symbolname2").play();
If you don't want to put the code in yourself use the auto coder and you go playback/play/stage/symbolname1
The play works the same as if it was on the main timeline so you can play from a label, time on the timeline or just leave play() to play from the beginning of the symbol.
Hope this helps -
Animation file as the Search button
Hi!
I have been doing a lot of research and coming up short.
Can someone tell me if there is a way to insert an
animated file (more than likely a .swf) as the Search button into
RoboHelp with FlashHelp Pro as your layout? If animation is not
possible, what about just an image? For example, if I imported an
animated avatar and when I opened the output help file I would see
the avatar and a text box where I would type my search.
Any help you can provide would be greatly appreciated.
ThanksWelcome to our community, Turner69
In a nutshell the answer to your question is that there is
likely a way to make that happen. But there are some obstacles you
would need to overcome.
* Do you know how to program Flash and are you familiar with
its ActionScript language ?
* The output is FlashHelp based. This would mean that you
would have to figure out which .SWF controls that button and
substitute your desired button.
* To complicate matters even more, you aren't dealing with
simple FlashHelp. You are dealing with FlashHelp Pro. And muddies
the waters even further, as the Pro versions operate differently
than their WebHelp/FlashHelp counterparts.
You might begin by inspecting the Skins Development Kit that
ships with RoboHelp. You find it in the following folder location:
(default installation of Version 7 assumed)
C:\Program Files\Adobe\Adobe RoboHelp 7\FlashHelp SDK
(Version 7)
Hopefully this helps a smidge... Rick -
How to stop video/animation when the back/continue button is pressed
hi! we are currently playing some of our videos via SWF. the swfs are placed on the slides and automatically play. Next and back buttons were added for navigation. One thing though is that when the next and back buttons are pressed to go to the next slide(even when the video in the swf is not yet finished) the swf still plays in the background. how do you set the triggers for this? thanks!
by the way, we used flvplayback component in flash as3. so flash publishes both the flvplayback skin swf and the main swf of the FLA file. Then on Captivate's side, after zipping, we included the swf files thereYup, in the swf animation I placed some lines of code to make the slide pause but in my case since I'm playing a video on my swf pausing the slide doesn't pause the video.
myRoot = MovieClip(root);
mainmov = MovieClip(myRoot.parent.root);
mainmov.rdcmndPause = 1;
The code above will pause the slide. You can try if it works for you. -
Animating a div with 2 buttons
There is a div and 2 buttons in my page. The button 1 is to fade in and fade out the div. First click, the div fades in, second click, the div fades out. And button 2 is to fade out the div ONLY. The script for button 1 works perfectly, but after I added the script for button 2, there is a problem with the div. After I clicked on the button 2 and the div faded out, and if I click on button 1 again, I have to click it twice to fade in the div again. How to solve it?
<script>
$(function() {
var expanded = false;
$('#needhelp').click(function(){
if (!expanded) {
$('#guidepopup').animate({'top' : '141px'}, {duration : 500});
expanded = true;
else {
$('#guidepopup').animate({'top' : '-190px'}, {duration: 500});
expanded = false;
</script>
<script>
$(function () {
$("#button2").click(function () {
$("#div").animate({'top' : '-190px'}, {duration: 500});
</script>Add the code marked in red:
<script>
$(function() {
var expanded = false;
$('#needhelp').click(function(){
$('#needhelp').hide();
if (!expanded) {
$('#guidepopup').animate({'top' : '141px'}, {duration : 500});
expanded = true;
else {
$('#guidepopup').animate({'top' : '50px'}, {duration: 500});
expanded = false;
$("#button2").click(function () {
if (expanded == true) {
$("#guidepopup").animate({'top' : '50px'}, {duration: 500});
expanded = false;
$('#needhelp').show();
</script> -
ich wollte gerne mal wissen wie lange eine reparatur dauert wenn ich es direkt bei apple eingeschickt habe.
Habe seid dem nähmlich auch kein handy mehr !Die grundlegende Schritte sind:
Starten Sie ... Reset ... Aus Backup wiederherstellen ... Wiederherstellen als Neu ...
Wenn Sie versuchen, alle diese Schritte und Sie noch Fragen haben ... Dann ein Besuch in einem Apple Store oder AASP (Authorized Apple Service Provider) ist der nächste Schritt ...
Achten Sie darauf, vorher einen Termin zu machen ... -
How can I combine all buttons into one layer?
I have 5 movie clip buttons in 5 separate layers. Is there a way to merge them all into one layer? i did that and they stop working.
i want to make a zoomable map with buttons on them.
also, if i want to animate every button on I dont want to have to tween every layer. -
Button Rollover without Layer-based-MENU
Hello everybody !
i want to realize a "rollover-Effect" with a script or anything. I know the great possibilities with the layer-based-menu, but the dvd should run on every player. Do anybody have some tips for me?
Thank you
Greeting
AlexWhen you say rollover effect, are you trying to get additional graphics to show up as buttons are selected, or simply illuminate a button as it is rolled over?
Have you read up on button highlight masks? There are limitations, but this method can get images to appear as buttons are selected. -
Playback stutter when animating or keyframing text clip in second video layer
Hi,
I keep getting some nasty stuttering (black strobing/flashes, nasty skinny silver horizontal lines) whenever I add a simple text on the the 2nd video layer. It happens only when I animate/keyframe the text clip, like adjusting the opacity on the front and back end of the clip to simulate a fade-in/out. It also happens if I add a video transition to the text clip, like a flash, for example. I'm using the new 2014 Premiere Pro CC, but it also happens on the version before that, I've tried both. I've also restarting multiple times. I'm on a brand new 2013 Mac Pro, so video card is not the issue. Anyone else seeing anything like this? Super frustrating and equally as annoying, since it's the SIMPLEST edit. Nothing complicated, just adding text to corporate video shot on a Canon C300 (which I transcoded to MPEG-2). It also happens if I use the raw Canon footage, so I've ruled that out too.Please give the exact specifications of the media you're editing and of the sequence you're editing into. Also, what preset do you currently have selected in FCP?
-
Edge Animate - bei Klick nach Animation bei Layer 2 anhalten
Hallo,
ich habe eine Animation und 5 Layer.
Bei Klick auf einen von 5 Buttons soll am Anfang immer die gleiche Animation ablaufen und am Ende bei dem zum Button gehörendem Layer anhalten.
Meine Animation sieht so aus
Start Animation ------------stop Layer1-------------stop Layer2------------stop Layer3
Die Animation laüft also bis zum Stop von Layer 1 soll aber wenn ich auf meinen 2. Button klicke bei Layer 2 anhalten.
Momentan sieht mein Code bei Klick so aus und bleibt dann logischer weise bei Stop Layer1 stehen
sym.play();
Wie muss nun mein Code aussehen damit erst die Animation abläuft und dann bei Layer 2 anhält?
Und natürlich bei Klick auf Button 3, bei Layer 3
Für eine Hilfe wäre ich dankbar.ich habe da nur den Code Click, Abspielen ab start bis ani_aus(siehe Bild)
und soll dann anhalten bei leipzig.
Beim nächsten Button soll die Animation wieder ab start bis ani_aus und anhalten bei muenchen
usw.
Zum besseren Verständnis habe ich mal die Animation auf einen Testserver rungeladen. HOME
Gruß Reinhold -
Script Print Program Logic.......
Hi All
This is the print program of my script, i am not getting the logic..can any body help me with this..
INCLUDE rvadtabl.
TABLES: vbuk, "Vertriebsbeleg (Kopf)-Status
vbco3, "Schlüsselfelder Vertriebsbeleg
vbpla, "Allgemeine Transportdaten
vbplk, "Versandelement Kopfdaten
vbplp, "Versandelement Positionsdaten
vbpls, "Verpackung Summendaten
vekp,
adrc,
vbfa. "DEVK937590
TABLES: vbkd. "DEVK942078
*DEVK9A0EB4 - Add define
TYPES:
ty_itcsy TYPE STANDARD TABLE OF itcsy.
start of change for DEVK937590
DATA: BEGIN OF t_deliveryflow OCCURS 0, "VBFA delivery flow
vbeln LIKE vbfa-vbeln, "Subsequent sales and distribu
END OF t_deliveryflow.
DATA: v_lin TYPE i.
CONSTANTS: c_x(1) TYPE c VALUE 'X'.
end of change for DEVK937590
DATA: BEGIN OF xvbplk OCCURS 10.
INCLUDE STRUCTURE vbplk.
DATA: END OF xvbplk.
DATA : BEGIN OF vbdkl OCCURS 10.
INCLUDE STRUCTURE vbdkl.
DATA : END OF vbdkl.
DATA: BEGIN OF tvbdpl OCCURS 0. "Internal table for items
INCLUDE STRUCTURE vbdpl.
DATA: END OF tvbdpl.
DATA: BEGIN OF xvbplp OCCURS 50.
INCLUDE STRUCTURE vbplp.
DATA: END OF xvbplp.
DATA: BEGIN OF xvbpls OCCURS 10.
INCLUDE STRUCTURE vbpls.
DATA: END OF xvbpls.
DATA: retcode LIKE sy-subrc.
DATA: xscreen(1) TYPE c. "Ausgabe auf Drucker oder Bildschirm
DATA: t_vepo LIKE vepo OCCURS 0 WITH HEADER LINE, "VEPO internal table
BEGIN OF t_cartons OCCURS 0, "Internal table for cartons
venum LIKE vepo-venum, "Shipping unit # for carton
END OF t_cartons,
BEGIN OF t_boxes OCCURS 0, "Internal table for BOXES
venum LIKE vepo-venum, "Shipping unit # for BOXES
laeng LIKE vekp-laeng,
breit LIKE vekp-breit,
hoehe LIKE vekp-hoehe,
meabm LIKE vekp-meabm,
END OF t_boxes,
BEGIN OF t_pack_dim OCCURS 0,
laeng LIKE vekp-laeng,
breit LIKE vekp-breit,
hoehe LIKE vekp-hoehe,
meabm LIKE vekp-meabm,
box_qty TYPE i,
END OF t_pack_dim,
v_venum LIKE vepo-venum, "Shipping unit number
i_cartons TYPE i, "# of cartons (Integer type)
i_boxes TYPE i, "# of boxes (Integer type)
i_box_count TYPE i, "# of boxes/carton "DEVK926768
c_cartons(4) TYPE c, "# of cartons (Character type)
c_boxes(4) TYPE c, "# of boxes (Character type)
c_bolnr(35) TYPE c,
v_tel_number LIKE adrc-tel_number,
v_adrnr LIKE adrc-addrnumber,
v_kdmat LIKE lips-kdmat,
v_btgew LIKE likp-btgew,
v_gewei LIKE likp-gewei,
v_arktx LIKE lips-arktx.
******DEVK9A0IK7 Addition by RAMARAJG Starts here
types : BEGIN OF t_item ,
posnr1 type vbplp-posnr,
material1 TYPE mara-matnr,
brgew1 type vbplp-brgew,
vemeh1 type vbplp-vemeh,
item_weight1 TYPE n,
arktx1 type vbplp-arktx,
vboxcnt type n,
end of t_item.
*types : BEGIN OF t_item1 ,
posnr1 type vbplp-posnr,
material1 TYPE mara-matnr,
vemng1 type vbplp-brgew,
vemeh1 type vbplp-vemeh,
item_weight1 TYPE n,
arktx1 type vbplp-arktx,
v_boxcnt type n,
end of t_item1.
DATA: it_item TYPE TABLE OF t_item,
wa_item TYPE t_item.
data: it_item1 type table of t_item,
wa_item1 type t_item.
*data: wa_itab1 like itab1.
data: v_grwt type lips-brgew, "Gross Weight in KG
v_gunit type likp-gewei, "Gross Weight Unit
v_netwt type lips-ntgew, "Net Weight
v_unit type likp-gewei. "Net Weight Unit
v_tboxes type i,
******DEVK9A0IK7 Addition by RAMARAJG ends here
A. Nachricht (allgemein) *
FORM entry USING return_code us_screen.
CLEAR retcode.
xscreen = us_screen.
PERFORM processing USING us_screen.
IF retcode NE 0.
return_code = 1.
ELSE.
return_code = 0.
ENDIF.
ENDFORM. "entry
FORM PROCESSING *
--> PROC_SCREEN *
FORM processing USING proc_screen.
PERFORM get_data. " <-- speziell
PERFORM form_open USING proc_screen vbpla-land1.
CHECK retcode = 0.
PERFORM shipping_point_tel_no.
PERFORM boxes_and_cartons.
PERFORM gross_weight.
***********DEVK9A0IK7 starts here
*******Perform to get the Net weight
*******Perform to get Total weight for each line item
Perform net_weight. "DEVK9A0IK7
Perform Total_weight. "DEVK9A0IK7
***********DEVK9A0IK7 ends here
PERFORM bill_of_lading.
CHECK retcode = 0.
PERFORM check_repeat.
PERFORM text_print. " <-- speziell
begin shb
PERFORM get_end_customer_po.
*end shb
PERFORM packing_dimensions.
PERFORM remarks.
CHECK retcode = 0.
PERFORM form_close.
CHECK retcode = 0.
ENDFORM. "processing
FORM FORM_OPEN *
--> US_SCREEN *
--> US_COUNTRY *
FORM form_open USING us_screen us_country.
INCLUDE rvadopfo.
ENDFORM. "form_open
FORM FORM_CLOSE *
FORM form_close.
CALL FUNCTION 'CLOSE_FORM' "...Ende Formulardruck
EXCEPTIONS OTHERS = 1.
IF sy-subrc NE 0.
retcode = 1.
PERFORM protocol_update.
ENDIF.
SET COUNTRY space.
ENDFORM. "form_close
FORM CHECK_REPEAT *
FORM check_repeat.
SELECT * INTO *nast FROM nast WHERE kappl = nast-kappl
AND objky = nast-objky
AND kschl = nast-kschl
AND spras = nast-spras
AND parnr = nast-parnr
AND parvw = nast-parvw
AND nacha BETWEEN '1' AND '4'.
CHECK *nast-vstat = '1'.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'REPEAT'
window = 'REPEAT'
EXCEPTIONS
element = 1
window = 2.
IF sy-subrc NE 0.
PERFORM protocol_update.
ENDIF.
EXIT.
ENDSELECT.
ENDFORM. "check_repeat
FORM PROTOCOL_UPDATE *
FORM protocol_update.
CHECK xscreen = space.
CALL FUNCTION 'NAST_PROTOCOL_UPDATE'
EXPORTING
msg_arbgb = syst-msgid
msg_nr = syst-msgno
msg_ty = syst-msgty
msg_v1 = syst-msgv1
msg_v2 = syst-msgv2
msg_v3 = syst-msgv3
msg_v4 = syst-msgv4
EXCEPTIONS
OTHERS = 1.
ENDFORM. "protocol_update
B. Packliste (speziell) *
Die Verpackung von Lieferungen wird durch Versandelemente (VSE)
realisiert. Technisch ist ein Versandelement ein Beleg mit Kopf-
und Positionsdaten (Strukturen VBPLK/XVBPLK und VBPLP/XVBPLP).
Eine Position in einem VSE ist entweder wieder ein VSE oder Teil
eine Lieferposition (also mit den zum VSE gehörenden Materialen/
Versandhilftsmitteln verpackt). Der Zusammenhang zur Lieferung
wird durch die beiden Felder VBELN (Lieferung) und POSNR (Position)
in der Struktur VBPLP realisiert. Es ist zu beachten, daß ein VSE
keine Positionsdaten enthalten muß: Die Lieferung wurde dann nicht
vollständig verpackt.
Mathematisch gesehen stellen die VSE einen Wald (aus Bäumen) dar.
An den Knoten können noch Lieferpositionsdaten hängen. Um zu
erkennen ob ein Knoten eine Wurzel oder (und) ein Blatt ist, gibt
es im VSE-Kopf Kennzeichen. Ist KZOBE gesetzt, so ist das VSE ein
oberes Element, also eine Wurzel. Ist KZUNT gesetzt, stellt das VSE
ein unteres Element dar, also ein Blatt. Ist keines der beiden
Kennzeichen gesetzt dann ist das VSE ein innerer Knoten. Es ist
zu beachten, daß beiden Kennzeichen gesetzt sein können: Der Baum
besteht aus einem Knoten. Die Tiefe eines Knotens durch das Feld
TIVEL gegeben.
Weiterhin ist der Baum doppelt verkettet. Es ist also möglich,
nicht nur einen Weg von der Wurzel (eines Teilbaums) zu einem
Blatt zu finden, sondern auch umgekehrt von einem Blatt zur Wurzel
zu gelangen. Dazu existiert (im VSE-Kopf) das Feld UEVEL, also
das übergeordnete VSE.
Um schließlich zu entscheiden, ob ein VSE-Position ein VSE oder
eine Lieferposition ist, wird das Feld POSNR ausgewertet. Ist
das Feld initial, stellt die Position ein VSE dar, im anderen Fall
enthält es die Lieferposition. Ist die Position ein VSE, steht im
Feld UNVEL das zugehörige untergeordnete VSE.
FORM get_data.
vbco3-vbeln = nast-objky.
vbco3-spras = nast-spras.
vbco3-kunde = nast-parnr.
vbco3-parvw = nast-parvw.
*mod+
CALL FUNCTION 'RV_DELIVERY_PRINT_VIEW'
EXPORTING
comwa = vbco3
IMPORTING
kopf = vbdkl
TABLES
pos = tvbdpl.
CALL FUNCTION 'SD_PACKING_PRINT_VIEW'
EXPORTING
comwa = vbco3
IMPORTING
vbpla_wa = vbpla
TABLES
vbplk_tab = xvbplk
vbplp_tab = xvbplp
vbpls_tab = xvbpls
EXCEPTIONS
OTHERS = 01.
LOOP AT xvbplk WHERE kzobe = 'X'.
EXIT.
ENDLOOP.
IF sy-subrc > 0.
syst-msgid = 'VL'.
syst-msgno = '490'.
syst-msgty = 'E'.
PERFORM protocol_update.
retcode = 1.
ENDIF.
ENDFORM. "get_data
FORM TEXT_PRINT *
FORM text_print.
Die Kopfdaten werden implizit ausgegeben, ...
... dann die Überschriften der Positionen ...
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'HEADER'
type = 'TOP'.
... und schließlich die Positionen ausgeben ...
LOOP AT xvbplk WHERE kzobe = 'X'.
PERFORM packing_tree USING xvbplk-venum.
ENDLOOP.
ENDFORM. "text_print
Rekursive Prozedur
FORM packing_tree USING value(shenr).
Daten des Versandelements shenr ausgeben, also Wurzel des Teilbaums
MOVE space TO xvbplk.
xvbplk-venum = shenr.
READ TABLE xvbplk.
vbplk = xvbplk.
READ TABLE t_cartons WITH KEY venum = vbplk-venum.
IF sy-subrc = 0.
IF vbplk-brgew <> 0.
PERFORM set_textsymbol USING '&CARTON_WEIGHT&'
vbplk-brgew.
ELSE.
PERFORM set_textsymbol USING '&CARTON_WEIGHT&'
ENDIF.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'SHELEM'.
ENDIF.
Nun die Positionen abarbeiten (Teilbäume durchlaufen).
Hier wäre eventuell ein Sortierung zwischen Lieferpositionen
und weiteren Versandelementen sinnvoll. Alle nachgeordneten
Positionen liegen eine Stufe tiefer.
LOOP AT xvbplp WHERE venum = shenr.
IF xvbplp-posnr IS INITIAL.
Versandelement
PERFORM packing_tree USING xvbplp-unvel.
ELSE.
Lieferposition (Anteil)
vbplp = xvbplp.
PERFORM customer_material.
***ramarajg starts.
perform item_list.
***ramarajg end.
IF vbplp-brgew <> 0.
PERFORM set_textsymbol USING '&ITEM_WEIGHT&'
vbplp-brgew.
ELSE.
PERFORM set_textsymbol USING '&ITEM_WEIGHT&'
ENDIF.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'DELPOS'.
ENDIF.
ENDLOOP.
***ramarajg starts.
perform TOTAL_WEIGHT.
loop at it_item into wa_item.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'ITEMPOS'.
endloop.
break ramarajg.
***ramarajg end.
ENDFORM. "packing_tree
FORM SET_TEXTSYMBOL *
FORM set_textsymbol USING text_symbol
text_value.
CALL FUNCTION 'TEXT_SYMBOL_SETVALUE'
EXPORTING
name = text_symbol
value = text_value.
ENDFORM. "set_textsymbol
*& Form BOXES_AND_CARTONS
text
--> p1 text
<-- p2 text
FORM boxes_and_cartons.
CLEAR: t_cartons,
t_boxes,
i_cartons,
i_boxes.
REFRESH: t_cartons,
t_boxes.
start of change for DEVK937590
CLEAR t_deliveryflow[].
SELECT vbeln
FROM vbfa
INTO CORRESPONDING FIELDS OF TABLE t_deliveryflow
WHERE vbelv = vbpla-vbeln AND vbtyp_n = c_x.
Select data
DESCRIBE TABLE t_deliveryflow LINES v_lin.
CHECK v_lin GT 0.
SELECT venum vbeln
FROM vepo
INTO CORRESPONDING FIELDS OF TABLE t_vepo
FOR ALL ENTRIES IN t_deliveryflow
WHERE venum = t_deliveryflow-vbeln.
SELECT VENUM
VBELN
FROM VEPO
INTO CORRESPONDING FIELDS OF TABLE T_VEPO
WHERE VBELN = VBPLA-VBELN.
end of change for DEVK937590
SORT t_vepo BY venum.
DELETE ADJACENT DUPLICATES FROM t_vepo COMPARING venum.
Determine the number of cartons and boxes to be shipped.
To determine the number of cartons, shipping unit number (VENUM) is
checked if it a lower-level shipping unit. This is done by reading
table VEPO and checking if VENUM exist in UNVEL (Lower-level shipping
unit). If it does, this means that VENUM is contained within
another container. If it does not exist, it is considered the highest
level of packing for that specific delivery.
LOOP AT t_vepo.
check if VENUM is a lower level shipping unit.
SELECT SINGLE venum INTO v_venum
FROM vepo
WHERE unvel = t_vepo-venum.
If shipping unit number is found, count as carton.
IF sy-subrc = 0.
check if carton already exist for the carton.
READ TABLE t_cartons WITH KEY venum = v_venum.
if carton does not exist, append table
IF sy-subrc <> 0.
t_cartons-venum = v_venum.
APPEND t_cartons.
ENDIF.
ENDIF.
ENDLOOP.
count boxes and cartons
DESCRIBE TABLE t_vepo LINES i_boxes.
DESCRIBE TABLE t_cartons LINES i_cartons.
Convert cartons and boxes field values to CHARACTER type FORMAT.
In order to save the output values to the output fields, the
fields are converted to CHARACTER type formats.
MOVE: i_cartons TO c_cartons,
i_boxes TO c_boxes.
PERFORM set_textsymbol USING '&BOXES&'
c_boxes.
PERFORM set_textsymbol USING '&CARTONS&'
c_cartons.
ENDFORM. " BOXES_AND_CARTONS
*& Form BILL_OF_LADING
text
--> p1 text
<-- p2 text
FORM bill_of_lading.
SELECT SINGLE bolnr
FROM likp
INTO c_bolnr
WHERE vbeln = vbpla-vbeln.
PERFORM set_textsymbol USING '&BILL_OF_LADING&'
c_bolnr.
ENDFORM. " BILL_OF_LADING
*& Form PACKING_DIMENSIONS
text
--> p1 text
<-- p2 text
FORM packing_dimensions.
CLEAR: T_BOXES,
T_PACK_DIM.
REFRESH: T_BOXES,
T_PACK_DIM.
SELECT VENUM
LAENG
BREIT
HOEHE
MEABM
FROM VEKP
INTO CORRESPONDING FIELDS OF TABLE T_BOXES
FOR ALL ENTRIES IN T_VEPO
WHERE VENUM = T_VEPO-VENUM.
LOOP AT T_BOXES.
READ TABLE T_PACK_DIM WITH KEY LAENG = T_BOXES-LAENG
BREIT = T_BOXES-BREIT
HOEHE = T_BOXES-HOEHE
MEABM = T_BOXES-MEABM.
IF SY-SUBRC = 0.
T_PACK_DIM-BOX_QTY = T_PACK_DIM-BOX_QTY + 1.
MODIFY T_PACK_DIM INDEX SY-TABIX.
ELSE.
T_PACK_DIM-LAENG = T_BOXES-LAENG.
T_PACK_DIM-BREIT = T_BOXES-BREIT.
T_PACK_DIM-HOEHE = T_BOXES-HOEHE.
T_PACK_DIM-MEABM = T_BOXES-MEABM.
T_PACK_DIM-BOX_QTY = 1.
APPEND T_PACK_DIM.
ENDIF.
ENDLOOP.
LOOP AT T_PACK_DIM.
AT FIRST.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'PACKING_DIMENSIONS_HEADER'.
ENDAT.
CLEAR: VEKP,
C_BOXES.
VEKP-LAENG = T_PACK_DIM-LAENG.
VEKP-BREIT = T_PACK_DIM-BREIT.
VEKP-HOEHE = T_PACK_DIM-HOEHE.
VEKP-MEABM = T_PACK_DIM-MEABM.
MOVE: T_PACK_DIM-BOX_QTY TO C_BOXES.
PERFORM SET_TEXTSYMBOL USING '&BOX_QTY&'
C_BOXES.
IF VEKP-LAENG <> 0 AND
VEKP-BREIT <> 0 AND
VEKP-HOEHE <> 0.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'PACKING_DIMENSIONS'.
ENDIF.
ENDLOOP.
ENDFORM. " PACKING_DIMENSIONS
*& Form REMARKS
text
--> p1 text
<-- p2 text
FORM remarks.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'REMARKS'.
ENDFORM. " REMARKS
*& Form SHIPPING_POINT_TEL_NO
text
--> p1 text
<-- p2 text
FORM shipping_point_tel_no.
SELECT SINGLE adrnr
FROM tvst
INTO v_adrnr
WHERE vstel = vbpla-vstel.
SELECT SINGLE tel_number
FROM adrc
INTO adrc-tel_number
WHERE addrnumber = v_adrnr.
ENDFORM. " SHIPPING_POINT_TEL_NO
*& Form CUSTOMER_MATERIAL
text
--> p1 text
<-- p2 text
FORM customer_material.
CLEAR: v_kdmat.
begin of mod*
IF vbdkl-lfart = 'LO'.
SELECT SINGLE kdmat postx
INTO (v_kdmat , v_arktx)
FROM knmt
WHERE vkorg = vbdkl-vkorg
AND vtweg = '01'
AND kunnr = vbdkl-kunag
AND matnr = vbplp-matnr.
IF NOT v_kdmat IS INITIAL.
vbplp-matnr = v_kdmat.
vbplp-arktx = v_arktx.
ENDIF.
ELSE.
SELECT SINGLE kdmat
FROM lips
INTO v_kdmat
WHERE vbeln = vbplp-vbeln AND
posnr = vbplp-posnr AND
matnr = vbplp-matnr.
ENDIF.
**ramarajg
IF v_kdmat <> ' '.
PERFORM set_textsymbol USING '&MATERIAL&'
v_kdmat.
ELSE.
PERFORM set_textsymbol USING '&MATERIAL&'
vbplp-matnr.
ENDIF.
ENDFORM. " CUSTOMER_MATERIAL
FORM ITEM_WEIGHTS *
--> IN_TAB4 *
--> OUT_TAB4 *
FORM item_weights TABLES in_tab4 STRUCTURE itcsy
out_tab4 STRUCTURE itcsy.
DATA: n_vbeln(10) TYPE n,
v_btgew LIKE likp-btgew,
v_ntgew1 LIKE vekp-ntgew,
v_btgew1 LIKE likp-btgew,
v_ntgew2 LIKE likp-ntgew,
v_btgew2 LIKE likp-btgew,
BEGIN OF t_venum OCCURS 0,
venum LIKE vepo-venum,
END OF t_venum.
READ TABLE in_tab4 INDEX 1.
CHECK sy-subrc = 0.
MOVE in_tab4-value TO n_vbeln. "convert to numeric type.
start of change for DEVK937590
*break ramarajg.
CLEAR t_deliveryflow[].
SELECT vbeln
FROM vbfa
INTO CORRESPONDING FIELDS OF TABLE t_deliveryflow
WHERE vbelv = n_vbeln AND vbtyp_n = c_x.
Select data
DESCRIBE TABLE t_deliveryflow LINES v_lin.
CHECK v_lin GT 0.
SELECT venum
FROM vepo
INTO CORRESPONDING FIELDS OF TABLE t_venum
FOR ALL ENTRIES IN t_deliveryflow
WHERE venum = t_deliveryflow-vbeln.
SELECT VENUM
FROM VEPO
INTO CORRESPONDING FIELDS OF TABLE T_VENUM
WHERE VBELN = N_VBELN.
end of change for DEVK937590
CLEAR v_btgew.
DESCRIBE TABLE t_venum LINES v_lin. "DEVK937590
CHECK v_lin GT 0. "DEVK937590
SELECT ntgew
FROM vekp
INTO v_btgew
FOR ALL ENTRIES IN t_venum
WHERE venum = t_venum-venum.
v_btgew1 = v_btgew1 + v_btgew.
ENDSELECT.
SELECT SUM( ntgew )
FROM lips
INTO v_ntgew1
WHERE vbeln = n_vbeln.
SELECT SINGLE ntgew
btgew
FROM likp
INTO (v_ntgew2, v_btgew2)
WHERE vbeln = n_vbeln.
IF v_ntgew1 = v_ntgew2 AND
v_btgew1 = v_btgew2.
READ TABLE out_tab4 WITH KEY name = 'PRINT_WEIGHT'.
IF sy-subrc = 0 .
out_tab4-value = 'X'.
ELSE.
out_tab4-value = ' '.
ENDIF.
MODIFY out_tab4 INDEX sy-tabix.
ENDIF.
ENDFORM. "item_weights
*& Form GROSS_WEIGHT
text
--> p1 text
<-- p2 text
FORM gross_weight.
CLEAR: v_btgew.
SELECT SINGLE btgew
gewei
FROM likp
INTO (v_btgew, v_gewei)
WHERE vbeln = vbpla-vbeln.
PERFORM set_textsymbol USING '&GROSS_WEIGHT&'
v_btgew.
PERFORM set_textsymbol USING '&GROSS_WEIGHT_UNIT&'
v_gewei.
changes added by RAMARAJG starts here
clear v_grwt.
clear v_gunit.
v_grwt = v_btgew.
v_gunit = v_gewei.
if v_gunit = 'G'.
v_grwt = v_grwt / 1000.
v_gunit = 'KG'.
endif.
PERFORM set_textsymbol USING '&GROSS_WEIGHT1&'
v_grwt.
PERFORM set_textsymbol USING '&GROSS_WEIGHT_UNIT1&'
v_gunit.
changes added by RAMARAJG ends here
ENDFORM. " GROSS_WEIGHT
*& Form GET_END_CUSTOMER_PO
Retrieve End Customer PO#
--> p1 text
<-- p2 text
FORM get_end_customer_po.
DATA: v_zvgbel LIKE lips-vgbel.
DATA v_bstkd_e TYPE bstkd_e.
CLEAR: v_bstkd_e, v_zvgbel.
SELECT SINGLE vgbel INTO v_zvgbel
FROM lips
WHERE vbeln = vbpla-vbeln.
SELECT SINGLE bstkd_e INTO v_bstkd_e
FROM vbkd
WHERE vbeln = v_zvgbel
AND bstkd_e > ''.
PERFORM set_textsymbol USING '&V_BSTKD_E&'
v_bstkd_e.
ENDFORM. " GET_END_CUSTOMER_PO
*DEVK9A0EB4 - Add a form
*& Form shipper_acct
Get shipper account at customer
FORM shipper_acct TABLES in_tab1 TYPE ty_itcsy
out_tab1 TYPE ty_itcsy.
DATA: v_kunag TYPE likp-kunag, " Sold to party
v_eikto TYPE knvv-eikto. "Shipper account number at customer
DATA v_strlen(10) TYPE c.
DATA wa_tab1 TYPE itcsy.
DATA n_vbeln(10) TYPE n.
Get kunnr from likp
CLEAR wa_tab1.
READ TABLE in_tab1 INTO wa_tab1 WITH KEY name = 'VBPLA-VBELN'.
IF sy-subrc = 0.
n_vbeln = vbpla-vbeln.
ENDIF.
CHECK sy-subrc = 0.
SELECT kunag
FROM likp
INTO v_kunag
WHERE vbeln = n_vbeln.
ENDSELECT.
IF sy-subrc = 0.
Get shipper account
SELECT eikto INTO v_eikto
FROM knvv
WHERE kunnr = v_kunag.
ENDSELECT.
IF sy-subrc = 0.
*append the field to the out_tab1 printing output
wa_tab1-name = 'VKNN-EIKTO'.
wa_tab1-value = v_eikto.
APPEND wa_tab1 TO out_tab1.
ENDIF.
ENDIF.
ENDFORM. "shipper_acct
***********DEVK9A0IK7 starts here
*& Form net_weight
text
--> p1 text
<-- p2 text
form net_weight .
CLEAR: v_btgew.
SELECT SINGLE ntgew
gewei
FROM likp
INTO (v_netwt, v_unit)
WHERE vbeln = vbpla-vbeln.
if v_unit = 'G'.
v_netwt = v_netwt / 1000.
v_unit = 'KG'.
endif.
PERFORM set_textsymbol USING '&NET_WEIGHT&'
v_netwt.
PERFORM set_textsymbol USING '&NET_WEIGHT_UNIT&'
v_unit.
endform. " net_weight
***********DEVK9A0IK7 ends here
*& Form item_list
text
--> p1 text
<-- p2 text
form item_list.
move vbplp-posnr to wa_item-posnr1.
*move material to wa_itab1-material1.
move vbplp-brgew to wa_item-brgew1.
move vbplp-vemeh to wa_item-vemeh1.
*move item_weight to wa_itab1-item_weight1.
*move gross_weight_unit to wa_itab1-gross_weight_unit1.
move v_arktx to wa_item-arktx1.
if v_kdmat <> ' '.
move v_kdmat to wa_item-material1.
else.
move vbplp-matnr to wa_item-material1.
endif.
wa_item-vboxcnt = 1.
append wa_item TO it_item.
CLEAR : wa_item1, wa_item.
it_item1[] = it_item[].
REFRESH it_item[].
break-point.
endform. " item_list
*& Form TOTAL_WEIGHT
text
--> p1 text
<-- p2 text
form TOTAL_WEIGHT .
LOOP AT it_item1 into wa_item1.
READ TABLE it_item INTO wa_item WITH KEY material1 = wa_item1-material1 posnr1 = wa_item1-posnr1.
IF sy-subrc NE 0.
APPEND wa_item1 TO it_item.
ELSE.
wa_item1-brgew1 = wa_item1-brgew1 + wa_item-brgew1.
Wa_item1-vboxcnt = wa_item1-vboxcnt + wa_item-vboxcnt.
MODIFY it_item FROM wa_item1 TRANSPORTING brgew1 vboxcnt
WHERE material1 = wa_item1-material1
AND posnr1 = wa_item1-posnr1.
ENDIF.
ENDLOOP.
endform. " TOTAL_WEIGHTthe Logic to be added is this
b. Remove the carton ID & box ID from the print out, the line item should just print the total delivery quantity, do not split the printing by different box ID or carton ID.
i. Delivery Item= LIPS-POSNR
ii. Delivery Qty for Item = LIPSD-G_LFIMG= LIPSD-PIKMG
c. Add Total Boxes for each item, this should be a calculation field for each material HUMV4-MATNR, count how many handling unit VEKPVB-EXIDV has been used to pack the same material , output the total boxes for each delivery item.
d. Add Gross Weight for each item , retrieve data from LIPS-BRGEW
e. Add Net weight to the print out, below the gross weight retrieve data from LIKP-NTGEW -
Code placement for drop down menu within an animated button
I have a main menu comprised of 7 buttons; 6 of which are all
straight forward with an animation. (The animation is that when the
buttons are rolled over the button extends itself out to the right.
On the rollout the button returns to its original state.) The 6 all
function fine.
The 7th menu button is the same idea but with the edition of
a two button drop down menu that appears when the main button is
rolled over. The roll over part is fine. My problem is moving the
cursor off the main button to get to the sub-menu items without
having them disappear once the cursor if off the main 7th button.
Within the time line of the 7th button (all of the buttons
are movie clip buttons) I put an invisible button, removing the
sections over both the main button and the sub buttons. I have
tried the following:
(I should point out that the labels within the button for the
animation are an _up, _over and _out states...the buttons animate
out in the _over label and animate back to the original position in
the _out label,)
The code and where I have (unsuccessfully) tried placing it
are as follows:
1.) On the invisible button itself (within the main button):
on (rollOver) {
gotoAndPlay("_out");
2.) On the Actions layer (within the main button):
invisible_btn.onRollOver = function () {
gotoAndPlay("_out");
3.) On the Actions layer (on the main timeline...which is
where the code for the other 6 buttons is and running as should):
btnMusic_mc.invisible_btn.onRollOver = function () {
btnMusic_mc.gotoAndPlay("_out");
4.) Just a slight variation of #3 (still on the Actions layer
of the main timeline):
btnMusic_mc.invisible_btn.onRollOver = function () {
brnMusic_mc.invisible_btn.gotoAndPlay("_out");
The result for all four of these options has been the same.
In rolling over the main button (btnMusic_mc) it does animate out
as it should, exposing the two sub buttons. But moving the cursor
off the btnMusic_mc neither allows me to reach the sub buttons nor
does the btnMusic_mc animate back to its first position (as it
should). It just snaps back into that position.
Clearly I am missing something here. Any thoughts would be
appreciated.Here is what it should read, and does on Safari:
Rates and Hours
FAQ - Yoga
FAQ - Reiki
FAQ - Massage
No, it shouldn't and it doesn't. It should look like :
Rates, Hours, Reservations
Rates and Hours
FAQ - Yoga
FAQ - Reiki
FAQ - Massage
FAQ and Reserve - Training
Here's the correct part :
<select>
<option value="">Rates, Hours, Reservations</option>
<option value="http://yogareikimassage.com/MG/Rates.html*_top">Rates and Hours</option>
<option value="http://yogareikimassage.com/MG/FAQ_-_Yoga.html*_top">FAQ and Reserve - Yoga</option>
<option value="http://yogareikimassage.com/MG/FAQ_-_Reiki.html*_top">FAQ and Reserve - Reiki</option>
<option value="http://yogareikimassage.com/MG/FAQ_-_Massage.html*_top">FAQ and Reserve - Massage</option>
<option value="http://yogareikimassage.com/MG/FAQ_-_Personal_Training.html*_top">FAQ and Reserve - Training</option>
</select>
The <select> item was missing. And if you don't want the first line in the menu (Rates, Hours, Reservations) then don't enter it in the first place.
BTW, it's not a dropdown menu. It's a selection list in a form. -
Animated drop down buttons not working in movie clip
Hi,
I am working on this site: (AS2)
http://www.steamandclean.com/Index_w_1.html
I have two types of drop down menu. One under Commercial and one under Technical
The buttons are movie clips. The drop downs are also movie clips that start in frame 2 and are triggered on rollover.
The child buttons are buttons living on the drop down movie clips. They are set to getURL
As you see they are not willing to neither link to any url or will they run their move clip animation. One is a button and one is a movie clip.
The left movie clip has a mask, but it makes no difference if I remove the mask . It also has a emboss filter and no difference is I take that away either.
All of it is in one flash movie right now, but I will be splitting it up in a master navigation movie and individual swf's soon.
Right now I have the main movie, then the button MC then the dropdown MC and in the drop down MC I have placed either a animated (button) MC or a button. So it nested in nested in.......
In both cases I scripting the child buttons like this:
on (rollOver) {
gotoAndPlay(2);
on (rollOut) {
gotoAndPlay(6);
on (release) {
getURL("http://steamandclean.com");
I have also tried to use
_parent.getURL and _root.getURL in stead of just get URL, but it does not work.
The drop down buttons seem to be buried. In the left side the whole drop down panel seems to act like a link?
What am I doing wrong?
Can you help?
ggaardeHi Ned
Thank you for your reply again.
I figured it out.
Your reply prompted me to have my main button on rollover to go to a frame number on the main time line and then move the content of the drop down movie clip to that frame.
The drop down panel now work and the child buttons animation now work as well. I just had to find a way to make the drop down panel disappear on rollout. Since I could not script the actual drop down panel I created three skinny invisible buttons and placed them on the right, left and button of the drop down panel. I scripted them to go back to frame 1 on both rollover and rollout. Done.
See the result there:
http://www.steamandclean.com/Index_w_1.html
(Left side only)
Thank you for your help.
ggaarde
Maybe you are looking for
-
my old system crashed and the disk with my itunes library was lost. I've loaded iTunes on my new computer. How can I recreate my songs? Can they be loaded to the computer disk from my iPod nano?
-
Tax Calulator applet again pls help urgent
why isn't it possible to pass a string and a double into GetResult below, i get a compilation error and right now i dunno how to proceed. GetRelief is supposed to calculate "relief" from textfields i/p and GetResult is suppose to calculate the "resul
-
((FoX Tv)) Bradley vs Pacquiao Live Streaming Video Online HD Fight TV
Bradley vs Pacquiao Live Streaming Fight Online PPV Channel Coverage Bradley vs Pacquiao Live Date: 12th April Bradley's WBO welterweight title Enjoy This Live Game Here Welcome to everyone to watch this exciting Boxing Match between Bradley vs Pacq
-
Hi All, please tell me how to write below statement in using decode statement in a single query. if A1 IS NULL and A2 IS NOT NULL then C := 'NA'; elsifF A1 IS NULL AND A2 IS NULL then C:='Success'; end if; Regards, Subir
-
been a long time since i have posted or even read anything here. sort of fallen off the photography wagon. ran into a problem today that was familiar to me, so thought i would give it a shot here. i have a canon EOS 1D MkII, a venerable body that has