Re: [flexcoders] combobox, sdk 3.5 bug, any workarounds?

2010-04-05 Thread Peeyush Tuli
Override the combobox class in a custom component and add the following code - private var mDropDown:ListBase; override public function set dataProvider(value:Object):void { super.dataProvider = value; //Bug in Flex SDK 3.5: Once the data provider is set and list base is created

[flexcoders] XMLList, tree, and textinput

2010-04-05 Thread cholid cholid
Hi all, i've new problem i have textInput to show some string object mx:TextInput id='txtName' text=/ that the object i put from txtName.text = ~address~ then i want to use tree to show the txtName and make XMLList to make the tree mx:XMLList id=tree node label=data node

[flexcoders] Re: Flex load testing

2010-04-05 Thread sanjitcs
@Mete Thank you very much for your reply, it helped me a lot. I am able to extend consumer class. and I am able to receive specific message by using selector. --- In flexcoders@yahoogroups.com, Mete Atamel meteata...@... wrote: We don't have support for selectors in the load-testing-tool

Re: [flexcoders] Combobox editor problem

2010-04-05 Thread Jayant C R
Looks like you just need to make the combobox opaque. Set fillAlphas=[1, 1] for Combo in checkBoxEditor.mxml. -Jayant On Sun, Apr 4, 2010 at 3:30 AM, Bala_V v_vignes...@yahoo.co.in wrote: Hi. Iam using a combo box as item editor and am rendering it dynamically using action script. My

[flexcoders] Embed FlashPlayer in C++ app tutorial?

2010-04-05 Thread Rodney Smith
Are there any tutorials on how to embed Flash Player in a C++ app on both Mac and Windows (for the purpose of using Flex in/for the user interface)? Will it suffer performance degradation like in a browser (compared to standalone Flash Player). (Yes, I Googled and found the C# example).

[flexcoders] AdvancedDataGrid read cells

2010-04-05 Thread TGI
In my application there is an AdvancedDataGrid where I insert rows and columns dynamically. My question seems simple but is driving me crazy: I need to read each cell of my AdvancedDataGrid (scan the AdvancedDataGrid). Remember that the structure is dynamic and I don’t know in advance how many

Re: [flexcoders] Embed FlashPlayer in C++ app tutorial?

2010-04-05 Thread John McCormack
Rodney, I would be interested too if you find anything. I have considered overlaying a transparent AIR app to add content to my C++ programs. Just a thought. John Rodney Smith wrote: Are there any tutorials on how to embed Flash Player in a C++ app on both Mac and Windows (for the purpose

RE: [flexcoders] open source server side push

2010-04-05 Thread James Ward
Check out Jetty 7 with support for Asynchronous BlazeDS Polling with Continuations: http://blogs.webtide.com/athena/entry/asynchronous_blazeds_polling_with_jetty -James From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of hgnowhg Sent: Saturday, April 03, 2010

Re: [flexcoders] Embed FlashPlayer in C++ app tutorial?

2010-04-05 Thread Oleg Sivokon
Hi. This won't be an easy reading, since it's been obfuscated by google translator :), but, anyway, you may find it interesting: Part 1:

[flexcoders] Get name of function from within the function? Get arguments for any function?

2010-04-05 Thread tntomek
I'm trying to get 2 things: 1) Name of current function 2) Get list of arguments for some arbitrary function Is this possible? Here is an example: someMethod(jack, someCallback); - function someMethod(name:String, callback:Function) { // from here I'd

[flexcoders] Re: open source server side push

2010-04-05 Thread valdhor
WebORB definitely has polling (At least, WebORB for PHP does). --- In flexcoders@yahoogroups.com, hgnowhg hgno...@... wrote: so, if there is no server side push what about anything w/ polling? Again, i can't find this w/ weborb or zend thx --- In flexcoders@yahoogroups.com, Jeffry

Re: [flexcoders] Get name of function from within the function? Get arguments for any function?

2010-04-05 Thread Alex Harui
With a debug SWF, you can get the name but not in production. I don’t know of a way to get the parameters. On 4/5/10 8:10 AM, tntomek tnto...@yahoo.com wrote: I'm trying to get 2 things: 1) Name of current function 2) Get list of arguments for some arbitrary function Is this possible?

[flexcoders] Re: Flash focus issue or browser issue ?

2010-04-05 Thread valdhor
I tried your example on my system (Windows XP, Firefox 3.6.3, Flash Player WIN 10,0,45,2) and I don't see any bugs. What do you see? --- In flexcoders@yahoogroups.com, liloosweet liloosw...@... wrote: Hello there. I'm experiencing a bug with non-IE browsers (firefox, opera, chrome, ...)

[flexcoders] Re: Unsubscribe

2010-04-05 Thread valdhor
Go to the flex coders group membership page (http://tech.groups.yahoo.com/group/flexcoders/join), login and then click the leave group button in the bottom right hand corner. --- In flexcoders@yahoogroups.com, Andres Serral aser...@... wrote: Can someone tell me how can i unsubscribe from

[flexcoders] Re: AdvancedDataGrid read cells

2010-04-05 Thread valdhor
I would recommend NOT doing that. You should be looking at the dataprovider for the ADG. --- In flexcoders@yahoogroups.com, Jairo França (TGI) ja...@... wrote: In my application there is an AdvancedDataGrid where I insert rows and columns dynamically. My question seems simple but is

Re: [flexcoders] Get name of function from within the function? Get arguments for any function?

2010-04-05 Thread Robert VanCuren Jr
You can use the arguments class to get some of this info. http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/arguments.html#propertySummary http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/arguments.html#propertySummaryfor example arguments.callee returns a reference to the

Re: [flexcoders] Get name of function from within the function? Get arguments for any function?

2010-04-05 Thread Oleg Sivokon
Just adding to what Alex said: parameters' names don't exist in compiled SWF, they are referenced by indices (when the function starts, the parameters are pushed to the stack and just follow the stack logic). So, no, reflection can only tell you the number of parameters used (you can get it from

[flexcoders] Help! - Intermittent Network Issues - How do you handle?

2010-04-05 Thread rojoe615
We are in the process of rolling out an app using LCDS and Flex. I posted an earlier note about intermittent network issues, but things have gotten much worse. About the only thing users can do is shut down their browser and restart after getting messages about faultCode =

[flexcoders] Re: Loading Flex sub-applications as sandboxed applications within the same domain

2010-04-05 Thread Deuce
What we have found is that simply adding a period to the end of the domain name tricked flash player into loading the sub-application into a separate security domain. I've been using this method for well over a year now but it's seems a bit of a hack and we've run into a couple of issues here

[flexcoders] Re: open source server side push

2010-04-05 Thread Mark
Yes, WebORB definitely supports data push. We have support for RTMP, short and long polling. A licensed version of WebORB does not have any limitations for the number of concurrent users. Your limits will arrive from the hardware configuration of the architecture of your application. Also, I'd

RE: [flexcoders] Handler functions convention

2010-04-05 Thread Gordon Smith
if you subscribe to the event using ActionScript, not the mxml handler sugar, then you'll always get the event. An MXML event attribute like click=trace(event.target) just autogenerates an event handler that looks like function clickHandler(event:MouseEvent):void { trace(event.target); }

RE: [flexcoders] what is the method in mx script for declaration....as fx:declarations

2010-04-05 Thread Gordon Smith
Can you please restate your question? I'm not sure what you're asking. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of gogineni Sent: Saturday, April 03, 2010 10:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] what is

RE: [flexcoders] Can't get properties to compile?

2010-04-05 Thread Gordon Smith
This step is necessary if you are writing attributes like label={resourceManager.getString('MyApp', 'someResource') But I don't think it is necessary if you use the @Resource() compiler directive: label=@Resource(bundle='MyApp', key='someResource') However, unlike the databinding expression,

Re: [flexcoders] Re: Loading Flex sub-applications as sandboxed applications within the same domain

2010-04-05 Thread Alex Harui
If false it is loaded into the whatever security domain is dictated by the domain name. It will not force a new SecurityDomain. On 4/5/10 11:00 AM, Deuce f...@noofusion.com wrote: What we have found is that simply adding a period to the end of the domain name tricked flash player into

[flexcoders] ContextMenu 'clipboardMenu' property

2010-04-05 Thread twcrone70
Can't get access to the ContexMenu's clipboardMenu property as the Flex docs specifies at http://livedocs.adobe.com/flex/3/langref/flash/ui/ContextMenu.html. Error is rror: Access of possibly undefined property clipboardMenu through a reference with static type flash.ui:ContextMenu... Using

[flexcoders] Re: Get name of function from within the function? Get arguments for any function?

2010-04-05 Thread tntomek
Thank you, very interesting. Now since the callee would typically be a Flex based UI control describeType might be a bit heavy (yes/no?). I am basically trying to wrap RemoteObject calls and automatically instantiate a typed ArrayCollection (since remote object will always be Array or

[flexcoders] Re: ContextMenu 'clipboardMenu' property

2010-04-05 Thread valdhor
Could you post some code? --- In flexcoders@yahoogroups.com, twcrone70 twcron...@... wrote: Can't get access to the ContexMenu's clipboardMenu property as the Flex docs specifies at http://livedocs.adobe.com/flex/3/langref/flash/ui/ContextMenu.html. Error is rror: Access of possibly

[flexcoders] Re: Get name of function from within the function? Get arguments for any function?

2010-04-05 Thread tntomek
To clarify, I meant arguments of a function given nothing more then a reference to that function i.e. var myFunction:Function The 'arguments' object is only valid withing the scope of a running function is it not? --- In flexcoders@yahoogroups.com, Robert VanCuren Jr robert.vancuren...@...

Re: [flexcoders] Re: Get name of function from within the function? Get arguments for any function?

2010-04-05 Thread Oleg Sivokon
Hi. It seems like what you want is what in other languages would be called a delegate or closure (function signature). This is not entirely possible in AS3, end even what is possible requires to much work to be really useful. So, please vote: http://bugs.adobe.com/jira/browse/ASL-32 :) However,

Re: [flexcoders] combobox, sdk 3.5 bug, any workarounds?

2010-04-05 Thread ArunKumar Madas
Thanks Peeyush. That helps. We have mx:Combobox / referred everywhere across our code and changing all the instances is a bigger change. I guess, for this very reason creating a an extended base components one time and using with custom namespace across the app is a good idea. We just turned back

[flexcoders] Handling dataProvider of ComboBox on another navigatorContent

2010-04-05 Thread Ivan
I have TabNavigator component with two navigatorContent components. At the beginning I'm focused on first tab and on another tab I have combobox. ComboBox uses Array data provider that is populated with initialize event handler on Application component. When I click on first tab, I initialize

Re: [flexcoders] Handler functions convention

2010-04-05 Thread gabriel montagné
On 5 April 2010 19:25, Gordon Smith gosm...@adobe.com wrote: ... The attribute value is code that becomes the body of the handler. Cool. This is great to know! Thanks, Gabriel -- gabriel montagné láscaris comneno http://rojored.com +44 (0) 7500 709 209

[flexcoders] Re: Get name of function from within the function? Get arguments for any function?

2010-04-05 Thread Mike
The arguments top level class works well, except when used inside a method which takes a variable number of arguments (using the ... syntax.) In that case, the SDK v3.2 compiler says '1120: Access of undefined property arguments.' I wonder if this bug was fixed in a later SDK? The project I

[flexcoders] Re: Handling dataProvider of ComboBox on another navigatorContent

2010-04-05 Thread turbo_vb
An easier approach than using these events, is to bind the ComboBox selectedIndex property to a variable like: [Bindable] public var myComboBoxSelectedIndex : int; that lives in the same class as the data array. When you get or initialize the array, set the variable to the desired value, and

[flexcoders] Re: Flash focus issue or browser issue ?

2010-04-05 Thread liloosweet
This is the application before I do anything: http://img34.imageshack.us/i/capture1yb.png/ http://img34.imageshack.us/i/capture1yb.png/   Then I toggle the button two times by clicking on the button: http://img151.imageshack.us/i/capture2pu.png/ http://img151.imageshack.us/i/capture2pu.png/