[flexcoders] Embed AIR app to MS Word

2009-06-24 Thread lehaianh1986
Hi all, I know some function of Adobe Reader is embed to MS Word. I wonder that can AIR app have ability to embed to MS Word? And how to do it?

[flexcoders] Read pdf file

2009-05-06 Thread lehaianh1986
Hi all. I see that AIR can access pdf file and display it by htmlloader. But to manipulate with it, firstly I need to write javascript function and add to each pdf file like http://www.adobe.com/devnet/air/flex/quickstart/scripting_pdf.html What I want is manipulate with random pdf file and do

[flexcoders] Synchronize time

2009-04-23 Thread lehaianh1986
Hi all, can AIR have ability to check date-time from internet? Depend on my knowledge, I think I need to send request to some websites, then receive the response is the date. Any one know about it can help me? I search but don't see anything guide me to do that.

[flexcoders] Re: Expiration date

2009-04-22 Thread lehaianh1986
@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of lehaianh1986 Sent: 22 April 2009 04:03 To: flexcoders@yahoogroups.com Subject: [flexcoders] Expiration date Hi all, I have small AIR project, now it is beta version. I will send it to some testers. So, I want

[flexcoders] Expiration date

2009-04-21 Thread lehaianh1986
Hi all, I have small AIR project, now it is beta version. I will send it to some testers. So, I want to write some code to set expired date for it. Example as set this soft to stop working 1 month from first use, or set the number of using soft is 100 times. Any one can guide me some steps to

[flexcoders] Re: InteractiveObject Problem

2009-04-17 Thread lehaianh1986
Thank Amy I have found about evt.mouseTarget as ... and now no error appear. Hai Anh --- In flexcoders@yahoogroups.com, Amy amyblankens...@... wrote: --- In flexcoders@yahoogroups.com, lehaianh1986 lehaianh1986@ wrote: I know it, but I can't choice another Class because evt.mouseTarget

[flexcoders] Re: InteractiveObject Problem

2009-04-15 Thread lehaianh1986
I know it, but I can't choice another Class because evt.mouseTarget is InteractiveObject I write code if (evt.mouseTarget.hasOwnProperty(data)) var inObj:AdvancedDataGridItemRenderer = evt.mouseTarget; The error message 1118: Implicit coercion of a value with static type

[flexcoders] InteractiveObject Problem

