[flexcoders] Trouble with Combobox within a dynamically loaded swf

2009-07-19 Thread Dave Kong
When I load a swf dynamically within another swf, there is a combobox near the bottom edge of the inner swf. When I click on it, the dropdown extends downward beyond the border of the inner swf, and is therefore mostly obscured. How can I make it so that the dropdown will extend upward? In a

[flexcoders] Tree does not show scrollbar after inserting items

2009-05-13 Thread Dave Kong
After some googling, this seems to be an existing issue with Tree refreshes and I haven't been able to find a good workaround. The issue can be repro'ed at one of Adobe's quickstart demo page: http://www.adobe.com/devnet/flex/quickstart/working_with_tree/ Go to the last example, and expand all

Re: [flexcoders] Tree does not show scrollbar after inserting items

2009-05-13 Thread Dave Kong
an array collection as data provider, maybe you can force a refresh of the collection instead of reassigning the provider? -- *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *Dave Kong *Sent:* Wednesday, May 13, 2009 1:01 PM

[flexcoders] Debugging in Flex Builder crashes IE, Firefox, Safari...

2009-05-12 Thread Dave Kong
Hi, Just about 2 weeks ago, I suddenly started getting a lot of crashes when trying to debug our app under Flex Builder (standalone). The crashes happen as soon as our app is loaded and it crashes IE7, FF3, Safari w/o any prior warning or exception. The crash is only happens when I try to run

Re: [flexcoders] Re: Is it possible to query Flash Player attributes e.g. allowFullScreen?

2009-03-23 Thread Dave Kong
Thanks Carlos, That's not what I need though. I need to know if fullscreen is enabled via html tag (a security safeguard) before I show the button to go into fullscreen. -dave On Sat, Mar 21, 2009 at 8:46 PM, carloscarvalhar carloscarval...@ig.com.brwrote: about full screen: switch

[flexcoders] Is it possible to query Flash Player attributes e.g. allowFullScreen?

2009-03-21 Thread Dave Kong
I couldn't find a way to check if allowFullScreen is set to true from within my Flex app. Is this possible at all? And to generalize, is it possible to query the other Flash settings that are set via object or embed tag in the html, such as wmode, etc?

[flexcoders] Re: Is there a way to detect mouse button state without tracking events?

2009-03-10 Thread Dave Kong
filed, but if not, please file one. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Dave Kong Sent: Monday, March 09, 2009 2:08 PM To: flexcoders

[flexcoders] Re: Is there a way to detect mouse button state without tracking events?

2009-03-09 Thread Dave Kong
left the stage. You can listen for MouseEvent.MOUSE_MOVE if you need to know when the mouse is back. Can you listen for MOUSE_LEAVE and dispatch your own MOUSE_UP event to stop the list from scrolling? Sunil --- In flexcoders@yahoogroups.com, Dave Kong davekong@ wrote

Re: [flexcoders] Is there a way to detect mouse button state without tracking events?

