ActionScript 3.0 :: What Capabilities AIR Has To Write To Excel?
May 9, 2009
The problems im encountering seem like they have a simple answer, but i cant find it. The program has people generate 6 numbers that i need to record in a file so i can analyze them later in a stats program. Here is the code for the write to file portion. Some of the code may be redundant, not needed, or just plain wrong, as I kept changing things based on the error messages i got.
String(ce_0);
String(ce_1);
String(ce_2);[code]......
problem 1 is that when i click the check syntax button it says no errors, but 2 pop up in the compiler error box. The first is a 1084 saying it is expecting a right parenthese before the colon,the second is a 1078 (label must be a simple identifier).To see if it would work I removed the identifiers and the colons, and I get problem number 2. 3 errors pop up now. First,it says the resolve is a call to a possibly undefined method through static type. Second, it says iso is undefined (im assuming this is becuase it doesnt have the String identifier).Third, it says in the writeMultiByte method there is a coersion of Number types with String types(im assuming this is also becuase it is missing the identifier)i was also wondering what capabilities AIR has to write to Excel.I can go all the stats on the numbers in Excel,and if i can put the data directly in it would cut out a step,I just havent been able to find anything saying what AIR can and cant do regarding excel.
View 3 Replies
Similar Posts:
Oct 14, 2010
I have a Flex application with a couple of DataGrids with data. I'd like to save the data to a file so that the user can keep working with them in Excel, OpenOffice or Numbers.
I'm currently writing a csv file straight off, which opens well in OpenOffice or Numbers, but not in Excel. The problem is with the Swedish characters, which turn up as other characters when opening in Excel. Converting (in Notepad++) the csv-file to ANSI encoding makes the show up correctly in Excel.
Is there any way to write ANSI-encoded files straight from Flex?
Any other options for writing a file that can be opened in Excel and OpenOffice?
View 1 Replies
Feb 6, 2004
I want to write datas to a database (txt or MS Excel) from a flash file that can be stored in my hard disk.
View 14 Replies
Dec 30, 2010
Is it possible to use flash to read and write data on an excel/google documents file?
View 1 Replies
Dec 13, 2011
I want a user to press an excel button and get prompted to download an excel file. I normally do it like this:
var dest:String = excelEndpoint;
var request:URLRequest = new URLRequest();
request.url = dest;
fr.download( request,'Locates.xls' );
fr.addEventListener(HTTPStatusEvent.HTTP_STATUS, handleStatus);
fr.addEventListener(IOErrorEvent.IO_ERROR, handleErr);
[Code]...
View 2 Replies
May 25, 2011
I'm trying to allow users to take pictures with their webcams and save it. How can this be done? I am looking for something similar to Facebook or dailybooth in terms of their UI. I know smoe PHP/jQuery but I'm also wondering how I could save the pictures once "taken"?
View 1 Replies
Sep 21, 2010
I have a question regarding the capabilities of the EventDispatcher. Is it possible for flash to dispatch an even and be able to push out information like an int or string?
View 2 Replies
Oct 25, 2011
I'm trying to read a XML file and output the values, but i'm getting a 1120: Access of undefined property URLRequest. error.
[Code]...
View 2 Replies
Sep 1, 2008
As a web developer we are always concerned with SEO. I understand that Flash now supports SEO to a certain extent. What can we can do to maximize the SEO capabilities of Flash?
View 6 Replies
Aug 25, 2009
I made a swf that is heavy on graphics, it works great if the computer is good. But for the older, slower computers I'm hoping there is as3 code that can detect if the playback rate or quality is being compromsed due to processor overload? I'd like to use it in an "if" function that removes some of the uneccessary graphics when it finds the computer can't handle them all.
View 1 Replies
Feb 13, 2012
I have created a actionscript with Capabilities function It works good, but I want to ad a If else statement on the capabilities for language.I'm running in English so the capabilities shows " EN ", but I want the if else statement to change " EN " to = English, and if we are running in different language it would say " Other language"
This is what i have at the moment.
var versionString = Capabilities.language;
var label2:TextField = createCustomTextField(0, 60, 200, 20);
label2.text = "language: " + Capabilities.language;
how to use the if and else statement ?
View 1 Replies
Mar 1, 2007
Scenario: I have a MC (KidsPort).Within this I have several MC's acting as buttons labeled KidsCirc1, KidsCirc2, etc. on (press) each button moves the _parent MC (KidsPort) to another _x location on the main timeline. Ex. When you press button KidsCirc1 it moves MC (KidsPort) to an x location of 290. At this point I want to remove the capabilities to press. With the capability intact it simply repeats over and over the transition from it's previous x location to the x location of 290.
View 4 Replies
Oct 23, 2010
I recently purchased the CS5 Master Collection and am struggling to understand the uses for Flash Professional and Flash Builder 4. I was inspired by Jay Pavlina's Super Mario Crossover game and wish to make similar applications.
However, I am confused about whether I should be using Flash Professional or Flash Builder 4 or both? I purchased the two books that Jay Pavlina recommended "ActionScript 3.0 Animation Making Things Move!" and "Essential ActionScript 3.0". I've been trying to find resources that will help me understand exactly the purpose of each of these applications. It appears to me that ActionScript 3.0 is used in both? So which one should I be using? Or both? Or is one more design oriented and the other more development oriented? Can one make flash game like Jay's using just one or the other?
View 9 Replies
Jan 15, 2009
the script needed to accept an incoming rss video feed for a custom player?
View 0 Replies
Aug 13, 2009
I want to run a switch to detect if Im using my application insode a browser or just run in a player during testing. I'm wondering why I cannot findwhat Capabilities._internal gives me yet....
View 1 Replies
Jan 30, 2012
I'm wondering if anyone might be able to give me a general overview on the state of implementing 3d in flash. More specifically, realtime 3D rendering on the fly, for something like making a game engine.not that i'm planning to start work on any projects on the subject just now, but i'd like to know if it's worth considering some 3D work in futurethus far i've only seen two games which use 3D in flash:This one is a strange car driving game. Three things strike me right away:1. The player's car is just a wireframe, and has a very simple mesh2. All the level components are just planed, with a few exceptions3. Most of the ground parts share the same texture.
Maybe i'm reading too much into it, but to me these things suggest some pretty heavy resource limitations.The other one is: htthis is an fps, of sorts. Again some things stick out glaringly, and i'm not certain whether they're design choices or working around limitations:1. Generally low poly models, things look blocky2. low res textures too3.Fixed camera angle.it reminds me of the sort of graphical quality we had when 3D was first being introduced to mainstream PC gaming. Are these games a good representation of the kind of 3D rendering flash can currently handle? Is it possible to make things much more detailed, that can run smoothly on average hardware?
View 5 Replies
Dec 14, 2011
Is there an open source Ruby framework that allows working with multimedia (video, sound, etc) similar to Flash, including Display Object hierarchy, that is not targeted for video games?
I'm looking for something between Ruby/Processing with a more object oriented API.
View 1 Replies
Feb 25, 2011
Every Time I am getting Pixel Aspect Ratio as 1:1 when i use Capabilities class. How can I get the actual ratio when it is Non-square pixel?
View 1 Replies
Feb 25, 2011
I am trying to use the StageVideo object for hardware acceleration capabilities. I am compiling code in FlashBuilder4 and am using sdk Flex Hero (4.5.18623), and Flash 10.2 I think given these settings I should be able to use StageVideo. However when I import flash.media.StageVideo, I just get an error message, telling me that flash.media.StageVideo cannot be found. How can I get StageVideo to work, are there some settings that I should be changing.
View 4 Replies
Nov 23, 2003
I really need to make a transparent button, so it needs to just look like floating text but with button capabilities. But I was confused about a couple things: Initially I was using the "FPushButtonSymbol" but was unable to make it transparent, although I tried like this:
[Code]...
This left some shadow though So, I utlized a post from [URL], which said to just make a square and then do Insert->Convert to Symbol and make it a button symbol. When I converted into a symbol, I also exported it for use with ActionScript. So I have been making instances of my new button (TermButt).... But can I still use generic button functionality like labeling, text fonts/colors, button size:
[Code]...
View 1 Replies
Jan 21, 2010
I am developing an educational game for our thesis and It's quite bugging me to see the interface look jagged when I lower my screen resolution.instead of using "System Capabilities"I want to know how I can use _quality to enhance the quality of a dynamically loaded image inside a <b>scaled movie clip</b>.i tried to use mc._quality="BEST";ut it doesn't seem to work.If I use "System Capabilities", I will end up creating different images of different sizes. I created a sample file.lease take a look at it
View 4 Replies
Jun 29, 2010
i am currently developing a standalone video application that will interact with our backend database and display the proper video, video title, video description and color scheme that you choose.Everything's working hunky dory, until I asked some of cohorts to see if they could break it before I show it off to the world. On the very first try, when my colleague went to full screen, the video was distorted, cut off by the bounds of the monitor, and not perfectly centered as it has been performing on my monitor.
And then it hit me... He was opening the browser in one of his computer's monitors, bringing the browser to the other monitor (we all have a dual monitor thing going on here), and THEN clicking the full screen button.I noticed that when you refresh the page, the variables I get to determine the fullscreen dimensions are being set, but NOT on EnterFrame.
After quickly changing this little glitch, I saw that the variables are still not being changed when you drag your browser window from one monitor to the other (hopefully they are set at two different resolutions, otherwise it defeats the purpose of even checking for this)how I can get my Flash application to recognize when it has entered into a new resolution.
View 1 Replies
Feb 23, 2011
i am looking for class or something to proportional outside scaling of stage and all included objects (internal or external).I know SWFfit and LiquidStage. I have got many problems with integrating SFWfit to my code (resizing is not affected to included objects). LiquidStage seems to be ok but it`s not freeware . I am looking for free possibilities to do it.I am trying to connect that with GAIA framework.
View 3 Replies
Feb 22, 2010
The sorting capabilities that are available in Flex assume that you have access to all the data, but I'm using a paginated datagrid (with custom code), the datagrid is binded to an ArrayCollection instance, on the next page call I change the data of the dataprovider and everything works ok, but for sorting I need to override the click or event better override the sort method of the arraycollection
All this is to be able to do a server-side sorting.
View 4 Replies
Dec 22, 2010
Is it possible to check if the user has a sound card? I found Capabilities.hasAudio but dont know if that is the value I should look at.
trace(Capabilities.hasAudio)
"Specifies whether the system has audio capabilities. This property is always true.
View 2 Replies
Feb 19, 2011
We're looking for a good server to purchase to develop games with Flash/Android/iPhone clients with a .NET backend server (And even more importantly, that supports clustering and scaling in general).Now we've examined both ElectroServer and SmartFoxServer (both products look fine and suitable for our needs), however both can only be extended using Java.
View 2 Replies
Feb 10, 2010
This is a Free script that comes with Flash Media service
I need to add full screen capability to the video. I can send you all the flash files if you need, also I can pay like 50 USD if this going to take some significant time.
Since the file is bigger than 512 KB i had to upload it
THis is the Download URL: [URL]
import mx.video.*;
msg_box.text = "Enter stream URL and click 'Go' to play.";
var so:SharedObject = SharedObject.getLocal("FMS_LIVE_Client");
var counter = 0;
[Code].....
View 1 Replies
Jul 28, 2009
I am looking for an app or apps which I can use to demonstrate many of the specific graphics, animation, and interaction capabilities available using Flash CS4 Pro. Basically something just like the Tour de Flex app only for Flash CS3/CS4 Pro. The Adobe site has a sparse set of some examples, but again I am looking for something more comprehensive like Tour de Flex.
View 1 Replies
Nov 28, 2011
My new project consists in setting a CD containing a structured data sheet (CVS, XML or Excel) and a serach engine. The idea is to allow the user (even not connected) to make searches live on the CD. There will also be a up-to-date version of the data on internet so if the user is connected, the application will prioritary load the online data.I was thinking at using ACTIONSCRIPT and XML.My questions are:1- Is ActionScript + XML a good choice?2- Is it possible to think at PHP + XML (so how to embed PHP on a CD without a sever?)
View 1 Replies
Jun 10, 2009
Is there any way to export the data from Flash to Excel.
Can anyone give me the reply for this solution.
View 8 Replies