2009-04-14 Thread lehaianh1986
I have an event for my right click mouse on AdvancedDataGrid. I want to collect row item data so my code is public function menuItemSelect(evt:ContextMenuEvent):void { var searchString:String; var inObj:InteractiveObject; inObj = evt.mouseTarget; if (inObj.hasOwnProperty(data)) {

[flexcoders] Re: InteractiveObject Problem

2009-04-14 Thread lehaianh1986
How? I don't understand what you say. If I click on header of AdvancedDataGrid or another area, it false because an object have no data property. But when I click on row item in AdvancedDataGrid, an object I collect have data property. I use code if (inObj.hasOwnProperty(data)) to avoid wrong

[flexcoders] Re: PrintAdvancedDataGrid Problem

2009-04-13 Thread lehaianh1986
Can anyone help me solve my problem?

[flexcoders] PrintAdvancedDataGrid Problem

2009-04-12 Thread lehaianh1986
Hi all, I have data in AdvancedDataGrid and want to print it. If I only print data is provided by Results(ArrayCollection), it will print ok. But I want to print data is showed in AdvancedDataGrid because it is grouped by some grouping field. Here is my old code, it print data in multi page

[flexcoders] Re: Create XML List by code

2009-04-10 Thread lehaianh1986
. thomas 2009/4/10 lehaianh1986 lehaianh1986@ mailto:lehaianh1...@... yahoo.com No, I can't use static string. Depend on my data, I will use regexp to sort and classify items to some groups (like example I show). I think it like a dynamic tree and can be add or edit, etc... So how do

[flexcoders] Create XML List by code

2009-04-09 Thread lehaianh1986
Hi all, I have XMLList like: mx:XMLList id=treeData node label=Mail Box node label=Inbox node label=Marketing/ node label=Product Management/ node label=Personal/ /node node label=Outbox

[flexcoders] Re: Create XML List by code

2009-04-09 Thread lehaianh1986
: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of lehaianh1986 Sent: Thursday, April 09, 2009 2:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Create XML List by code Hi all, I have XMLList like: mx:XMLList id=treeData node label=Mail Box node

[flexcoders] Re: Alert Control help

2009-04-08 Thread lehaianh1986
Thank Carlos I use Title window and have result I expect. Here is my code private var tw:TitleWindow = new TitleWindow(); private function Load():void { tw.title = Wait to update...; mx.managers.PopUpManager.addPopUp(tw,this,true); PopUpManager.centerPopUp(tw); ... } // then call remove when

[flexcoders] Alert Control help

2009-04-07 Thread lehaianh1986
Hi every one. I need your help. I create an Alert like Wait to update... I show it for user when I do some work from inside. After I finish it, I want remove an Alert by code. I search and see some guide. Here is my code follow it private var msg:Alert = new Alert; private function Load():void

[flexcoders] Re: AdvancedDatagrid

2009-03-31 Thread lehaianh1986
Thank Tracy and Tim, your code is great. I have seen what I want. Thank very much. --- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote: event.itemRenderer.data -TH --- In flexcoders@yahoogroups.com, lehaianh1986 lehaianh1986@ wrote: I use the line to test. It show

[flexcoders] AdvancedDatagrid

2009-03-30 Thread lehaianh1986
Hi every body. I have a AdvancedDatagird and dataprovider from Array Collection. How to listen an event when I click to each row? I want use an event when I click left mouse, right mouse, double click,...etc My code is here but it not run var client:AdvancedDataGrid = new AdvancedDataGrid;

[flexcoders] Re: AdvancedDatagrid

2009-03-30 Thread lehaianh1986
, lehaianh1986 lehaianh1986@ wrote: Hi every body. I have a AdvancedDatagird and dataprovider from Array Collection. How to listen an event when I click to each row? I want use an event when I click left mouse, right mouse, double click,...etc My code is here but it not run

[flexcoders] Re: AdvancedDatagrid

2009-03-30 Thread lehaianh1986
] On Behalf Of lehaianh1986 Sent: Monday, March 30, 2009 10:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: AdvancedDatagrid Yeah I see. Thank you very much. I still have small question To give index of row I use AdvancedDataGrid(event.currentTarget).selectedIndex

Re: Fwd: [flexcoders] Tree View Issue

2009-03-25 Thread lehaianh1986
++){ tree.expandChildrenOf(tree.dataProvider[i], true) } Hope this helps... Regards, Pravin Uttarwar -- Forwarded message -- From: lehaianh1986 lehaianh1...@... Date: 2009/3/25 Subject: [flexcoders] Tree View Issue To: flexcoders@yahoogroups.com I use mx:Tree to view

[flexcoders] Re: How to add more context menu???

2009-03-24 Thread lehaianh1986
Thank Steve very much. I find out the link but I don't know how to follow it. Now I can add more context menu :) --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: Is there any reason you can't use the workaround they suggest in Jira? Main Application: ?xml version=1.0

[flexcoders] Tree View Issue

2009-03-24 Thread lehaianh1986
I use mx:Tree to view my data in XMLList. I want to show Tree in default with expand all item. I use method tree.expandItem() but it does not run. Here is my code mx:WindowedApplication xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical applicationComplete=init() mx:Script

[flexcoders] How to add more context menu???

2009-03-23 Thread lehaianh1986
Hi every body. I want to add my function when I click on word in text area (like copy, paste, ..etc). I follow the guide in http://www.adobe.com/devnet/air/flex/quickstart/adding_menus.html But what i want is add my function to default context menu, not instead of remove default context menu.

[flexcoders] Re: How to add more context menu???

