ActionScript 3.0 :: Delete Temp Files With Refreshing Flex Application?

Apr 12, 2011

I am using many external swf file in my flex application,but when i use the files which are in same name its not getting refreshing properly, so i need to delete my temp file without refreshing the application.

View 0 Replies


Similar Posts:


Flex :: Refreshing View When Application Is Visible?

Aug 16, 2010

Flex application is contained in one of the rows of a html table, and that row is hidden as per one use case. Flex application is refreshed when visibility of the row is changed to visible. This results in lose of data that is already entered in the flex application. Is there any way to stop this behavior?

View 1 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

Flex :: Delete Application Storage Directory Instance / Data When Uninstalling Any Air Application?

Dec 22, 2011

how can i delete storage directory instances or folder while uninstalling any air application. In my application when i first time run my application, application copy some data from application directory to application storage directory. now i want to delete all data and application directory folder also while uninstalling application.

I am doing that because when i launch any update then application is accessing old data which conflict with my application new features.

View 1 Replies

ActionScript 2.0 :: Disable Saving In Temp Files?

Jan 29, 2006

Is there any way of disabling flash files to get saved in the temp folder of the user's machine? In other words, saving the swf files from being copied?

View 1 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

Android :: Adobe Air / Flex - How To Delete All Application Data

Feb 24, 2012

I need to delete all the application data directories on the exit of an application:
/data/data/air.<appID>/cache/.AIR
/data/data/air.<appID>/cache/webviewCache
/data/data/air.<appID>/databases

But I get each time the "directory not found error"

This is from my application descriptor:
<id>test01</id>
<filename>test01</filename>
<name>test01</name>

I know also this is not a best practice, but for security reasons I need to delete all the stagewebview cache and autofill form data.

View 3 Replies

Flex :: Performance - Printing From AIR/Flex Application Causes Large Files Being Sent To Printer?

Oct 25, 2010

I am working on an Adobe AIR (2.0) application that contains a feature to allow users to print documents (such as salary slips). Those documents are originally in PDF format. Due to circumstances we cannot directly display those PDFs in the AIR application (for example using flash.html.HTMLLoader). Therefore we convert the PDFs to SWFs (using the pdf2swf tool, see The SWFs are loaded into the application using a mx.controls.SWFLoader, like so:

<mx:SWFLoader
id="salarySlipImage"
loaderContext="{someLoaderContext}"

[code].....

View 2 Replies

Flex :: Combobox Backspace Or Delete Key Does Not Delete Highlighted Text

Mar 26, 2010

I am implementing a flex auto-suggest combobox - as the user types in each character: Consider the string 'Stackoverflow' and user input = 'st'

1) the data provider is filtered to show all items starting with 'st'
2) text is set to auto-suggest string such that the un-typed part is highlighted.

So for instance, the combobox text may contain st'ackoverflow', where 'ackoverflow' is highlighted using setSelectedIndex()When I hit back-space or delete, and check the 'this.text' value, I expect that the last un-highlighted character ('t' in the above case) gets deleted and the data provider is filtered to show all items starting with 's'. However the text property contains 'st', as before

View 2 Replies

Flex :: Jsp - Caching Of Swf Files In Application

Aug 21, 2009

I've created a Flex application and the size of the swf file is ~900KB. My trouble is that the files are not getting cached. When I launch the application for the second time, the swf file is fetched again from the server. I'm including the swf file in a jsp, and I'm not modifying any HTTP Caching Headers. I assumed that the swf files will be cached automatically. Isn't it so? How do I forcefully cache the file? Do I need to provide anything in the MXML code or just a response.setHeader("Cache-Control","max-age=100"); is enough? Can anything be done from the flex side itself?

View 2 Replies

Flex :: PenWithDefaultApplication Fails On Files In Application Folder

Oct 29, 2010

I'll ONLY recieve an "Error #3000: Illegal path name" if I try to open a file which is placed inside the app-folder of the air. If the file is somewhere else outside of the app-folder it works.

