[flexcoders] Re: Help on sorting an ArrayCollection then adding an item to the top

2008-11-09 Thread Mark
Thanks for the quick reply Ralf, but I have no idea how to do either of what you suggested. Would you know of any examples you can point me to? Thanks, Mark --- In flexcoders@yahoogroups.com, Ralf Bokelberg [EMAIL PROTECTED] wrote: You can provide your own sort function, which sorts your

[flexcoders] Transparent support to FlexUnit, FUnit and AsUnit

2008-11-09 Thread Marvin Froeder
Hi Folks, Flex-mojos is trying a new unit testing approach, framework independent. For now, FlexUnit, FUnit and AsUnit are supported. But any other frameworks can be add in future. http://blog.flex-mojos.info/2008/11/09/advanced-unit-testing-support-flexunit-funit-and-asunit/ If you guys can

[flexcoders] Getting the width of the contents bounds

2008-11-09 Thread flexaustin
Does anyone know if you can get the width of the contents of a DisplayObjects bounds even when its outside of the stages viewable bounds? So if my flash file is sized at 400 by 400 and my current display objects are scaled so large they are sticking outside of the viewable stage area how can I

[flexcoders] ObserverValue pattern

2008-11-09 Thread jitendra jain
Hi friends, I'm using Observer pattern to create popup in my application.. when Thanks, with Regards, Jitendra Jain Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/

[flexcoders] Calendar control

2008-11-09 Thread kotha poornima
Hi all, In my project i need to use a calendar control. But i am unable to search the content in the google, none of them fits to my application. With respect to my project i have a Date textbox and a button aside. When we click on the button a calendar should generate with previous and next

[flexcoders] Use the Hslider to control the image

2008-11-09 Thread ashlytu
I have asked this question before,but i might not make it clear enough. I need to use the hslider to control how many percent of the image will be shown in a panel,when I trag the slider to the zero, none of the picture shows ,and when I drag it to the right edge, and the whole picture is

[flexcoders] Seeking response to SDK-15710 jira issue.

2008-11-09 Thread kumar_raj
I'm cross posting this from Flex Support Forums in hope of getting some response from Adobe --- I'm attaching here the section from sdk-15710 (flex jira) where numerous people have been asking for the availability of this bug fix which have gone unanswered. The bug however has been marked as

Re: [flexcoders] Local Conenction Issue

2008-11-09 Thread Ralf Bokelberg
This might have to do with the security restrictions of the flash player. The swfs seem to be runnning in different sandboxes and therefore cannot communicate. Have a look at the documentation about flash player security. Ralf. On Mon, Nov 10, 2008 at 6:55 AM, [EMAIL PROTECTED] Uttarwar [EMAIL

[flexcoders] Re: Use the Hslider to control the image

2008-11-09 Thread Michael VanDaniker
displayObjectA can by masked by displayObjectB with the assignment displayObjectA.mask = displayObjectB; This will cause only the portions of displayObjectA that are under displayObjectB to show through. Also, you won't actually see any of displayObjectB. There is an example in the docs that

Re: [flexcoders] Observer pattern

2008-11-09 Thread Ralf Bokelberg
Afaik the gc only runs, if the player is running out of memory. What makes you think, that your popup doesn't get garbage collected? Ralf. On Mon, Nov 10, 2008 at 6:08 AM, jitendra jain [EMAIL PROTECTED] wrote: Hi friends, I'm using Observer pattern to create popups in my application.But

Re: [flexcoders] Calendar control

2008-11-09 Thread Josh McDonald
mx:DateField On Mon, Nov 10, 2008 at 3:12 PM, kotha poornima [EMAIL PROTECTED]wrote: Hi all, In my project i need to use a calendar control. But i am unable to search the content in the google, none of them fits to my application. With respect to my project i have a Date textbox and a

[flexcoders] Re: Skinning the VSlider component

2008-11-09 Thread Kyle
I finally figured it out. The solution was actually rather simple and sort of a hack. Since the vslider rotates the thumb graphic, I simply changed the orientation of the graphic. The original thumb graphic was horizontal, so to counteract the rotation applied by the vslider, I simply changed it

Re: [flexcoders] Observer pattern

2008-11-09 Thread Ralf Bokelberg
Very difficult to debug, because we don't know, what is going on behind the scenes. Try googling Grant Skinner's articles about Flash Player memory and garbage collection. Might be helpful. Also you could try to create and destroy the popup a billion times and see, if the problem manifests into a

[flexcoders] Observer pattern

2008-11-09 Thread jitendra jain
Hi friends, I'm using Observer pattern to create popups in my application.But when i tried to remove PopUpManager.removePopUp(displayObj), it does not get garbage collected. I even tried with assigning null to my Observer. ITs not working. I removed event Listeners and also firing Observer by

Re: [flexcoders] Observer pattern

2008-11-09 Thread jitendra jain
Profiler still shows that popup occupied the memory. I'm enforcing garbage Collector but not working. Let me know.. Thanks Relf for your reply.  Thanks, with Regards, Jitendra Jain From: Ralf Bokelberg [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent:

RE: [flexcoders] Getting the width of the contents bounds

2008-11-09 Thread Alex Harui
Depends if they are Flex objects or Flash objects, but their widths should be the correct value no matter if they are clipped or off-stage or both. See also DisplayObject.transform.pixelBounds From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexaustin Sent: Sunday,

[flexcoders] Skinning the VSlider component

2008-11-09 Thread Kyle
I am trying to create a vslider with a stylized track skin and thumb skin. I finally figured out how to get the thumb skin to properly size by overriding properties of the slider thumb to set the width and height to the size of my image. And have sort of been able to get the track stylize by

[flexcoders] Re: Help on sorting an ArrayCollection then adding an item to the top

2008-11-09 Thread Tim Hoff
mx:ComboBox prompt=Select One/ -TH --- In flexcoders@yahoogroups.com, Mark [EMAIL PROTECTED] wrote: Thanks for the quick reply Ralf, but I have no idea how to do either of what you suggested. Would you know of any examples you can point me to? Thanks, Mark --- In

[flexcoders] Local Conenction Issue

2008-11-09 Thread [EMAIL PROTECTED] Uttarwar
I am trying to use local connection object to communicate between SWF files. One of them is running in the browser as a part of the web application and the other is running on the desktop in a ActiveX container. I tried using local connection and calling a function from the other SWF. If I run