[flexcoders] Float number calculation in AS3

2008-07-14 Thread Vadim Melnik
Hello All, Its should be very simple, I saw posts related to this issue before in this list, but somehow was unable to find it right now. Below is listed simple test case for problem: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;

Re: [flexcoders] Re: Air App - Check connection

2008-06-02 Thread Vadim Melnik
air.net.URLMonitor would be interesting as well, this class automatically polls certain URL for availability. I believe it should also internally listen for networkChange event and in online mode check service availability. -- Thanks, Vadim. - Original Message - From: Sherif

Re: [flexcoders] Passing an email *subject* when opening email client?

2008-06-01 Thread Vadim Melnik
I believe it's related to mailto protocol (http://www.rfc.net/rfc2368.html), something like listed below should work: navigateToURL(new URLRequest(mailto://[EMAIL PROTECTED]), _self ); -- Thanks, Vadim. - Original Message - From: JRBower To: flexcoders@yahoogroups.com Sent:

Re: [flexcoders] Does Flex3Beta Provide full support for REST

2008-05-29 Thread Vadim Melnik
I believe it should be possible to send other HTTP requests with help of BlazeDS or LCDS HTTP proxy. But there will be problem also to read headers back, httpResponseStatus event is only available in AIR runtime. Consider to export .NET 3.5 webservices as SOAP ones, and communicate with help

Re: [flexcoders] Supporting (implementing) for each

2008-05-29 Thread Vadim Melnik
It should be around flash.utils.Proxy nextName/nextNameIndex/nextValue. -- Thanks, Vadim. - Original Message - From: Kevin Aebig To: flexcoders@yahoogroups.com Sent: Thursday, May 29, 2008 6:45 PM Subject: RE: [flexcoders] Supporting (implementing) for each You could

Re: [flexcoders] REPORTING in FLEX 3

2008-05-29 Thread Vadim Melnik
May be ClearBI will be interesting as well: http://tech.groups.yahoo.com/group/flexcoders/message/84387 -- Thanks, Vadim. - Original Message - From: gf_baggio To: flexcoders@yahoogroups.com Sent: Thursday, May 29, 2008 6:49 PM Subject: [flexcoders] REPORTING in FLEX 3 I

Re: [flexcoders] Re: Alternate row color of DataGridColumn

2008-02-22 Thread Vadim Melnik
Hello Sreenivas, Thanks for interesting example, just my 2c : by applying paddingTop/paddingBottom=0 styles, it's possible to make background color fitting entire data grid cell space, but it will hide row selection UI then... Vadim. - Original Message - From: sreeni_r To:

Re: [flexcoders] Anyway to introspect a Module for a list of Classes?

2008-02-14 Thread Vadim Melnik
Hello Todd, Probably way to list classes now is to parse SWF binary data manually, extract bytecode information, parse it, etc. -- Thanks, Vadim. - Original Message - From: Todd To: flexcoders@yahoogroups.com Sent: Thursday, February 14, 2008 3:54 PM Subject: [flexcoders]

Re: [flexcoders] addEventListener question

