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
I have LiveCycle 8.0 and when I select multiple text field to group them the group menu item in the layout menu is grayed out.  I've selected items by CTRL-click, lasso and no method works.  Please help.  Thanks, Royyou want to email it and I'll look [More]
Habe ein problem mit meinem Pavilion dv5000! Wenn ich über s-video kabel videos und bilder auf dem fernseher sehen will erscheinen sie neuerdings nur in schwarz-weiss??? was muss ich tun um zurück zum farbbild zu kommen?? FriedrichpaulHi friedrichpau [More]
I have just downloaded OS X Maverick and now can't update or access my iphoto or imovie.  why and what can I do about it?Did you either: purchase the Mac used? or wipe your drive and reinstall the OS?Read other 3 answers [More]
Hello, currently we are using two W2K12R2 DHCP server configured in "load balance Mode". On DHCP1 the IP-scope with failover partnership to DHCP2 is deactivated. DHCP2 is working fine. Now we register that 50 percent of our clients (W2K8R2 appli [More]
I came across this paragraph in Inside Microsoft SharePoint 2010; page 126 :- When SharePoint Foundation provisions the Proposals document library,it creates a folder named Proposals at the root of the site and then it creates a child folder named Fo [More]
I have a current table in oracle called motor_assist2 with columns: NAME ADDRESS PHONE CITY STATE ZIP FRIENDLINESS SERVICE WAIT_TIME CONT_SERVICE COMMENTS DATETIME TECHNICIAN1_RADIO TECHNICIAN1_NAME LOCATION COUNTY_NAME COUNTY_ABBR MAV_TROOP TECHNICI [More]
Hi Gurus, I have a requirement to extract the huge volume of data from R/3 SD billing Tables in to BW.We have data from 1999 to Till date.What would be the best approach to get all data in to BI side.I am still little bit in confusion how to fill the [More]
Hello, I'm currently running on a ADSL connected to a Linksys router, and i have my gaming consols + wirless devises connected to it and everything works just fine. Whats the added value to purchase an Airport Extreme? Will i gain more speed or any o [More]
I have a Flash application that receives data from a php application in xml format. Would it be possible for me to call functions in flash that it receives in xml format? Let's say the php application sends this:- <data>     <command>gotoAndSt [More]
I am using a Razer Diamond mouse USB mouse and every time I reboot the sensitivity option is rest to nothing (all the way to the left in the system preferences) and I have to manually go back and crank it up. Anyone know a fix for this? I've tried di [More]