Re: [flexcoders] reg expression for Password

2009-06-25 Thread Manish Jethani
(/^[A-Za-z0-9]{8,}$/) == -1 || s.search(/[A-Z]/) == -1 || s.search(/[0-9]/) == -1) throw new Error(Invalid password!); Manish

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
}); funcs.push(functor.call); } for each (var f:Function in funcs) { f(); } Output: 0 1 2 3 4 Manish

Re: [flexcoders] Delaying Component Load

2009-06-04 Thread Manish Jethani
=someContainer.addChild(new Component1()) / You can also look at the states feature (AddChild). Manish

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
class. Why this is missing from this event? Do I need to access it a different way? Have you looked at the metadata property and the metadataReceived event? Manish

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

2009-06-04 Thread Manish Jethani
ToolTipManager to display it), which you show and hide in response to events from the slider. Manish

Re: [flexcoders] How to addChild with StringValidator?

2009-06-04 Thread Manish Jethani
place UIComponent and I can use addChild with validator object? StringValidator is not a visual component. Why are you trying to add it using addChild()? You can just store it in an internal array (as you're doing) and that should be it. Manish

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

2009-06-04 Thread Manish Jethani
); trace(s); I've made it more strict in terms of how it matches stuff. But you should be able to modify your original regexp just by appending a ? to the .*. Manish

Re: [flexcoders] About how to implement UIComponent

2009-06-03 Thread Manish Jethani
://manishjethani.com/blog/why-the-superclasss-createchildren-should-be-called-last/ Manish

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
=vs.selectedIndex = 1 label=1 / /mx:VBox mx:VBox id=vb2 mx:Button click=vs.selectedIndex = 0 label=2 height=600 / /mx:VBox /mx:ViewStack /mx:Application Manish

Re: [flexcoders] How does one implement IBitmapDrawable

2009-06-02 Thread Manish Jethani
() will just capture the object as it would appear on the screen. I don't believe that the IBitmapDrawable object gets any sort of notification when it is being drawn. You can of course notify it yourself so it can redraw itself a different way before calling BitmapData.draw(). Manish

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

2009-06-02 Thread Manish Jethani
this works: var ns:Namespace = xml.namespace(); trace(xml..ns::Fund[0].ns::Name); But this won't work: default xml namespace = xml.namespace(); trace(xml..Fund[0].Name); I don't know how to explain that. Manish

Re: [flexcoders] Drawing the background Issue

2009-06-02 Thread Manish Jethani
);  endFill(); } Manish

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
, so I get the benefit of framework caching, but I just want to use TLF and not the rest of the Flex framework. Is there an option to get a .swz for just TLF? Manish On Tue, Jun 2, 2009 at 12:51 AM, Gordon Smith gosm...@adobe.com wrote: That's correct. FTE simply creates TextLines that display

Re: [flexcoders] Is this list declining?

2009-06-01 Thread Manish Jethani
of employer time -- but who cares!). Manish On Tue, Jun 2, 2009 at 3:17 AM, luvfotography ygro...@all-digital-links.com wrote: Is this list declining?  According to the number of posts, May stats were the lowest since Jan 2006.  It's been slowly declining since March 2008.  Is this because of better

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
this: mx:HTTpService url=somethin.do? Manish

Re: [flexcoders] Problem reading XML returned from Webservice

2009-06-01 Thread Manish Jethani
://mydomain.com/;); trace(lastXML.ns::ListFundsResult); Or, default xml namespace = new Namespace(http://mydomain.com/;); trace(lastXML.ListFundsResult); Manish

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

