Re: [flexcoders] reg expression for Password

2009-06-25 Thread Manish Jethani
On Thu, Jun 25, 2009 at 2:39 AM, vin.flexvin.f...@yahoo.com wrote: can anybody help me with regexp for password with following specifications 1) It should contain atleast 8 characters 2) It should atleast has one uppercase letter and one digit 3) No special characters if

Re: [flexcoders] Cross-domain data flow

2009-06-05 Thread Manish Jethani
That's right. The browser will contact YouTube and Flickr directly to load content from those websites. Only the SWF will be loaded from your site. On 6/5/09, steve horvath flexcod...@stevehorvath.com wrote: I've got a SWF on my website that loads images and videos from another domain. If a

Re: [flexcoders] Closures in ActionScript 3?

2009-06-05 Thread Manish Jethani
On Fri, Jun 5, 2009 at 7:58 PM, Keith Hughittkeith.hugh...@gmail.com wrote: Could someone please explain to me how closures work in ActionScript? I am attempting to create a set of Flex Form fields, and assign an event-handler to each of them, however, it seems that after creation, all of the

Re: [flexcoders] Delaying Component Load

2009-06-04 Thread Manish Jethani
On Thu, Jun 4, 2009 at 7:21 PM, Jonathan Ackerman jacker...@latenitelabs.com wrote: I have been running into a IUIComponent issue on a component that is loading and I have determined that I need to delay the loading of this component a second or so. The component sits on a canvas with a tab

Re: [flexcoders] Re: About how to implement UIComponent

2009-06-04 Thread Manish Jethani
On Wed, Jun 3, 2009 at 11:46 PM, Amy amyblankens...@bellsouth.net wrote: --- In flexcoders@yahoogroups.com, Manish Jethani manish.jeth...@... wrote: On Wed, Jun 3, 2009 at 10:26 PM, Manish Jethani manish.jeth...@... wrote: 2009/6/3 j2me_soul j2me_s...@...:   override protected function

Re: [flexcoders] CuePointEvent missing optional parameters

2009-06-04 Thread Manish Jethani
On Thu, Jun 4, 2009 at 5:33 AM, kris range krisra...@gmail.com wrote: I'm using the VideoDisplay class and listening for cue points. I can recieve the cue points, check out the name, time, type but cuePoints also have an optional parameter value, which doesn't seem to be included in this event

Re: [flexcoders] Slider dataTip- is it possibole to have this visibale all the time

2009-06-04 Thread Manish Jethani
On Wed, Jun 3, 2009 at 4:29 PM, jossminker jossmin...@yahoo.com wrote: I woudl like to have the datatip for my slider visible at all times, not just when the user is holding down the thumb. if this is not possible, then I would at least like the datatip to appear if the user moves the thumb

Re: [flexcoders] How to addChild with StringValidator?

2009-06-04 Thread Manish Jethani
On Fri, Jun 5, 2009 at 2:12 AM, markflex2007 markflex2...@yahoo.com wrote: I try to build a validation class with AS. I extends UIComponent to build the class,but I an not use this.addChild(stVar); because UIComponent only can addChild with DisplayObject. which class I can use to take

Re: [flexcoders]Given this string how to keep my RegExp from being greedy

2009-06-04 Thread Manish Jethani
On Fri, Jun 5, 2009 at 4:25 AM, dorkie dork from dorktowndorkiedorkfromdorkt...@gmail.com wrote: My RegExp is being greedy. There are two matches. The regexp is grabbing the first span all the way to the last span. How do I prevent it from being greedy? Given this string: Vestibulum span

Re: [flexcoders] About how to implement UIComponent

2009-06-03 Thread Manish Jethani
2009/6/3 j2me_soul j2me_s...@163.com: Why the label can't be displaied on the srceen?  public class rectElement extends UIComponent  {   private var lal:Label;   public function rectElement()   {    super();   } You don't have to write a constructor if all you're going to do it call

Re: [flexcoders] About how to implement UIComponent

2009-06-03 Thread Manish Jethani
On Wed, Jun 3, 2009 at 10:26 PM, Manish Jethani manish.jeth...@gmail.com wrote: 2009/6/3 j2me_soul j2me_s...@163.com:   override protected function measure():void{    this.explicitMinWidth = this.explicitMinHeight = 50;   }  } Here you should set the meauredWidth, measuredHeight

Re: [flexcoders] Vertical scroll bar not reseting

2009-06-02 Thread Manish Jethani
On Tue, Jun 2, 2009 at 8:39 AM, al-al :D vin_ke...@yahoo.com wrote: I have an application with a ViewStack and binded LinkBar, which has 2 views, a DataGrid on the first, and the Form on the second. Clicking an item in the DataGrid transfers the user to the Form view. I have a problem

Re: [flexcoders] How does one implement IBitmapDrawable

