Sitemap

Amicuk Programming Answers

To save it in javascript...

-0001-11-30   Views:0

Advertisement

please give me an idea of how to solve this beginnes's error. i created a .mxml and a class type .as (\ChartTest\src\generated\webservices\MyArray.as) but when i try to debug it i am not able to save it in javascript (AC_OETags.js). thanks for your h

please give me an idea of how to solve this beginnes's error.
i created a .mxml and a class type .as (\ChartTest\src\generated\webservices\MyArray.as)
but when i try to debug it i am not able to save it in javascript (AC_OETags.js).
thanks for your help (soory for my inglés, i am chilean )
[email protected]

The replay answer
Advertisement
las .as estan en C:\inetpub\wwwroot\Grafico_Pr01\src\generated\webservices
este mxml esta en C:\inetpub\wwwroot\Grafico_Pr01\src, descrito a continuación
importe el web services de impotar wsdl.
gracias
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundColor="white" viewSourceURL="srcview/index.html">
<mx:Script>
<![CDATA[  
import mx.rpc.events.ResultEvent;  
import generated.webservices.Accesos;
import generated.webservices.WSUsuarios;  
import mx.collections.ArrayCollection; 
private function Reload():void  
var urlRequest:URLRequest = new URLRequest(Application.application.url);
navigateToURL(urlRequest,"_self"); 
[Bindable]
private var misUsuarios:ArrayCollection;     
private function ResultadosUsuarios(event:ResultEvent):void  
misUsuarios = event.result as ArrayCollection;         
for (var i:int=0; i<misUsuarios.length; i++)         
  var current:WSUsuarios = new WSUsuarios();             
  current = new WSUsuarios(misUsuarios.getItemAt(i));             
  misUsuarios.setItemAt(current, i);         
]]>
</mx:Script> 
<mx:WebService id="miWSUsuario" 
wsdl="http://www.capacitacionlaboral.com/SU2/gerencia/WebServiceEstadistica.asmx?wsdl" 
load="miWSUsuario.ObtenerUsuarios()" showBusyCursor="true" result="ResultadosUsuarios(event)" />
<mx:DataGrid id="dataGridAccesos" dataProvider="{misUsuarios}" width="210" height="92" x="10" y="383"
  visible="false"/> 
</mx:Application>

Go to See the other 9 answers

How to specify the saving path pdf by a "saveas" button in Javascript?

Category:DefaultRelease time:2015-10-11Views:130

Hello, Firstly, I use LiveCycle ES3 designer on PC. I created a form with a button executing a Java script that opens a dialog box "save as ..." like this: \ \ Script save-as \ \ app.execMenuItem ("SaveAs"); I would like to predefine a[More]

While executing onLoad in Date_before Save.htm, a JavaScript error occurred

Category:DefaultRelease time:2015-10-11Views:130

While executing onLoad in Date_before Save.htm, a JavaScript error occurred, I have looked af the Forum and it tells me to delete Program Files\Macromedia\Dreamweaver CS3\Configuration\Commands and I cannot find these files despite searching. I had a[More]

To save it in javascript...

Category:DefaultRelease time:-0001-11-30Views:130

please give me an idea of how to solve this beginnes's error. i created a .mxml and a class type .as (\ChartTest\src\generated\webservices\MyArray.as) but when i try to debug it i am not able to save it in javascript (AC_OETags.js). thanks for your h[More]

Save results of javascript operation to a plain text file

Category:DefaultRelease time:2015-10-11Views:130