2009-05-31 Thread Manish Jethani
); var textLine:TextLine = textBlock.createTextLine(); textLine.y = textLine.ascent; addChild(textLine); How do I make the text selectable and editable? (Note: I'm not using the Text Layout Framework.) Manish

Re: [flexcoders] Re: Successive Videos Display

2009-05-28 Thread Manish Jethani
just loop through these tasks in what can be called the event loop and perform them little by little on each iteration, at the same time processing user events as well. So you continue to get your mouse and keyboard events while the data is still downloading. Manish

Re: [flexcoders] keeping aspect ratios of containers

2009-05-28 Thread Manish Jethani
updateDisplayList according to these rules. Manish

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

2009-05-28 Thread Manish Jethani
purpose , both required  a mouse Clk before they dispached. I thought you'd get 'activate' when the player got focus. You could try setting the focus back to Flash through JavaScript (I don't remember how to do this now). You should be getting a focus event on the HTML/JS side at least. Manish

Re: [flexcoders] Re: Invoke RemoteObject synchronic

2009-05-28 Thread Manish Jethani
that though in all but the rarest cases. It makes the code messy. Manish

Re: [flexcoders] popup systemManager not working

2009-05-28 Thread Manish Jethani
not the popups that's the problem, it's the fact that you're not listening for the event on the popup object itself. If you did this: popup.addEventListener(...) ... it would work, without bubbles set to true. Manish

Re: [flexcoders] data binding in textinput ?

2009-05-28 Thread Manish Jethani
the text entered assigned to the Bindable character string userName, however it is not.  What's the proper way to do this? mx:String id=userName{myName.text}/mx:String MXML rules. Manish

Re: [flexcoders] String To Date Conversion

2009-05-27 Thread Manish Jethani
= new Date(Date.parse(s)); trace(d); Manish

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

2009-05-27 Thread Manish Jethani
of the SystemManager, so you could maybe work your way up to the SystemManager get the URL parameters from there. preloader.parent.loaderInfo.parameters.myParameter. Manish

Re: [flexcoders] URLLoader + Binary != URLStream

2009-05-27 Thread Manish Jethani
correctly ? [...] Why are you calling writeObject() in the case of the URLLoader? You should call writeBytes() instead. writeObject() is for objects, not raw bytes Manish

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

2009-05-27 Thread Manish Jethani
(value:String):void { if (label.text != value) { label.text = value; invalidateDisplayList(); } } override protected function updateDisplayList(...):void { // do the effect here if necessary } Manish -- www.manishjethani.com

Re: [flexcoders] Flex unloading SFW- memory management

2009-05-27 Thread Manish Jethani
own. For instance, you'll have to remove any event listeners or any other references to objects inside your SWF on your own. I had made an API for this for my entire application. http://tech.groups.yahoo.com/group/apollocoders/message/2766 Manish -- www.manishjethani.com

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
., is supported. Maybe somebody from the Flex team can throw some light on this. I would use callLater() to dispatch that event. My $0.02. Manish

Re: [flexcoders] Successive Videos Display

2009-05-27 Thread Manish Jethani
with the autoPlay property set to false. Then you call load() on the next one in the queue while the current one is playing. When the current one finishes, you swap the new one in place and call play() on it (and load the next one). Manish

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
definitions in a class. Here's the order: 1. Private properties 2. Protected properties 3. Public properties 4. Public methods 5. Protected methods 6. Private methods Manish

Re: [flexcoders] Multiple events dispatched, data lost

2009-05-24 Thread Manish Jethani
of AddSourceCommand each time, instead of have it called through an event? Manish

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

2009-05-22 Thread Manish Jethani
/ but the error shows: no .../src/app1/common/asfile.as found. That would be the absolute path on your disk. For instance: mx:Script source=/Users/manish/Code/test/test_script.as / Manish

Re: [flexcoders] Ctrl click in combobox

2009-05-22 Thread Manish Jethani
, shiftKey, ctrlKey, transition); } } 2. Use this class as the dropdown in the ComboBox. mx:ComboBox id=cb prompt=-- select -- dataProvider={['1', '2', '3']} dropdownFactory={new ClassFactory(MyList)} / Tada! Manish -- www.manishjethani.com

Re: [flexcoders] localized parseFloat