2009-06-02 Thread Manish Jethani
On Tue, Jun 2, 2009 at 7:52 AM, Stephen More stephen.m...@gmail.com wrote: The docs do not say much about IBitmapDrawable: http://livedocs.adobe.com/flex/3/langref/flash/display/IBitmapDrawable.html In your example lets say I create:    MyUIComponet extends UIComponet What method do I need

Re: [flexcoders] Re: Problem reading XML returned from Webservice

2009-06-02 Thread Manish Jethani
On Tue, Jun 2, 2009 at 12:15 PM, Claudio M. E. Bastos Iorio selecter...@gmail.com wrote: trace(Name:   + myXML..Fund[0].Name); //A term is undefined and has no properties Okay, I'm no expert in E4X, but apparently you have to qualify with a namespace if you're using the .. notation. So this

Re: [flexcoders] Drawing the background Issue

2009-06-02 Thread Manish Jethani
2009/6/2 j2me_soul j2me_s...@163.com: The code is pretty simple. This is all I am trying to do:  mx:Script   ![CDATA[    private function init():void{ //var p:Point = new Point(btn1.x, btn1.y); //var pg:Point = localToGlobal(p); var p:Point = new Point(btn1.x, btn1.y); p =

Re: Re: [flexcoders] Drawing the background Issue

2009-06-02 Thread Manish Jethani
2009/6/2 j2me_soul j2me_s...@163.com: drawRect(0, 0, btn1.width + 20, btn1.height+ 20); Is the 0,0 point is the ContentPoint of the btn1 ? No, it's the top-left. Manish

Re: [flexcoders] How to make FTE text selectable and editable?

2009-06-01 Thread Manish Jethani
needing to carry the capabilities of selection and interaction. Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Manish Jethani Sent: Sunday, May 31, 2009 5:18 PM

Re: [flexcoders] Is this list declining?

2009-06-01 Thread Manish Jethani
Clearly the numbers are going down. This can't be good. We're entering into a Flex recession. I propose a stimulus plan. We need to boost the numbers by having a long discussion about how the numbers are going down. This will make Flex look good and ensure all our livelihoods (at the cost of

Re: [flexcoders] Resource bundles and static vars

2009-06-01 Thread Manish Jethani
Try putting a breakpoint in SystemManager's installCompiledResourceBundles() function. That's where the resource bundles are set up. It's possible that your class is being loaded before the resource bundles are set up, and that's why you're getting null. Manish On Tue, Jun 2, 2009 at 5:08 AM,

Re: [flexcoders] Mx:Http Service Refresh Issue

2009-06-01 Thread Manish Jethani
On Tue, Jun 2, 2009 at 6:12 AM, guess what myworld10...@yahoo.com wrote: I have a Flex Data grid Constructed from mx:HttpService mx:HTTpService url=somethin.do The result is an xml file . I am calling the HttpService on the mxmls creationComplete . the First time I call the html file [

Re: [flexcoders] Problem reading XML returned from Webservice

2009-06-01 Thread Manish Jethani
On Tue, Jun 2, 2009 at 2:56 AM, Claudio M. E. Bastos Iorio selecter...@gmail.com wrote: I get an XML like this one from my web service (simplified): ListFundsResponse xmlns='http://mydomainname.com/' xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'

[flexcoders] How to make FTE text selectable and editable?

2009-05-31 Thread Manish Jethani
I have this program (Flash Player 10): var elementFormat:ElementFormat = new ElementFormat(); elementFormat.fontSize = 48; var textElement:TextElement = new TextElement(Hello, world, elementFormat) var textBlock:TextBlock = new

Re: [flexcoders] Re: Successive Videos Display

2009-05-28 Thread Manish Jethani
On Thu, May 28, 2009 at 11:50 PM, bharat_1 bharat_00...@yahoo.com wrote: Thanks for the suggestion. I have a bit of confusion. What do you mean by load the next one when while one is playing. ActionScript isn't multiothreaded. How can it load the next and play the current at the same

Re: [flexcoders] keeping aspect ratios of containers

2009-05-28 Thread Manish Jethani
On Fri, May 29, 2009 at 12:42 AM, blc187 blc...@yahoo.com wrote: is there an easy way to keep a container at a specific aspect ratio? i have an hDividedBox but i want the vbox on the left side to always be twice as high as it is wide.  how can i keep a container at this aspect ratio while

Re: [flexcoders] Re: Need Alternative for enterFrame event (Causing Memory leak )

2009-05-28 Thread Manish Jethani
On Fri, May 29, 2009 at 12:40 AM, Dharmendra Chauhan chauhan_i...@yahoo.com wrote: The issue is with callBack ,what is happening is as soon you hide Flex application by opening another application(any app)  and then again you come  back to  your flex  app , call back  does not work , they are

Re: [flexcoders] Re: Invoke RemoteObject synchronic

2009-05-28 Thread Manish Jethani
On Thu, May 28, 2009 at 11:28 PM, Laurence MacNeill lmacne...@comcast.net wrote: I think he means he wants to work on the data from within the calling function, rather than having to go to a result-handler function to use the data?  I didn't know that was possible, but I'm pretty new to Flex,

Re: [flexcoders] popup systemManager not working

2009-05-28 Thread Manish Jethani
On Fri, May 29, 2009 at 12:08 AM, hoz h...@satx.rr.com wrote: I added bubbles to true in my custom event, and it worked! OK, so I'm a little puzzled b/c I have other custom events going without having to add that. I thought Bubbles default was true... bubbles is false by default. It's not

Re: [flexcoders] data binding in textinput ?

2009-05-28 Thread Manish Jethani
On Thu, May 28, 2009 at 11:15 PM, luvfotography ygro...@all-digital-links.com wrote: How do I get databinding to work in textinput? In this example below, I have a TextInput defined with the text bound to {userName}, when I run the app, and enter text into the TextInput field, I would like

Re: [flexcoders] String To Date Conversion

2009-05-27 Thread Manish Jethani
On Tue, May 26, 2009 at 6:17 PM, yogesh patel mailtoyogeshpa...@yahoo.in wrote:   I have a String like Tue May 26 18:12:55 IST 2009. How to convert this string into Date object ? var s:String = Tue May 26 18:12:55 IST 2009; s = s.replace(/IST/, UTC+0530); var d:Date =

Re: [flexcoders] Is there a way to pass a parameter into my preloader?

2009-05-27 Thread Manish Jethani
On Tue, May 26, 2009 at 11:49 PM, luvfotography ygro...@all-digital-links.com wrote: I've created a preloader class, and is there a way to pass a parameter into my preloader? Here is my application tag: mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;                

Re: [flexcoders] URLLoader + Binary != URLStream

2009-05-27 Thread Manish Jethani
On Wed, May 27, 2009 at 2:14 AM, Stephen More stephen.m...@gmail.com wrote: I would think that I could load a swf using either URLLoader or URLStream. As it turns out only my URLStream is returning the correct data. Can anyone provide a fix to the following code that makes URLLoader work

Re: [flexcoders] Cause Label to resize after setting text

2009-05-27 Thread Manish Jethani
On Wed, May 27, 2009 at 9:17 AM, Tracy Spratt tr...@nts3rd.com wrote: [...] When a setter function sets the Label’s text property, the label has not been resized to fit the new text yet, so I can’t test: if (myLabel.width this.width) in the setter I have not yet found the right

Re: [flexcoders] Flex unloading SFW- memory management

2009-05-27 Thread Manish Jethani
On Tue, May 26, 2009 at 6:36 PM, Patrice O p...@keepcore.com wrote: I m facing a problem with dynamic loading/unloading of swf. I'm using a class mycustomSWFLoader which extends SWFLoader and which use an instance of Loader class to load swf files (graphics data) from serialized SWF in

Re: [flexcoders] Calling invalidateProperties during validateProperties

2009-05-27 Thread Manish Jethani
I think normally if changing property1 also calls for a change in property2, that change should happen in the setter for property1. Then both properties get committed in commitProperties() If your situation is special and you can't follow that pattern, you can try a callLater() on

Re: [flexcoders] Re: Calling invalidateProperties during validateProperties

2009-05-27 Thread Manish Jethani
On Wed, May 27, 2009 at 11:10 PM, reflexactions reflexacti...@yahoo.com wrote: Well an example would be where there say half a dozen related properties that get set, these individualy call invalidateProperties and will then be collectively processed in commitPorperties on the next frame. In

Re: [flexcoders] Successive Videos Display

2009-05-27 Thread Manish Jethani
On Wed, May 27, 2009 at 6:20 PM, bharat_1 bharat_00...@yahoo.com wrote: My app needs to play multiple videos in succession. Can anyone guide on a good way to buffer the next video while current one is playing? Perhaps a good way to do this would be to create multiple VideoDisplay instances

Re: [flexcoders] Need Alternative for enterFrame event (Causing Memory leak )

2009-05-27 Thread Manish Jethani
On Thu, May 28, 2009 at 1:38 AM, Dharmendra Chauhan chauhan_i...@yahoo.com wrote: Please , suggest some alternative for EnterFrame event which gets fired on set focus event. activate? Manish

Re: [flexcoders] Flex Coding Standards

2009-05-24 Thread Manish Jethani
On Sun, May 24, 2009 at 9:41 PM, Sam Lai samuel@gmail.com wrote: The conventions/standards/guidelines for Flex SDK are here - http://opensource.adobe.com/wiki/display/flexsdk/Coding+Conventions One of the things the document doesn't mention is the order of the private, protected, and public

Re: [flexcoders] Multiple events dispatched, data lost

2009-05-24 Thread Manish Jethani
On Mon, May 25, 2009 at 12:59 AM, steve horvath flexcod...@stevehorvath.com wrote: I have a function which loops and for each iteration dispatches an event. The event handler is inside a new class (AddSourceCommand).  Inside the event handler class I am dispatching another event which is being

Re: [flexcoders] absolute paths for mx:script source

2009-05-22 Thread Manish Jethani
On Fri, May 22, 2009 at 5:32 AM, coder3 rrhu...@hotmail.com wrote: I wonder if there is a way to add absolute path to mx:script for example, my file is under src/app1/app1.mxml. and the as file is src/common/asfile.as [...] i tried to use        mx:Script source=/common/asfile.as / but

Re: [flexcoders] Ctrl click in combobox

2009-05-22 Thread Manish Jethani
On Fri, May 22, 2009 at 5:47 AM, lampei lam...@gmail.com wrote: Until recently, I did not know that you could reset the combobox back to the prompt value by ctrl-clicking the value in the combobox dropdown.  However, as most people don't know that this is a possiblity with the combobox, I'm

Re: [flexcoders] localized parseFloat

2009-05-22 Thread Manish Jethani
On Fri, May 22, 2009 at 2:14 PM, thomas parquier mailingli...@web-attitude.fr wrote: Couldn't parseFloat() use the SharedResources properties to parse localized strings ? If you intend to parse a string like 1.234,56, I think you'll have to run it through a NumberFormatter first (1234.56)

Re: [flexcoders] Re: Waiting for Flash Player to connect to the debugger

2009-05-22 Thread Manish Jethani
On Sat, May 23, 2009 at 2:16 AM, a.scavarelli a.scavare...@yahoo.com wrote: Hmm, I often get problems like this when, for some reason, another instance of the debugger/player is running. Try making sure you are always closing each instance properly after running your program. Also check out

Re: [flexcoders] localized parseFloat

2009-05-22 Thread Manish Jethani
On Sat, May 23, 2009 at 2:52 AM, thomas parquier mailingli...@web-attitude.fr wrote: NumberFormatter input is a number, whereas parsing should occur on strings already localized (1 234,56=1234.56). That's not true. You can pass a string to NumberFormatter. See this example: var

Re: [flexcoders] absolute paths for mx:script source

2009-05-22 Thread Manish Jethani
On Sat, May 23, 2009 at 3:45 AM, coder3 rrhu...@hotmail.com wrote: is there a way or a key to go to the project root directory relatively? The Flex compiler (mxmlc) doesn't know about projects. If Flex Builder has any special variables like ${PROJECT_ROOT} or such settings, I'm not aware of

Re: [flexcoders] Loading Modules in Separate Application Domains

2009-05-14 Thread Manish Jethani
On Fri, May 15, 2009 at 2:04 AM, colin.shreffler cshreff...@gmail.com wrote: ModuleManager.getModule(_url).load(new ApplicationDomain(), SecurityDomain.currentDomain) As soon as I do this however, I am getting the following error: SWF is not a loadable module If I use

Re: [flexcoders] Dictionary class?

2009-05-11 Thread Manish Jethani
On Mon, May 11, 2009 at 9:41 PM, luvfotography ygro...@all-digital-links.com wrote: What are some good uses for the dictionary class? I haven't used it yet, but I'm sure if I knew more, I might. . . . One of the things I use Dictionary for is for storing weak references to objects.

Re: [flexcoders] Loader coming back with incorrect dimensions

2009-05-11 Thread Manish Jethani
On Mon, May 11, 2009 at 9:27 PM, Jonathon Stierman jonat...@wolfmotell.com wrote: Has anyone run across a Loader instance incorrectly reporting the width/height of the SWF file it is loading? I think the original width/height of the loaded content is always available through the LoaderInfo

Re: [flexcoders] Embedding for DataGrid

2009-03-14 Thread Manish Jethani
-- so you'll see fewer and fewer sites using Flash just for charts as time goes by. Manish -- Manish Jethani www.manishjethani.com

Re: [flexcoders] Re: Embedding for DataGrid

2009-03-14 Thread Manish Jethani
? --- In flexcoders@yahoogroups.com, Manish Jethani manish.jeth...@... wrote: On Sat, Mar 14, 2009 at 12:42 PM, wubac1 wub...@... wrote: Many websites embed Flash/Flex applications for charts, but I don't see embedding for DataGrid.  Given that DataGrid has many usability advantages over HTML-based

Re: [flexcoders] Question from a C developper

2009-03-14 Thread Manish Jethani
You should check out the int, uint, and Number types. The sizes are predefined in ActionScript 3 and not system dependent (e.g. int is always 32-bit signed). Operator overloading is not available. You can create an 'equals' method and use it like so: if (obj1.equals(obj2)) ... You can

Re: [flexcoders] Re: opposite of parentDocument

2009-02-08 Thread Manish Jethani
your question? In that case, it'll be nice if you could explain with some sample code what you're trying to achieve. Manish -- Manish Jethani http://manishjethani.com

Re: [flexcoders] opposite of parentDocument

2009-02-07 Thread Manish Jethani
On Sat, Feb 7, 2009 at 7:26 PM, johndoematrix johndoemat...@yahoo.com wrote: hi this is a funny question but am gonna ask it anyway. when i want to access anything from a child doc that is in a parent doc in flex i use parentDocument, what do i use when i want to say access and array in a

Re: [flexcoders] How to instantiate a weak reference

2009-02-03 Thread Manish Jethani
On Tue, Feb 3, 2009 at 11:11 PM, Greg Hess flexeff...@gmail.com wrote: Objects are all passed by reference, I want to pass a weak reference back to callers who request items from the cache, much like the internal implementation must do in some way when addEventListener(...true) as a weak

Re: [flexcoders] आचार्य अत्रे

2009-01-17 Thread Manish Jethani
ला त्यांची गम्मत करावी वाटली तिने अत्रांच्या मोठ्या पोटा कडे पाहून विचारले हा माठ कसा दिला ? त्या वर अत्रे म्हणाले . माठ नुसता पाहिजे का नळ सकट पाहिजे ? [...] -- Manish Jethani mx:Blog source=/dev/random ... manishjethani.com

Re: [flexcoders] Data Grid with dynamic columns ignoring % width or right style.

2009-01-14 Thread Manish Jethani
On Wed, Jan 14, 2009 at 3:40 PM, Wesley Acheson wesley.ache...@gmail.com wrote: Okay sorry If I wasn't clear enough about it basically the data grid stretches, but not enough to accomidate all columns. Nor even enough to fill the container. Setting a width of 0 makes the datagrid remember

Re: [flexcoders] Re: regex

2009-01-14 Thread Manish Jethani
On Wed, Jan 14, 2009 at 2:16 AM, flexaustin flexaus...@yahoo.com wrote: Ok, this i killing me. I have down to this: \\\name:something\\soemthing\\ How do I replace \\\ with \\ and all \\ with \. I'm not sure how you ended up with those backslashes, but here's how to replace two of those

Re: [flexcoders] Httpservice proxy?

2009-01-14 Thread Manish Jethani
they have a crossdomain.xml that won't allow your app. http://quote.yahoo.com/crossdomain.xml Manish -- Manish Jethani mx:Blog source=/dev/random ... manishjethani.com

Re: [flexcoders] Re: Httpservice proxy?

2009-01-14 Thread Manish Jethani
On Wed, Jan 14, 2009 at 10:53 PM, Nate Pearson napearso...@yahoo.com wrote: Ahhh! No way to get around that? Proxy the calls through your own web service (hosted on your own domain). Manish -- Manish Jethani mx:Blog source=/dev/random ... manishjethani.com

Re: [flexcoders] Custom mouse cursors including the system cursor?

2009-01-14 Thread Manish Jethani
Mouse.hide. If you skipped that, you would end up with a composite cursor. Maybe CursorManager should have an option for this. Manish -- Manish Jethani mx:Blog source=/dev/random ... manishjethani.com

Re: [flexcoders] regex

2009-01-13 Thread Manish Jethani
On Tue, Jan 13, 2009 at 9:56 AM, flexaustin flexaus...@yahoo.com wrote: Does anyone know how to write a regular expression that says find a pattern in a String that contains 0 or more letters, numbers, or spaces, but not a , (one double quote and a comma). [a-z0-9 ]* That will match 0 or

Re: [flexcoders] Re: regex

2009-01-13 Thread Manish Jethani
On Tue, Jan 13, 2009 at 8:16 PM, flexaustin flexaus...@yahoo.com wrote: So if I have this string (quotes are included in the string): name:Big Brown Cow b'(--Foot)'/b,title:hello I want to include everything after name: and before , var s:String = \name\:\Big Brown Cow

Re: [flexcoders] Re: How to create universal event handler?

2009-01-13 Thread Manish Jethani
On Tue, Jan 13, 2009 at 8:09 PM, Dan danijel.arsenov...@gmail.com wrote: I think you are right. Since Event is represented by object, I thought you could create event handlers in polymorphic manner, just like when handling errors, when you write catch(e:MyErrorClass). Such catch would also

Re: [flexcoders] When to use the include directive?

2009-01-13 Thread Manish Jethani
On Tue, Jan 13, 2009 at 10:19 PM, Nate Beck n...@tldstudio.com wrote: I just wanted to ping everyone and get their opinion on something. Why would anyone ever want to use the include directive? I've recently been working on poorly designed project where at the top of every module there is

Re: [flexcoders] Multiple selection in dataGrid by dragging Mouse with left mouse key

2009-01-12 Thread Manish Jethani
On Sat, Jan 10, 2009 at 11:55 PM, Dharmendra Chauhan chauhan_i...@yahoo.com wrote: Is it possible to select multiple rows in data grid by just dragging mouse over It. I know this can we achieved with combination of sift key and mouse. [...] Please let me know whether it is possible in flex

Re: [flexcoders] Using dispatchEvent ?

2009-01-12 Thread Manish Jethani
On Mon, Jan 12, 2009 at 11:42 AM, biosmonkey biosmon...@yahoo.com wrote: In my main app, I instantiate an instance of this class. I also create an event listener at the application level. Here's the problem: * If I use dispatchEvent(...) inside MyClass, the event listener in the main app

Re: [flexcoders] Tweening VBox or List IndexChangedEvent

2009-01-12 Thread Manish Jethani
On Mon, Jan 12, 2009 at 10:03 PM, kylewburke monk...@monkeyden.com wrote: I've implemented a ButtonSkin for CheckBox. I have several of them in a VBox. I'm trying to tween during the IndexChangedEvent via the childIndexChange event, to move the selected CheckBox up to the top. Well,

Re: [flexcoders] Re: Using dispatchEvent ?

2009-01-12 Thread Manish Jethani
On Mon, Jan 12, 2009 at 8:59 PM, biosmonkey biosmon...@yahoo.com wrote: The dispatched event needs to be heard by any component, anywhere, by setting an event listener for it at the application level. So bubbling up to the app is critical. Since your component has nothing to do with UI,

Re: [flexcoders] Data Grid with dynamic columns ignoring % width or right style.

2009-01-12 Thread Manish Jethani
On Sun, Jan 11, 2009 at 3:51 AM, wesley.acheson wesley.ache...@gmail.com wrote: I've a problem with the DataGrid ignoring the % width, while using Canvas as the parent. When I dynamically create columns it stretches to beyond the origional area. This behaviour has been reported as a bug.

Re: [flexcoders] How to create universal event handler?

2009-01-12 Thread Manish Jethani
On Mon, Jan 12, 2009 at 11:54 PM, Dan danijel.arsenov...@gmail.com wrote: If I do addEventListener(MyEvent.Evt1, handleEvt), I will handle only that specific MyEvent.Evt1 event. I need to be able to handle MyEvent.Evt2 and MyChildEvent.Evt1 and my FutureChildEvent.EvtX. How can this be

Re: [flexcoders] Timer Solution

2009-01-12 Thread Manish Jethani
On Mon, Jan 12, 2009 at 11:09 AM, vinod kumar coolvinu1...@ymail.com wrote: I want an urgent help. From metadata information i got the frame rate as 15. So between every second i want to display the values 1 to 15 using timer. You can listen for the enterFrame event and do it there. Manish

Re: [flexcoders] Loading Images Using CSS

2009-01-12 Thread Manish Jethani
On Mon, Jan 12, 2009 at 1:31 AM, Dan Vega danv...@gmail.com wrote: main.mxml mx:Image id=logo initialize=logo.source = StyleManager.getStyleDeclaration('logo').getStyle('source')/ stylesheet .logo { source: assets/images/robp/rocketfm_logosmall.png; } TypeError: Error #1009: Cannot

Re: [flexcoders]How do I know if a class is on the Application?

2009-01-11 Thread Manish Jethani
On 1/10/09, dorkie dork from dorktown dorkiedorkfromdorkt...@gmail.com wrote: I have a class on the application like this: managers:MyClass / How do I find out inside that class in the constructor if that class is on the Application? By Application I assume the Flex application (instance

Re: [flexcoders] Re: Properly remove children

2009-01-07 Thread Manish Jethani
On Wed, Jan 7, 2009 at 4:48 AM, markgoldin_2000 markgoldin_2...@yahoo.com wrote: Ok, here what I am getting. I have a container that I am adding different forms to at the run time. These forms are all based on the same class though. So, before I add a new form I am removing current form using:

Re: [flexcoders] Re: Properly remove children

2009-01-07 Thread Manish Jethani
On Wed, Jan 7, 2009 at 8:05 PM, Marco Catunda marco.catu...@gmail.com wrote: I have some doubt about weak references at eventListener. When I add a eventListener with weak reference true, the object don't get a point/reference to it but what happens with eventListener array after removing

Re: [flexcoders] Tree is not correctly updated when dragging and dropping item twice when using XML data provider

2009-01-06 Thread Manish Jethani
On Tue, Dec 30, 2008 at 7:52 PM, Sergey Kovalyov skovalyov.flexcod...@gmail.com wrote: [comments inline] Steps to reproduce: Create an application with the Tree component instance and XMLListCollection dataProvider binded to it that contains 5 items: private var itemsXML : XML = items

Re: [flexcoders] Tree is not correctly updated when dragging and dropping item twice when using XML data provider

2009-01-06 Thread Manish Jethani
On Tue, Jan 6, 2009 at 10:27 PM, Manish Jethani manish.jeth...@gmail.com wrote: function doWorkaround() { var e = new CollectionEvent(collectionChange); e.kind = update; Hey, I meant: e.kind = reset; That'll refresh everything. myXMLListCollection.dispatchEvent(e); } Manish

Re: [flexcoders] Spurious truncateToFit behavior when scaling TabNavigator

2009-01-06 Thread Manish Jethani
On Tue, Jan 6, 2009 at 3:30 PM, x77686d wh...@mitchellsoftwareengineering.com wrote: On one of our Flex applications we use scaleX and scaleY at the application level to zoom in/out on the whole thing. That works pretty well except for one problem: there's a TabNavigator and we see spurious

Re: [flexcoders] Generating Random key

2009-01-06 Thread Manish Jethani
On Tue, Jan 6, 2009 at 7:42 AM, Josh McDonald dzn...@gmail.com wrote: A quick take on it: Trying to improve on some already neat code... function randomLetter() : String { const noVowels : String = BCDFGHJKLMNPQRSTVWXYZ;

Re: [flexcoders] components in modules

2009-01-06 Thread Manish Jethani
On Tue, Jan 6, 2009 at 2:24 AM, rockorgames eguilhe...@gmail.com wrote: i have a zip search component.. but only a few modules uses it.. should i copy the code from the zip component to those modules ? the problem is that i would have to change the code in all modules if i needed to change

Re: [flexcoders] File Size is not same when compiled through mxmlc and flex builder

2009-01-06 Thread Manish Jethani
On Tue, Jan 6, 2009 at 1:01 AM, ilikeflex ilikef...@yahoo.com wrote: I think that the file Size is not same when compiled through mxmlc and flex builder. [snip] The file size is not same in the above two methods.The ant script file compiles with more file size. I know flex builder also uses

Re: [flexcoders] useHandCursor doesn't work when using custom cursors

2009-01-06 Thread Manish Jethani
On Wed, Jan 7, 2009 at 1:47 AM, Aaron Miller amil...@openbaseinteractive.com wrote: I am using custom cursors with CursorManager, but I would like the hand cursor to override the default (custom) for some controls similar to the way editable text overrides the default cursor with the text

Re: [flexcoders] Properly remove children

2009-01-06 Thread Manish Jethani
On Wed, Jan 7, 2009 at 12:22 AM, markgoldin_2000 markgoldin_2...@yahoo.com wrote: How do I remove children from a container in order to completely destroy them? Will removeAllChildren do the job? To remove an object visually, you'll have to remove it from the display list by calling removeChild

Re: [flexcoders] Re: Properly remove children

2009-01-06 Thread Manish Jethani
On Wed, Jan 7, 2009 at 3:39 AM, markgoldin_2000 markgoldin_2...@yahoo.com wrote: I dont really have a name (myButton). Objects are added to a container at run-time. while (container.numChildren 1) container.removeChildAt(0); Or you can use removeAllChildren Manish

Re: [flexcoders] Re: Properly remove children

2009-01-06 Thread Manish Jethani
On Wed, Jan 7, 2009 at 4:23 AM, markgoldin_2000 markgoldin_2...@yahoo.com wrote: removeAllChildren Yes, that's what I use but I dont see objects being completely destroyed. Define destroyed. Surely you see them go away? Manish

Re: [flexcoders] enterState for tabNavigator?

2009-01-05 Thread Manish Jethani
On Mon, Jan 5, 2009 at 10:01 PM, endrone endrone endr...@gmail.com wrote: currentStateChange and enterState don't work with a TabNavigator They are indeed in the docs, but they don't seem to work. Are you using the states feature at all? A TabNavigator by itself won't dispatch these events,

Re: [flexcoders] Start

2009-01-05 Thread Manish Jethani
On Sat, Jan 3, 2009 at 5:00 AM, Luis Francisco Hernández Sánchez luispac...@hotmail.com wrote: Hi, I want to start sending messages to others. Thanks. You have succeeded. Manish

Re: [flexcoders] Cannot assign arraycollection[i] value to VO variable due to ObjectProxy

2009-01-05 Thread Manish Jethani
On Sat, Jan 3, 2009 at 4:24 AM, jeremysavoy jeremysa...@yahoo.com wrote: I have an array collection that is a collection of ContactVO items. When I debug and look at the ArrayCollection, each item, [0], [1], etc is of type ObjectProxy, and inside each of these there is an object that then

Re: [flexcoders] enterState for tabNavigator?

2009-01-05 Thread Manish Jethani
On Mon, Jan 5, 2009 at 2:22 PM, endrone endrone endr...@gmail.com wrote: when you change a state, there's a enterState dispatched when a new state is shown. This is very handy for initializing the state. But does something similar exist for the tabNavigator? (enterState exists for a

Re: [flexcoders] Java HashMap to ComboBox

2009-01-05 Thread Manish Jethani
On Sun, Jan 4, 2009 at 3:19 AM, Vijay vijay_...@yahoo.com wrote: Can someone help me on binding the HashMap data returned by a Remote call to the Flex ComboBox? I'm successful in iterating the HashMap data inside the ActionScript but I didnt know how to bind the key=value pair to a ComboBox

Re: [flexcoders] Setting NumericStepper's label?

2009-01-05 Thread Manish Jethani
On Mon, Jan 5, 2009 at 7:08 PM, grimmwerks gr...@grimmwerks.com wrote: Both have the fontSize at 12, but for some reason the text in the numericStepper isn't bottom aligned: [snip] What's throwing it off is the border settings. How about if you moved the styleName setting from the Text and

Re: [flexcoders] enterState for tabNavigator?

2009-01-05 Thread Manish Jethani
On Mon, Jan 5, 2009 at 10:45 PM, endrone endrone endr...@gmail.com wrote: It's either the TabNavigator's 'change' (your current method) or its children's 'initialize'. It's hard to say without knowing more about the sort of initialization you're doing here. I'm not using states. Assume you

Re: [flexcoders] Re: why I can not dispatchEvent with creationComplete?

2009-01-05 Thread Manish Jethani
On Tue, Jan 6, 2009 at 1:34 AM, markflex2007 markflex2...@yahoo.com wrote: [snip] I have addEventListener in Mediator page, it works for CASE two but not work for CASE one. it seems dispatchEvent can not work with creationComplete. why? How to fix it. It works, but your event listener

Re: [flexcoders] Re: ModuleLoader with full url

2009-01-04 Thread Manish Jethani
On Mon, Jan 5, 2009 at 1:30 AM, Don Kerr fusionp...@yahoo.com wrote: I'm only using mx:ModuleLoader, so I cannot set a breakpoint on this tag. How do I inspect the contents of contentLoader when I'm not using pure actionscript/breakpoint? You can just open the ModuleManager.as file and set

Re: [flexcoders] itemRenderer ComboBox

2009-01-03 Thread Manish Jethani
On Sat, Jan 3, 2009 at 1:15 AM, Mike Oliver moli...@corenttech.com wrote: Perhaps its because it is an itemEditor, but just tried it and value in the editorDataField saves the label string to the Grid, not the 'data' element. Well, the value property is a little strange indeed. Not to mention

Re: [flexcoders] hideing a tab in a TabNavigator

2009-01-03 Thread Manish Jethani
On Sat, Jan 3, 2009 at 12:15 PM, Tracy Spratt tspr...@lariatinc.com wrote: I would use a TabBar whose dataProvider content was dynamically driven, to show or hide tabs as desired. I would have that TabBar drive a Viewstack. That's another option, but let's not forget that a TabNavigator is

Re: [flexcoders] Creating Asynchronous Classes

2009-01-03 Thread Manish Jethani
On Sat, Jan 3, 2009 at 3:33 AM, nathanpdaniel ndan...@bsi-scs.com wrote: Is there a primer on creating asynchronous classes? I've been building an app that runs a CRC32 check on each file (which requires looking at every byte of every file). It doesn't cause issues when the files are small

Re: [flexcoders] Using Flash Symbols in Flex.

2009-01-03 Thread Manish Jethani
On Sat, Jan 3, 2009 at 10:51 PM, paulgrantgain paulgrantg...@yahoo.com wrote: I'm trying to use a Movie Clip that I created in Flash CS4 in Flex. I am using Flex builder 3 as my IDE. I have read the following blog: http://www.gskinner.com/blog/archives/2007/03/using_flash_sym.html I can

Re: [flexcoders] ModuleLoader with full url

2009-01-03 Thread Manish Jethani
On Sat, Jan 3, 2009 at 7:17 PM, Don Kerr fusionp...@yahoo.com wrote: The very first time my Flex app is opened in the browser, I get this error TypeError: Error #1009: Cannot access a property or method of a null object reference. at

Re: [flexcoders] ToggleButtonBar with one or more ComboBoxes instead of buttons: How to build it?

2009-01-02 Thread Manish Jethani
On Fri, Jan 2, 2009 at 11:06 PM, Alan Shaw noden...@gmail.com wrote: The dataProvider would be like a Tree's, so for example an array where some of the elements are leaves (- buttons in the bar) and some are arrays (- dropdown lists in the bar) (no deeper arrays, and no folder names). I want

  1   2   3   4   5   6   7   8   9   10   >