2009-03-23 Thread lehaianh1986
Thank kenneth. I want to add context menu in text area. Here is the code ?xml version=1.0 encoding=utf-8? mx:WindowedApplication xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=init() mx:Script ![CDATA[ import mx.controls.Alert; [Bindable]

[flexcoders] Synonym Issue

2009-03-20 Thread lehaianh1986
I want to question anybody who know about synonym issue. In my AIR app, I have text area component to compose some document. I want to have synonym function in order to when I click any word in text area, the app show list of synonym word that I can replace this word by another word. I have

[flexcoders] Synonym Issue

2009-03-20 Thread lehaianh1986
I want to question anybody who know about synonym issue. In my AIR app, I have text area component to compose some document. I want to have synonym function in order to when I click any word in text area, the app show list of synonym word that I can replace this word by another word. I have

[flexcoders] Re: HTMLLoader Problem

2009-02-28 Thread lehaianh1986
I have tried IFrame but I meet problem. When I login to website that include Recaptcha Authentication, I type password and pass through authentication step. After that, when I search information in this website, the connection is drop and I need to authenticate again. And the loop don't stop. So

[flexcoders] HTMLLoader Problem

2009-02-27 Thread lehaianh1986
Hi all, I have a AIR desktop app that use to login to 1 website and download data from it. I use HTMLLoader component to display this website and authenticate before download data because this website include Recaptcha Authentication. Now, I want to embed it to my website but I know I can't use

[flexcoders] Re: why don't create AdvancedDataGrid in new window

2009-02-10 Thread lehaianh1986
The bug is here: var newWindow:NativeWindow = new NativeWindow(options); The solution is instead of create a new NativeWindow, I create a new Window.

[flexcoders] PrintAdvancedDataGrid

2009-02-09 Thread lehaianh1986
I wonder that PrintAdvancedDataGrid have bug. I have an AIR app to work with document file. The output is AdvancedDataGrid and I want to print it. I use code to work with AdvancedDataGrid follow link http://livedocs.adobe.com/flex/3/html/help.html?content=printing_5.html#145939 When I debug my

[flexcoders] why don't create AdvancedDataGrid in new window

2009-02-08 Thread lehaianh1986
I have a main window and want to create a new window to show result. Result exist in the AdvancedDataGrid. I don't know although it run but I can't see anything. Here is my code import ... var options:NativeWindowInitOptions = new NativeWindowInitOptions(); var newWindow:NativeWindow = new

[flexcoders] Re: Visible issue

2009-01-30 Thread lehaianh1986
I've got something like creationCompleteHandler: var sysTrayIcon:SystemTrayIcon = NativeApplication.nativeApplication.icon as SystemTrayIcon; sysTrayIcon.addEventListener(MouseEvent.CLICK,undock); undock: if

[flexcoders] Re: Call external App from AIR

2009-01-22 Thread lehaianh1986
A great solution that I find is FluorineFx Aperture Framework. Here is link http://aperture.fluorinefx.com/ It allow us to write extension library to control more things, then now I can control word automation.

[flexcoders] Visible issue

2009-01-22 Thread lehaianh1986
Hi everyone! I have problem with my AIR app. I build an AIR app with Flex builder 3. I create a taskbar icon for my app. When I start app, the icon visible in system taskbar. So what I want is that I minimize the app, it is hidden until someone click to icon. I write code to create taskbar icon

[flexcoders] Re: Call external App from AIR

2009-01-07 Thread lehaianh1986
Thank all of you!!! I will try these solutions. In some next days, I will post questions.

[flexcoders] Re: Call external App from AIR

2009-01-06 Thread lehaianh1986
I want to build an App which have function : open MS word document, work with it, save it to plain text, then upload text file to server. So I choice AIR because I see it have same functions. The command proxy allows you to send calls to external code to do things you can't do in AIR via

[flexcoders] Call external App from AIR

2009-01-05 Thread lehaianh1986
Hi every body. I'm a newbie in Flex and AIR. I have new project that create an AIR app. It open MS word document, edit and save as to plain text. So my idea is use Actionscript in AIR app to call javascript in mx:html, then java code call an ActiveXObject to launch MS Word app. I use Flexbuilder 3

[flexcoders] Re: Call external App from AIR

2009-01-05 Thread lehaianh1986
Thank Sam! I build an client AIR app. I find that all the way which I have tried is can't execute. I have received another guide about command proxy so I will search about it. How about just distributing that SWF and the HTML file instead of using AIR? can you give me some information about this