2009-05-22 Thread Manish Jethani
) before you send it to the parse function. Manish

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

2009-05-22 Thread Manish Jethani
your task manager to see if there are any running in the background. The command-line debugger (fdb) listens for the player to connect on port 7935. So on OS X you could run this command to see if another instance is already listening: lsof -i | grep 7935 Output: java 5408 manish

Re: [flexcoders] localized parseFloat

2009-05-22 Thread Manish Jethani
nf:NumberFormatter = new NumberFormatter(); nf.decimalSeparatorFrom = ,; nf.thousandsSeparatorFrom = .; nf.decimalSeparatorTo = .; nf.thousandsSeparatorTo = ; var s:String = nf.format(1.234,56); trace(s); var f:Number = parseFloat(s); trace(f); Manish

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

2009-05-22 Thread Manish Jethani
of that. Manish

Re: [flexcoders] Loading Modules in Separate Application Domains

2009-05-14 Thread Manish Jethani
://www.mail-archive.com/flexcoders@yahoogroups.com/msg80560.html Manish

Re: [flexcoders] Dictionary class?

2009-05-11 Thread Manish Jethani
://manishjethani.com/blog/2008/07/31/using-weak-references-in-actionscript-3/ You can see for instance the EffectManager class in the Flex 3 framework uses a Dictionary object to store references to effects. Manish

Re: [flexcoders] Loader coming back with incorrect dimensions

2009-05-11 Thread Manish Jethani
object. If you resize the content, you might get the new values from the Loader, but the original values will be available in the LoaderInfo. Manish

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
to have that. Manish On Sun, Mar 15, 2009 at 2:15 AM, wubac1 wub...@gmail.com wrote: Manish, The javascript-based data grid components don't compare from a usability standpoint (i.e. pagination by button vs. scroll bar).  The Google Reader makes an interesting attempt at a scrollable data grid

Re: [flexcoders] Question from a C developper

2009-03-14 Thread Manish Jethani
assigning it. var i:int = 10; var n:Number = i; If you're coming straight from a C/C++ background, there's a lot you'll need to unlearn before you start to get a hang of ActionScript 3. But it's basically in the same family of languages, so you should have no trouble. Manish On Thu, Mar 12, 2009

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
to access the internal array. You can also get a reference to the child using the getChildAt method. this.getChildAt(0).someArray Manish

Re: [flexcoders] How to instantiate a weak reference

2009-02-03 Thread Manish Jethani
/07/31/using-weak-references-in-actionscript-3/ Manish

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

2009-01-17 Thread Manish Jethani
2009/1/17 Sefi Ninio sefi.ni...@gmail.com: It is better to write messages in english, if you want them answered... FYI: That is spam, or at least of no relevance to flexcoders. Manish 2009/1/17 p...@vin Uttarwar pravinuttar...@gmail.com एकदा अत्रे नदिवर नहात होते . तेथे कपडे धुनार्या बाई

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

2009-01-14 Thread Manish Jethani
this with the sample you posted, you'll see that you get the desired behavior. DataGrid minWidth=1 ... / Manish

Re: [flexcoders] Re: regex

2009-01-14 Thread Manish Jethani
with a single one: trace(.replace(//g, \\)); Note: You have to escape them in string and regexp literals. Manish -- Visit me at manishjethani.com

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
or more letters, numbers, or spaces (any combination of those). Since a double-quote or a comma do not fall in any of these categories (letters, numbers, or spaces), they won't be matched. Is that what you're looking for? Manish -- http://manishjethani.com

Re: [flexcoders] Re: regex

2009-01-13 Thread Manish Jethani
\,\title\:\hello\; var a:Array = s.match(/[^]*:([^,]*)/g); trace(a[0]); trace(a[1]); var s1:String = s.replace(/[^]*:([^,]*),?/g, $1\n); trace(s1); Manish -- http://manishjethani.com

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

2009-01-13 Thread Manish Jethani
(MyEvent.MY_EVENT, ...)); And your handler, myEventHandler, will be able to handle it perfectly well. Isn't that what you're looking for? Manish -- http://manishjethani.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files

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

2009-01-13 Thread Manish Jethani
, and such). But sometimes that's just what you need. The Flex framework, for instance, uses include statements to include common style metadata into various components. Manish

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