2009-03-07 Thread Dave Kong
This is a very urgent issue for us. =( Any help is deeply appreciated! On Thu, Mar 5, 2009 at 5:14 PM, Dave Kong davek...@gmail.com wrote: I need to find out at this particular moment, if the mouse button is up or down. Trying to work around the issue with wmode=transparent in FF. If I

[flexcoders] Is there a way to detect mouse button state without tracking events?

2009-03-05 Thread Dave Kong
I need to find out at this particular moment, if the mouse button is up or down. Trying to work around the issue with wmode=transparent in FF. If I scroll a list, and drags cursor outside of the player and then releases the button. That mouseUp event is never captured by Flash Player, so when I

[flexcoders] Does the [SWF] meta tag really support widthPercect and heightPercent attribute?

2009-02-13 Thread Dave Kong
link here http://www.actionscript.org/forums/showthread.php3?p=834470 seems to suggest that in addition to pixel width, I can specify percent value (similar to how I do it in html flash wrapper). But I can't get it to work. Is it really supported? [SWF(widthPercent=100, heightPercent=100)]

[flexcoders] Scrollbar in nested swf losing mouse event.

2009-02-08 Thread Dave Kong
Hi every! Would really appreciate some help on this issue. It has been driving me nuts. So I have a nested swf loaded via the loader. In contains a List. When I mouseDown on the scrollbar inside that list, I can drag it as usual. But when I hold down the mouse key and move the pointer outside of

Re: [flexcoders] Does Flex builder 3.0.2 eclipse plug-in work in Eclipse 3.4?

2008-12-16 Thread Dave Kong
Thanks guys. I can't find the 3.0.2 plugin download. Seems like the only way is to update from 3.0.1, is that correct? On Fri, Dec 12, 2008 at 4:40 PM, Andriy Panas a.pa...@gmail.com wrote: Hi Dave, I aslo Flex Builder 3.0.2 as Flex Builder Plug-in with Eclipse 3.4 on Windows XP - no

[flexcoders] Does Flex builder 3.0.2 eclipse plug-in work in Eclipse 3.4?

2008-12-12 Thread Dave Kong
From here: http://www.adobe.com/support/documentation/en/flex/3/releasenotes_flex3_fb.html#install_plugin_win Install Flex Builder Plug-in on Windows *NOTE*: Flex Builder is only supported on Eclipse 3.2.2 or Eclipse 3.3. where as: *Install Flex Builder Plug-in on Mac OS X* *NOTE*: Builder is

Re: [flexcoders] Looking for what this[iscalled]

2008-12-01 Thread Dave Kong
. On Sun, Nov 30, 2008 at 2:01 PM, gabriel montagné [EMAIL PROTECTED]wrote: Hi. On Sun, Nov 30, 2008 at 10:11 AM, Dave Kong [EMAIL PROTECTED]davekong%40gmail.com wrote: Isn't height the dynamic property of another dynamic property this[something] (which is equivalent to this.something

[flexcoders] Re: Is there a simple Flex/Flash component for making PayPal buy buttons and carts?

2008-12-01 Thread Dave Kong
--- In flexcoders@yahoogroups.com, obrian_tom [EMAIL PROTECTED] wrote: Ideally, free. I have a sample for paypal button here: http://www.rividian.com/samples/paypal/button/paypal.html no shopping cart tho.

Re: [flexcoders] Looking for what this[iscalled]

2008-11-30 Thread Dave Kong
Isn't height the dynamic property of another dynamic property this[something] (which is equivalent to this.something)? the fact that you use [] syntax to access the property this.something is just a syntactical shorthand and sometimes a workaround: you can't define this.return (since return is a

Re: [flexcoders] Re: How to get an object to delete itself?

2008-11-30 Thread Dave Kong
Why bother manually removing the reference to the timer's listeners? Assmuing only the timer has reference to those listeners, once the timer is deemed to be GC'ed (which will happen when its containing uic gets GC'ed after it's removed from parent), the listeners will also be GC'ed (since they

Re: [flexcoders] Nulls in data binding chains

2008-11-30 Thread Dave Kong
I dont know any docs, but I think it happened to me a couple of times and the result is that the databinding simply does not fire for any changes after the null in the chain. Do a simple test app and try it out. it will be faster than you looking for the doc. On Fri, Nov 28, 2008 at 12:01 PM,

[flexcoders] Re: Overriding a rest parameter

2008-06-19 Thread Dave Kong
Cool, this answers one of my questions as well. Now, taking this a step further, how do I override something like the logger.info which has the signature info(message:String, ... rest)? info.apply(this, rest) obviously won't work. Do I need to insert the message param to the head of the rest

[flexcoders] Re: Overriding a rest parameter

2008-06-19 Thread Dave Kong
Nevermind. I'm an idiot. This does it: override function info(... rest):void { logger.info.apply(this, rest); } --- In flexcoders@yahoogroups.com, Dave Kong [EMAIL PROTECTED] wrote: Cool, this answers one of my questions as well. Now, taking this a step further, how do I override

[flexcoders] Re: How to convert an e4x XML object into an AS object?

2008-06-04 Thread Dave Kong
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave Kong Sent: Tuesday, June 03, 2008 10:20 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to convert an e4x XML object into an AS object? I know SimpleXMLDecoder can decode a legacy XMLNode

[flexcoders] How to convert an e4x XML object into an AS object?

2008-06-03 Thread Dave Kong
I know SimpleXMLDecoder can decode a legacy XMLNode to an object and make good guesses at basic types such as string vs. int. But if I have the new e4x XML object, how do I easily convert that to objects? Or convert from E4X to XMLNode?

[flexcoders] Two difficult problems regarding synchronization of RPC in Flash

2008-06-02 Thread Dave Kong
Problem 1: How can I make sure multiple asynch remote method calls do not end up canceling each other? Consider this pseudo code: onButtonClick() { doStuff(); requestSoapData.addEventListener(..., handleSoapResult); requestSoapData.send(); } handleSoapResult() { doMoreStuff();

[flexcoders] Re: How to add SOAP header to Flex generated webservice code?

2008-03-04 Thread Dave Kong
--- In flexcoders@yahoogroups.com, Dave Kong davekong@ wrote: I have used the code generator in Flex and it was fairly smooth. All the web methods from the WSDL were corrected generated and call/result pairs come in bug-free. However, I can't figure out how to add some SOAP headers

[flexcoders] How to add SOAP header to Flex generated webservice code?

2008-03-02 Thread Dave Kong
I have used the code generator in Flex and it was fairly smooth. All the web methods from the WSDL were corrected generated and call/result pairs come in bug-free. However, I can't figure out how to add some SOAP headers to the service so that every call can contain my headers. Does anyone have

[flexcoders] Generated Webservice code does not respect custom headers

2008-02-12 Thread Dave Kong
I used Flex Builder to import webservice from a .net backup. The generated code contained a _BaseGaiaService class that extends the AbstractWebService and implements most of the actual operations. I can get to that from the facade class GaiaService.getWebService() method. I then wrote some test

[flexcoders] Re: Flex Feedback for the Future

2008-02-12 Thread Dave Kong
I also *strongly* second the request for better printing capability on the client side. It's highly discouraging that after building an awesome Flex application, one finds out that you can't make decent printouts/reports and use them in a presentation. When people ask hey, that is an awesome

[flexcoders] Re: What are the available WSDL - AS3/Flex code generators out there?

2008-02-06 Thread Dave Kong
:[EMAIL PROTECTED] On Behalf Of Dave Kong Sent: Monday, February 04, 2008 8:40 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] What are the available WSDL - AS3/Flex code generators out there? Hi, I've found Flextense to be a fairly good (free) tool translating my .net web service

[flexcoders] Re: What are the available WSDL - AS3/Flex code generators out there?

2008-02-06 Thread Dave Kong
and the raw stream does not contain extraneous data. --- In flexcoders@yahoogroups.com, Dave Kong [EMAIL PROTECTED] wrote: Thank you, Sam! That is exactly what I need and I'm such an idiot for not finding it. --- In flexcoders@yahoogroups.com, Samuel R. Neff srneff.lists@ wrote: Flex Builder 3

[flexcoders] What are the available WSDL - AS3/Flex code generators out there?

2008-02-05 Thread Dave Kong
Hi, I've found Flextense to be a fairly good (free) tool translating my .net web service into as3 code that simplifies the tedious work of making up WebService result types on the Flex front end. There were 2 drawbacks: 1) it's not open source, so I can't tweak the code it generates to my