Add element in array
Hi,
I have one String array.
I need to create another String array with the content of 1st array and additional 1st element in the 2nd array with "Product" text.
2nd array[0] = Product;
How do i do it
Thanks
String[] array1 = {"1", "2", "3"};
String[] array2 = {"4", "5"};
String[] array3 = new String[array1.length+array2.length];
System.arraycopy(array1, 0, array3, 0, array1.length);
System.arraycopy(array2, 0, array3, array1.length, array2.length);
here, the array3 will have all the elements in order ie, 1,2,3,4,5.
In case you need to use array2, assign array3 to array2 ie, array2 = array3
Hope that helps.
Regards,
Sumant
Similar Messages
-
Add element to array of cluster
I have an array of cluster. Cluster contains two elements. How to add an element in cluster at run time on the second position efficiently? In other words dont want another copy of cluster which contains three elements and copy the original two elements plus the new element.
Original array of cluster lets say has two element Temp1 and Pressure 1.
Need to add another element in cluster and now the array of cluster will be Temp1, Volt1 and Pressure 1. So Volt 1 is added to all cluster elements at second order throughout the array of clusters programatically.
CLD,CTD
Attachments:
TestAddElementToCluster.vi 10 KBIt is unclear from your original post what the problem you need to solve actually is. Are you trying to create a user interface? Do you need to dynamically add arbitrary data to a data set, or is it a fixed set of functionality that can be dynamically changed in predetermined ways?
Having done it, I will recommend you not try the scripting and subpanels approach. There are almost always better ways.
Remember that your data structures do not need to mirror your user interface. If you were trying to display the temperature, voltage, and pressure data to the user, a multicolumn listbox may be more appropriate than a raw cluster in an array. Internally, this would allow you to maintain the temperature, voltage, and pressure as separate arrays and only display the ones you want in the listbox.
Please give us a more information on the problem so we can help you with an easier solution.
This account is no longer active. Contact ShadesOfGray for current posts and information. -
Is there a way you can add elements dynamically to an existing array??
hey guys... i need to add elements to an array dynamically... how do i do that?
for example... in one of my functions i do..
for each(var item:Object in fileList){
fileListArr.push(item);
and in a later function i need to add one more element to my fileListArr...
so i tried doing
fileListArr[indexNum].push({
key:videoKey
so i need to have an array which resembles something like this...
Before adding elements...
fileListArr:
[0]: name:test1
Size:12K
caption:testing caption
number:1
[1]: name:test2
Size:12K
caption:testing caption
number:2
after adding key to array
fileListArr:
[0]: name:test1
Size:12K
caption:testing caption
number:1
key:xyxyyy11y1yy1y1y2y2u33n
[1]: name:test2
Size:12K
caption:testing caption
number:2
key:iiduudjmenri112jj2n4n3m2j1j21
any ideas?hmm interesting... so i made the changes... i changed the array to arraylist and the code i have is as follows... but i still get an error... the error says ... "ReferenceError: Error #1056: Cannot create property key on flash.net.FileReference."
public var videoReference:VideoHandler;
public var fileRef:FileReferenceList = new FileReferenceList();
[Bindable] public var fileListArr:ArrayList = new ArrayList();
[Bindable] public var fileNames:ArrayCollection = new ArrayCollection();
public function selectionHandler(event:Event):void{
fileRef.removeEventListener(Event.SELECT, selectionHandler);
var numSelected:int = event.target.fileList.length;
var fileList:Array = event.target.fileList;
for each(var item:Object in fileList){
fileListArr.addItem(item);
fileNames.addItem({
num: fileNames.length + 1,
name: item.name,
size: formatFileSize(item.size),
status: ""
var newListLength:Number = fileListArr.length;
if(fileCounter > 0){
loopList(fileCounter);
else
loopList(0);
public function loopList(value:int):void{
//trace("looplist -->");
if(value < fileListArr.length){
_numCurrentUpload = value;
file = new FileReference();
file = FileReference(fileListArr.getItemAt(value));
file.addEventListener(Event.COMPLETE, loadVideo);
file.addEventListener(ProgressEvent.PROGRESS, fileProgress);
file.load();
public function setUploadKey(event:ResultEvent):void{
if(event.result.ThereWasAnError){
Alert.show(event.result.ErrorMessages[0]);
}else{
videoKey = event.result.UploadKey;
if(fileCounter >= fileListArr.length){
trace("in if");
fileCounter = 0;
uploadLoopList(fileCounter);
}else{
trace("in else");
//fileListArr[fileCounter - 1]['videoKey'] = videoKey;
-----> get an error here --->fileListArr.getItemAt(fileCounter - 1).key = videoKey;
//fileListArr[fileCounter - 1] = [{key: videoKey}];
loopList(fileCounter); -
How to add elements into Object[][] type of list, in runtime?
I have Object list, ie.
final Object[][] data = {
{"January", new Integer(150) },
{"February", new Integer(500) },
{"March", new Integer(54) },
{"April", new Integer(-50) }
};How can I dynamicly add new elements in it, at the runtime?
Thank you in advance!Do I have to remove 'final' for that, and then add
elements?
No. you can't change an array's size.
You can do this
Object[][] arr = new Object[numRows][numCols];But once you've created it, its size can't change.*
I don't know what you're doing, though, and what actual data you're putting in, but Object[][] holding rows of [String, Integer] is almost certainly a poor data structure. Think about creating a class the represents one "row" here and then create a 1D array of that class.
* Okay, you can kinda sorta effectively "change" the size of second and subsequent dimensions, since a multidimensional array is an array of arrays. I wouldn't recommend it though: int[][] arr = new int[3][2]; // a 3 x 2 rectangular array of int--it's an array of array of int, with 3 "rows", each of which is an array of int with 2 elements.
arr[0] = new int[10]; // now it's a jagged array whose first row has 10 elments instead of 2Here we haven't changed an array's size, just replaced one of its elements, which is also an array, with a new, larger array. -
Hi,
I am new to programming.
I have a sensor that sends a data stream through a serial port. I have collect all that data in a 1D unsigned byte array. Now, lets say my 1-D array is [12][45][65][12]...... where each "[ ]" is a element of the array. Now to make sense of this data what i need to do is merge two elements the array and multipy it by 2/(2^15). i.e. My converted data should by [1245]*2/(2^15). Basically 2 bytes together makes sense. I can do a simple add of each element. Also the other problem is,data from the sensor is a stored as the 1-D array of unsigned byte. However, the converted data is supposed to be signed 16-bit integer.
Please give any suggestions on how to go about doing this.
Siddhant ShahAnother option is "decimate&Join". (Here it is easy to change the byte order if needed).
Message Edited by altenbach on 12-15-2008 06:28 PM
LabVIEW Champion . Do more with less code and in less time .
Attachments:
8bitTo16BitByteOrder.png 5 KB -
Add element in dropdown list dynamically
Hi All,
I am facing a problem in adding item in a dropdown list dynamically.
When i get dropdown list through IgetElementById get null.
var list = document.getElementById("targetgroupname");
here list comes as null. Now I've to fill this list. I am using below code -
for(var j=0;j< com.length;j++){
iist.options[j]= new Option(com[j],com[j]);
But it is not working. My list is not getting filled with these values.
I doubt due to var list -> null it does not allow to add element.
But I am not getting any clue, how to initialize it.
Please suggest, I am new to javascript.
Thanks & Regards,
Sneha.Hi,
Thanks for the reply, yes the select box has that id - targetgroupname.
actually there are 2 dropdown lists, Based on the selection of first dropdown list another list shd be filled.
So I've written a script at "onchange" of first dropdown list. It works fine when a value gets changed at first dropdown list.
In some cases I've to display a preselected value at first list ( which comes from previous page as parameter), in that cases there will be no onchange on first list, so I've called the script function manually after creating the first list,like below :
<SCRIPT> checkSource();</SCRIPT>
and in this case it does not work & I get a null when i try to read the 2nd list.
But I am not sure why it is happening.. may be it is not loaded /created on page when i am calling it.
If yes, what shd I do ?
Thanks for your time.
Regards,
Sneha -
Records Management - automaticaly add element to record
Hello,
I try to add an element to a record using the bapi "bapi_record_addelement", but I get an error-message that the number of poid-parameters is not equal to those in the registry information.
My ABAP-Code is the following:
*& Report Z_RECORD_ADDELEMENT
REPORT Z_RECORD_ADDELEMENT.
*{ INSERT I50K900139 1
data:
wa_ELEMENT_SP_POID type BAPIPROPTB,
wa_ELEMENT_PROPERTIES type BAPIPROPTB,
wa_ELEMENT_VISIBILITY type BAPIPROPTB,
element_sp_poid type standard table of BAPIPROPTB,
element_properties type standard table of BAPIPROPTB,
wa_insertion_by_modelid type BAPISRMREC_MODELIDINS,
return like BAPIRET2.
* Fill SP POID table
start-of-selection.
CLEAR element_sp_poid.
wa_element_sp_poid-NAME = 'DOC_ID'.
wa_element_sp_poid-VALUE = '03F65C4630552864E1000000AC15C293'.
APPEND wa_element_sp_poid TO element_sp_poid.
wa_element_sp_poid-NAME = 'VARIANT'.
wa_element_sp_poid-VALUE = '0'.
APPEND wa_element_sp_poid TO element_sp_poid.
wa_element_sp_poid-NAME = 'VERSION'.
wa_element_sp_poid-VALUE = '2'.
APPEND wa_element_sp_poid TO element_sp_poid.
wa_insertion_by_modelid-MODEL_ID = 'D7F85C462E55770CE1000000AC15C293'.
wa_insertion_by_modelid-PARENT_NODE_ID = '3'.
** add element
CALL FUNCTION 'BAPI_RECORD_ADDELEMENT'
EXPORTING
objectid = 'E1A55C462F0C790CE1000000AC15C293'
DocumentClass = 'ZRMSR04'
sps_id = 'Z_RM_MIETAKT'
anchor = 'Schriftverkehr'
description = 'Testdokument eingefügt mit ABAP'
IMPORTING
return = return.
write: return-message,
return-type.
*} INSERT
I hope someone can help me because I am trying for one week.
hootzterHey...
Good information.
I get an error in trying to add element to record, van you help me out.
The error reads the following:
Source: CL_SRM_GENERIC_SP0============CP , CL_SRM_GENERIC_SP0============CM002 , 102
General error: Could not connect to repository.
This is the code Iam using
*& Report ZTESTPRG
REPORT ZTESTPRG.
Definition of local data types for DOC_ID
types: begin of ty_doc_id,
docclass type bapisrmdoc-docclass,
objectid type bapisrmdoc-guid,
end of ty_doc_id.
Structure of the correct Document-ID
data: ls_doc_id type ty_doc_id,
lt_sp_poid type standard table of bapiproptb,
ls_sp_poid type bapiproptb,
ls_return like bapiret2,
ls_insertion_by_anchor type bapisrmrec_anchorins.
clear: lt_sp_poid, ls_doc_id, ls_doc_id.
ls_doc_id-docclass = 'ZSNG09'.
Document Class des einzufügenden Dokumentes
ls_doc_id-objectid = '466E6A24DED600A100000000AC10A015'.
Objektid des einzufügenden Dokumentes
clear: ls_sp_poid. " clear weg und ls_sp_poid clearen
ls_sp_poid-name = 'DOC_ID'.
ls_sp_poid-value = ls_doc_id.
Document Class und Objektid als Struktur des Dokumentes
append ls_sp_poid to lt_sp_poid.
clear: ls_doc_id.
ls_sp_poid-name = 'VARIANT'.
ls_sp_poid-value = '0'.
append ls_sp_poid to lt_sp_poid.
clear: ls_doc_id.
ls_sp_poid-name = 'VERSION'.
ls_sp_poid-value = '0'.
append ls_sp_poid to lt_sp_poid.
clear: ls_insertion_by_anchor.
ls_insertion_by_anchor-parent_node_id = '5'.
call function 'BAPI_RECORD_ADDELEMENT'
exporting
objectid = '466E9223F887013A00000000AC10A015'
Objectid der Akte
documentclass = 'ZSNG08'
Document Class der Akte
sps_id = 'ZSCMG_SPS_NUCLEAR_PROCEDURE'
Einzufügende Elementart
anchor = 'NP02'
Im Aktenmodell hinterlegt beim Modellknoten
description = 'Test Document'
Beschreibung des Dokumentes in der Akte
element_type = 'I'
Instanz
importing
return = ls_return
tables
element_sp_poid = lt_sp_poid.
write: ls_return-message,
ls_return-type. -
In .java add elements to .jsp
Hello!
I'm just beginning and can't understand one thing:
When I create JSPDynPage, system create JSP and JAVA file - it's clear. Then I add elements to form in JSP, for example, Layout.
Can I add, for example, row into that Layout in .java file?
.JSP:
<hbj:form>
<hbj:formLayout
id="myLayout"
width="100%">
<hbj:formLayoutRow
id="Row1">
<hbj:formLayoutCell
id="Cell11"
align="LEFT"
width="100%">
<hbj:textView
id="welcome_message"
text="May the force be with you unknown user"
design="HEADER1" />
</hbj:formLayoutCell>
</hbj:formLayoutRow>
</hbj:formLayout>
</hbj:form>
.JAVA:
public void doProcessBeforeOutput() throws PageException {
this.setJspName("myjsp.jsp");
Form Reg_Form = null;
FormLayout RF_All = new FormLayout();
Tray Left_Tray1 = new Tray("TrayRules1");
Reg_Form = (Form)this.getForm();
RF_All = (FormLayout) this.getComponentByName("myLayout");
for (int i = 1; i <= 3; i++ ) { RF_All.addRow(); }
Left_Tray1.setTitle("Sample Title");
Left_Tray1.setWidth("100%");
TextView Left_Tray1_text = new TextView("Left_Tray1_text");
Left_Tray1_text.setText("Sample Text");
Left_Tray1_text.setEncode(false);
Left_Tray1_text.setWrapping(true);
Left_Tray1.addComponent(Left_Tray1_text);
RF_All.addComponent(2,1, Left_Tray1);
Reg_Form.addComponent(RF_All);
That code don't display Tray in page...Paul,
I suggest you not to add the your business logic in that auto generated file.
Instead you can have seperate java file or any Bean.
Since you are writing the logic for layout you can add the code in the jsp file
itself.
If you are using HTMLB Then keep the auto generated code in the jsp otherwise remove the code and keep the file as jsp meaning you use the html, javascript,
jsp code in the .jsp file itself.
you can add the java code in the jsp
<% String strName = "SAP"; %>
<sc ript>
al ert("<%=strName%>");
</sc ript>
Ram -
Dynamicall add element in Drop Down
There is one for in which drop down list is present. I want to add element dynamicall into drop down list when certain event is occur
trigger a Java script function at the end of the event which will
add date into the combobox. -
Adding elements to a node: cannot bind or add element
Hallo,
I want add emenents of my phases and subphases to a table, but I get this exception:
ContextException: Node(RoadMapVIew.phase_subphase_table): cannot bind or add element, because it is already bound to a node
The code is the following:
int phaseSize = processT.getSequenceGroup1().getPhaseList().getSequenceGroup1().getPhase().length;
String currentStatus = "";
String currentPhaseId = "";
String currentSubphaseId = "";
String currentNotifyId = "";
String lastStatus = "";
for (int i = 0; i < phaseSize; i++)
PhaseT phaseT = processT.getSequenceGroup1().getPhaseList().getSequenceGroup1().getPhase();
IPrivateRoadMapVIew.IPhase_subphase_tableElement tableElement = wdContext.nodePhase_subphase_table().createPhase_subphase_tableElement();
tableElement.setPhase_desc(phaseT.getSequenceGroup1().getPhaseDesc());
tableElement.setPhase_id(phaseT.getSequenceGroup1().getPhaseId());
int subPhaseSize = phaseT.getSequenceGroup1().getSubPhaseList().getSequenceGroup1().getSubPhase().length;
for(int j = 0; j< subPhaseSize; j++)
SubPhaseT subPhaseT = phaseT.getSequenceGroup1().getSubPhaseList().getSequenceGroup1().getSubPhase()[j];
tableElement.setSubphase_desc(subPhaseT.getSequenceGroup1().getSubPhaseDesc());
tableElement.setSubphase_id(subPhaseT.getSequenceGroup1().getSubPhaseId());
String status = subPhaseT.getSequenceGroup1().getStatus();
wdContext.nodePhase_subphase_table().addElement(tableElement);
lastStatus = status;
//le fasi/sotofasi sono ordinate perciò la corrente è l'ultima con uno status valido
if (status != null && !status.equals(""))
currentStatus = status;
currentPhaseId = phaseT.getSequenceGroup1().getPhaseId();
currentSubphaseId = subPhaseT.getSequenceGroup1().getSubPhaseId();
if (status.equals(DAConst.STATUS_NOTIFY))
//currentNotifyId = "notifyId"; //subPhaseT.getSequenceGroup1().getNotifyId();
currentNotifyId = subPhaseT.getSequenceGroup1().getNotifyId();
Can anybody help me please?
Thanks,
regards,
AndreaI have solved moving the creation of the reference of the node element and the setting of elements inside the second for loop:
for (int i = 0; i < phaseSize; i++)
PhaseT phaseT = processT.getSequenceGroup1().getPhaseList().getSequenceGroup1().getPhase()<i>;
String phaseDesc=phaseT.getSequenceGroup1().getPhaseDesc();
String phaseId=phaseT.getSequenceGroup1().getPhaseId();
int subPhaseSize = phaseT.getSequenceGroup1().getSubPhaseList().getSequenceGroup1().getSubPhase().length;
for(int j = 0; j< subPhaseSize; j++)
SubPhaseT subPhaseT = phaseT.getSequenceGroup1().getSubPhaseList().getSequenceGroup1().getSubPhase()[j];
IPrivateRoadMapVIew.IPhase_subphase_tableElement tableElement = wdContext.nodePhase_subphase_table().createPhase_subphase_tableElement();
tableElement.setSubphase_desc(subPhaseT.getSequenceGroup1().getSubPhaseDesc());
tableElement.setSubphase_id(subPhaseT.getSequenceGroup1().getSubPhaseId());
tableElement.setPhase_desc(phaseDesc);
tableElement.setPhase_id(phaseId);
String status = subPhaseT.getSequenceGroup1().getStatus();
wdContext.nodePhase_subphase_table().addElement(tableElement);
lastStatus = status;
Thanks everybody for helps,
Andrea -
The prefix mx for element mx:Array is not bound
Hi All
I have a component:
<?xml version="1.0" encoding="utf-8"?>
<mx:Array id="arr">
<mx:Object label="Flex"
thumbnailImage="http:/someURL"
fullImage="http://someURL" />
</mx:Array>
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml">
</mx:Canvas>
This gives me an error
The prefix "mx" for element "mx:Array" is not bound
I need a root element here, but I cannot use mx:Canvas, what would be the best choice?
cheers
LucaHi Luca,
Try to put the Array inside your canvas rather than outside ...
<?xml version="1.0" encoding="utf-8"?
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Array id="arr">
<mx:Object label="Flex"
thumbnailImage="http:/someURL"
fullImage="http://someURL" />
</mx:Array>
</mx:Canvas>
Why you dont want to use mx:Canvas as root tag of your component.. ?? However which ever component you use try to put the <mx:Array/> inside your root tag of your component, otherwise you will be thrown the same error as mentioned. The error occurs as the the compiler doesn't recognize the namespace mx for the array since you declared it outside the root tag of your component.
Thanks,
Bhasker -
hi
if i have an array
eg
int[] array = {4,2,1,2,1};
how to i remove the index 2 from it and create a new array?
thanksYou can't remove the element--an array's size is fixed at creation.
If you want a new array, create a new one that's one element smaller, then use System.arrayCopy to copy the elements you want to keep. -
Hello all,
Stack trace :
GeneralException Node((<Context path of node>): cannot bind or add element, because it is already bound to a node
I am trying to upload data from excel file in web dynpro context.In the process, when I create and add an element to the node which I want to populate with excel data, it throws the above mentioned exception.
Any idea as to wht is causing the problem ?Hi,
GeneralException Node((<Context path of node>): cannot bind or add element, because it is already bound to a node
It seems that its a mapped node, try to bind or addelements at the source.
Ex: If this node is mapped from controller to view try to add elements in contoller instead of doing in view.
Regards
Ayyapparaj -
How can i retrieve missing element in array
how can i retrieve missing element in arrays if array length is exceeded
Not sure about what the question means, but could it be that OP is not aware that the first element in an array is at index 0 (not 1) ?
<a href="http://java.sun.com/docs/books/tutorial/java/nutsandbolts/arrays.html" style="background:url(http://java.sun.com/docs/books/tutorial/figures/java/objects-tenElementArray.gif) no-repeat; width:400; height:145;"></a> -
ContextException : cannot bind or add element
Hi all,
I can't find an answer to my problem.
Hope you'll be able to
Here are the facts :
Context :
I'm currently creating a TeamViewer for Managers to be able to select the employees they manage.
For that, I have a table which lists them all, displaying their infos in specific columns.
Both columns and data are dynamic and are specified in the SAP back end.
I use the following bapis to get these informations :
- HRWPC_RFC_GET_COL_INFO (returns columns informations)
- HRWPC_RFC_GET_OBJECTS (returns employees personal numbers -> pernr)
Fact is the second one doesn't return as much informations as needed.
So I have then to call a third bapi :
- MYBAPI_USER_INFOS (return informations about an employee)
which, from an employee pernr, returns a lot more informations about him.
Fact is I manage to use efficiently both first bapis, so I get columns and pernr data.
Then I would like to get in a context node the list of enhanced informations of the employees, which is mapped to my view context and applied to a dynamic table.
My problem :
While adding programmaticaly the columns to my context node, I get the following exception : "com.sap.tc.webdynpro.progmodel.context.ContextException: Node(TeamViewerApp.MainViewColumns): cannot bind or add element, because it is already bound to a node" error.
Error summary :
- com.sap.tc.webdynpro.progmodel.context.ContextException: Node(TeamViewerApp.MainViewColumns): cannot bind or add element, because it is already bound to a node
-- at com.sap.tc.webdynpro.progmodel.context.Node.prepareAddElement(Node.java:649)
-- at com.sap.tc.webdynpro.progmodel.context.Node.addElement(Node.java:635)
-- at com.airfrance.tv1.teamviewer.components.TeamViewerApp.updateMainView(*TeamViewerApp.java:560*)
-- at com.airfrance.tv1.teamviewer.components.wdp.InternalTeamViewerApp.updateMainView(InternalTeamViewerApp.java:534)
-- at com.airfrance.tv1.teamviewer.components.views.TeamViewerView.onActionChangeView(TeamViewerView.java:197)
TeamViewerComp code :
wdThis.getColumnsMainView(viewId, userLanguage, userId); // get the columns infos
IGetColumns_ResultNode columns = wdContext.nodeGetColumns_Result();
for(int i=0; i<columns.size(); i++) {
IWDNodeElement column = columns.getElementAt(i); // get the #i column
wdContext.nodeMainViewColumns().addElement(column); +//add this column to my other context +
My context :
Component
- GetColumns (Model)
-- GetColumns_Output
--- GetColumns_Result
Colname
Heading
-- Langu
-- Uname
-- Viewid
- MainViewColumns (Value)
-- lot of infos
- SubViewColumns (Value)
-- lot of infos
My environment :
- os : Windows XP SP2
- procesor : 3GHz
- memory : 3Gb
- ide : SAP NWDS 7.0.12
- server JEE : 7.00 SP12
- server VM : Java Sun 1.4.2_12
Any help will be really appreciated
Thank you for your time!
AlphonseHI,
com.sap.tc.webdynpro.progmodel.context.ContextException: Node(HrChiefRedressalView.Ctx_FilteredOutput): cannot bind or add element, because it is already bound to a node
Try to bind or add element from the source of the node instead of mapped one.
Ex:
Controller->View
If your node is mapped from controller to view. bind/add element should be done at controller level not at view level.
Regards
Ayyapparaj
Maybe you are looking for
-
Running different SPs in ABAP and Java Stack?
Hi, we do have a dual stack installation of the Web Application server. We wanted to update from SP9 to SP12. Unfortunately we had problems with updating the ABAP Stack. The problems are not solved yet. At the Java side we would like to user some new
-
No sound from any email i open
Since upgrading to ML i am not able to hear any sound when opening email attatchments IE WMV files or anything
-
I have a black berry, and it has a usb charge and an option wall charger, I was wondering if the wall adapter would work with my video ipod?
-
How do I stop word trying to open pdf docs?
Word keeps trying top open PDFs. How do I stop it?
-
Captivate 6 randomly dropping imported audio from slides during publish.
I think I remember this occurring in 5.5 as well, but only very occasionally. In this (my first) cp6 project, it's occurred 3 times already. What occurs is that upon viewing the output (.exe), one slide will just not play the audio imported to it, al