[flexcoders] A question about stage resizing

2010-02-19 Thread Rohit Sharma
Hello All, I have a question about the way stage resizing occurs in flex. Please consider the two scenarios :- i) In Flash CS3, I gave my application a stage size of 800 * 950. The application has two screens , first one being 800 * 600 and second one being 800 * 950. In the html

Re: [flexcoders] Re: A question about stage resizing

2010-02-19 Thread Rohit Sharma
. * Your screen setup in the first place is *Width* 800pix by *Height* 600pix and in the second is *Width* 950pix by *Height* 800pix So, what is that you think it's happening? Thanks George --- In flexcoders@yahoogroups.com, Rohit Sharma rohit.sharma1...@... wrote: Hello All, I have

Re: [flexcoders] papervision

2010-01-04 Thread Rohit Sharma
When I was searching for tutorials, these are the two tutorials which I really liked : http://blog.tartiflop.com/2008/09/first-steps-in-papervision3d-part-8-movie-materials/ http://www.marcpelland.com/2009/01/22/guide-to-getting-started-in-papervision-3d/3/ On Mon, Jan 4, 2010 at 10:13 PM,

Re: [flexcoders] Passing values from popup window to MXML component

2009-11-09 Thread Rohit Sharma
You can add a logout button at the same place as login button and toggle the visibilities of these buttons depending upon the state of your component. On Mon, Nov 9, 2009 at 9:58 AM, Funand Learning funandlearni...@yahoo.comwrote: Hello All, I was trying to create a login Page. The

Re: [flexcoders] Preventing SWF from dis-assembling

2009-09-14 Thread Rohit Sharma
...@dot-com-it.com wrote: Nitrolm.com Rohit Sharma wrote: Hello All, We are working on a commercial application being built on Flex 3.0 framework. Recently we noticed that the swf can be easily dis-assembled and the code and the components can be retrieved. Please suggest ways

[flexcoders] Preventing SWF from dis-assembling

2009-09-14 Thread Rohit Sharma
Hello All, We are working on a commercial application being built on Flex 3.0 framework. Recently we noticed that the swf can be easily dis-assembled and the code and the components can be retrieved. Please suggest ways to prevent this or make it harder. I have read that one way is

Re: [flexcoders] Re: Measuring the width of a label

2009-07-28 Thread Rohit Sharma
But measureText() or measureHTMLText() will measure the width of the whole text after considering the current styles for the component. So, it will take care of different letters as well as different fonts. On Tue, Jul 28, 2009 at 12:07 AM, valdhor valdhorli...@embarqmail.comwrote: The

Re: [flexcoders] getStyleDefinition

2009-07-22 Thread Rohit Sharma
Hi, I am not sure about Flex 4 SDK. But earlier in Flex 3 SDK, I was using StyleManager.getStyleDeclaration(component) to access styles for a particular component. I hope it helps. Regards, Rohit On Tue, Jul 21, 2009 at 2:26 PM, Julian Tenney julian.ten...@nottingham.ac.uk

Re: [flexcoders] Re: Timeline actionscript in embedded MovieClips

2009-07-17 Thread Rohit Sharma
Hi Max, http://jessewarden.com/2006/08/flash-9-button-in-flex-2.html The above link might help. It has helped me a great deal in embedding flash symbols in flex. It does the same thing by defining an external class for the symbol. Regards, Rohit On Fri, Jul 17, 2009

Re: [flexcoders] Timeline actionscript in embedded MovieClips

2009-07-16 Thread Rohit Sharma
Hi Max, When a flash symbol gets embedded in flex, all the associated action code gets removed. You can define an external class for this symbol,which extends movieclip and then use that class in flex. Regards, Rohit On Thu, Jul 16, 2009 at 2:40 PM, Max Pimm

[flexcoders] Antialiasing true removing characters

2009-07-10 Thread Rohit Sharma
Hi All, I am using an embedded font in my application. I am using advancedantialiasing to show sharper digits. But using advancedAntiAliasing as true is removing . (U+002E) character. So, when advancedAntiAliasing is false 7...45 is printed as 7...45 but changing