private var file:File = File.documentsDirectory;
public function download():void{
var pdfFilter:FileFilter = new FileFilter("PDF Files", "*.pdf");

[Code]....

When i try to get the same file and copy it to another place it's doing fine.

Why that? Something special to do if i wanna open files which are inside the appfolder? It also don't work in debug mode - bin-debug.

View 1 Replies

Flex :: Flash - Play SWF Files Inside Application?

Jan 5, 2011

Hey the think is, I need to play some swf file inside my flex 4 app, sometimes this swf file can be a Video, or just a object animated, I have a placeholder in my app which I want to play this swf file, how can I do this?

View 2 Replies

Flex :: AIR: Load Local Xml Files Outside The Application Folder?

Apr 22, 2011

I'm building an AIR application which will be used to edit slideshows for another app (also built by me, but not in AIR). The slideshows and other data are defined in several xml files which are in the other application's program folder. When trying to load these into my AIR app I get the following error:

fault(mx.messaging.messages::ErrorMessage)#0
body = ""
clientId = "DirectHTTPChannel0"

[code].....

View 1 Replies

Actionscript 3 :: What Files Are Required To Deploy A Flex Application Swf

Jan 27, 2012

I haven't written anything in Flex in a couple years and much has changed since. I used Flash Builder 4.6 to build my app now I want to deploy it to a ASP.NET application. What files other than the swf do I need to deploy to ensure everything works for my users? I see in the bin-debug folder of the project it spits out a bunch of swfs (framework, rpx, playerProductInstall, spark, etc) and the swfobject.js. Do I need all these files deployed to the same location as my swf?

View 1 Replies

Actionscript :: LoadMovieNum In Files Loaded Into An Air-based / Flex Application?

Aug 24, 2011

I am working with a very large number of legacy SWFs written in AS1 and AS2. These SWFs use loadMovieNum extensively.

I am trying to integrate these into a new Air-based app (written in either AS3 or Flex). However, loadMovieNum doesn't seem to work within the Air app.

For example, an AS2 SWF (file1.swf) may try to load another AS2 SWF using:

[Code]...

View 2 Replies

ActionScript 1/2 :: External Class Files Not Updating When "Delete ASO Files" Executed?

May 3, 2009

I've got an external .as file in the same folder as my flash file. In the process of writing the code, whenever I make a change and then test the movie, the flash movie is obviously still looking at the OLD information. I tried using the "Delete ASO Files" on the menu, to no avail.I can' find these ASO files anywhere on mycomputer.Aha! I tried something else. I quit flash,restarted and ran the same script with no changes. It returned the data correctly, but then gave me this unpleasant message:256 levels of recursion were exceeded in one action list.This is probably an infinite loop.Further execution of actions has been disabled in this movie.There are no loops of any kind in the code, which is below.

//This is the Person.as file:
class Person { public var HomName:String = "unknown"; public var HomEmail:String = "unknown"; public var HomPhone:String = "unknown"; public var HomSaveFreq:Number = 0;

[code]......

View 27 Replies

Actionscript 3 :: Reading Tiff Files In Adobe Flex Based Application

Jan 27, 2010

reading TIFF files at runtime in Flex/AS3 based applications?

View 2 Replies

Flex :: Build - Including Configuration Files While Compiling A Application With MXMLC

May 17, 2010

I'm using:

- Flex SDK 3.5.0
- Parsley 2.2.2.
- Flash Builder 4

Down in my src folder (which is configured as part of the source path in the Flash Builder), I have a logging.xml which I configure via Parsley:

[Code]....

View 1 Replies

Java :: Avoid Flex Application Store Temporary Internet Files?

Jan 12, 2012

I've programmed a Java application using BlazeDS and Flex, but i think the problem also occurs in any ajax style application. It's a monitoring application, so requests are made regularly to the server. The browser has stored a large amount of temporary internet files on the client pc even getting it saturated. How I can avoid this? I have seen some articles that say to include variables in the html header as:

[Code]...

View 1 Replies

ActionScript 3.0 :: Add A Delete Button To My Application?

Nov 26, 2009

i have a little application that you can add numbers and friends email too. i would like to add a minus selection/entry button?

stop();
 //create a new sql connectionvar conn:SQLConnection= new SQLConnection();[code]...........

View 5 Replies

Flash :: Adding New Files To Application Storage Directory With AIR Application Installer

Feb 4, 2011

I have an AIR app that gets bundled with XML files that the app needs. These get put into the APP Storage Directory, of course. Works great. But when I install a new version ( which includes new XML files) , the new files don't get added or overwrite the ones from the previous version. It seems that if that directory is there from a previous install, the installer will ignore the part where it moves included files.

View 1 Replies

Delete Unused Library Files?

Jun 18, 2010

On my first FLASH CS4 site I have changed several files from PS and re-imported Imported them into stage several times. Now the library contains lots of folders, i.e. Web Site.psd Assets 1 / Web Site.psd Assets 2 / Web Site.psd Assets 3 etc etc.. They obviously contain the same asset names, each with a corrected content.How can I determine which files are the ones used and delete all the others from the library?

View 4 Replies

Ant - JSFL Delete Flash Aso Files?

Nov 25, 2009

I'm using FDT 3 and Ant to make a jsfl file that is then executed to compile fla's and I'm trying to figure out how to get the jsfl to remove the aso files. I've tried storing the path to the aso files in a property in Ant the is then added to the jsfl when its created and it works to remove the aso file but it means that everyone must edit that property to fit their machine, we are using Macs and Windows.

My question is, is there a way to have jsfl find and delete the aso files?

View 2 Replies

Asp.net :: When Does IE Delete Files From Temporary Folder

Mar 13, 2012

Our application is a ASP.NET + Flex running on IIS 6.0 server. On the client machines we run IE8 for display. IE creates temp files that seems to be taking up disk space. The Temporary Internet Folder size continues to grow seems to exceed the limit of 8MB - automatic recycle. When and under what conditions does IE delete files from the temporary folders?

View 1 Replies

Flex :: Refreshing An XML File Through HTTPService?

Apr 21, 2010

I'm having a problem refreshing an xml file. I am bringing it in through an HTTP service component and putting it into a bindable array _cattArr, that I am using as the dataprovider for a grid.When someone adds an item to the datagrid, it saves to the same xml file. Then I close the window, reopen it and don't see the item that has been added.It is writing to the xml file, because when I restart the flex app, the item has been added, it's just not refreshing it. I have tried to resend the httpservice, but still no luck. What is the correct process for doing this?

View 3 Replies

Flex :: Refreshing A Binded DataGrid

Mar 23, 2011

I have a problem..I am binding an array collection to a datagrid in flex. My problem is whenever i try to remove an item from the array collection.. the datagrid does not refresh the values....This is the code that I am using

[Code]....

eventsList is the datagrid that is bounded to showArray(an Array Collection)

View 1 Replies

Actionscript 3 :: Refreshing A Flex Component?

Jul 14, 2011

Is there a way to refresh a component or an application back to its initial state? I have an accordion navigator that stays on the most recently selected index even if I log out. Right now, my log out function takes me back to the login page which is at state(1). If I log back in and go into the accordion, it is on the last tab I had viewed.I would like to be able to clear any data from the controls inside the nav and reset the nav back to its default. I thought something like,

public function logout():void{
currentState = "NotLoggedIn"
myAccordion.initialize(); }


would work but nothing happens. This is done in Flex 4.I know I can make a huge loop clearing each control individually and setting the selectedIndex of the accordion to 0.

View 1 Replies

ActionScript 2.0 :: Using The "Delete ASO Files On The Menu?

May 3, 2009

I've got an external .as file in the same folder as my flash file. I'm in the process of writing the code.But whenever I make a change and then test the movie, the flash movie is obviously still looking at the OLD information. I tried using the "Delete ASO Files on the menu, to no avail.I can' find these ASO files anywhere on my computer. ARE they invisible?

I tried something else. I quit flash,restared and ran the same script with no changes. It returned the data correctly, but then gave me this weird message:256 levels of recursion were exceeded in one action list.This is probably an infinite loop.Further execution of actions has been disabled in this movie.There are no loops of any kind in the code, which is below:

[Code]...

View 4 Replies

ActionScript :: Flex - Keep Selection When Refreshing Datagrid

Oct 20, 2010

I'm working on my first ever AIR application with flashbuilder - just so you know. I've bound a mx:DataGrid component to a DataProvider which is a mx:HTTPService fetching an xml file with items. To keep the data up to data I'm polling the webservice on a given interval.

My problem is that I loose the currently selected item in my DataGrid when the data is updated. I've tried to save the DataGrid.selectedIndex and set when the data is updated, but I'm not sure when to do it?! The closest I've come is to restore the index when the updateComplete event of DataGrid is fired. This works, but the selection first fades away and then fades in - not updated soon enough. So what is the best way to keep the selection? (only one selected item at a time) And as a side question: is there a convenient way to only update the data when it has actually changed?

View 2 Replies

Flex 3 :: Refreshing Repeater After Adding A Child

May 23, 2011

Within a child, I have an XML element with the following structure:[code]I then use a repeater to list each out onto the screen. There's a button I have created that is used to create a position. So, once the user clicks this button, I call the following function:[code]The above function creates a new XML object, puts some default values in, and appends it to the list of project positions. After appending the new information, I made the height of the project larger and then check to make sure the new project height isn't overlapping any other projects... but that information is irrelevant to this post.My problem is this - once i append a new child to the XML variable, it doesn't appear on the screen. Is there a "refresh" or "re-render" option i can do to the repeater in order to make the new child show?[code]Once i make the changes, and use the XMLListCollection as the dataprovider in the repeater, the information no longer loads on the screen.

View 1 Replies







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