2008-02-13 Thread Vadim Melnik
It should be possible with closures: ... addEventListener(result, Closure.create(this, function(evt:*, p1:*, p2:*, ... rest):void { ... }, param1, param2); http://flexblog.faratasystems.com/?p=125 Or just bypass it as container member variable... -- Thanks, Vadim. - Original

Re: [flexcoders] Control the color of disabled component

2008-02-11 Thread Vadim Melnik
Hello, Does disabledOverlayAlpha=0 help in case of disabled containers? -- Thanks, Vadim. - Original Message - From: ezderman To: flexcoders@yahoogroups.com Sent: Monday, February 11, 2008 3:37 PM Subject: [flexcoders] Control the color of disabled component Hi, How

Re: [flexcoders] defining a javascript function from actionscript?

2008-02-07 Thread Vadim Melnik
Hello, Something like listed below should work with IE browser: ... ExternalInterface.call(eval, f1=function(x){alert(''+x);}); ExternalInterface.call(f1, 123); ... -- Thanks, Vadim. - Original Message - From: vijay95052 To: flexcoders@yahoogroups.com Sent: Thursday,

Re: [flexcoders] Re: Loading a link/url in a new window

2008-01-12 Thread Vadim Melnik
It's very strange behavior that IE eats these parameters, but is it possible to replace loader.html page with dynamic equivalent ( JSP, ASP/X etc), and make redirect or inject URLTO value directly into generated page? -- Thanks, Vadim. - Original Message - From: Alex Harui To:

[flexcoders] navigateToURL Content-Type header

2008-01-03 Thread Vadim Melnik
Hello All, Did anyone else see that Flash player navigateToURL API ignores Content-Type header for POST HTTP request? E.g. when code listed below deployed to some server boxes, I can see that Content- Type header is not sent from client side (local sniffer). But for some boxes it always works

Re: [flexcoders] International date formatting

2008-01-02 Thread Vadim Melnik
Flex 3 has runtime localization. Out of curiosity question about localization in Flex 3: Will Flex 3 runtime provide native built-in access to system defined locale settings like number, currency, date, time formats etc. (For example in Windows these settings specified in Control Panel |

Re: [flexcoders] International date formatting

2008-01-02 Thread Vadim Melnik
this information from the OS. These things have to be defined in .properties files for the desired locales. - Rob On 1/2/08 2:43 PM, Vadim Melnik [EMAIL PROTECTED] wrote: Flex 3 has runtime localization. Out of curiosity question about localization in Flex 3

Re: [flexcoders] Re: const?

2007-12-20 Thread Vadim Melnik
and the advantage of a const, which is the speed. I'm not sure though, if the compiler really replaces the value back. Time to time I see that some developers prefer const instead of var for local variables declared inside function implementation, but as for me it would make real sense if AS3

Re: [flexcoders] Beta 2 bug? useCache not available in URLRequest

2007-12-18 Thread Vadim Melnik
it into the URLRequest object. Thanks, kevin On Dec 15, 2007, at 8:07 AM, Vadim Melnik wrote: Hi Kevin, Didn't work with useCache before, but just looked at Flex 3 Beta 3: useCache, userAgent and brothers only available in URLRequest coming with AIR Beta 3 runtime (airglobal.swc

Re: [flexcoders] Beta 2 bug? useCache not available in URLRequest

2007-12-15 Thread Vadim Melnik
functionality. Probably this is done due to security reasons... -- Thanks, Vadim Melnik, http://www.docsultant.com/ - Original Message - From: Kevin To: flexcoders@yahoogroups.com Sent: Thursday, December 13, 2007 7:54 PM Subject: [flexcoders] Beta 2 bug? useCache not available

Re: [flexcoders] complex xml parsing

2007-12-13 Thread Vadim Melnik
Hi, In addition to communication issues, there is problem with E4X syntax. E.g. msRun/ node in the attached XML snip is defaulted to http://sashimi.sourceforge.net/schema_revision/mzXML_2.0 namespace, and snip[] syntax seems incorrect at all: Alert.show(xml.msRun[0].scan[]); var xml:XML =

Re: [flexcoders] [AIR] Flex Framework inside extra NativeWindow?

2007-12-13 Thread Vadim Melnik
Hi Keith, To add framework components to NativeWindow, some extra coding is necessary, like setting stage scaleMode and align to StageScaleMode.NO_SCALE and StageAlign.TOP_LEFT, monitoring stage resize event and applying changes to UIComponent. Actually mx.managers.SystemManager source code is

Re: [flexcoders] widget creation on Flex builder and related problems - need some help

2007-12-06 Thread Vadim Melnik
release: http://www.partlyhuman.com/blog/roger/apollo-native-windows-part-2 http://partlyhuman.com/articles/apollo-windows/WindowManagerSimple.zip -- Thanks, Vadim Melnik, http://www.docsultant.com/ - Original Message - From: maritakous To: flexcoders@yahoogroups.com Sent

Re: [flexcoders] No debugging source code in FB3 beta 2

2007-11-09 Thread Vadim Melnik
that are not released, due it native nature, security or other reasons, and it's OK, just my 2c... -- Thanks, Vadim Melnik. - Original Message - From: Samuel R. Neff To: flexcoders@yahoogroups.com Sent: Friday, November 09, 2007 4:10 AM Subject: RE: [flexcoders] No debugging

Re: [flexcoders] Re: Borderless, no title bar splash screen...

2007-11-06 Thread Vadim Melnik
to it tho, snip... var img:Image = new Image(); img.source = SPLASH_IMG; wnd.stage.addChild(img); ... the items added to the wnd stage do not display. I imagine its something simple I am missing, cant tell what tho. - Ivo --- In flexcoders@yahoogroups.com, Vadim Melnik

Re: [flexcoders] Borderless, no title bar splash screen...

2007-11-06 Thread Vadim Melnik
Hello Ivo, Does it help, (AIR Beta 2)? ?xml version=1.0 encoding=utf-8? mx:WindowedApplication xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical width=400 height=300 click=exit() showStatusBar=false showTitleBar=false showGripper=false verticalAlign=middle

[flexcoders] Linked resources in Flex Compiler Flex Server

2007-03-26 Thread Vadim Melnik
Hello All, Is there ability to use Eclipse linked resources like ${FRAMEWORKS}, ${MY_APP} or their equivalent in Flex Compiler and Flex Server dialogs. We are interested in: 1) Project | Properties | Flex Compiler | Additional compiler arguments: -services

Re: [flexcoders] Flex compiler API

2007-03-23 Thread Vadim Melnik
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Vadim Melnik Sent: Thursday, March 22, 2007 3:52 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex compiler API Does anyone know what is Flex OEM Kit, and where is Flex Compiler API location? Flex 2.0.1 documentation

Re: [flexcoders] FDS 2 becomes LDS 2.5 | See labs.adobe.com

2007-03-22 Thread Vadim Melnik
Out of curiosity, will LCDS 2.5 support XFA JetForm in XML format (XDP) in addition to PDF one? In other words according to Beta 2 documentation XFAHelper.open method accepts only PDF stream, but we need in XDP format as well, e.g: XFAHelper x = new XFAHelper(); x.open(C:\\some_form.pdf); //

[flexcoders] Flex compiler API

2007-03-22 Thread Vadim Melnik
Does anyone know what is Flex OEM Kit, and where is Flex Compiler API location? Flex 2.0.1 documentation provides flex2_compiler_api_ug.pdf document, mentioning flex-compiler-oem.jar. I am looking for standard way for run-time in-memory compilation (to produce dynamic modules from the generated

[flexcoders] Re: How to override type cast operator @ runtime?

2006-04-20 Thread Vadim Melnik
with proxied one it would be possible to see all method calls and property accesses at runtime with a little efforts. It's going to provide the same functionality as COM's TraceHook (http://www.sellsbrothers.com/tools/#tracehook). But sounds like it's impossible with AS3. -- Thanks, Vadim Melnik

[flexcoders] How to override type cast operator @ runtime?

2006-04-19 Thread Vadim Melnik
= o as B; trace(b); // - writes null // but I am looking for solution to // hook type cast operation as well // in other words need in ActionScript 3 // universal delegate -- Thanks, Vadim Melnik. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files

[flexcoders] Re: How to override type cast operator @ runtime?

2006-04-19 Thread Vadim Melnik
have you tried an explicit coercion? Yep, it produced runtime error: TypeError: Error #1034: Type Coercion failed: cannot convert mx.utils::[EMAIL PROTECTED] to B -- Thanks, Vadim Melnik. --- In flexcoders@yahoogroups.com, Johannes Nel [EMAIL PROTECTED] wrote: have you tried

[flexcoders] Re: Flex 2.0 b2: 'getClassByName' method of the 'flash.util' package

2006-03-24 Thread Vadim Melnik
), mxmlc/compc == C++ compiler+linker, Flash player runtime == Win32 API, etc -- Thanks, Vadim Melnik. --- In flexcoders@yahoogroups.com, Roger Gonzalez [EMAIL PROTECTED] wrote: It's interesting idea. But current Flex release doesn't provide good external libraries support as for me

[flexcoders] Re: How to enumerate ApplicationDomain classes?

2006-03-24 Thread Vadim Melnik
to other more critical issues. We'll hopefully revisit it for a future release. -rg -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Vadim Melnik Sent: Thursday, March 23, 2006 10:10 AM To: flexcoders@yahoogroups.com Subject

[flexcoders] Re: Flex 2.0 b2: 'getClassByName' method of the 'flash.util' package

2006-03-23 Thread Vadim Melnik
), but don't clearly understand it effect. -- Thanks, Vadim Melnik. --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: No, you must have a refernence to MyClass somewhere in your code in order for it to be linked in to the SWF at compile time. A string 'myPackage.MyClass' does

[flexcoders] How to enumerate ApplicationDomain classes?

2006-03-23 Thread Vadim Melnik
Hi All, ApplicationDomain provides getClass(getDefinition??) method to retrieve class definition. Is it possible to enumerate all available class definitions or class names loaded by certain application domain at runtime from AS code? -- Thanks, Vadim Melnik. -- Flexcoders Mailing List

[flexcoders] Re: Flex 2.0 b2: 'getClassByName' method of the 'flash.util' package

2006-03-23 Thread Vadim Melnik
and automatically initialize external library on demand. Just my 2c... -- Thanks, Vadim Melnik. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Vadim Melnik Sent: Thursday, March 23, 2006 4:49 AM To: flexcoders@yahoogroups.com

[flexcoders] Re: Flex 2: Chart problem

2006-03-23 Thread Vadim Melnik
Is it typo in attached code, that function declared as changeEuribor2 but click handler calls changeEuribor? -- Thanks, Vadim Melnik. --- In flexcoders@yahoogroups.com, Torben Nielsen [EMAIL PROTECTED] wrote: Hi, I am working on an application with a Line Chart that contains

Re: [flexcoders] datagrid filter

2006-03-05 Thread Vadim Melnik
Hi Manish, For Flex 1.5, I had written a FilteredDataProvider class that I've lost the source to. Maybe someone on the list has it. It's temporary uploaded to http://www.docsultant.com/temp/filtdp.zip , and will be removed with time... -- Thanks, Vadim. - Original Message -

[flexcoders] ActionScript 3 language specification as pdf

2006-03-02 Thread Vadim Melnik
Hi All, Just found AS3 specification http://livedocs.macromedia.com/specs/actionscript/3/wwhelp/wwhimpl/js/h tml/wwhelp.htm on the Web (thank to Brian Deitte). Is this document also available in pdf format? -- Thanks, Vadim Melnik. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com

[flexcoders] How to dynamically invoke AS3 class constuctor ?

2006-03-02 Thread Vadim Melnik
dynamic constructor invocation: public class B extends A { public function B() { var myArgs:Array = [4,5,6]; super(); // -- how to pass myArgs to parent // class constructor, like // super(4, 5, 6); } } -- Thanks, Vadim Melnik. -- Flexcoders Mailing List FAQ: http

[flexcoders] Re: How to dynamically invoke AS3 class constructor ?

2006-03-02 Thread Vadim Melnik
someArgs:Array used. Flex 1.5/AS2 implements class constructor as AS2 Function object and we were able to call it like Function.apply(context, args). Now we are looking for something similar in AS3... -- Thanks, Vadim Melnik. --- In flexcoders@yahoogroups.com, Alisdair Mills [EMAIL PROTECTED

[flexcoders] Re: Array based class throws error for splice method call

2006-02-28 Thread Vadim Melnik
:[EMAIL PROTECTED] *On Behalf Of *Vadim Melnik *Sent:* Monday, February 27, 2006 2:23 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Re: Array based class throws error for splice method call There's a lot of stuff missing it seems in your class Right

[flexcoders] What is ObjectEvent.property property?

2006-02-28 Thread Vadim Melnik
://livedocs.macromedia.com/labs/1/flex/langref/mx/utils/events/ObjectEvent.html#property -- Thanks, Vadim Melnik. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links

[flexcoders] Array based class throws error for splice method call

2006-02-27 Thread Vadim Melnik
Hi All, Got problem with my custom class inheriting default AS3 Array one. Not sure it's allowed in AS3, but it worked well with previous ActionScript 2. I've created small test case, it throws runtime error somewhere inside Array.splice call. Also in real application I am getting IE GPFs

[flexcoders] Re: Array based class throws error for splice method call

2006-02-27 Thread Vadim Melnik
PROTECTED] On Behalf Of Vadim Melnik Sent: Monday, February 27, 2006 1:50 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Array based class throws error for splice method call Hi All, Got problem with my custom class inheriting default AS3 Array one. Not sure it's allowed in AS3

[flexcoders] Re: Array based class throws error for splice method call

2006-02-27 Thread Vadim Melnik
which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Vadim Melnik Sent: Monday, February 27, 2006 2:23 PM To: flexcoders

[flexcoders] Runtime Error #1068: void and * cannot be reconciled

2006-02-24 Thread Vadim Melnik
Hi All, I've got runtime ActionScript errorwhen "return" statement placed inside try/finally block. Small test case attached below, it reports me: VerifyError: Error #1068: void and * cannot be reconciled. Is it correct AS3 behaviour? ?xml version="1.0"

Re: [flexcoders] Runtime Error #1068: void and * cannot be reconciled

2006-02-24 Thread Vadim Melnik
PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Vadim Melnik Sent: sexta-feira, 24 de Fevereiro de 2006 17:33 To: flexcoders@yahoogroups.com Subject: [flexcoders] Runtime Error #1068: void and * cannot be reconciled Hi All, I've got runtime ActionScript error when

Re: [flexcoders] Runtime Error #1068: void and * cannot be reconciled

2006-02-24 Thread Vadim Melnik
PROTECTED] From: flexcoders@yahoogroups.com [ mailto:[EMAIL PROTECTED] On Behalf Of Vadim Melnik Sent: sexta-feira, 24 de Fevereiro de 2006 17:33 To: flexcoders@yahoogroups.com Subject: [flexcoders] Runtime Error #1068: void and * cannot be reconciled Hi All, I've got runtime ActionScript error

Re: [flexcoders] Delegation and Callbacks

2006-02-24 Thread Vadim Melnik
Hi All, don't need that in 2.0 because we have closures which means that the function will maintain the correct this pointer Sorry for perhaps silly questions... It sounds like AS3 Function object now becomes something like thunks in C++, delegates in .NET or mx.utils.Delegate in