Hi, How do you save to a file using Acrobat javascript? Not a PDF file - I know how to do that - but to a plain text file. I have javascript that searches through a PDF document and generates some output. I can send the output to a Report (in PDF for[More]

Save in batch (javascript)

Category:DefaultRelease time:-0001-11-30Views:130

We have a batch sequence that contains an execute javascript. It basically reads a specific file (not the selected pdf) to get a list of values, searches the selected pdf for these values, creates a report of found values and saves the report as a ne[More]

Save As Using JavaScript

Category:DefaultRelease time:-0001-11-30Views:130

Hello everyone, I cant figure out the javascript to have a button do a save as and use content from a field as the new file name. Can anyone help me with this?It worked, thank you! Now, do you know if there is a way to make this work with an ipad? My[More]

Javascript question. Possible to save bookmark with javascript in Safari?

Category:DefaultRelease time:-0001-11-30Views:130

Is it possible to save a bookmark using javascript in Safari? In IE I use: window.external.AddFavorite(url, title); In Firefox I use: window.sidebar.addPanel(title, url,''); In Safari I have no clue. Any thoughts, is it even possible?I'm going to cal[More]

Batch JavaScript Fails to Save PDF from XDP

Category:DefaultRelease time:2015-10-11Views:130

I generated hundreds of XDP files from a database query and need to merge them with a PDF template.  Using Acrobat Pro 8 interactively allows me to do this by opening the file and then saving it, but I need to do this for hundreds of files. So, I cre[More]

Can I create an automatic custom file save name/path once I click digital signature field?

Category:DefaultRelease time:2015-10-11Views:130

Hi, What I'm trying to do is once I click on a digital signature and I add my digital signature it requires me to sign it.  I want to know if there's a workaround to where once I click it it will automatically save to a file name based on a field and[More]

Using "Save As" execCommand in IE8 to save XML file in ANSI format instead of UCS2-Little Endian

Category:DefaultRelease time:2015-10-11Views:130

I am currently trying to save an XML data using "SaveAs" execCommand  from Javascript in Internet Explorer 8 only.I am using document.write(xml) to write the xml content after i open a window.The document object in IE8 uses a saveAs Exec Command[More]

Setting save directory and filename based on fillable form fields.

Category:DefaultRelease time:2015-10-11Views:130

Hello, I'm new to .pdf development in Acrobat. I'm trying to create a form which allows users to fill in data, then save a copy of the form to a directory and file name which will be based upon several of the fields in the document. Is this method of[More]

Hot
Hi, I have an external monitor connected to my iMac. I am currently mirroring my desktop. However, I was wondering if anyone knows of a way to have the iMac use the external lcd monitor as the primary display? Also, is there a way to tell the iMac to [More]
Hi All, We are using weblogic version '10.0.1.0' and have 'reports.jar' file in server for reports. If we change any existing class file under 'reports.jar' then we are using below steps in order to recognize a modified jar by weblogic 1) We need to [More]
Hi guys ! 1. I changed the MRP Type "reorder point" to "no planning" (ND indicator in MRP1 view) for some materials. 2. ¿There is a process to regenerate or delete the planned order created before or have to be a manual process, for ex [More]
Are there any known issues of using bind variables with queries using the Transparent Gateway? I've included two queries that access data from V_PERSON (alias r) which is a SQL Server 2000 table. We're using TG for MSQL 9.0.1 and calling from an Orac [More]
i m using default credential provider, i need to test the working of it could any one plz tell the step by step procedure to assign mapping between WLS user and EIS user and check how it is workingIn sales order,these quantity updating in Tatget quan [More]
hi, I want to calculate response time of any URL. I implemented it with a Socket class and I/O streams opened on it. But the response time value seems to be greater than actually it is. What are the other ways to implement this. Thanksitsraja wrote: [More]
hi, i want to update a db table. and want to see all the latest updates every day in a selection screen(new screen) . can any one send me the detailed code.Append a colum of type date in you db table (i assume its a ztable)  When you update supply th [More]
Hi all, Im having trouble when i try to e-mail muliple people using HTML DB.When i enter one email address in the :P25_OWNER field,the email works fine,but when i enter more than one address,no email is send to either.Currently my code looks like thi [More]
I've got two layers (this happens with only one layer as well). In the first layer I've got an image, some rectangles, and a couple of text boxes. In layer 2 I've only got one image. When I move the image up or down Muse also moves some of the object [More]
Dear All, we customized out portal masthead as well as standard desktop for EP7 patch level 14, it was working fine in production environment and development environment , then we upgraded the development environment to sp21 and we encountered a pop [More]