ActionScript 3.0 :: Word/Excel 2003 Files With MXML?
May 27, 2009
How can I manipulate (create, update, delete) MS Word Excel 2003 Files with Action Script and/or MXML?Or is there no direct way, do you know about some library, component or extension that would allow me to do that using Action Script and/or MXML ?
I'm exploring the feasibility of reading data from a local Excel file in a Flash application.
XLSX READER [URL], it's possible to read Excel 2007 files.
It works beautifully.
However, that function doesn't read Excel 97-2003 files.
I found this:
[URL]
Which should read Excel files in Flex, but I'm working on a Flash application, and it looks like as3xls relies on a number of Flex only functions and types (ArrayCollection, NumberFormatter, etc.)
Since I'm not familiar with Flex, I'm having a difficult time making the adjustments myself.
Has anyone built a Flash app that reads Excel 97-2003 files, and is willing to share tips or code?
I'm doing a quiz system now, which allow user to type into his name---start quiz---choose a correct answer from questions---account the result----export an excel/word/txt file of different users information and result on backstage.[URL]..now i just duno how to allow user type his information into it and how to export an excel or word file after quiz taking. does anyone did tat be4?
I am evaluating flex for a mobile and a web application and one of things I want to be able to do is show a google docs or a microsoft docs file (doc,ppt) within a flex application. Google docs files are published as web pages so I guess you need a html component with javascript enabled. Does such a component exist in flex 4+? Similarly how would I go about showing a word or a powerpoint file inside a flex app? How does a site like slideshare or scribd do it?
I am trying to debug the Flex application. I am able to set breakpoints in mxml file, and application breaks on those breakpoints. But when I set breakpoint in as files, I don't see the breakpoint marker, though in breakpoints window I am shown the line no. And when I start my debugging session, the application does not break at that point.
I am trying to make the project build light by removing all the unused (mxml,xml and image ) files. Currently I am manually searching for each image and then removing the unused file. But is there a way such that we can get list of unused files automatically . I was trying to use the swfDump.jar from 4.0 sdk . But that dint work as it is working with projects that are build using flex sdk 4.0. I am currently using 3.2 .
Im using Oracle, BlazeDS, Java & Flex. I have an ArrayCollection containing data from a small database table. This table won't be the subject of much change. I want to use this ArrayCollection accross different mxml files to fill e.g. ComboBoxes etc. The reason for asking, is that doing a database call for each time a fill a ComboBox etc is slow and seems unnecessary. I tried doing this once in the "main" .mxml file, but then the variable wasn't accessible where i needed it. What is the best approach for accomplishing this task? What is the best way of making a variable accesible across .mxml files?
I'm new to Flex and I'm trying to write a program with lots of content in it. There's a sidebar, a main content pane with tabs, etc.I want to be able to create MXML files (like sidebar.MXML, tab1.mxml, etc.) that I can then load into the sidebar or load into a certain tab. That would make my code a lot more manageable instead of writing all that code inside of the main MXML file.Can I do this? I have already modularized some of my code by putting them in custom components, but I would really like to be able to load content from other MXML files, much like I can do in PHP:
How do I get round the following error: Access of undefined property pMatrixBack . How do I access this component from within the ascript file?[code]...
I was thinking that it may be possible to create a primitive, yet usable actionscript based text to speech system for Flash movies (One that is platform independent).
Is it possible to right a series of actionscript commands that would play a collection of certain sound files based on what word or words the user has entered?
For example:
If the user types "Red Pen"
Can actionscript tear apart those two words and play sound files "Arr", "ee", "Dee", "Pee", "ee" and "EN"?
If it is possible, and if someone could help me out on it, then I'll start figuring out what phonetic sounds I'll need to record and program, and see if I can't build a simple text to speech program for flash movies.I have no immediate commercial application for it, and I don't plan on one.So if I can pull it off it'll be free to everyone, source code and all. Of course, it may be in my voice, but it shouldn't be hard to take what I plan to do and use it as a template for anyone else's voice recordings.
After changing the Flex SDK to 3.6 (from 4.5.1) so as to target Flash player 9.0.124, the project no longer compiles, producing spurious errors such as XML does not have matching begin and end tags leading me to believe that the compilation process is 'borked'.
This is a pure AS project, and so should have no dependency on the Flex SDK, howver, it seeems to be inextricably linked to the Flex 4.x SDK and Flash Player 10+. I have tried swf-version and -target-player-version in the compiler arguments, but there is still something I am missing to get this to compile for Flash player 9.
I imported an .fxp project into a Flash Builder and then observed there are 5 .mxml files in the src/(default package) directory. Silly question -- how to run each of these five files?
Since I've named the project differently than any of the .mxml files, whenever I try to run something it uses the default (empty) .mxml file named after the project. Deleting that empty mxml file didn't help anything. I also tried to clean the project, but nothing changes (although I see the directories refresh with the same contents). There are no html files in the bin-debug directory.
There must be some simple way to run those .mxml files that I'm missing.
Our application has over 15 different top-level mxml files to create individual controls that are used in our pages. We are using Ant to do our automated builds, and are calling the mxmlc task for each mxml file separately (See question 78230 similar example). Running the compiler separately for each mxml file, however, is already adding up to a considerable amount of time. Our build time is approaching 10 minutes, 5 minutes for compiling our flex apps, and 5 minutes for compiling hundreads of java classes, building jars, installer etc. Each flex compile run is reasonably quick (15-20 seconds), but they add up.
Is there a way to compile all of them with one call to mxmlc?
I'm interested in learning just enough Flash/Flex to do things that I can't do from HTML and JavaScript alone - play sound files and video, use multiple file upload things, perform cross-domain Ajax requests using the crossdomain.xml file etc. As such, I don't really want to learn (or pay for) the Flex IDE. I'm not much of an IDE guy in any case.
The problem is, most of the tutorials I've found talk about the IDE. I've figured out how to compile .mxml files at the command line using bin/mxmlc - now I just need to learn MXML, ActionScript and the various APIs! What are the best resources for learning these? I'm fine with buying a book, I just don't want to shell out for the API itself.
I have been building a simple word game. It is smple but works fine. I am now trying to enhance some of the features.I would like to see if I can display one letter of each word so the Player has a hint. Think of this as a beginners level.The words are random from a text list. Either I can make the letters invisible and the game starts without a hint or I am able to select a letter using charAt() or creating a new variable substring()from the word which is the displayed repeatedly on the stage(not what I want) I have not been able to find a way to display one letter and display it in the correct order within the word and keep the remaining letters invisible.
I am doing drag-the-word quiz. When you match the word with correct part, the message pop out, saying Bingo! If the word is matched with wrong part, the "Sorry. Try Again" message pops out, says "Sorry. Try Again". I managed to make the "Sorry. Try Again" message disappear. However it dun work anymore after that. Sometimes it is quite funny. When I play it, the "Sorry. Try Again" message dun pop out at all.
Another problem - I am not sure how to make the word fit into the white box. I only know how to make the word drop on the white box. Can you tell me how to do it? I will be adding voiceovers to the quiz when the word is matched with the part. For e.g it will say "bingo" or "Sorry. Try Again". How to attach the voiceovers to it?
create the word which changing many time and in the end become a clear word like what's happend exactly in horizintal menu in [URL] That's what i wanted the changing in words like that menu?
i try to install flashcs4 to windows server 2003 machine thay says cant install it.if there any solution for this problem.i search that in internet but i couldn't found good solution.
Ok so If I load a list of like 2000 words from a text file into a text box like this
ActionScript Code: var url:String = "dictionaries/"aa.txt"; var loadit:URLLoader = new URLLoader(); loadit.addEventListener(Event.COMPLETE, completeHandler);
[Code]....
how could I randomly choose a word from the list and have it as a variable
I built an application using AS2 within Flash MX in 2003. Would like to convert it to AS3 using Flex. I am receiving 2 main errors: semicolon placement and " the public attribute can only be used inside a package" Here are a few sets of code: Set 1 receives the "1114: The public attribute can only be used inside a package" error. Line 3 and 5 are the problems:
I have done many assignments where I have developed Flash movies that access external databases over a web pages and present the results in custom made graphs. Perfect for scorecard applications etc. The main benefit of using Flash has been that the whole thing can be embedded and run from PowerPoint,
I've been tasked with producing a Flash movie which will retrieve (presumably as an array) a list of all the articles in our Sharepoint Portal 2003 news listing, and display the title and abstract text, one story at a time (looping through every item in the array).
I presume I need to use the WebServiceConnector, and point the WDSL URL to our Area's areaservice.amsx, and then presumably use the GetAreaListingData operation to retireve the data, and hopefully pipe the data out into a couple of dynamic text boxes,but beyond that I'm a bit lost. Talk about in at the deep end, but unfortunately as the only developer on site who knows anything at all about Flash, I'm up against it to get this completed as quickly as possible..
Might be a dumb question but a client has Windows 2003 Enterprise SP2 R2 and I was wondering if Flash Media Interactive Server will install and run fine on it? The requirements on the site say Microsoft® Windows Server® 2003 with Service Pack 2 but no about "Standard" or "Enterprise".
i would like to produce a online windows 2003 emulator so anyone can use windows 2003 through a browser instead of installing the software - something similar to temulator [url]......- and zen internet emulator[url]...... - i have basic html & css skills can it be done using html/css or is it better to use java/flash etc ,i am thinking of just using screenshots and then linking them together , but its very time conusming to do. what is the best programming language and BEST approach?
Does MXML get compiled down to as3 and then converted to flash bytecode? Also, is there a significant performance penalty to compiling mxml vs compiling as3?
I am working on a custom Flex 4 component which is an aggregation of two existing flex components. I would like to be able to specify my own custom properties for the component as well as access the existing public subcomponent properties via MXML. For instance I might want to adjust the font color or style for the label and text input. toy component which aggregates both a label and a text input: