Re: [Spam] RE: [Spam] [flexcoders] Re: getters before setters

2009-12-18 Thread Nick Middleweek
Cheers Gordon... Thanks for the confirmation... 2009/12/18 Gordon Smith gosm...@adobe.com As far as I know, the setter never auomatically calls the getter. It certainly shouldn't, since the getter could have some undesirable side-effect that you wouldn't want happening in the setter.

Re: [flexcoders] How to dispatchevent in popup window?

2009-12-18 Thread Fotis Chatzinikos
Either what Valdor suggested, or in your pop window have a componentOwner refrence which you use to dispatch your event: popup: public var componentOwner:DisplayObject ; popup dispatches event: componentOwner.dispatchEvent(...your event...) ; application using the popup: thePopUp = new

[flexcoders] dynamic source for flvplayback in flex

2009-12-18 Thread stinasius
hi guys, am using the flvplayback flash component to load videos and its great with a static source path, but i have one problem, i have a datagrid with video paths from database and i would like to click on a particular row and the video loads in the flvplayback. any help guys?

[flexcoders] How load all html code of a page site

2009-12-18 Thread Hero Colour
I use loader to load page source of a page site My code is: private function load_page_source( ):void { var addsearch:String = patent_num_txt. text; var request:URLRequest = new URLRequest(http://en.wikipedia .org/wiki/ System); loader.addEventList ener(Event. COMPLETE, handleResponse) ;

Re: [flexcoders] Re: Passing parameters to flashplayer while launching from Flexbuilder

2009-12-18 Thread Tom Chiverton
On Thursday 17 Dec 2009, Chris wrote: Then build a browser using AIR and load your swc into a Webkit window! :D Ohh, nice work around ! -- Helping to completely envisioneer supply-chains as part of the IT team of the year, '09 and '08

[flexcoders] LCDS : Nagios checks

2009-12-18 Thread Besite - Bart
Question : We would like to check and monitor each hour if the Data Management Service en Messaging Service on our Livecycle server still works. Which checks could we perform to see if all is working well ? The services are using the rtmp protocol. Kind regards Bart

[flexcoders] Re: Drag and drop, custom cursor during drag not working

2009-12-18 Thread invertedspear
Just giving a bump, I keep coming back to this issue. --- In flexcoders@yahoogroups.com, invertedspear invertedsp...@... wrote: OK, That helped a little bit, I'm now doing this on rollOver var styleSheet:CSSStyleDeclaration = StyleManager.getStyleDeclaration(DragManager);

[flexcoders] LCDS : jsvc suddenly takes 100% CPU

2009-12-18 Thread Besite - Bart
Hello, We are running a Flex/LCDS application in a clustered environment. We use the Data Management Service and the Messaging Service over rtmp channels. Our application works ok, but sometimes the CPU skyrockets suddenly, we see the jsvc process uses 100% CPU and our Livecycle server

[flexcoders] Flex 3 RichTextEditor - move controlbar to top

2009-12-18 Thread Greg Lafrance
I want to move the controlbar of the RichTextEditor above the TextArea instead of the default of being below the TextArea. I've been playing around with it as follows but I have a feeling I should not do this in the updateDisplayList method. Should I do it in the initialize method? ?xml

[flexcoders] Re: LCDS : jsvc suddenly takes 100% CPU

2009-12-18 Thread invertedspear
I'm not familiar with these log files, but it appears to be repeating a command over and over, can you post the section of your code that command is coming from? ~Mike --- In flexcoders@yahoogroups.com, Besite - Bart b...@... wrote: Hello, We are running a Flex/LCDS application in a

[flexcoders] Re: VideoPlayer and moving slider based on time

2009-12-18 Thread joel.sisko
Thanks for the help and was exactly what I was looking for. --- In flexcoders@yahoogroups.com, Peter DeHaan pdeh...@... wrote: Use the seek() method to jump to a certain number of seconds in the video. My video was short (30 seconds), so you'll need to convert your times to seconds

re: [flexcoders] Flex 3 RichTextEditor - move controlbar to top

2009-12-18 Thread Wally Kolcz
Not sure if this helps, but I use this and it works at runtime. ?xml version=1.0 encoding=utf-8? mx:RichTextEditor xmlns:mx=http://www.adobe.com/2006/mxml; width=100% height=100% initialize=init() mx:Script ![CDATA[ import flash.display.DisplayObject; public

[flexcoders] Re: Flex 3 RichTextEditor - move controlbar to top

2009-12-18 Thread Greg Lafrance
Such a simple solution. Thanks very much! --- In flexcoders@yahoogroups.com, Wally Kolcz wko...@... wrote: Not sure if this helps, but I use this and it works at runtime. ?xml version=1.0 encoding=utf-8? mx:RichTextEditor xmlns:mx=http://www.adobe.com/2006/mxml; width=100% height=100%

[flexcoders] Actionscript sum function

2009-12-18 Thread AJC2357
Is there really no way to sum a simple array w/o adding element by element? var myArray:Array = [1,2,3,4,5]; I've found min and max functions, but nothing to sum... Any tips appreciated!

[flexcoders] Flex datagrid with Excel-like behaviour

2009-12-18 Thread flexcoder2008
In my application I am trying to create an Excel-type spreadsheet using a DataGrid. I need the ability to lock certain cells so that they are not editable. I need to be able to tab between editable cells (this is the default behaviour) when navigating between cells, but be able to skip over

[flexcoders] Reg: Tree Node Expand

2009-12-18 Thread Abdul Nizar
Hi,    Am using the dynamics generated XML input to the TREE.    After update the TREE NODE DATA, I want to restore the TREE Structure.   ( ie) I want to open the particular node in that tree after refresh.)    What ll i do. Regards, Abdul. Catch @ (0) 9790503327. The INTERNET now has a

RE: [flexcoders] Reg: Tree Node Expand

2009-12-18 Thread Alex Harui
If the UIDs don't change, simply save and restore openItems 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 Abdul Nizar Sent: Friday, December 18, 2009

RE: [flexcoders] Flex datagrid with Excel-like behaviour

2009-12-18 Thread Alex Harui
ITEM_EDIT_BEGINNING event can be used to block editing of a cell. I have a DataGrid Footer example on my blog. 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

[flexcoders] Re: Flex datagrid with Excel-like behaviour

2009-12-18 Thread flexcoder2008
Hi Alex, Yes, I am using that to block particular cells from being edited. When I click on a cell, this event fires and I can check the dataProvider to determine if this is a cell that should be non-editable and successfully prevent the cell from being editable by calling

RE: [flexcoders] Re: 2 strange issues for begginer in action script ref REFdn4045341518

2009-12-18 Thread dennis
Thank you J! I delayed because I am too busy =) dennis ...we are what we are doing... P Think! before you print. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of flexaustin Sent: Monday, October 12, 2009 8:24 AM To: flexcoders@yahoogroups.com