[flexcoders] Invalid data error while embedding symbols from external Swf

2009-07-03 Thread Rohit Sharma
Hello All, Till now I have been successfully working by embedding movieclips from external swf in my flex application. But now I am facing a weird error. I have to create a form which contains these embedded movieclip symbols. As soon as the form comes up I get the run time error

Re: [flexcoders] Application in Full Screen

2009-06-14 Thread Rohit Sharma
Hi, If I am right, you are looking for something like Application.application.stage.displayState = StageDisplayState.FULL_SCREEN; Regards, Rohit On Sun, Jun 14, 2009 at 6:04 PM, christophe_jacquelin christophe_jacque...@yahoo.fr wrote: Hello, How to set an

Re: [flexcoders] Re: FilterFunction creating duplicate items in the list

2009-06-03 Thread Rohit Sharma
: Sounds like your itemRenderer might not be clearing out old data correctly. Check out Question 2 in Amy's FAQ: http://www.magnoliamultimedia.com/flex_examples/Amys_Flex_FAQ.pdf http://www.magnoliamultimedia.com/flex_examples/Amys_Flex_FAQ.pdf -TH --- In flexcoders@yahoogroups.com, Rohit

Re: [flexcoders] FilterFunction creating duplicate items in the list

2009-06-01 Thread Rohit Sharma
, then trying not binding them using {}, use flags and commitProperties() method and apply filter function if not applied already on collection then assign dataProvider for grid/list. Probably this might remove or resolve duplication problem. Srinivas On May 31, 2009, at 12:16 PM, Rohit

[flexcoders] FilterFunction creating duplicate items in the list

2009-05-31 Thread Rohit Sharma
Hi All, I am stuck up with this problem. Please provide some insight into it. I have a list component which shows all the game rooms currently existing. As soon as some property of the room changes, I update the corresponding item in the dataprovider using setItemAt. (I typecast

Re: [flexcoders] Re: problems embedding symbols from Flash

2009-05-26 Thread Rohit Sharma
Will this help? http://jessewarden.com/2006/08/flash-9-button-in-flex-2.html I use flash movieclip symbols in flex by linking to an external AS class and provide the symbol functionality in that class only. Regards, Rohit On Tue, May 26, 2009 at 11:05 PM, a.scavarelli

[flexcoders] Scrolling a text in text input when textalign is set to right

2009-05-21 Thread Rohit Sharma
Hi, In a text input, if the text align property is set to right, the text doesn't get scrolled automatically. The scrolling only happens if you select the text using mouse and then drag the mouse. It does not scroll even with arrow keys. This bug is also reported for flex SDK.

Re: [flexcoders] Re: Scrolling a text in text input when textalign is set to right

2009-05-21 Thread Rohit Sharma
Steve --- In flexcoders@yahoogroups.com, Rohit Sharma rohit.sharma1...@... wrote: Hi, In a text input, if the text align property is set to right, the text doesn't get scrolled automatically. The scrolling only happens if you select the text using mouse and then drag the mouse

Re: [flexcoders] Re: Scrolling a text in text input when textalign is set to right

2009-05-21 Thread Rohit Sharma
next. Hope this helps. Thanks, Rohit On Fri, May 22, 2009 at 12:12 AM, valdhor valdhorli...@embarqmail.comwrote: What is a right to left chat application ? Can you point me at an example of how it's meant to work? --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Rohit Sharma

[flexcoders] Selected Item getting scrolled to the top

2009-03-26 Thread Rohit Sharma
to scroll up or down. Because even if I scroll up or down, the selected item gets scrolled to the top of the list. I think scrolling of the list should not be affected by the selection of an item. Is it the natural behavior of Flex? If yes, any tips to overcome this behavior. Thanks, Rohit Sharma, Co

[flexcoders] Sorting a list at specified intervals

2009-03-23 Thread Rohit Sharma
with this thing. Regards, Rohit Sharma Lead Developer, Mactabilis Arts. www.mactabilisarts.com