Re: [flexcoders] Re: Adobe has open-sourced the Text Layout Framework (TLF)

2009-07-21 Thread Jeremy Lu
I didn't see that either, but since it's brought up, is there any plan to have table implemented in TLF any time soon ? I thought there's a ready-made solution in buzzword, probably the team consider sharing it ? (and yes, I totally understand TLF != HTML, so it's a bit over to ask for this

[flexcoders] Changing text size in mx:HTML (webkit) ? #air

2009-02-23 Thread Jeremy Lu
Had been looking for ways to make text bigger or smaller in mx:HTML control, something equivalent in fireworks and safari by simply pressing cmd -/+ keys, but somehow there's no native API to call in the AIR's html control, am I missing something here ?

Re: [flexcoders] Re: Tamarin, Adobe open source the Flash player ?

2006-11-07 Thread Jeremy Lu
Mozilla will use this engine by adding browser-DOM classes such as Window, Document, Form, Anchor, etc., which are the domain objects that a browser manipulates,in the same way that Flash uses this engine by addingclasses for its domain objects such as Sprites.Once this is done, webapp

Re: [flexcoders] Re: Flex 2 limitations vs. raw Flash 8 Prof?

2006-10-05 Thread Jeremy Lu
Don't forget Flash 9 is in not so far the future, you got the preview version to play with now, and the final might come up early next year, by then, all the code you wrote in AS3 will worth the effort, no more flash-flex communication problem, no more timeline problem. On 10/6/06, Kirk Marple

Re: [flexcoders] How can I keep one component in front of all other components?

2006-09-10 Thread Jeremy Lu
PopUpManager create pop-ups via SystemManager, which had a children list, and all DisplayObjectContainer( like SystemManager) has a setChildIndex() method to let you swap each child's depth, that's where you can start to implement. On 9/11/06, hastyarkxu [EMAIL PROTECTED] wrote: Hi,I want to

Re: [flexcoders] Event Proxy

2006-08-28 Thread Jeremy Lu
Why proxy ? events from inside item renderes will eventually bubble up to the containing base component.Or am I mis-understanding you here ? On 8/29/06, Fernando Flórez [EMAIL PROTECTED] wrote: Hello again, What i'm thinking would be cool to code (i'm

Re: [flexcoders] Re: Collection View changes order on update

2006-08-27 Thread Jeremy Lu
This hit me before, end up I'm re-sorting the collection everytime it changed. (using the sorting function of collection) On 8/28/06, ssundke [EMAIL PROTECTED] wrote: Hey, does any one have any idea on this? -- Flexcoders Mailing List FAQ:

Re: [flexcoders] Need help identifying which Event to listen for

2006-08-23 Thread Jeremy Lu
When selection changes, you can access current selected child via ViewStack.selectedChild, which points to the currently selected child container, you can then trigger a method inside the child to re-grab the data. see if this works for you :-) On 8/24/06, Mike Anderson [EMAIL PROTECTED] wrote:

Re: [flexcoders] Issue with dates from Flex to MySQL

2006-08-20 Thread Jeremy Lu
Have you checked the default time zone setting in the database ? On 8/21/06, gotgoose09 [EMAIL PROTECTED] wrote: In my MySQL table, I have a field that is typed as a Date. In my web app I send a date from flex to a CFC which populates the Date field. On

Re: [flexcoders] ASDoc is now available for download

2006-08-15 Thread Jeremy Lu
Great, thanks for the info, having a release out there is much better than having nothing out there, I'm already very grateful for it, just made my day :-) On 8/16/06, Brian Deitte [EMAIL PROTECTED] wrote: Hi Tom, I wasn't very happy releasing the code

Re: [flexcoders] Determine if a Class implements an Interface

