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
create or replace PROCEDURE newprocedur(outname OUT VARCHAR2,outroll OUT NUMBER) AS CURSOR c1 IS select Name,Rollno,Section from emp; BEGIN Open c1; fetch c1 into outname,outroll; Here out of 3 columns in cursor is it possible to fetch only two colum [More]
Hi Gurus, I have a doubt on Grouping can anyone please help me regarding this. The issue is i displayed the vendors and many materials they are supplying like Vendor, No.of Material 100, 5 200, 11 1000, 25 and so on.................... Now i want to [More]
As you know, Microsoft Word allows you to convert their files into PDF. However, there is no security. Therefore one can highlight a signature for example and copy it as a way to lift someone's signature off the document and create an image of the si [More]
I am trying a query to update name to "WALK & TALK"..It gives me error as it considers Talk as input parameter..and expects its value ..when try to executeHi Before inserting SET DEFINE OFF. rajaRead other 2 answers [More]
Hi, I have a class Manager and a class ManagerGUI. I have formatted the code so that it is more readable. My ManagerGUI class looks somehting like this- public class ManagerGUI extends JFrame String name; JPanel namePanel; JTextField nameInput; JLabe [More]
I use VLC Player and Quicktime Pro. Recently, however, I've needed to use Quicktime for streaming purposes - but VLC comes on almost immediately. How can I make Quicktime my default or preferred player?[Mac OS X: Double-Clicking a File Opens the Wron [More]
why does my HP G62-A25EO lags on starcraft 2 its really annoying?Monkemackan, welcome to the forum. The normal reason for games lagging is one of three components: 1) CPU 2) Memory 3) Video device In your case, the memory should be fine.  It is no d [More]
Hi Experts, I need to design screen. when i use Layout in Se51 tcode system gives "Graphical Screen Painter is not avaliable. Continue with Alphanumeric Editor?" What is the problem? How to resolve it? I already check the Graphical Screen Editor [More]
I've finished my first project in imovie 11. It' 8 minutes long. I've exported using quicktime, couple different settings. The files I'm getting are 80mb. I'm guessing this isn't right for uploading to website. I made a similar video couple years ago [More]
The Help menu says- Preferences (Mac OS), and click Advanced. Select Enable Color Management In Bridge. HOWEVER, the options I get when I go to Preferences and Click advanced DO NOT have Select Enable Color Management in Bridge as an option, see encl [More]