2009-01-12 Thread Manish Jethani
give you is the DataGrid source code itself -- look into that. Manish -- http://manishjethani.com

Re: [flexcoders] Using dispatchEvent ?

2009-01-12 Thread Manish Jethani
never fires (the custom event *is* set to bubble) To add to Josh's response, I would say the best way to do this is to listen on the object itself. obj = new MyClass(); obj.addEventListener(...); The events don't have to be bubbling then. Manish

Re: [flexcoders] Tweening VBox or List IndexChangedEvent

2009-01-12 Thread Manish Jethani
mx:Button label=b1 moveEffect=Move / mx:Button label=b2 moveEffect=Move / mx:Button label=b3 moveEffect=Move / mx:Button label=b4 moveEffect=Move / /mx:VBox /mx:Application Manish -- http://manishjethani.com

Re: [flexcoders] Re: Using dispatchEvent ?

2009-01-12 Thread Manish Jethani
application-wide, by making it a singleton, for instance, or by making it a property of the main application. It seems you're already doing something to that effect -- dispatching off the main application object. Manish

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

2009-01-12 Thread Manish Jethani
to accommodate all the columns. Manish -- http://manishjethani.com

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

2009-01-12 Thread Manish Jethani
this be achieved? You have to add a listener for each event type separately. obj.addEventListener(foo, commonHandler); obj.addEventListener(bar, commonHandler); obj.addEventListener(baz, commonHandler); ... There's no shortcut way to listen for all events from an object. Manish

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
access a property or method of a null object reference. You have to use .logo (as opposed to logo) in your call to getStyleDeclaration. Manish -- http://manishjethani.com

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

2009-01-11 Thread Manish Jethani
if not in the constructor). So if you want to check if you're on the stage yet, just check for the stage property. onStage = (stage != null); Manish -- http://manishjethani.com

Re: [flexcoders] Re: Properly remove children

2009-01-07 Thread Manish Jethani
of your ancestors, you usually want to use a weak reference (the last parameter to addEventListener). That's because your parent doesn't know you're listening on it, so when you've been removed and discarded, you'll still be around because of the event listener. Manish

Re: [flexcoders] Re: Properly remove children

2009-01-07 Thread Manish Jethani
it, it no longer notifies it of the event. Manish

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

2009-01-06 Thread Manish Jethani
, for now, here's a workaround: Tree ... dragDrop=callLater(doWorkaround) ... / function doWorkaround() { var e = new CollectionEvent(collectionChange); e.kind = update; myXMLListCollection.dispatchEvent(e); } See if that works. This ought to be logged in the Flex bugbase. Manish

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
of a good way to get rid of the ellipses? I see that the IUITextField in Button does have truncateToFit but I'm not aware of a good way to get at it. (Could reflection be used?) It's in mx.core.UITextField. I don't think you can get rid of it easily or at all. Manish

Re: [flexcoders] Generating Random key

2009-01-06 Thread Manish Jethani
; return noVowels.charAt(Math.round(Math.random() * (noVowels.length - 1))); } return noVowels.charAt(Math.floor(Math.random() * (noVowels.length))); This gives a fair chance to all letters. With Math.round, B and Z were being slightly discriminated against. Manish

Re: [flexcoders] components in modules