[flexcoders] Flex/Flash dev without FlexBuilder / FDT

2009-12-18 Thread Marcelo de Moraes Serpa
Hello list, After almost 3 years away from the Flash Platform, a new venture of mine, which can use the great potential of the Flash/AIR ecosystem, will require me to go back to the field. I'm pleasured to do that, since I always loved Flash and its potential to create high-quality use

RE: [flexcoders] Re: Flex datagrid with Excel-like behaviour

2009-12-18 Thread Alex Harui
Which version of Flex are you using? That might be fixed in more recent versions. 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 flexcoder2008 Sent:

RE: [SPAM] RE: [flexcoders] Re: constraintColumns/constraintRows on extended Sprite object REFdn6025643069

2009-12-18 Thread dennis
Hi Tracy. I hope you are ok. I do the follow: var d:PanelGradient=new PanelGradient(0,0,stg.width/2,stg.height/2,30,30,stg.width/2*1.5,stg.width/2 *1.5); d.setStyle(right,10); d.setStyle(bottom,10); addChild(d); In the above code, setting the right and bottom, I

[SPAM] RE: [flexcoders] Re: constraintColumns/constraintRows on extended Sprite

2009-12-18 Thread turbo_vb
Hi Dennis, I don't want to poach Tracy here, but what is the parent class that you are adding the PanelGradient component to? If it's a UIComponent, you will have to move the child in updateDisplayList(); because UIComponent doesn't use the same layout framework code as say a Canvas. So, you

[flexcoders] Re: Flex datagrid with Excel-like behaviour

2009-12-18 Thread flexcoder2008
I have version 3.0 Thanks Alex, I was able to fix the problem, it was something to do with the way I was checking row values - is working now. --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Which version of Flex are you using? That might be fixed in more recent

[flexcoders] capturing SHIFT+TAB on keyDown event

2009-12-18 Thread flexcoder2008
Trying to capture the SHIFT+TAB key event on my DataGrid. It seems the Keydown handler can only handle 1 key at a time. What is the best way to handle this?

[flexcoders] Printing vs font

2009-12-18 Thread Richard Rodseth
Is there a simple sample anywhere of printing a chart with legend? My legend text is getting cut off. I believe I'm using the default font and am not embedding. Thanks.

[flexcoders] Tilelist scrolling using mousewheel

2009-12-18 Thread azona26
I have a tile list which when (vertically) scrolling thru with the mousewheel immediately jumps to the last item - several rows. How can I set the scrollsize in a tile list so that each row is shown when using the mousewheel? If I use the scrollbar's thumb bar it scrolls as expected. Thanks

[flexcoders] Re: capturing SHIFT+TAB on keyDown event

2009-12-18 Thread invertedspear
I don't have time to look it up right now, but I'm pretty sure you catch the Tab key down, then check if the shift key was down at the same time. Hopefully this gets you going in the right direction. --- In flexcoders@yahoogroups.com, flexcoder2008 djohnso...@... wrote: Trying to capture the

RE: [flexcoders] Re: capturing SHIFT+TAB on keyDown event

2009-12-18 Thread Alex Harui
The actual work of tabbing is done in a FocusEvent.KEY_FOCUS_CHANGE which has a property that tells you if the shift key was down. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com

[flexcoders] Re: capturing SHIFT+TAB on keyDown event

2009-12-18 Thread flexcoder2008
Thanks for the replies - I got this working using this logic in the keydown handler: if(event.shiftKey){ if(event.keyCode == Keyboard.TAB){ // SHIFT-TAB // logic goes here } } --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: The actual work of

[flexcoders] Re: Actionscript sum function

2009-12-18 Thread daryl_ducharme
If a function doesn't exist, roll your own. Something like the following should work. function getSum( ... nums ):Number { var total:Number = 0; for each( var number:Number in nums ) { total += number; } return total; } You may want to validate your inputs to have better error

[flexcoders] Re: dynamic source for flvplayback in flex

2009-12-18 Thread stinasius
Anyone with a solution to this, please help. thanks

RE: [flexcoders] Re: Actionscript sum function

2009-12-18 Thread Karthik Kailash
Or use an anonymous function with one of the array operation methods, like every (http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/Array.html#every( )) In this case your anonymous function would be something that increments a value in its parent scope by the value of the current