2006-08-15 Thread Jeremy Lu
if( describeType(MyClass).implementsInterface.(@type) == interfaceName).length() ){ //do something; } but it's a bit expensive to iterate over the tags everytime you want to check. On 8/16/06, thunderstumpgesatwork [EMAIL PROTECTED] wrote: Hi all, I

Re: [flexcoders] unable to get a camera by passing the name from the names list

2006-08-14 Thread Jeremy Lu
This had been discussed last week, Andrew provided a solution, try this: _camera = Camera.getCamera( 1 );Note it's a 1 (string) in the function. Jeremy.On 8/14/06, Dan Rossi [EMAIL PROTECTED] wrote: Hi, i think ive discovered a bug with the flash 9

Re: [flexcoders] itemRenderer question, scoping?

2006-08-12 Thread Jeremy Lu
you need to declare the namespace in the application tag for your components, add this to the tag: xmlns:mycomp=myComponents.* then in your main application, use this: mycomp:artart / mycomp:Colornail / hth, Jeremy. On 8/12/06, Leo Wieland [EMAIL PROTECTED] wrote:

Re: [flexcoders] Calendar component

2006-08-11 Thread Jeremy Lu
ah, I'm about to implement one, any spec available ? if they dupe in many ways I would give up mine.On 8/11/06, Matt Chotin [EMAIL PROTECTED] wrote: Not Ely's. From: [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com] On Behalf Of

Re: [flexcoders] Calendar component

2006-08-11 Thread Jeremy Lu
Wow, that sounds good, I will wait then, thanks for the update. Jeremy.On 8/11/06, Steven Webster [EMAIL PROTECTED] wrote: Jeremy, This work is being done within Adobe Consulting - Alistair McLeod has been overseeing the development work with some of

Re: [flexcoders] Re: Macintosh hqx

2006-08-11 Thread Jeremy Lu
Second that, nice product and support. But seems Zinc v2.5 for FP9 is still a bit buggy, almost everything I tried had some bugs here and there, non critical but slightly annoying. Jeremy.On 8/12/06, Jason [EMAIL PROTECTED] wrote:

Re: [flexcoders] Re: Save Image As... context menu item

2006-08-11 Thread Jeremy Lu
Very interesting idea, could come in handy someday, thanks for sharing this :-) Jeremy. On 8/12/06, Sergey Kovalyov [EMAIL PROTECTED] wrote: Sorry, but previous sample was incorrect. Below you could find the correct one: ?xml version=1.0 encoding=utf-8?

Re: [flexcoders] Dynamic combobox

2006-08-11 Thread Jeremy Lu
The red line seems very suspecious, I guess this has something to do with the data structure of the result object, are there many rows (items) inside the result object ? Here is my current code. // INTALIZE FUNCTIONS private function initComplete(){

Re: [flexcoders] request for adobe: stop being so private

2006-08-10 Thread Jeremy Lu
Flex 2 framework is almost a total revamping, few things were shared from v1.5, guess they still need time to sharpen it a bit. and just like you, for so many times I have to clone the whole class just to modify some of the variables marked private, and ends up with lot of dupe stuff inside,

Re: [flexcoders] Camera.get([index]); useing mutiple cameras

2006-08-08 Thread Jeremy Lu
to willburforce: I ran into this problem several days ago, trying something like this var arr:Array = Camerag.names; Camera.getCamera( arr[1] ); note it's getCamera() not get(). as the menu says, the sigature of the Camera.getCamera() is public static function getCamera( name:String

Re: [flexcoders] Camera.get([index]); useing mutiple cameras

2006-08-08 Thread Jeremy Lu
Btw, I'm using 9.0.16 (both debugging and non-debugging) player. Same result. Jeremy.On 8/8/06, Jeremy Lu [EMAIL PROTECTED] wrote: to willburforce: I ran into this problem several days ago, trying something like this var arr:Array = Camerag.names; Camera.getCamera( arr[1] ); note it's

Re: [flexcoders] Camera.get([index]); useing mutiple cameras

2006-08-08 Thread Jeremy Lu
] On Behalf Of Jeremy Lu Sent: Tuesday, August 08, 2006 11:52 AM To: [EMAIL PROTECTED]ups.com Subject: Re: [flexcoders] Camera.get([index]); useing mutiple cameras to willburforce: I ran into this problem several days ago, trying something like this var arr:Array = Camerag.names

Re: [flexcoders] Dump?

2006-08-06 Thread Jeremy Lu
- import mx.utils.ObjectUtil; ObjectUtil.toString( loginVO ); - This makes life a bit easier :-) Jeremy. On 8/7/06, Bjorn Schultheiss [EMAIL PROTECTED] wrote: already answered by joost Regards, Bjorn Schultheiss Senior

Re: [flexcoders] Re: Help with SharedObject please!

2006-08-05 Thread Jeremy Lu
for the location of the debugger. Wayne --- In flexcoders@yahoogroups.com, Jeremy Lu [EMAIL PROTECTED] wrote: Looks like a security problem, can you trace the contents stored in the sharedobject and see if all data are kept there ? Jeremy. On 8/5/06, wayneposner [EMAIL PROTECTED] wrote: Howdy

Re: [flexcoders] Timer to run function every 30 min

2006-08-05 Thread Jeremy Lu
side note: if you were to use 60 * 30 * 1000, try to write it like this: var interval:Number = 60 * 30 * 1000; then use the variable interval in the timer, so the value won't be calculated everytime needed. On 8/6/06, sinatosk [EMAIL PROTECTED] wrote: 60

Re: [flexcoders] Re: HTTP spy :: Charles, Service Capture or...

