Flex :: Opening And Getting File Contents In 4 - Air Application

Jan 23, 2011

I'm wondering how I can display an Open File dialog box, select a text file, put the contents of the text file into a textarea component via a button... I'm not really used to Flex so I don't know where to start or exactly how I'd go about doing it? I'm doing this for an Air application.

View 1 Replies


Similar Posts:


Opening PDF Using Flex In A Web Application?

Oct 4, 2010

Is there a way to open a PDF file whixh exists on some server using flex in a web application?

View 1 Replies

Flex :: Getting The Application's Enabled Disabled Event While Opening A Pop Up?

Mar 21, 2011

In my flex application I have several pop ups, when a pop up is opened the application is disabled and enabled back when the pop up is closed.Is there way to get application's enabled / disabled event and perform some activity like hiding a display object.I know, I can get open and close event of the pop up but I don't want to write it for all the pop ups and pay for maintainability.

PS: I am using PopUpManager to create pop ups.

View 1 Replies

Iphone :: Opening Flex Application From Mail's Attachment In IOS?

Apr 22, 2011

However I'm trying to open attachments in flex application. Is it possible?

View 3 Replies

Actionscript 3.0 :: Send HTML Form Contents And Flat-file Contents To Flash?

Oct 20, 2010

I have built a simple Flash application that will be presented using a projector, the application will show messages in the form of questions that will come from a simple flat-file text file or XML file.

In addition to this I would also like to be able to add my own messages using a simple HTML form.

I've been looking around the web for some resources, but have been struggling to find what I am looking for. The basic idea is that the flash application will loop through these different messages from the XML, but then when a user types in a message that will also appear within these messages. Think of it as a sort of dynamic tag cloud.

View 2 Replies

Flex :: Gui - Switch Between Different Applications(mxml File With Application As The Root Tag) In A Big Application?

May 16, 2010

I'm new to flex. Now I'm writing an flex application. I plan to split my application into some MXML files(Application as the root tag). How can I switch from one mxml to another?BTW, what is the best practice for design large flex application? Just one MXML Application and many MXML component or many MXML Application?

View 1 Replies

Flex :: Extract And Display Contents Of Zip File In Adobe AIR?

Apr 15, 2012

I have a requiremnt where my Air application loads ZIP files instead of swf.The zip contains all swf ,images and other files.My requirement is when user browses for file in a browse dialog, user selects a zip file and the contents of this zip file should be displayed to the user.

View 1 Replies

Actionscript 3 :: Api To Read Xlsx File Contents In Flex?

Oct 13, 2011

I need to know how to read .xlsx file contents in flex3.

I tried to read .xlsx file using the below sample code but its not working, but its working fine for .xls file.[code]...

View 2 Replies

Flex :: Load Contents Of An Embedded Text File Into A Variable?

Jan 26, 2010

I have a block of html text which is displayed to the user in a TextArea. Currently, the I have embedded the HTML as an XML object within one of my classes, but this seems like a terrible design. I would like to put the HTML in an embedded file and load it into an XML or String object.

I've tried to search for how to do this, but my searches return information on embedding images and fonts, not text which can be loaded into Strings.

Is it possible to embedded text or xml files and load them into variables in Flex?

View 1 Replies

ActionScript 3.0 :: Opening A Swf Within An Application?

Jan 21, 2010

I have a main contents page and what I want to do is when the user click the button for a section then the relevant swf will load whilst the contents page closes. If this can't be done then is there a way to just get the relevant swf to open up in a new flash window?

I have done the following:

PercentageOfAQuantityBtn.addEventListener(MouseEve nt.CLICK, GoPercentageOfAQuantity);
function GoPercentageOfAQuantity(evt:MouseEvent):void {
navigateToURL (new URLRequest ("02 Percentages.swf"));
}

This code however loads the swf file in my internet browser instead of a new flash window.

View 3 Replies

Professional :: Application Will Display Contents That Location On Server On Web

Sep 9, 2011

need that the application will display contents that location on a server on the web.I have several html documents that locate on a secure server. I need that the application displays those pages (like a browser) sow If I'll change the html documents on the server, the application will display the new changed pages.I need that the html documents and the data they contain will not be embedded on the application but just display by the application.

View 2 Replies

Flash :: Run Without The Application Opening A Browser?

Feb 28, 2011

I'd really prefer my actionscript 3 project to launch in a debugger window outside of a browser, but it always opens into a browser. I browsed through the preferences

View 2 Replies

Include Properties File Or Config File In Flex Application?

May 21, 2011

I have a flex application which contains different feature that includes google maps, twitter, facebook etc.

Currently I have hardcoded api keys in the code it self but I want to use a properties file/config file where I can put such things and use anywhere I want in the application.

Is it possible to achieve this in flex? I am using swiz framework. Is it possible to achieve this using this framework?

View 3 Replies

Professional :: Opening A Browser Inside A Flash Application?

Apr 1, 2011