2009-01-06 Thread Manish Jethani
. You can load the SWF when you need one of the classes. So a component that is shared between multiple modules could be part of an RSL. (For what it's worth, the Flex framework is also available as an RSL.) Manish

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

2009-01-06 Thread Manish Jethani
mxmlc to compile the files but how can i see the parameters passed to mxmlc through flex builder. I'm not a big Flex Builder user, but I'm guessing it picks up its settings from one of them flex-config.xml files. Manish

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

2009-01-06 Thread Manish Jethani
the hand cursor conditionally you'll have to do what you're thinking: switch cursors on roll over and roll out. Manish

Re: [flexcoders] Properly remove children

2009-01-06 Thread Manish Jethani
of your Applciation points to a Button instance you create somewhere, you'll have to null out that reference. someContainer.removeChild(myButton); myButton = null; Manish

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
'initialize'. It's hard to say without knowing more about the sort of initialization you're doing here. Manish

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
, but normally in a situation like this I would use an interface. You would end up with a ContactProxy that wraps the ContactVO, and both implement the IContactVO interface. And if that's overkill, maybe just refer to the ContactVO directly: __model.contact = __model.myAC[i].object; Manish

Re: [flexcoders] enterState for tabNavigator?

2009-01-05 Thread Manish Jethani
by the TabNavigator, and then there's the initialize and creationComplete events dispatched by the individual child containers. Manish -- http://manishjethani.com/

Re: [flexcoders] Java HashMap to ComboBox

2009-01-05 Thread Manish Jethani
Code Snippet [snip] Do you want to display each key as an item? You'll have to convert the hash map object into an array. Manish

Re: [flexcoders] Setting NumericStepper's label?

2009-01-05 Thread Manish Jethani
and NumericStepper objects up to the HBox? Manish

Re: [flexcoders] enterState for tabNavigator?

2009-01-05 Thread Manish Jethani
. But you might have performance concerns here depending on how many different categories you have ... so think about that. If you must generate the views dynamically every time a tab is selected, then I think the change event is the way to go. Manish

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

2009-01-05 Thread Manish Jethani
=flash.events.Event)] /mx:Metadata ... Manish

Re: [flexcoders] Re: ModuleLoader with full url

2009-01-04 Thread Manish Jethani
the module in AS3 with a simple Loader and see if you still get the problem. loader = new Loader(); loader.contentLoaderInfo.addEventListener(complete, completeHandler); loader.load(...); In the completeHandler function, check that loader.contentLoaderInfo is not null. Manish -- http

Re: [flexcoders] itemRenderer ComboBox

2009-01-03 Thread Manish Jethani
it's also deprecated. Here's what I suggest: /* in your item editor */ public function get myCustomProperty():Object { var item:Object = selectedItem; if (item == null) return null; return item.data; } DataGridColumn editorDataField=myCustomProperty ... / Manish

Re: [flexcoders] hideing a tab in a TabNavigator

2009-01-03 Thread Manish Jethani
is more than just a TabBar + ViewStack. There's the focus management/handling which you get for free. Manish

Re: [flexcoders] Creating Asynchronous Classes

2009-01-03 Thread Manish Jethani
into the source code of this library and thought it looked promising: http://blog.generalrelativity.org/?p=29 You should be able to split your CRC32 computation into chunks quite easily, either with this library, or with something more basic using just a simple Timer. Manish -- http://manishjethani.com

Re: [flexcoders] Using Flash Symbols in Flex.

2009-01-03 Thread Manish Jethani
(both the methods you're trying). I suspect it's something to do with the loaded SWF itself. What happens if you call gotoAndPlay() on the MovieClip object (mc)? Manish

Re: [flexcoders] ModuleLoader with full url

2009-01-03 Thread Manish Jethani
\projects\framework\src\m x\modules\ModuleManager.as:717] So it looks like contentLoaderInfo is null ... which is, like, impossible. What does event.target point to? You can check that with a breakpoint. It should be pointing to the contentLoaderInfo itself. Manish

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

2009-01-02 Thread Manish Jethani
in a sophisticated way. It's doable. Essentially what you're looking for is a cross between a MenuBar and a ToggleButtonBar, so I would draw inspiration from those two components. Manish -- http://manishjethani.com/

  1   2   3   4   5   6   7   8   9   10   >