2006-08-04 Thread Jeremy Lu
Charles, a pretty nice replacement for NCD :-)Jeremy.On 8/4/06, Dave Wolf [EMAIL PROTECTED] wrote: If you are using Tomcat as your application server, the built in SOAPMonitor is awesome. Its free, and shows all request and response traffic. We have things

Re: [flexcoders] Help with SharedObject please!

2006-08-04 Thread Jeremy Lu
Looks like a security problem, can you trace the contents stored in the sharedobject and see if all data are kept there ? Jeremy.On 8/5/06, wayneposner [EMAIL PROTECTED] wrote: Howdy all... I trying to use a SharedObject to keep user entered search strings

Re: [flexcoders] [Flex 2] Extending Components: Why test for existence of children?

2006-08-03 Thread Jeremy Lu
AFAIK, createChildren() may be called more then once during the app life cycle, so it's neccessary to check the existence of the children before creating it. Jeremy. On 8/3/06, astgtciv [EMAIL PROTECTED] wrote: flex2_createandextendcomponents.pdf is

Re: [flexcoders] will Flash (stand-alone) Remoting be upgraded for Flex 2.0? (ie not FDS)

2006-08-03 Thread Jeremy Lu
uhm, I don't know if Flash Remoting for Java/.NET will continue, but you can use flash remoting with flex2 now, no need for newer remoting gateway anyway. If you insist on having AMF3, there's always 3rd party product (like weborb) supporting it. Jeremy.On 8/4/06, Barry Beattie [EMAIL

Re: [flexcoders] will Flash (stand-alone) Remoting be upgraded for Flex 2.0? (ie not FDS)

2006-08-03 Thread Jeremy Lu
well, don't quite understand what you mean, but I'm referring to that you can use customized NetConnection object to connect existing remoting gateway (AMF0, no matter it's for .net/java/php). You could take a look at Renaun's remoting component, that's the way to go without changing any

Re: [flexcoders] Re: creating a variant PopUpButton - errors on getStyle(popUpIcon)

2006-08-02 Thread Jeremy Lu
it work. Still wishing I could make my popupbutton like the other naturally.On 7/31/06, Jeremy Lu [EMAIL PROTECTED] wrote: Try this: StyleManager.setStyleDeclaration(PopUpButtonExt, StyleManager.getStyleDeclaration(PopUpButton), true); this will get all the styles from PopUpButton to your extended

Re: [flexcoders] Re: Is there a way to put a close X on the tabnavigator

2006-08-01 Thread Jeremy Lu
I've made one (it's a draggable tabbar with close button on each tab), sources included *sample http://ria.richtechmedia.com/upload/TabBarFinal/tabBar.swf *source http://ria.richtechmedia.com/upload/TabBarFinal/ Code heavily commented (in Chinese), if you have any question, please feel free

Re: [flexcoders] Re: creating a variant PopUpButton - errors on getStyle(popUpIcon)

2006-07-31 Thread Jeremy Lu
Try this: StyleManager.setStyleDeclaration(PopUpButtonExt, StyleManager.getStyleDeclaration(PopUpButton), true); this will get all the styles from PopUpButton to your extended component. Jeremy. On 8/1/06, Tim Hoff [EMAIL PROTECTED] wrote: Yeah, That's

Re: [flexcoders] Is it possible to do this in Flex? (quick help needed, please!!!)

2006-07-31 Thread Jeremy Lu
I did something similar before. I think the main problem (requirement) fromLarry is : The main app grab all components needed and save it in local disk the first time it run, then the application runs with downloaded components from there, which *means* the application should *not* download

Re: [flexcoders] Using IUID

2006-07-30 Thread Jeremy Lu
If your VO are bindable, chances are very high that you might not need to implement the IUID interface, it will be automatically done. Jeremy.On 7/31/06, Oriol Gual [EMAIL PROTECTED] wrote: I have done it in a VO using Cairngorm, I suppose it won't be very

Re: [flexcoders] Custom component live-preview and code-hint questions

2006-07-28 Thread Jeremy Lu
it's solved, misplacement of swc file, thanks :-)On 7/28/06, Dan Rossi [EMAIL PROTECTED] wrote: As the manual says, do you not have to add it as a namespace first ? so xmlns:panels=components.panels.* will load components in flex files in components/panels/

Re: [flexcoders] Not getting code hinting for Cairngorm types

2006-07-28 Thread Jeremy Lu
Recently ran into this problem while packing component into swc.The problem lies in how you add the swc to your project.It's inProject Flex Build Path Library Pathpress Add SWC and make sure you put something like this in the dialog box: $DOCUMENTS\your_lib.swc I'm assuming you put

Re: [flexcoders] Re: what is beeing sent via HTTPSerice?

2006-07-28 Thread Jeremy Lu
Charles works great as well. (btw, it's support flash remoting, AMF0/3 too )http://www.xk72.com/charles/ Jeremy.On 7/29/06, Vikas Bhatia [EMAIL PROTECTED] wrote: There is also this https://addons.mozilla.org/firefox/1290/ On 7/28/06, ben.clinkinbeard [EMAIL

[flexcoders] Custom component live-preview and code-hint questions

2006-07-27 Thread Jeremy Lu
Just created a new component and tried to pack it into a swc, the component is named "TheComponent.as" and the swc is named "test.swc" Got two questions. 1. The custom component never shows up in Design View, just like those FB2 built-in components did. Actually no matter it's

Re: [flexcoders] Which PHP Plugin for Flex IDE?

2006-07-26 Thread Jeremy Lu
Phpeclipse.It's not perfect, but I just need a php editor with color coding and code hinting, that's good enough for me.If I want to go full-blown, I will just fire up Zend Studio then I got everything... Jeremy.On 7/27/06, Kevin Mulvihill [EMAIL PROTECTED] wrote:

Re: [flexcoders] invalidateDisplayList()

2006-07-25 Thread Jeremy Lu
In your updateDisplayList() function, you can add an if clause to detect which part should be redrawn.Something like :if( dotChanged ){ //do redraw}Jeremy. On 7/25/06, Daniel Tuppeny [EMAIL PROTECTED] wrote: Hi, Does calling invalidateDisplayList() on a

Re: [flexcoders] invalidateDisplayList()

2006-07-25 Thread Jeremy Lu
Kinda weird, this is my understaning too, but I never dig deep enough into those charting widgets, maybe things are different in there.Have you tried the FlexComponents list also hosted on Yahoo (lead by Ted Patrick) ? most component gurus are there. Jeremy. Surely invalidating one object

Re: [flexcoders] Plugins to Standalone Flex

2006-07-24 Thread Jeremy Lu
I had no problem with Flex plugin to Eclipse, also installed PhpEclipse, SubClipse and a bunch of other plugins (as you can imagine). Flex plugin inside Eclipse does have some minor probelm with short cut key, but it can be re-set in preference keys, things like Outline, Block comment call

Re: [flexcoders] TODO/FIXME extension for Flex Builder 2

2006-07-21 Thread Jeremy Lu
hi Dirk, Thanks for the great plugin.Btw, next time you can try tinyurl.com to shorten the url, the link would looks like this: http://tinyurl.com/l4m33Jeremy.On 7/21/06, Weyert de Boer [EMAIL PROTECTED] wrote: Nice, this plugin looks really nice :)

Re: [flexcoders] flex purchase - source without media/download

2006-07-21 Thread Jeremy Lu
The source for charting is *indeed* there, after you filled in the serial number, it will be extracted from the charting.jar to framework folder.Jeremy.On 7/21/06, Pan Troglodytes [EMAIL PROTECTED] wrote: I just realized something that might be a problem.

Re: [flexcoders] omitting .svn during build

2006-07-21 Thread Jeremy Lu
I tould tortoiseSVN to ignore .* and bin so it never gets into the repository. (most of the time you don't need to put bin folder into svn right ? other developers can build it themself) Jeremy.On 7/22/06, Engkee Kwang [EMAIL PROTECTED] wrote:

Re: [flexcoders] Talking Components

2006-07-21 Thread Jeremy Lu
Surely it can. You can create a MyEvent class which extends Event then add in as many properties you want (something like data), there's a fine example in the manual about creating custom event. When you need to broadcast event from one component to another, just use: comp.dispatchEvent(

Re: [flexcoders] tracing into SDK

2006-07-21 Thread Jeremy Lu
Press ctrl key then click on the DataGrid should bring you in there. (when ctrl key are pressed, DataGrid will be blue with a underline). Jeremy.On 7/22/06, Dominick Accattato [EMAIL PROTECTED] wrote: hrmm, i haven't checked yet. Your talking about debuggin

Re: [flexcoders] importing xml to my flex app

2006-07-19 Thread Jeremy Lu
One little addition to Tracy's post, when using attribute for labelField, don't forget to add an @ sign, this is the E4X notation for accessing attribute. Jeremy. On 7/19/06, Tracy Spratt [EMAIL PROTECTED] wrote: Yes. Assign my_xml to the

Re: [flexcoders] Re: SWFLoader how to access host application

2006-07-19 Thread Jeremy Lu
Don't have Flex at hand, but I would try (from inside the loaded swf): this.systemManager.application.someMethod() you may have to cast each variable to correct type, something like SystemManager( this.systemManager).application.someMethod(). just my wild guess, might works. Jeremy. On

Re: [flexcoders] How to remove DataGrid itemRenderer top Bottom spaces

2006-07-19 Thread Jeremy Lu
have you tried to set paddingTop, paddingBottom to 0 ? another possible reason is the rowHeight of DataGrid is just too high, try shorten it. Jeremy.On 7/20/06, Artur Kordowski [EMAIL PROTECTED] wrote: I've created an itemRenderer for a DataGrid and

Re: [flexcoders] Flex and Server-Side Technology Recommendations

2006-07-16 Thread Jeremy Lu
hi Kevin, You can start with a serach in this list and flex 2 ldoc with following keyword: 1. HttpServices, WebServices, RemoteObject 2. Flash Remoting 3. modelLocator (for Cairngorm related stuff) On 7/16/06, Kevin Mulvihill [EMAIL PROTECTED] wrote:

Re: [flexcoders] Flex and Server-Side Technology Recommendations

2006-07-16 Thread Jeremy Lu
If this is all about ruby, there are various open source Ruby projects going now, most active one is :http://blog.themidnightcoders.com/2006/06/weborb-and-flex-remoting-for-ruby-on.html and this one had been dead for more then two year but there are workable code in the

Re: [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] Re: [Junk E-Mail - MED] Re: [flexcoders] dataGrid drop-in itemRenderer/Editor

2006-07-15 Thread Jeremy Lu
this is the snippet from my code library: package { import mx.containers.HBox; import mx.controls.CheckBox; public class CheckBox2 extends HBox{ public function CheckBox2(){ this.setStyle(horizontalAlign, center); } var c:mx.controls.CheckBox; override protected

Re: [flexcoders] Re: WebORB for .net beta5: feedback

2006-07-13 Thread Jeremy Lu
Just a reminder, I checked Aral's ARP framework last week (yes, flex 2 compatible version), there's a pretty well-written RemotingService class which wraps NetConnection (supporting AMF0) and provide exactly the same function of Service/RelayResponder from Flash 8. So one can still use Flash

Re: [flexcoders] Re: FDS question

2006-07-12 Thread Jeremy Lu
If in the end FDS and XML/Web Service are not good enough for you, why not give Flash Remoting a try ? no matter you're using RemoteObject or direct NetConnection manipulation would solve your problem. Jeremy.On 7/12/06, Steven Webster [EMAIL PROTECTED] wrote:

Re: [flexcoders] ASDoc for AS3?

2006-07-11 Thread Jeremy Lu
ah, even a pre-pre-pre-alpha version would do, please ! On 7/11/06, Harald Dehn [EMAIL PROTECTED] wrote: Hi Gordon, are there any new informations about a releasing date? - Harald Von: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]

Re: AW: [flexcoders] ASDoc for AS3?

2006-07-11 Thread Jeremy Lu
Thanks for the update (may all the developers have a nice vacation !) Jeremy. On 7/12/06, Matt Chotin [EMAIL PROTECTED] wrote: It will be a few more weeks, developers have been on vacation after the launch and we're still getting it all together. Matt

Re: [flexcoders] can you set a function to trigger when a variable changes?

2006-07-10 Thread Jeremy Lu
quick sample:mx:Binding source=foo destination=bar /=== AS code ===[Bindable]public var foo:String = aaa;function set bar( o:Object ){ trace(bar run: , foo);}==Jeremy.On 7/11/06, Jeremy Lu [EMAIL PROTECTED] wrote:try this:mx:Binding source=foo destination=bar / bar can be a setter

Re: [flexcoders] can you set a function to trigger when a variable changes?

2006-07-10 Thread Jeremy Lu
try this:mx:Binding source=foo destination=bar /bar can be a setter (method) so you can do whatever you want inside it.On 7/11/06, hank williams [EMAIL PROTECTED] wrote: I have a variable, lets call it foo, that may change from time to time. When it changes I

Re: [flexcoders] Simple Event Listener Examples between 2 classes

2006-07-10 Thread Jeremy Lu
All your classes can extends flash.events.EventDispatcher then they can just fire a this.dispatchEvent(new MyEvent(aaa, bbb, ccc));other classes can use addEventListener(XMLParsed, someHandler) to handle the event. or you can take a look at how Cairngorm use Cairngorm Event dispatcher as a

Re: [flexcoders] Encryption functions in ActionScript 3

2006-07-10 Thread Jeremy Lu
I thought the source for that package are up there somewhere in the svn (on labs.adobe.com), try search for it or drop me a line I can send you a copy (may not be the latest one cause it was checked out months ago). Jeremy.On 7/11/06, NZEYIMANA Emery Fabrice [EMAIL PROTECTED] wrote:

Re: [flexcoders] Re: Simple Event Listener Examples between 2 classes

2006-07-10 Thread Jeremy Lu
well, you should not dispatch the event right in the constructor, nobody would be able to catch it (it's too fast). moderations as following: package com.test { import flash.display.Sprite; import flash.events.Event; import com.test.EventManager;

Re: [flexcoders] Camera object

2006-07-09 Thread Jeremy Lu
I tried Sony DV camcoder, software caputre driver and TV tuner card several years ago (when flashcom came out), they all worked. Even tried to use DV cam in a room-based video conference application and it's working very well. Jeremy.On 6/9/06, Andrew Trice [EMAIL PROTECTED] wrote:

Re: [flexcoders] How to properly subclass a component using mxml

2006-07-06 Thread Jeremy Lu
Since you are extending DataGrid via a mxml way, you don't have to use mx namespace. Try removing the red text and see if it works, this is how I create extended datagrid several months ago. myComp:BetterDataGrid mx:columns mx:DataGridColumn headerText=Song Name dataField=label/

Re: [flexcoders] what are people using for as3 documentation generation?

2006-07-06 Thread Jeremy Lu
add me to that no-dice list :-)On 7/6/06, Steve Cox [EMAIL PROTECTED] wrote: I think we're all after the same thing mate. At the minute there is nothing I am aware of. Rumor is Adobe has something they may release at some point… When who knows. I've

Re: [flexcoders] Applet running on Flex (production version)

2006-07-06 Thread Jeremy Lu
One possible solution is to serve the image stream from applet thru a socket, flex receive the stream and save in a ByteArray, then you could display the image from ByteArray. Jeremy. Can someone please tell me how to display the image in a Flex window, considering the image is coming as

Re: [flexcoders] SWF's not unloading

2006-07-06 Thread Jeremy Lu
Resource management and garbage collection is a lot different then it used to be, here's a great post on it (from Grant Skinner's blog): http://www.gskinner.com/blog/archives/2006/07/as3_resource_ma_1.html The point is, you should stop all playing sound, remove all listeners from

Re: [flexcoders] How to properly subclass a component using mxml

2006-07-06 Thread Jeremy Lu
you very much. That was not it but it was close. The answer was not that mx needed to be deleted but that it needed to match the parent namespace. In other words it needed to be myComp.That is one I dont think I would have ever figured out! RegardsHankOn 7/6/06, Jeremy Lu [EMAIL PROTECTED] wrote

Re: [flexcoders] A datagrid with a separate scrollbar

2006-07-05 Thread Jeremy Lu
If you could provide some visual mock-ups, I might be able to help :-)On 7/5/06, hank williams [EMAIL PROTECTED] wrote: I want to implement a datagrid, but not use the normal scrollbar, or not to use it where it is currently placed. Basically I want to be able

Re: [flexcoders] QTP 9 to test Flex 2.0

2006-07-03 Thread Jeremy Lu
There's indeed a Flex2 plugin for QTP9 (but currently in beta) and someone from Adobe replied your message saying: they will contact you :-) On 7/3/06, Deepika [EMAIL PROTECTED] wrote: I am trying to use QTP 9 to test flex 2.0. Does anyone have idea whether

Re: [flexcoders] Offline / OCC in 2.0?

2006-07-03 Thread Jeremy Lu
With all the new Collections (ie: ArrayCollection) and carefully designed structure, you can always start building offline/OCC application without any help from 3rd party.On 7/3/06, Timothy L. Colson [EMAIL PROTECTED] wrote: There was an offline /

Re: [flexcoders] Re: coloring an entire cell in a DataGrid?

2006-07-03 Thread Jeremy Lu
if I leave it // uncommented } --- In flexcoders@yahoogroups.com, Jeremy Lu [EMAIL PROTECTED] wrote: in that data() block, I would just use: this.setStyle(backgroundColor, red); to change the item renderer's background color. see if this works. Jeremy. On 7/1/06, djbrown_rotonews [EMAIL

Re: [flexcoders] togglebar arrangement

2006-06-30 Thread Jeremy Lu
Can you add bars as children of the bar ? What happens ? I don't think this gonna work, they are not designed to work that way. But it should not be hard to extends ToggleButtonBar to achieve this. Or, I would even try using a simple Grid with lot of buttons inside and toggle them upon

Re: [flexcoders] asdoc generator for AS3?

2006-06-30 Thread Jeremy Lu
This had been brought up many times by Adobe engineers, so it might be true. Jeremy.On 6/30/06, Andrew Trice [EMAIL PROTECTED] wrote: Hey Tom, Where'd you find that it will be released soon? I want to keep an eye on it. Thanks, Andy

Re: [flexcoders] Grabbing the name of the currently executing function

2006-06-30 Thread Jeremy Lu
I'm pretty sure last time I heard about this the answer is NO, you can't. but why do you need the name of the function ? maybe there are other workarounds. Jeremy.On 6/30/06, Clint Modien [EMAIL PROTECTED] wrote: Ya… It doesn't show me the method

Re: [flexcoders] Re: coloring an entire cell in a DataGrid?

2006-06-30 Thread Jeremy Lu
? --- In flexcoders@yahoogroups.com, Jeremy Lu wade.lu@ wrote: Got it, thanks :-) On 6/27/06, Joan Tan tan@ wrote: I believe that this was suggested to me by Alex. I think your way should work too though. -- *From:* flexcoders@yahoogroups.com

Re: [flexcoders] Go!

2006-06-28 Thread Jeremy Lu
Would it be lousy if I add a me too here ? :-) Btw, Matt, is there any changes doc to see what got fixed post Beta3 and GMC ? On 6/28/06, Tom Bray [EMAIL PROTECTED] wrote: There have been many moments during the beta period that I felt like announcing my love of

Re: [flexcoders] To implement Master Detail Datagrid in Flex

2006-06-28 Thread Jeremy Lu
Item renderers and view state will serve you will on this, check them in the doc, there are plenty samples in it. Ps. But performance may be a risk, if there are too many nested Datagrids. Jeremy. On 6/28/06, Yasovardhan Babu [EMAIL PROTECTED] wrote: Hi, We

Re: [flexcoders] Flex2B3 Sample Technique Question

2006-06-27 Thread Jeremy Lu
] wrote: Susan Song or Jeremy Lu, I liked the RiaNotes entry in the Developer Derby Showcase.The MDI approach has generated new ideas. For the min/max/close buttons, it looks like you extended Panel. Or maybe you went further up. I was wondering how you went about