my organization is in the process of building a touchscreen interactive kiosk. We've designed a flash application to run on the kiosk to display information about our business, our publications, etc. We'd also like to be able to access our website through the flash application. We're having trouble figuring out how to do that effectively. The best we can do is to have the application launch Internet Explorer in a seperate window. This isn't so bad if we run IE in kiosk mode, however it becomes difficult/impossible to navigate back to the flash application (or to close the browser) without a mouse and keyboard (which users won't have access to).Wondering if there's a way to open or access a browser inside of the actual flash application, so users can access the flash menu, home buttons, etc and easily navigate back to the information contained in the rest of the flash application.

View 2 Replies

Flex :: File Write Permission To Application Directory In Windows 7 In Flex?

Aug 11, 2010

I am creating an AIR application using Flex. In it I use a file in application directory to store some data in it.Its working very well to read and write data to this file with various OS except windows 7. In windows 7 it is not working. May be its a permission problem.

How can i write file in the application directory with Windows 7 ?

View 2 Replies

Flex :: Reset/reload A Flex Application Without Refreshing The HTML Page Or Reloading The SWF File?

Jan 12, 2011

I have a flex application that has a home button. I need to reset the application when this button is clicked. I can't use navigateToURL or ExternalInterface.call("window.location.reload"); as its not acceptable to reload the swf file.

View 5 Replies

Actionscript 3 :: Opening Cpanel (web Host Server) In Adobe AIR Application?

Apr 2, 2011

I am working on application to open cpanel (web host server) in Adobe AIR. I know how to open a web page in Adobe AIR, but I don't know how to open cpanel with username and password?

View 2 Replies

Flex :: Executing A Local File From An Intranet Flex Application

Apr 12, 2010

I am creating a Flex application for intranet use.I need the application to execute files, with different file types (txt, emails, etc.) at specific known locations on the clients computer.Is it possible to give permissions to the Flex application to execute local files? (I have administrative rights on the clients computer)

View 1 Replies

ActionScript 2.0 :: XML - Get It To Preload The Contents/images Being Called In The XML File So It Doesn't Run As Soon As The XML File Is Loaded?

Jun 21, 2007

I'm building a flash movie for something at work and im loading in some images using an XML file but when i use a preloader it only preloads the XML file (as in just the text inside) and not the images.

This causes the movie to start playing without having the images loaded.Does anyone have any ideas about how i could get it to preload the contents/images being called in the XML file so it doesn't run as soon as the XML file is loaded.

View 1 Replies

Xml :: Using A Flex Web Application In Another HTML File?

Mar 30, 2012

i'am developing a flex media player that will be include in a simple html file. my project plane is:

1-loading a xml file (using HTTPService)
2-find the sound address in the xml (Using E4x)
3-load the sound
4- ...

when i run it with adobe flash builder or generate a release version, it works fine. but when i use the flash file in my html file it's xml loading process doesn't work!

after some try , i realized that if the swf file be in the flash builder workspace directory, it work , else it doesn't work.

note that my OS is Microsoft Windows 7 32-bit

what is the different between the workspace directory and usual directories?

View 1 Replies

Flex :: Download A File In An AIR Application?

Jun 15, 2009

Is it possible download a file in an AIR application, store it on the user's system, and prohibit access to the files by applications other than the one with which it was downloaded?

View 3 Replies

ActionScript 3.0 :: Pass A Var From Flex Application To A Swf File?

Jun 10, 2009

how to pass a var from flex application to a swf file that is on my server?

[code]....

how to GET the VAR THat is passed into the swf file some get method from FLEX?

View 1 Replies

Flex :: Start Application From A Simple AS File?

Oct 27, 2009

I want to use vkontakte's new wrapper feature, that enhances your application abilities by running under SWF wrapper. This is a sample application that uses this mechanism. It uses pure action script to display it's contents rather than an mx:Application.

Using the wrapper on my mx:Application failed due to the following error:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.managers::FocusManager/activate()[C:autobuildgalagaframeworksprojectsframeworksrcmxmanagersFocusManager.as:702]
at mx.managers::SystemManager/activateForm()[C:autobuildgalagaframeworksprojectsframeworksrcmxmanagersSystemManager.as:2493]
at mx.managers::SystemManager/activate()

[Code]...

Unfortunately - it also failed, and the question remains, how to start Application from a simple AS file?

View 2 Replies

Flex :: Delete A File In The Application Directory?

Nov 19, 2009

We are writing log files to File.applicationDirectory and want to clean out old log files. The question is how do you delete files out of that directory? When I try and delete old log files out of this directory it gives a security exception. Is there anyway around this? I know you are not supposed to write to File.applicationDirectory, but we are writting are logs there anyways.

View 2 Replies

Flex :: Write A File To Application Directory?

Dec 28, 2009

how to write a file to File.applicationDirectory in flex. i am getting security filewrite resource error.

View 2 Replies

Flex :: Preload A File Before The Application Initializes?

May 5, 2010

Problem: An XML configuration file needs to be loaded at runtime and be ready when the application's createChildren() gets called. At the latest, because configuration values are needed to properly initialize child components. Preferably, I would like the configuration loading be complete before the application even gets created. In short, I want to do this: load configuration, then initialize the application using the loaded configuration.

I created a custom preloader to help solve this. But as it turns out, the application's createChildren() method already gets called during preloading, when the configuration is not yet guaranteed to be loaded. That is, before the custom preloader dispatches the COMPLETE event.

View 2 Replies

Flex :: Copy File To Application Directory?

Oct 26, 2010

I have trouble getting it to copy file from src to destination.

var asMsg_path:String = fileRef.nativePath;
var origFileLoc:File = File.applicationDirectory.resolvePath(asMsg_path);
var newFileLoc:File = File.applicationDirectory.resolvePath("/java/"+asMsg);

[code]....

View 1 Replies

Flex :: Load A Swf File After Application Creation?

Mar 22, 2011

Is it possible to load a swf file after application creation in flex? If so how?

View 2 Replies

Flex :: Open A Pdf File In A Mobile Application?

Jul 29, 2011

Is it possible to open a pdf file in a Flex Mobile application?I have searched but I didn't find anything.

View 1 Replies

Flex :: How To Attach File Extension With AIR Application

Feb 23, 2012

I made an AIR application that parses some specific files. I am using flex builder 4.5 and SDK 3.6. I want to attach Icons with those files and when I double click those files they should open with my application. How can I do this?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved