Flex :: Open With Default Editor And Wait To Be Closed

Mar 25, 2011

we're developing an app that should be able to open specified file with default editor application. (so if it is .doc - it suppose to be opened by MSWord or openOffice)

But I also need to wait until user will close the editor, check if it was changed (by size and date), and upload it to the server.

So the following steps:

1) find def editor

2) open file

3) wait it be closed

4) do smth after that with the file.

now results of my research:
-> opening by def editor is simple: file.openWithDefaultApplication();

but there is no way to know that editor is closed (maybe by checking that file is not locked in timer???)

-> i can start the native process and pass file as parameter BUT looks like the code NativeApplication.nativeApplication.getDefaultApplication(file.extension); does not work for any extension :( - it doesnt work for "rtf", "doc" but works for "pdf"... and [file.openWithDefaultApplication()] works fine with any file!

View 2 Replies


Similar Posts:


Flex :: Determine If A PopUpManager Window Is Open (or When It Has Closed)?

Sep 6, 2011

In Flex (Flash Builder 4) I am opening a new window via PopUpManager.addPopUp. I have timer code that runs in my component and I need to stop my timer when that window opens and start the timer again when the window closes.

I figure it's easy enough to stop the timer in the function that opens the window, but how can I start the timer again when the window closes?

Is there a way to tell if there is a pop-up window in front of my component, or if a specific pop-up window is still open via PopUpManager?

View 2 Replies

Flex :: Determine Where Selected Row Is Closed Or Open On ItemClick Event In AdvancedDataGrid

Sep 30, 2010

I have an AdvancedDataGrid with Hierarchical data in it. On itemClick I have to identify if the row I clicked is expanded or collapsed.

View 1 Replies

Flex :: Could Not Open The Editor : Assertion Failed?

Dec 3, 2009

when i open .mxml flex file in eclipse it gives error, Could not open the editor: Assertion failed:

View 7 Replies

Actionscript :: Open Source Flex Mxml Table Creator And Editor?

Jan 29, 2010

I'm searching for at least simple Open Source Flex mxml actionscript Table creator and editor?

I need it to be able to create simple tables and generate some text (xml or HTML ) representation of thair contents

View 1 Replies

Javascript :: Flex Graphic Editor / Samples Open Source Projects

Feb 2, 2012

I need to create an application, the main срфддутпу will be to work with graphics. The application will contain the basic operations with geometric shapes and creating your own shapes.When creating, I would like to rely on ready-made examples of graphic editors. To do this, I'm looking for examples of open source projects.

View 1 Replies

Flex :: Air - Get The Parent Of A Custom Grid Column Filter Editor And Open A Popup Window?

Jan 31, 2012

I am trying to figure out how to open a pop up window in my Air application, in a secondary Window, instead of the main application window.I am using the ReusableFX components, which include a custom DataGrid with filtering and other capabilities. The filtering feature displays a pop up window via PopUpManager when you click on the top of a column in the grid.

PopUpManager.addPopUp(this, FlexGlobals.topLevelApplication as DisplayObject);

The problem is that the pop up window opens in the main application - I am assuming because of the 'topLevelApplication' reference.So, I need a way to open this window in the current Air "s:Window". I am assuming I need a way to walk up : this.parent.parent or this.owner.owner - though I have tried that and it did not seem to work (it said null reference).OR, is there a way to get the current top most window / component (NOT the main application / window)?

Update:I decided to create a new project for the component, and add in the Air libraries. Now I am able to access the "NativeApplication.nativeApplication.activeWindow" call. That gives me the correct Air window. However, it does not seem to be working:

PopUpManager.addPopUp(this, NativeApplication.nativeApplication.activeWindow as DisplayObject);

My popup does not appear. I am assuming because "activeWindow" is not actually a DisplayObject?(so how do I get the DisplayObject if that's the case?)

View 1 Replies

Change Default Editor In Flash Builder?

Jan 10, 2012

I'd like to be able to automatically open text files in my editor of choice from within flash builder when I right click, open with 'Default editor'.

Can't seem to find this in preferences.

View 1 Replies

Actionscript 3 :: Setting The Default Browser To Open Flex Apps In Flash Builder On Mac?

Sep 13, 2011

I just got my MacBook and am trying out the Flash BUilder on said platform. I've installed Firefox and Google Chrome on my MacBook but I can't seem to find a way to set which browser would launch my Flex apps whenever I hit the Run button inside Flash Builder. As far as I know, I can locate the Browser property on the Project Properties on my Windows copy of Flash Builder but I couldn't over here at my Mac. Any thoughts?

View 1 Replies

ActionScript 2.0 :: Menu 1 Open, The Rest Closed?

Nov 2, 2005

I have an animated dropdown menu with 7 buttons. Each button slides down it's submenu.They're setup so that they open when you click them, but automatically close when you move the mouse out of the area of the given menu/submenu. If i permitted for more than one submenu to be open at a time, then size of the menu in total would be too big.Ok what I need is that, in plain language, when menu 1 is open - the rest is closed. But the menu 1 will close when you click menu 2, not before. OK, if my explanation was too lame here's the real thing, so you can get the idea of what i want:

View 1 Replies

ActionScript 2.0 :: International (We Are Open / Closed) Message

Jun 4, 2004

I would like to display a message in flash "we are open" or "we are closed" based upon time. Naturally I can do this for the users local time on their system, but is it possible to work out if their time is different to UK time (GMT) and display those messages accordingly. After all I don't want a user to see a message "we are open" at 1pm their time - they could be in Japan and it'd be about 4am UK time. Is this possible to work out the time difference on any system?

View 1 Replies

ActionScript 3.0 :: Colorpicker Component Open Or Closed Status

Jun 15, 2009

Haw can i see if the colorpicker component it's open or closed ?

View 6 Replies

ActionScript 3.0 :: Check If A URLStream On A Loader Is Open Or Closed

Jun 30, 2010

I have to be able to cancel and kill a Loader process properly and many times. If I dont do this, it seems that the flash player (at least on mac) eventually crashes as some loader processes are flying about , strangling the CPU.

There doesnt seem to be a straightforward way to know this and just calling a Loader.close causes an error, if the stream is not open.

View 4 Replies

ActionScript 2.0 :: Rewriting Array Data - Track An Entry Is Open (0) Or Closed (1)?

May 11, 2005

okay so i have this code:

[Code]...

okay, so obviously there is stuff missing from my code b.c i dont feel like copying it all over. its basically an XML controlled style blog, and i'm trying to keep track of whether an entry is open (0), or closed (1), and those values are being stored in 'myArray'. my question is, why isnt that call to myArray overwriting the existing data? i know i have doen this before (maybe not in this fashion, but i know its possible).

View 3 Replies

Photoshop As Primary Editor - Open Images For Editing?

Jun 29, 2009

I have Flash CS4 and whenever I right-click on an image to select "Edit with..." I get that annoying Micro$oft photo editor. Where do I change this so it will open images in Photoshop for editing?

View 4 Replies

Flash :: Change The Cursor To The Systems Default Busy/wait Cursor?

Jul 10, 2011

In as3, how do you change the cursor to the systems default busy/wait cursor (e.g. the spinning wheel on a mac)?

View 2 Replies

Flash :: Open File With Default Application On IOs?

Apr 5, 2012

I'm trying to openWithDefaultApplication a downloaded file (stored into app documents directory) on iPad. I installed PDFReaderLite, still openWithDefaultApplication don't rexognizes extension pdf. What can I do to make PDFReaderLite be a default app for opening pdf?

View 1 Replies

ActionScript 2.0 :: Possible To Just Open Default Email Without Browser?

Aug 6, 2010

Is it possible to open just my default mail "e.g. outlook" rather than open a browser and the outlook?
on(release){
getURL("mailto:mymail@mail.com");
}

View 2 Replies

ActionScript 2.0 :: Open A File In Default Program From Flash?

Nov 8, 2004

Does anyone know how i can link a button so that when i click a button it would open say, "essay.doc" in its default program (Word)?

View 1 Replies

ActionScript 2.0 :: Open A File In Its Default App On Windows XP SP2 In Flashplayer 7?

Feb 22, 2005

I need to open a file in its default app, on windows XP SP2, in flashplayer 7.I've searched and found some exe files that claim to be able to do just that, but i cant get it to work.

[URL]

I've managed to open a given exe file from the fscommand folder, but cant get the above examples to work - i think the problem is, that i cant send parameters to the exe file.

View 2 Replies

ActionScript 3.0 :: Open An URL In The Default Browser From A Flash Standalone Projector .exe

Jan 10, 2008

we are developing a small application wih Flash CS3 which will be released as a standalone Flash Projector.exe.

We want to have a link to our website in the flash application that should open our webpage in the Default Browser of the System.

We tried:

PHP Code:

navigateToURL(new URLRequest("http://www.google.com"),"_blank");

But when I click on that link in our standalone.exe, on my system "ultraedit" gets opened and it tries to open a path on the local system and the webpage adress after that. "C:ProjectsInflationhttp:\www.google.de".

View 6 Replies

Professional :: Default Flash Player To Open In Low Quality Mode?

Apr 19, 2007

Is there a reg key or custom GPO out there that will let me default Flash Player to open in Low Quality mode? Whenever a flash site opens, it opens in High Quality.Using Win 2003 SP1, with IE6 with Flash Player 9.0.

View 12 Replies

Ios :: Flash - Download A File (from Remote Server) And Open It With Default App

Apr 3, 2012

I want my app (AIR app ported on iOS) to be able to show file located on the remote server and open it with default app (if there's one on device). Is it possible (maybe one can somehow use openWithDefaultApp here)?

UPD: I succeed with downloading (into File.documentsDirectory). I can't force iPad to open downloaded files.

UPD2: I tried to use both openWithDefaultApp and NavigateToUrl.

View 1 Replies

ActionScript 2.0 :: GetURL - Getting Firefox To Open File From Exe When FF Is Set To Default Browser

Dec 21, 2006

Is there a work around to the getURL Firefox issue? I am having trouble getting Firefox to open my file from my exe when FF is set to my default browser. If FF is already open, the getURL functions fine. If FF is closed, I have to click on my button twice in order to open the file (ie, click once opens a blank window, click again and the file opens) I have FF 2.0.0.1, Flash MX 2004 Prof. I have tried setting an interval to have the getURL fire again but I can't seem to get it to work.

[Code]....

View 2 Replies

ActionScript 3.0 :: Flash Link To Open Default Mail Program

Nov 2, 2010

I'm working on my companys website and I am trying to make a link from flash open the default mail program so they can send us an email. All of that works fine and dandy.... on PCs. While using a mac I was not able to get the email to go through, it will just send back an undeliverable email. Does anyone know of a solution for this or am I going to have to completely change the way that I'm doing it?

Heres my HTML Code:
infoEmail.addEventListener(MouseEvent.CLICK, getInfo);
function getInfo(e:MouseEvent){
navigateToURL(new URLRequest("mailto: email@emailaddress.com"), "_self");
}
I know that the PC email actually goes through, it forwards it to me.

View 1 Replies

ActionScript 2.0 :: Display A Message In Flash "we Are Open" Or "we Are Closed" Based Upon Time?

Jun 4, 2004

I would like to display a message in flash "we are open" or "we are closed" based upon time. Naturally I can do this for the users local time on their system, but is it possible to work out if their time is different to UK time (GMT) and display those messages accordingly. Afterall I don't want a user to see a message "we are open" at 1pm their time - they could be in Japan and it'd be about 4am UK time.Is this possible to work out the time difference on any system?

View 1 Replies

ActionScript 2.0 :: Create A Flash Xml Editor Based On Senocular's News Editor?

Oct 5, 2006

I'm trying to create a flash xml editor based on senocular's news editor but I am having some trouble getting the xml file to load. My xml file is structured as below[code]...

View 2 Replies

ActionScript 3.0 :: Call Getters And Setters From The Editor Without Using Static On The Editor?

Jan 13, 2011

my main class is Editor my sub class is a CustomTextField i need my Editor to keep track of what the active CustomTextField is, since there can be more than one. i want to have a variable, activeTextField:String to keep track of the active CustomTextField. i created getters and setters on editor to keep track of activeTextField. how do i call these getters and setters from the editor w/out using static getters and setters on the editor? this has to be confusing to read because i am utterly confused writing it...

View 1 Replies

ActionScript 2.0 :: Photo Gallery - Pictures Are Not Loading When Open Default.swf And Then Navigating To The Section Work

Feb 19, 2007

I want to say that the code I am working with is the same found here: [URL] The code is working perfectly (pictures are displaying) when opening the file, work_diesel.swf by itself. However, my problems occur when I open default.swf, and then navigating to the section work. From there I hit advertising, and in that section DIESEL. HERE is where the problem is visible. The pictures are not loading AT ALL when doing it this way (the correct and final way).

I am just wondering if anyone can pin point the problem for me so I can change it. It must be said that the work_diesel.swf is loading from an external source into default.swf.

View 3 Replies

ActionScript 2.0 :: Using External Editor - Why Better Than The Native Editor In Flash

Apr 24, 2007

Does anyone have any experience using external actionscript editors? I've given a brief look at SE|PY, but not sure why it's any better than the native editor in Flash.

View 1 Replies







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