Re: [flexcoders] Can Flex record audio locally?

2006-06-27 Thread Jeremy Lu
Flex locally with no streaming server. On 6/26/06, Jeremy Lu [EMAIL PROTECTED] wrote: Yap, I'm playing with Rebus lately and surely it provide sound recording capability (via .NET) but that's really not quite enough, what if I need to show the sound wave in Flex 2 or do some simple

Re: [flexcoders] Re: FB2 :: Switchig Workspaces

2006-06-27 Thread Jeremy Lu
Normally I would just use working set to segment differenct sets of projects.It's easier then setting up multiple workspaces (IMO).Jeremy.On 6/27/06, Michael Schmalle [EMAIL PROTECTED] wrote: Go into I didn't even realize that. Until I prove myself wrong, a new

Re: [flexcoders] coloring an entire cell in a DataGrid?

2006-06-26 Thread Jeremy Lu
Using item renderer, yes.Check it in the manual and pay attention to data() method.On 6/26/06, djbrown_rotonews [EMAIL PROTECTED] wrote: Is there a way to color the entire cell, and not sure the cell text itself, inside a DataGrid?

Re: [flexcoders] Can Flex record audio locally?

2006-06-26 Thread Jeremy Lu
I've been wanting this for several years now (probably right after I quit using Director) and the answer is still a firm *NO*.But may be Apollo can bring some new possibilities ?Jeremy. On 6/26/06, Andrew Trice [EMAIL PROTECTED] wrote: I've looked into

Re: [flexcoders] Need Urgent Help

2006-06-26 Thread Jeremy Lu
Seems what you want is a Gantt chart ?If so, there are discussions about this in the paste, just search Gantt.My wild guess is using a huge single item renderer for drawing the bar should do the trick. Jeremy.On 6/26/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Monday 26 June 2006 14:01,

Re: [flexcoders] can I override the drag proxy behavior?

2006-06-26 Thread Jeremy Lu
Guess not, I used to extends it and did a totall rewrite ( also adding dissolve effect).Jeremy.On 6/27/06, Tom Bray [EMAIL PROTECTED] wrote: When the dragDrop event occurs, I want the drag proxy to just disappear. It currently does a zoom effect (see the

Re: [flexcoders] Re: coloring an entire cell in a DataGrid?

2006-06-26 Thread Jeremy Lu
g an entire cell in a DataGrid? I'm using an itemRenderer to set the text color via the setStyle (color,color) construct, but it doesn't appear to be that simple for backgroundColor. Is the data() method part of the renderer API? --- In flexcoders@yahoogroups.com, Jeremy Lu [EMAIL

Re: [flexcoders] Re: coloring an entire cell in a DataGrid?

2006-06-26 Thread Jeremy Lu
Of Jeremy Lu Sent: Monday, June 26, 2006 4:22 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: coloring an entire cell in a DataGrid? hi Joan, Just wondering is there any particular reason that you don't change the background color in the data() setter like this: public

Re: [flexcoders] Javadoc like comments for AS3

2006-06-24 Thread Jeremy Lu
no, you are not missing anything, Adobe says they will release their in-house AS2DOC-alike documenting tools later, hopefully they mean it :-) I've been searching for a high-quality documening tools for AS3 for sometime too. Jeremy.On 6/24/06, hank williams [EMAIL PROTECTED] wrote:

Re: [flexcoders] DataGridColumn Autosize

2006-06-22 Thread Jeremy Lu
This one is tricky, what if there are not enough spaces for all the columns, what would you like the DataGrid to react ? On 6/22/06, bchirgwin [EMAIL PROTECTED] wrote: I have looked at the documentation and not found a built in setting for this. How would one

Re: [flexcoders] DataGridColumn Autosize

2006-06-22 Thread Jeremy Lu
. On Thu, 22 Jun 2006 23:50:05 +0800, Jeremy Lu wrote: This one is tricky, what if there are not enough spaces for all the columns, what would you like the DataGrid to react ? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search

Re: [flexcoders] Is it possible to replace UI controls in mxml at runtime?

2006-06-20 Thread Jeremy Lu
Sure you can, try view state or viewstack, they are built for this :-) Jeremy. On 6/20/06, Dong Lee [EMAIL PROTECTED] wrote: Hi, I'mcreating a generic Search componentthat contains few buttons, a form, say 'formSearch'to capture the search parameters.

Re: [flexcoders] Design Pattern books for AS3 and Flex 2

2006-06-20 Thread Jeremy Lu
well, seems it's a bit too late to add my vote for Head First Design Patterns. Personally I think this is a *MUST* read (over and over again and port those java code to AS3) for every serious engineer :-) Recently I've be thinking about implement Memento and Command Pattern in Flex 2 so the

Re: [flexcoders] Connection Debugging

2006-06-19 Thread Jeremy Lu
I use Charles and ServiceCapture all the time, they work with Flex2/AMF3 now. Jeremy. On 6/19/06, Bjorn Schultheiss [EMAIL PROTECTED] wrote: In Flash Development I was using ServiceCapture for my NetConnection Debugging. What's the preferred

Re: [flexcoders] Getting a DataGrid item renderer instance

2006-06-19 Thread Jeremy Lu
There are many possible ways to approach these two problems, depends on what you want to achive. A basic approach is : item renderer usually implement several interfaces, like IListData and a bunch of others, two most important methods are data() and listData(). If you implement these two

Re: [flexcoders] Re: F2B3: Possible bugs with ComboBox ItemRenderer and ColorPicker

2006-06-18 Thread Jeremy Lu
--- In flexcoders@yahoogroups.com, Jeremy Lu [EMAIL PROTECTED] wrote: hi Tim, try this (solves yellow can't be selected problem): private function addColor(event:Event):void { cp.visible = false; // var itm:* = cp.dataProvider [ cp.selectedIndex ]; Util.traceValue(itm); // colorArray.push

Re: [flexcoders] Re: FDS Samples

2006-06-18 Thread Jeremy Lu
Thanks for the detailed tutorial. Btw, I tried to install FDS on JBoss and Resin and it worked pretty well, just have to comment out one block in the configuration file. Maybe the document should mention this so people have another choice over Tomcat ? Jeremy. On 6/19/06, klumikaze [EMAIL

Re: [flexcoders] Re: F2B3: Possible bugs with ComboBox ItemRenderer and ColorPicker

2006-06-17 Thread Jeremy Lu
hi Tim, try this (solves yellow can't be selected problem): private function addColor(event:Event):void { cp.visible = false; // var itm:* = cp.dataProvider[ cp.selectedIndex ]; Util.traceValue(itm); // colorArray.push({label:itm.label, color:itm.color});

Re: [flexcoders] Flash access to a local serial or USB port

2006-06-17 Thread Jeremy Lu
Direct communication with USB/Serial is not possible.But Flash - C++/C# wrapper - USB/Serial is very possible.this means : you need to tie into another resource for communications, wrap activeX inside another binary). Jeremy.On 6/18/06, Spencer Nassar [EMAIL PROTECTED] wrote:

Re: [flexcoders] Can we move Flexcoders to a new forum??

2006-06-16 Thread Jeremy Lu
gmail++ great searching and listing :-) On 6/16/06, Daniel Tuppeny [EMAIL PROTECTED] wrote: What about NNTP? It was built for this kinda thing!! __._,_.___ -- Flexcoders Mailing List FAQ:

  1   2   3   >