[flexcoders] Why follow

2010-08-20 Thread itdanny2002
I tried to create a class extends from MovieClip and can added mx.controls.Text I tried MovieClip/UIMovieClip...doesn't work ! I don't use Sprite as all other controls that I will aded is from UIComponent based. package { import mx.flash.UIMovieClip; import mx.controls.Text; import

[flexcoders] Can mx.controls.Text added to import mx.containers.Canvas ?

2010-08-20 Thread itdanny2002
Error in StyleManager.as var styleManager:IStyleManager2 = IStyleManager2(moduleFactory.getImplementation(mx.styles::IStyleManager2)); Any idea ? var sp:Canvas = new Canvas; sp.height = 100; sp.width = 100; sp.graphics.beginFill( 0xff , 1 );

[flexcoders] Re: Can mx.controls.Text added to import mx.containers.Canvas ?

2010-08-20 Thread itdanny2002
I do this in pure action script. Haven't use mxml. --- In flexcoders@yahoogroups.com, itdanny2002 itdann...@... wrote: Error in StyleManager.as var styleManager:IStyleManager2 = IStyleManager2(moduleFactory.getImplementation(mx.styles::IStyleManager2)); Any idea ? var

[flexcoders] Re: Can mx.controls.Text added to import mx.containers.Canvas ?

2010-08-20 Thread itdanny2002
I do this in pure action script. The startup is UIMovieClip / MovieClip --- In flexcoders@yahoogroups.com, itdanny2002 itdann...@... wrote: I do this in pure action script. Haven't use mxml. --- In flexcoders@yahoogroups.com, itdanny2002 itdanny33@ wrote: Error in StyleManager.as

[flexcoders] navigateToURL to new TAB rather than new WINDOW

2009-05-08 Thread itdanny2002
I use navigateToURL(new URLRequest(URL),_blank) to open a new window How can I open in in a new tab instead ? I try to hold CTRL and then click. it works in other web page but not flash.

[flexcoders] Migrate Flex to Flash Lite

2009-04-23 Thread itdanny2002
We want to use a flex program (FP7) on mobile. However, not much mobile supports. Both Flex Builder (Output Flash) and Flash CS4 (ouput Flash Lite) support ActionScript. Can I change all code to ActionScript in Flex Builder and then use it in Flash CS4 ? Please show me the way. Thank you very

[flexcoders] Re: Migrate Flex to Flash Lite

2009-04-23 Thread itdanny2002
Or, I should wait till FP 10 since it supposed to be used in all mobile ... in future. --- In flexcoders@yahoogroups.com, itdanny2002 itdann...@... wrote: Thanks for your reply. OK. Then. I may write a new small interface program to extract and display data from server rather than a full

[flexcoders] Test various Flash Player version

2009-04-22 Thread itdanny2002
Is there a way to test various flash player version in Flex Builder ? Some of our computers is locked and won't change flash player version in short period of time. Anyhow, some can use latest version. How can I set my computer so that I can test both ? Or, I just set a lower version e.g. 7.

[flexcoders] Which mobile device can run flash ?

2009-03-25 Thread itdanny2002
Dear All, I have a flex program and understand that Flash Player 10 will be released soon which Adobe claimed that it can work in S60, Androd...or even iPhone. Do you know which mobile can run flash at this moment ? Or, How can I do that ? Otherwise, I need to learn Flash Lite and write my

[flexcoders] Re: Which mobile device can run flash ?

2009-03-25 Thread itdanny2002
Tom, If it can run FP9, that's great ! Any hints ? Which model ? D.C.

[flexcoders] Flash Lite or Flash 10

2009-03-12 Thread itdanny2002
I am developing an application which suppose to run on mobile. Should I do it in FLEX and run it in Flash Player 10 or I should develop it in Flash Lite ? I write some programs by using FLEX but never try Flash Lite. Which way I should go ? Thanks

[flexcoders] Encode Flex / PHP on Client/Server machine

2009-01-13 Thread itdanny2002
Dear All, I have Flex program as client with PHP on server side. I use web hosting. How can I protect my source code ? Seems that Web Hosting Company can read my files or even decompile if necessary. Is there any encoding method (something like exe file) on client and server side ? Or, I

[flexcoders] PreventDefault doesn't work

2008-11-26 Thread itdanny2002
An application with only 2 controls ComponentA is a multi-line text. ComponentB is TextInput. I capture PgUp/PgDn and scroll the component. However, when focus on component B, PgUp/PgDn will cause my cursor move to the end or beginning of word together with scrolling. I want to scroll without

[flexcoders] Re: PreventDefault doesn't work

2008-11-26 Thread itdanny2002
Success. Keep selectionBeginIndex and selectionEndIndex in TextInput KeyDown() event. Then, restore it in next KeyDown event. Thank you.

[flexcoders] All Focus Component in Container

2008-11-13 Thread itdanny2002
I know that there is a function to find next focus component. However, how can I know ALL focus component inside a Container ? The following function can find next only:- focusManager.getNextFocusManagerComponent If I check all childs within component, I can't find event though I check its

[flexcoders] Re: All Focus Components in Container

2008-11-13 Thread itdanny2002
I use following function to get but not success. Many IMAGES, INPUT button has been collected. Of course, I can filter out but there are so many controls. Any idea to modify the function ? I wanna to get all tabbable components in a container. public function

[flexcoders] Re: Is it a bug while switching focus ?

2008-11-05 Thread itdanny2002
Hi Alex, As in my example, it did. It can get back the focus but it shifts to other control (test2) instead of original one (test1).

[flexcoders] Re: Is it a bug while switching focus ?

2008-11-05 Thread itdanny2002
I use I.E. It has focus but shift to other control I guess that it capture the Tab key while I press Alt-Tab to switch back. Anyway, I write a rountine in DeActivate event to capture last focus. And then, restore it in Activate event. However, I find another problem ... if I press the key

[flexcoders] Is it a bug while switching focus ?

2008-11-04 Thread itdanny2002
I write a simple application with 2 textinput control. mx:VBoxmx:TextInput id=test1/mx:TextInput id=test2//mx:VBox Case 1: a) Click test1 control. b) Switch to other application c) Click the application bar and switch back. d) test1 is on focus. OK ! No Problem ! Case 2: a) Click test1 control.

[flexcoders] Re: Refresh Screen Counter

2008-10-24 Thread itdanny2002
It works ! Thank you.

[flexcoders] Refresh Screen Counter

2008-10-23 Thread itdanny2002
I have below sample code which display the result of counter. How can I display the progress by using some screen refresh function ? ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[

[flexcoders] Re: Still no one knows ? Please help.

2008-10-22 Thread itdanny2002
Thank you very much. Hi, may I know how to get parent style ? when I get the style, it returns error. I found that the stylename is null and return undefined when got Color style. How can it search the chain and get its parent style ? Many Many Thanks.

[flexcoders] Re: Still no one knows ? Please help.

2008-10-21 Thread itdanny2002
Please check the code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute backgroundGradientAlphas=[1.0, 1.0] backgroundGradientColors=[#33, #33] mx:Script ![CDATA[ [Bindable] private var setData:Array = [ {label:Menu,

[flexcoders] Re: Still no one knows ? Please help.

2008-10-21 Thread itdanny2002
Thank you but I wanna to draw the circle or checkmark instead of using symbol. I have tried to embed image files. It works. However, I wanna to use the color as same as text. Since the color of my application can be changed, I can't predict what color user used and I can prepare so many different

[flexcoders] Still no one knows ? Please help.

2008-10-20 Thread itdanny2002
Does anyone knows how to change the color of bullet (radio) or checkmark in menu box ? Always black.

[flexcoders] Re: Which style name control the color

2008-10-20 Thread itdanny2002
, highlightAlphas and themeColor. Mike On Sun, Oct 19, 2008 at 7:20 AM, itdanny2002 [EMAIL PROTECTED] wrote: Which style name control the color of bullet / checkmark in menu control ? -- Teoti Graphix, LLC http://www.teotigraphix.com Teoti Graphix Blog http

[flexcoders] Re: Still no one knows ? Please help.

2008-10-20 Thread itdanny2002
checkmark: iconColor - the color of the checkmark iconDisabledColor - the color of the checkmark when the control is disabled Just set these to the colors you want. ~randy --- In flexcoders@yahoogroups.com, itdanny2002 itdanny33@ wrote: Does anyone knows how to change the color

[flexcoders] Which style name control the color

2008-10-19 Thread itdanny2002
Which style name control the color of bullet / checkmark in menu control ?

[flexcoders] Change Radio Button COLOR of Menu Control

2008-10-17 Thread itdanny2002
Anyone has idea ? Many Thanks. P.S. I have try to modify mx.skins.halo.RadioButton.as. However, when it uses getstyle, it can't get the borderColor or any others. The return is null.

[flexcoders] Right side sub-menu change to left side

2008-10-16 Thread itdanny2002
Dear All, May be I miss it. Normally, when menu control display sub-menu, is is on right side. How to change it on left side. My control is on the top-right corner. When it display submenu, it is on the top of original menu. It doesn't mvoe to left side. If it can't, any workaround ?

[flexcoders] Refresh screen after changing 'Global' font size

2008-10-16 Thread itdanny2002
How to refresh screen ? Though I increase font size, it doesn't refresh. I use invalidatesize() but not success

[flexcoders] Re: Refresh screen after changing 'Global' font size

2008-10-16 Thread itdanny2002
I'm confused. It works for Application.application.setstyle(fontSize,12) --- In flexcoders@yahoogroups.com, itdanny2002 [EMAIL PROTECTED] wrote: How to refresh screen ? Though I increase font size, it doesn't refresh. I use invalidatesize() but not success

[flexcoders] Re: Refresh Flex Navigator's Projects in Flex Builder

2008-10-11 Thread itdanny2002
Dear All, Thank you but none of suggestions work. Finally, I deleted all files in folder including configuration files. And then, recreate the project. It works fine now.

[flexcoders] Does Flex support relative FontSize ?

2008-10-07 Thread itdanny2002
Is there a simple way to set the fontsize according to one global value, such as I can declare fontsize:100% or fontsize:+1 in css ?

[flexcoders] Refresh Flex Navigator's Projects in Flex Builder

2008-10-06 Thread itdanny2002
Dear All, How to refresh all projects in flex builder ? I delete some files in corresponding directories. Those files are not used. Anyhow, a blue folder appear, I can't remove it. Is there any files to keep these project information ?

[flexcoders] Right align menu (not label) of PopUpButton

2008-10-02 Thread itdanny2002
If I click PopUpButton, it will display a menu. How can I align the menu (not label inside) to the right of PopUpButton. e.g. .. Menu Button ..The long Menu A ... ..The long Menu B ... ..The long Menu C ... I have tried to adjust X value of menu control but not

[flexcoders] Re: Runtime default parameter

2008-09-29 Thread itdanny2002
I don't prefer to type it in template.html since it is for deployment and copy to production server. I tried to set it in Project's properties (RUN - URL or path to run) and becomes ..abcde.html#123 It doesn't work.

[flexcoders] Runtime default parameter

2008-09-28 Thread itdanny2002
Hi, How to set the default running parameter for testing ? Normally, we create a program named abcde. We run path+abcde. However, I want to add some parameter after the program for testing e.g. path+abcde+#123 i.e.http: ...abcde#123 Now, I run the program and then type #123 on url

[flexcoders] Quick reference to Application.application

2008-09-26 Thread itdanny2002
I have main application and many modules. While I do the coding in modules, I need to Application.application for refering to variable and functions in Main application. All works but I want to type shorted name. Any methods ?

[flexcoders] Get Browser URL, not REAL URL

2008-09-25 Thread itdanny2002
I got a problem. I have my own domain name and hosts in ISP (A) e.g. www.abc.com My Flex program is located in another ISP (B). e.g. www.xyz.com So, I configure the frame in ISP(A) to ISP (B) file. Then, if user type www.abc.com, it displays the content of www.xyz.com. It runs prefectly. The

[flexcoders] Re: Get Browser URL, not REAL URL

2008-09-25 Thread itdanny2002
This method only show current URL, not the one in browser address.

[flexcoders] Re: Get Browser URL, not REAL URL

2008-09-25 Thread itdanny2002
This method only show current URL, not the one in browser address.

[flexcoders] Re: Cannot use keyboard to access FireFox 3.0.1 menubar

2008-09-24 Thread itdanny2002
Very simple program, use a textinput box :- ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute width=100% mx:TextInput x=10 y=10/ /mx:Application Then, press ALF-F to access File menu of FireFox or press Ctrl-L or ALT-D to access Address

[flexcoders] PopupButton Background Color

2008-09-23 Thread itdanny2002
I can't change the background color of popupbutton even I set fillAlphas: 1.0, 1.0, 1.0, 1.0; fillColors: #00, #00; I want totally black background with a white text rather than gradient background. Any helps from you ? Many Thanks !

[flexcoders] Re: PopupButton Background Color

2008-09-23 Thread itdanny2002
Dear Jon, Many thanks. Danny

[flexcoders] Re: PopupButton Background Color

2008-09-23 Thread itdanny2002
Jon, it works on purely black but not on purely white any idea ?

[flexcoders] Re: Cannot use keyboard to access FireFox 3.0.1 menubar

2008-09-22 Thread itdanny2002
All ALT-?? key, such as ALT-F to access file menu bar, ALT-D ...

[flexcoders] Re: Passing URLVariables from 1 Flex App to another?

2008-09-20 Thread itdanny2002
If you want to use 2 applications, you can ask login in first application and then upon the user-id and password checking, you can use Loadmodule to call another application.

[flexcoders] Cannot use keyboard to access FireFox 3.0.1 menubar

2008-09-18 Thread itdanny2002
Very simple program, ust a textinput box :- ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute width=100% mx:TextInput x=10 y=10/ /mx:Application Then, I can't use keyboard to access FireFox menubar though it can be access by mouse.

[flexcoders] Re: Bug or not: Display both scrollBar in browser

2008-09-11 Thread itdanny2002
Thanks Million. The program is useful. I filter all properties by width and check which component has changes if just adjusting vertical height. I got it but don't understand. The width of FlexSprite content pane has been increased. All others component doesn't. What's that ?

[flexcoders] Scroll if object not on screen

2008-09-11 Thread itdanny2002
If object is not on screen, e.g. below the screen, I need to scroll up the screen to see it. I use the following but not success. // To check if it is below while (MyObj.y (verticalScrollPosition+application.height)) { verticalScrollPosition=verticalScrollPosition+application.height; } //

[flexcoders] Bug or not: Display both scrollBar in browser

2008-09-10 Thread itdanny2002
Last time, I found that we can't access menubar by keystroke in FireFox while using Flex program. Moreover, we can't press ALT-D in IE. Otherwise, it can't move back by TAB. Today, I found another interesting point. I create a Canvas and add textarea component on to it. No scrollbar display if it

[flexcoders] Browser Bug ? Display 2 scrollbars

2008-09-10 Thread itdanny2002
I create Vbox with fixed width. Then I add Canvas inside. Afterwards, I add TextArea as child. Scrollbar policy of canvas is off. If there are many childs but within boundary e.g. 700 pixel. No scrollbar. If it is over screen height e.g. 900 pixel. It displays scrollbars. Anyway, it displays

[flexcoders] Re: Bug or not: Display both scrollBar in browser

2008-09-10 Thread itdanny2002
Thank you. Your hints correct me. I found that the extra width which cause the display of horizontal bar is vertical scrollbar. However, no matter what width value I set, the additional vertical bar will cause additional horizontal bar. For example, I see application width is 1000. All child

[flexcoders] Re: Show progress while using for()

2008-09-09 Thread itdanny2002
You can set a public variable to keep the progress within your for() loop and then before running the routine, create SetTimeOut() loop to get the value.

[flexcoders] Bug ? IE FireFox Menubar

2008-09-08 Thread itdanny2002
I write a very simple with a TextInput Box. On IE, I can use Tab to move around IE menubar and my application. But, when I press ALT-D to address bar, I can't use any method to go it back to my application except use a mouse to click it. On FireFox, I cannot use hotkey such as ALT-F to access

[flexcoders] Tile + HBox Container

2008-09-07 Thread itdanny2002
I wanna to put many textarea component on to HBox container horizontally and go to next line if it is full. However, HBox can't auto wrapping like Tile. Any container work likes this ? If I need to write my own, where is the starting point ? If I use Tile, I need to make it not standard size If I

[flexcoders] What wrong ? CtrlLeft and Left

2008-09-05 Thread itdanny2002
System can detect MoveRight() but not Control Key ! this.addEventListener(KeyboardEvent.KEY_DOWN, fxKeyDn, true); private function fxKeyDn(evt:KeyboardEvent):void{ switch (evt.keyCode){ case Keyboard.RIGHT: evt.stopImmediatePropagation(); if (evt.ctrlKey) {

[flexcoders] Re: What wrong ? CtrlLeft and Left

2008-09-05 Thread itdanny2002
I found that my code can work in Ctrl-Up Up Ctrl-Dn Dn but not Ctrl-Left Left Ctrl-Right Right

[flexcoders] Dispatch PgDn to scroll down

2008-09-04 Thread itdanny2002
I tried to dispatch scroll down event when user press PgDn but in vain: case Keyboard.PAGE_DOWN: var PgDnEvt:ScrollEvent = new ScrollEvent(ScrollEvent.SCROLL); PgDnEvt.direction=ScrollEventDirection.VERTICAL; PgDnEvt.detail=ScrollEventDetail.PAGE_DOWN;

[flexcoders] Re: Dispatch PgDn to scroll down

2008-09-04 Thread itdanny2002
I put VBox on stage with many Text component. Some Text components are below the screen. If I use mouse to click the right scrollbar, it will move down. Anyway, I wanna to click some button and move fast to see hidden Text component which is far away from top. Actually, it likes html-page. We

[flexcoders] Re: Dispatch PgDn to scroll down

2008-09-04 Thread itdanny2002
Success ! Thank you very much. I think too much on this issues !

[flexcoders] Re: Web-based Sync data - Flex/Air VS.NET

2008-08-17 Thread itdanny2002
Greg, it is about several MB data and may be more. Anyhow, no matter how geat the talk is. We need a practical solution at current moment, not in future. As a result, we're now building a prototype to prove the concept in both product and see whether it solves my users problems. For

[flexcoders] Re: Web-based Sync data - Flex/Air VS.NET

2008-08-17 Thread itdanny2002
More .. I can request users to release the size setting. However Sharedobject can't like datebase which has table structure and indexing. If it is, so great ! I think about to down it all into memory (array) and then do sorting or whatever actions. But I need to test, that's why we are now

[flexcoders] Re: Loop through all visual components

2008-08-13 Thread itdanny2002
(Application.application); -- Laurent Cozic Flash, Flex and Web Application development http://pogopixels.com --- On Tue, 8/12/08, itdanny2002 [EMAIL PROTECTED] wrote: From: itdanny2002 [EMAIL PROTECTED] Subject: [flexcoders] Loop through all visual components To: flexcoders@yahoogroups.com Date

[flexcoders] Re: Loop through all visual components

2008-08-13 Thread itdanny2002
Thank you. Through your lens, I did it by :- 1. Make a custom component with custom properties 2. Make that properties be [Bindable] 3. Write a private function to change what I need while the cusom properties change. Then, no need to loop through all component, and no need to use function

[flexcoders] Loop through all visual components

2008-08-12 Thread itdanny2002
I have created a custom button and used it throughoutly in my FLEX application. How can I change it dynamically by looping through all components ? Is there any like children stuff and then use ValidateDisplayList to make it refresh ? Actually, it likes changing the skin dynamically. But I need

[flexcoders] My Music / Registry

2008-07-31 Thread itdanny2002
I know that Windows keep the default path of My Music in Registry Key. How can I get it in FLEX or AIR ?

[flexcoders] Re: My Music / Registry

2008-07-31 Thread itdanny2002
--- In flexcoders@yahoogroups.com, itdanny2002 Chow.Danny@ wrote: I know that Windows keep the default path of My Music in Registry Key. How can I get it in FLEX or AIR ?

[flexcoders] Web-based Sync data - Flex/Air VS.NET

2008-07-24 Thread itdanny2002
I need to build a web-based Application which has data in Client Server, sync is required. AIR --- Support SQLite in client side - It's ok but we want web-based so that installation is not required. Go to anywhere, just a click to see data. FLEX It can't have database operation such

[flexcoders] Re: Web-based Sync data - Flex/Air VS.NET

2008-07-24 Thread itdanny2002
? Thanks --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Anything that lives in a browser is not going to be able to have a local database, going to microsoft won't change that. On Fri, Jul 25, 2008 at 11:03 AM, itdanny2002 [EMAIL PROTECTED] wrote: I need to build

[flexcoders] Re: Web-based Sync data - Flex/Air VS.NET

2008-07-24 Thread itdanny2002
if the next Windows / OS X is awful? -Josh On Fri, Jul 25, 2008 at 2:00 PM, itdanny2002 [EMAIL PROTECTED] wrote: But if the only to do the sync is to install a program in desktop. Then, any benefit of AIR is better than Microsoft'stuf ? Sorry, it is a management question so that we can

[flexcoders] Can SQLite work in non-AIR envirnoment ?

2008-07-23 Thread itdanny2002
Hi All, I found that a lot of FLEX application used SQLite. However, most of them is in AIR. Can it be used in web-based and do sync with server ? I wanna to design a web application which has data in client PC and sync with data in server side. Can it be ? Any light/direction on it ? DC

[flexcoders] Re: Can SQLite work in non-AIR envirnoment ?

2008-07-23 Thread itdanny2002
or how to go about it. --Tim Rowe Software Engineer carsales.com.au From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of itdanny2002 Sent: Thursday, 24 July 2008 11:52 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Can SQLite

[flexcoders] Re: Can SQLite work in non-AIR envirnoment ?

2008-07-23 Thread itdanny2002
on multiple computers. - Original Message From: itdanny2002 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, July 23, 2008 6:51:39 PM Subject: [flexcoders] Can SQLite work in non-AIR envirnoment ? Hi All, I found that a lot of FLEX application used SQLite

[flexcoders] Re: What next after getting FLEX ?

2008-06-02 Thread itdanny2002
may be better off looking into the WAMP project. This is a simple installer to get you Apache, MySQL and PHP on Windows. After that, there are many tutorials, books etc to get you up and running. --- In flexcoders@yahoogroups.com, itdanny2002 Chow.Danny@ wrote: Dear All

[flexcoders] Re: What next after getting FLEX ?

2008-06-01 Thread itdanny2002
--- In flexcoders@yahoogroups.com, Justin Stanczak [EMAIL PROTECTED] wrote: I throw in my vote for Tomcat, and Java Berkley DB. I'm trying to use Blaze DS, but still not there yet, so I can't point to it yet. I've been using Flex Builder as well. On Tue, May 27, 2008 at 11:26 AM, itdanny2002 [EMAIL