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
Hello,           I'd like to know if Weblogic 5.1 (service pack 10) supports           clusterable remote objects.           What I am trying to do is to implement a remote object that extends           UnicastRemoteObject interface and bind it to JN [More]
Hi everone just wanted to let you know my expierence with ordering the 3GS. So like most of you I was excited to hear about the new iPhone and jumped at the opportunity to have one in my hands come 6/19. My husband and I were upgrading from the origi [More]
I'm having a whole series of issues playing wav's. I've tried 3 methods. The Applet.newAudioClip() method, the javax.sound.sampled.Clip method (Using AudioInputStream and AudioSystem,), and JMF Player. I've attempted to "cache" the objects by ei [More]
Hi I'm using Crystal Reports 2008 since 01.01.2008 - we bought it when it was Crystal Decisions Crystal Reports - not SAP Crystal Reports. Now I want to obtain new installation with all SP included (system reinstallation) but it's impossible - all do [More]
hi, can any body tell me the scope of variable which are declared in following way. <%! int i=0;> <% int i=0; %> will both variables have the scope untill the service method completed.. regards, samhi, can any body tell me the scope of variabl [More]
Hi, Got a mate who has just bought a shuffle, and downloaded Itunes. Problem is due to problem he has with his sight, he can only see text on the PC when the background is black, and text is black, hence the reason for getting a shuffle (no screen) . [More]
Basic question, I'm sure I'm missing something simple: I have had to do backup/restore of my machine a few times recently (long story) but each time i restore my safari preferences my RSS feeds don't seem to update - eventually I go clicking thru pre [More]
I accidentally spilled some coffee on my macbook pro.  Now, the top right keys are a little bit sticky and the lights for those keys do not work?  Can this be fixed? Will it be expensive?Yes it can be fixed and yes it might be expensive, after Apple [More]
I am a little bit confused when we talked about inter-area TE and L1/L2 ISIS routers. I have 8 L1/L2 routers in a partial mesh, these routers belong to different ISIS areas. As I understand ISIS implements a topology table for the L2 routes and thus [More]
软件环境:CR 2008,BusinessObjects_SAP_Integration_Kit_XI3_win32_x86,sapecc6.0 BW7.0 客户端 当我打开CR后进入data expert,数据源选择sap table,cluster,functions后,登陆进入sap系统,当我点击其中任意一个u2018+u2019时,报错 u2018database connector error:'function module''/CRYSTAL/GET_FUNCAREA_CATALO [More]