[flexcoders] Re: How to configure MXML schema in Eclipse + OxygenXML 6?

2005-05-25 Thread indy_nagpal
Hi Dimitrios: I followed your advise and can now get MXML files to open up okay (color-coded, etc). However, tag insight/auto completion do not seem to be working fully. I seem to get tag insight only for those tags that have been used before in the file. E.g., if mx:HBox has been used in the

[flexcoders] DataGrid Refreshing and using slider to change interval...need help:)

2005-05-25 Thread dillo_mac
Hello folks, I have a datagrid that refreshes itself every 30 seconds. I want to implement a slider that will give the user the ability to change this when the application runs. I have the following code below. Can someone tell me what I am doing wrong? Thanks a bunch, you guys are the greatest

Re: [flexcoders] CFlogin, SetCredentials and the RemoteObject

2005-05-25 Thread Indy Nagpal
Hi Dave: I've never tried using RemoteObject with cflogin, but RemoteObject works very nicely with CF session variables, so it should be able to pass that information to your application. To get it to work with session variables, I was using CF and Flex on the same server, and had turned on

RE: [flexcoders] Applications forgetting variables

2005-05-25 Thread Erik Westra
The difference between these two approaches is scope. In your first example u create a variable on the instance of the class u are working in. This variable exists as long as that instance has a reference somewhere in the application. In the second example u create a variable inside a

RE: [flexcoders] Minimal Tomcat Deployment

2005-05-25 Thread Dimitrios Gianninas
Hi Dan, You don't have to do that much work to get Flex running under Tomcat. Here is the simplest way: - install Tomcat under c:\tomcat (just an example, put it anywhere you want) - createa folder called "samples" under c:\tomcat\webapps - extract the contents of the samples.war to

RE: [flexcoders] Cairngorm error

2005-05-25 Thread Dimitrios Gianninas
Hi, You must add the appropriate entry for the cairngorm-manifest.xml in the flex-config.xml (portion in red below): namespace uri="http://www.macromedia.com/2003/mxml" manifest/WEB-INF/flex/mxml-manifest.xml/manifest/namespace namespace uri=http://www.iterationtwo.com/cairngorm

[flexcoders] Tabnavigator tab name issue

2005-05-25 Thread nithya karthik
hai, I have a tab navigator with 4 canvases inside. the label for each canvas is very lenghty and i want it to be displayed in two lines. say the label is "Display Content" ,I want it to be displayed as: Display Content How should i be doing this? Yahoo! Messenger - Communicate

[flexcoders] Is there any event to handle a right click in flex?

2005-05-25 Thread nithya karthik
hai, I have a tree which on right click should open a pop-up window.. How do i handle the right click event? thanks, nithya Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now Yahoo! Groups Links To visit your group on the web, go

RE: [flexcoders] Is there any event to handle a right click in flex?

2005-05-25 Thread Alistair McLeod
Hi Nithya, Flex (or, more correctly, the Flash Player)does have the notion of a context menu that can be configured - check the docs for details: http://livedocs.macromedia.com/flex/15/flex_docs_en/1276.htm However, there is a limitation of the current player where the context menu

[flexcoders] how to use the setInterval() in flex actionscript ?

2005-05-25 Thread loveewind
the code run normally in swf, ActionScript: function checkOut() { TextToCheck = spellCheck_txt.text; url_string = javascript:SpellCheck();; getURL(url_string, ); checkOut_interval = setInterval(function () { if (spellResult != undefined) {

Re: [flexcoders] how to use the setInterval() in flex actionscript ?

2005-05-25 Thread JesterXL
Same, just put in a mx:Script tag, or link to the external .as file in your script tag. - Original Message - From: loveewind [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, May 25, 2005 7:51 AM Subject: [flexcoders] how to use the setInterval() in flex actionscript ?

RE: [flexcoders] Dispathching and Event from Combo Box cell rende rer

2005-05-25 Thread Doodi, Hari - BLS CTR
Hi Mohanraj, I have a similar requirement. I don't want to reinvent the wheel. If you don't mind can you post your code so that I can tailor to my requirements. Thanks! Thanks! Hari -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[flexcoders] Register a ChangeEvent listener on a static property

2005-05-25 Thread Laurent Cornelis
Hello, I have a question: is there a way to register a changeEvent listener on a static property ? For example : class ModelLocator { [ChangeEvent(userChanged)] public static var user : User; } class AnotherClass { public function AnotherClass() {

RE: [flexcoders] Register a ChangeEvent listener on a static property

2005-05-25 Thread Richard Butler
Laurent, Your class User must extend UIObject to inherit the method addEventListener(), unless you create the method yourself... Cheers Rich -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Laurent Cornelis Sent: 25 May 2005 13:21 To:

RE: [flexcoders] Register a ChangeEvent listener on a static property

2005-05-25 Thread Alistair McLeod
Hi Lauren, I think you're getting things mixed up. Your code should be something like this (incomplete and untested): class ModelLocator { static function initialize() : Boolean { EventDispatcher.initialize( ModelLocator.prototype ); return true; } static var mixIn : Boolean

[flexcoders] Drag and Drop from tree to List

2005-05-25 Thread digital_eyezed
Hi, I'm dragging and dropping from a tree to a list. All the functionality works fine, but I'm trying to call another method when the item is dropped with the name of the file from the tree as the argument to that method. Example: Tree has two objects in a folder node called files: File1.txt

RE: [flexcoders] Compiling a set of classes

2005-05-25 Thread Erik Westra
Well i have been stumbling over using RSL the last few days. Using compc, etc. What i tried was creating an SWC wich contains all classes needed by the framework (called TAP). I compiled them using the following sws file in combination with compc: library rsl="empty.swc" /namespace

[flexcoders] is there any way to get rid of the settings tab in the context menu

2005-05-25 Thread send2martin
Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

RE: [flexcoders] is there any way to get rid of the settings tab in the context menu

2005-05-25 Thread Erik Westra
Nope, no way. Greetz Erik -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of send2martin Sent: woensdag 25 mei 2005 15:05 To: flexcoders@yahoogroups.com Subject: [flexcoders] is there any way to get rid of the settings tab in the context menu

RE: [flexcoders] Register a ChangeEvent listener on a static property

2005-05-25 Thread Erik Westra
Another way is just to use object.watch on the property: ModelLocator.watch(user, _changeFunction); Greetz Erik -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alistair McLeod Sent: woensdag 25 mei 2005 14:37 To: flexcoders@yahoogroups.com

RE: [flexcoders] how to use the setInterval() in flex actionscript ?

2005-05-25 Thread Erik Westra
The documentation seems not correct here: setInterval(objectName:Object, methodName:Function, interval:Number [, param1:Object, param2, ..., paramN]) : Number I thought methodName should be of type string when using an object as 1th parameter. Greetz Erik -Original Message- From:

RE: [flexcoders] Validating XML

2005-05-25 Thread Erik Westra
All that is possible in Flex is based on the Flash Players capabilities. Validation with XSD is not implemented in the player and thus not possible in Flex. The flash player only has most basic features available, as u know its only possible to dynamicly load one type of image, sound and movie.

Re: [flexcoders] CFlogin, SetCredentials and the RemoteObject

2005-05-25 Thread dave buhler
Hi Indy, I understand setting up perhaps the username and password as a session variable. Can you show me an example of how you are passing over the username and password in the remote object? I can see adding it as something like the following on each request:

[flexcoders] Re: Saving a Flex chart as a jpeg file

2005-05-25 Thread greenfishinwater
Thanks Dave, I will check it out. Andrew --- In flexcoders@yahoogroups.com, dave buhler [EMAIL PROTECTED] wrote: http://www.convertzone.com/net/cz-adshareit%20swf%20to%20video%20converter%20pro-swf-jpg.htm On 5/24/05, greenfishinwater [EMAIL PROTECTED] wrote: I have a request for an

Re: [flexcoders] how to use the setInterval() in flex actionscript ?

2005-05-25 Thread dave buhler
Abdul Qabiz [EMAIL PROTECTED] to flexcoders More optionsApr 23 Hi, However, I'm still unable to do the following:Call a setInterval within a class. Have the setInterval pass over a number. And the function called increment that number. Pass this newnumber to a textfield object.If I

RE: [flexcoders] Drag and Drop from tree to List

2005-05-25 Thread Matt Chotin
Yep, dataForFormat(treeItems) I think is what you want. As for only having one item in the destination List, you could simply clear the list before adding in the treeItems in the dragDrop handler. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[flexcoders] Flex and Load Balancing

2005-05-25 Thread Leif Wells
We'd like to use Flex in an enterprise deployment, where all HTTP requests are handled and dispatched by a Radware load balancer.We are getting a bit of push-back from our client. Our client has seen in the past that the Radware load balancers don't work exactly as expected when tunnelling

RE: [flexcoders] Flex and Load Balancing

2005-05-25 Thread Alistair McLeod
Hi Leif, All Flex remoting calls are AMF over HTTP/S, so should seamlessly integrate with your load balancer. The problem with RMI will have been was that it wasnot going over HTTP. I've not actually used Flex with Radware, but I'd be very surprised if there were any issues. Regards,

RE: [flexcoders] Re: Saving a Flex chart as a jpeg file

2005-05-25 Thread Shell Bryson
I would recommend you save as something other than JPEG if you are going to be using the resulting images for anything other than online content. You'll get a much better result using WMF, which is scalable and lossless. JPEGs are fine for static HTML pages, but for anything else you want to avoid

RE: [flexcoders] Flex and Load Balancing

2005-05-25 Thread Matt Chotin
RemoteObject uses HTTP and should work fine in a load-balanced environment. The other services (HTTPService and WebService) also do their work over HTTP. Do you anticipate needing stateful Java classes or will everything work in a stateless environment? The only thing I can imagine is if

RE: [flexcoders] ProgressBar and cached images problem

2005-05-25 Thread Matt Horn
One solution is to add a unique string to the tail of the image's URL, so the browser thinks it's a new image and goes and fetches it on every request(rather than returning it from the local cache). This fix is based on a related thread a week or two ago. The downside is that you dont get

[flexcoders] Cairngorm store products

2005-05-25 Thread Tom Fitzpatrick
I keep getting a products could not be retrieved message from the cairngorm store. Must be a db path problem. How should I specify it in store.cfg? If it helps, the path to hsqldb.jar on my machine is: C:\servers\jakarta-tomcat-5.0.25\webapps\cairngormstore\WEB-INF\lib - Tom Yahoo!

[flexcoders] Saving a flex chart as a jpeg

2005-05-25 Thread greenfishinwater
I had a quick look at the swf converter that was suggested, but the way flex works is that the chart is drawn at runtime from data provided by a remote object, so there will not be a swf file with the displayed chart in it. The only swf file availabe is the original swf generated by flex. I like

RE: [flexcoders] Cairngorm store products

2005-05-25 Thread Steven Webster
Tom, There are a number of things to check ... first of all, have you placed the named service in flex-config.xml (have you used our flex-config.xml) ? Is there more detailed error message in your appserver log file ? Steven -Original Message- From: flexcoders@yahoogroups.com

RE: [flexcoders] Cairngorm store products

2005-05-25 Thread Tom Fitzpatrick
At 11:17 AM 5/25/2005, you wrote: There are a number of things to check ... first of all, have you placed the named service in flex-config.xml (have you used our flex-config.xml) ? Yes, I used your flex-config.xml file. Is there more detailed error message in your appserver log file ? The only

Re: [flexcoders] Saving a flex chart as a jpeg

2005-05-25 Thread JesterXL
A major insane way if you're feeling adventuerous. Go to the AS2Draw or similiar drawing actionscript classes; then, utilizing DENG, convert you're drawing to SVG XML. From that point, you can pass it to a server-side script that can take the SVG to convert to whatever format you like.

RE: [flexcoders] Custom DateCellRenderer issue.

2005-05-25 Thread Alistair McLeod
Hi Pradeep, Change your focusIn() method to the following: function focusIn() : Void { if ( dateObj == undefined ) { createClassObject( DateField, dateObj, 100, {styleName:this, owner:this});

[flexcoders] About deploying flex app in Weblogic

2005-05-25 Thread Jesus Salvador Ramos Cardona
Hi all, I have my flex app running in weblogic 8.1, and I am using ant to automate everything (including deploy and undeploy). When running the undeploy WL tool it tries to delete the dir my app was copied into, but I get an error thrown by ant in which it is impossible to delete the

Re: [flexcoders] Saving a flex chart as a jpeg

2005-05-25 Thread Tarik Ahmed
That was my original thought; but I didn't want to suggest such a low tech method. :) Basically if you want really flexible screen capture beyong the Print-Screen button get yourself SnagIT, and screen cap away... greenfishinwater wrote: I had a quick look at the swf converter that was

RE: [flexcoders] Cairngorm store products

2005-05-25 Thread Alex Uhlmann
Hi Tom, if you used the default settings of store.cfg, make sure you have a db directory in the parent of your WEBAPP_DIR. On Tomcat that's TOMCAT_HOME/webapps. In db you have to place your catalog.proteries and catalog.script files. See install docs for more. Best, Alex -- Alex Uhlmann

[flexcoders] Compiling Flex files with Ant and mxmlc.jar

2005-05-25 Thread Brett Palmer
I've been trying to create a platform neutral build for our flex application using Ant and mxmlc.jar but I can't get the configuration to work. When I run the build I always get an class not found exception for the flex/tools/Mxmlc class. I can build flex with Ant if I use the mxmlc.exe compiler

RE: [flexcoders] Cairngorm store products

2005-05-25 Thread Tom Fitzpatrick
Hi Alex - Thanks to you and Steven for staying with me on this. I did set it up that way, and it's still not working. My directory structure is: jakarta-tomcat-5.0.25 webapps db jakarta-tomcat-5.0.25 webapps cairngormstore Inside the db directory are catalog.properties, catalog.script,

Re: [flexcoders] Compiling Flex files with Ant and mxmlc.jar

2005-05-25 Thread Joe Berkovitz
Here's a working Ant script(this is run in an exploded web application dir, but that's easy to change): java jar=${flex.mxmlc.jar} dir=${app.dir} fork=true arg line=-flexlib ${flex.dist.lib} -configuration WEB-INF/flex/flex-config.xml -webroot . -o index.mxml.swf index.mxml/

RE: [flexcoders] Cairngorm error

2005-05-25 Thread Mehdi, Agha
here's the flex-config file and the content of web-inf/flex folder: /web-inf/flex/ frameworks frameworks-debug generated jars logs system_classes user_classes cache.dep cairngorm-manifest.xml flash-unicode-table.xml flex-config.xml gateway-config.xml global.css

RE: [flexcoders] Tabnavigator tab name issue

2005-05-25 Thread Deepa Subramaniam
If you know the tab name and how you want it to be split, you can programmatically insert a newline to force the label to display in 2 lines. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml mx:Script function manage(){ view1.label =

RE: [flexcoders] Cairngorm store products

2005-05-25 Thread Alex Uhlmann
Actually the db directory by default is in TOMCAT_HOME not TOMCAT_HOME/webapps. (you can change this via store.cfg. In case you did that: We're using HSQLDB in in-process mode, so it initialises when you start your app server. Have you restarted Tomcat? When you restart Tomcat, HSQLDB should by

Re: [flexcoders] ProgressBar and cached images problem

2005-05-25 Thread Manish Jethani
On 5/25/05, Kristopher Schultz [EMAIL PROTECTED] wrote: The ProgressBar component does not appear to work properly if the graphic asset being loaded is in the browser's cache. The simple example below [...] That odd. Anyway, here's a workaround: mx:Image id=myImage

[flexcoders] Cairngorm Confusion

2005-05-25 Thread Mike Anderson
Hello Everyone, I want so terribly to assimilate Flex into my programming life, as I can see the true potential of it now. Coming from the Flash MX 2004 and AS2.0 programming background, I can truly appreciate the power Flex offers. Since I am starting with a clean slate using Flex, I am

RE: [flexcoders] Cairngorm store products

2005-05-25 Thread Tom Fitzpatrick
Hi Alex - At 01:51 PM 5/25/2005, you wrote: Actually the db directory by default is in TOMCAT_HOME not TOMCAT_HOME/webapps. (you can change this via store.cfg. This is getting stranger. I moved the db folder and its contents up a level to the location you describe (the same level as webapps):

Re: [flexcoders] Cairngorm Confusion

2005-05-25 Thread James Ward
I think you raise valid questions. The main question is really one that most developers ask at some point. Why use these things called Patterns? You may want to check out: http://en.wikipedia.org/wiki/Design_Patterns http://java.sun.com/blueprints/corej2eepatterns/ or search google. There are

Re: [flexcoders] can I bind more that one checkbox to a send requ est?

2005-05-25 Thread Craig Newroth
That helped alot, thanks Jeff. --- Jeff Steiner [EMAIL PROTECTED] wrote: Craig, I have a specific example on FlexAuthority. Visit: http://www.flexauthority.com/samplesIndex.cfm?sampleID=23 I have multiple checkboxes that pass along their checked state to a CFC that returns XML to

Re: [flexcoders] Compiling Flex files with Ant and mxmlc.jar

2005-05-25 Thread Brett Palmer
Joe, Thanks for the information. I'm trying to compile the flex file in an exploded web application as well, but I'm still getting a no class found exception. Here are some comments and questions to clarify my problem: 1. Here is my exploded flex web application directory structure relative to

Re: [flexcoders] Compiling Flex files with Ant and mxmlc.jar

2005-05-25 Thread Joe Berkovitz
Brett, here are some answers that I hope will be helpful. 2. With the fork option set to true can I still use relative paths or do I need to use full paths? You can use relative paths. Relative paths in arguments to the java program will be relative to the dir attribute of the java task,

RE: [flexcoders] Cairngorm error

2005-05-25 Thread Dimitrios Gianninas
Ok the cairngorm-manifest.xml file is there, which is good. I made a mistake in the earlier post (blame copy'n'paste), the entry should look like this (missing double-quotes): namespace uri="http://www.iterationtwo.com/cairngorm"

[flexcoders] PieChart label

2005-05-25 Thread Jonathan Bezuidenhout
Hi, How do I make a pie chart show its label even if it is 100% for one item (i.e. only one slice for the whole pie)? At the moment the labels only show up when there is more then one slice present. Thanks Jonathan Yahoo! Groups Links * To visit your group on the web, go to:

Re: [flexcoders] Applications forgetting variables

2005-05-25 Thread nostra72
Ok assuming your right and again I hope this is not another silly question but what does a local variable look like and what does an instance variable look like? To me I just thought all variables were just like this public var name:String you know things like that Yahoo! Groups Links

Re: [flexcoders] Applications forgetting variables

2005-05-25 Thread Jordan Snyder
It all depends on WHERE you declare the variable. In the first case, you were defining your var outisde of the function, which should keep its value even when the function is through running. If you declare the var inside the function, however, that variable will be destroyed when that function

RE: [flexcoders] Applications forgetting variables

2005-05-25 Thread Gordon Smith
An instance variable is inside a class, but outside that class's methods. A local variable is inside one of the methods. public class MyClass { var myInstanceVariable:String; public function myMethod():Void { var myLocalVariable:String = Gordon; trace(myLocalVariable);

RE: [flexcoders] Cairngorm error

2005-05-25 Thread Mehdi, Agha
Nope, didn't work let me paste the entire exception info Compilation Results Errors, warnings or exceptions were found while compiling /internet/ourpeople/index.mxml. Visit the online Flex documentation or API reference for further information. 5 Errors found. Error

RE: [flexcoders] Cairngorm error

2005-05-25 Thread Dimitrios Gianninas
Ahh, that has nothing to do with the Cairngorm manifest... I looked to quickly at the previous error. Can you attach your flex-config.xml so we can take a look at what might be wrong with it. Seems like the mxml-manifest can't be found. Dimitrios "Jimmy" Gianninas RIADeveloper Optimal

RE: [flexcoders] Cairngorm error

2005-05-25 Thread Dimitrios Gianninas
Humm weird... I just did a fresh install of Flex 1.5 under Tomcat 5.1 and used the flex-config.xml you posted and it worked! Perhaps you should start from scratch as I did, just create a "Hello World" app, make sure it works and if it does, then add in your other files. You must have

[flexcoders] Re: Drag and Drop from tree to List

2005-05-25 Thread digital_eyezed
This seems to work fine when the dataProvider for the tree is a static mx:XML node list, but when the node list is the result of a remoteObject, the dataForFormat(treeItems) returns an undefined. I think what I am trying to do is very simple. I have a tree which is populated by a remoteObject

Re: [flexcoders] Cairngorm error

2005-05-25 Thread dave buhler
I had to do the same as Jimmy. When I started from a clean install (after uninstalling Flex Server) the app worked.On 5/25/05, Dimitrios Gianninas [EMAIL PROTECTED] wrote: Humm weird... I just did a fresh install of Flex 1.5 under Tomcat 5.1 and used the flex-config.xml you posted and

Re: [flexcoders] CFlogin, SetCredentials and the RemoteObject

2005-05-25 Thread Indy Nagpal
Hi Dave: Here is my setup, I don't know if this helps. I have a CF application where users need to login. Once they successfully plug in their username and password, their session is setup (I'm using jessionid). I have a cfc (with relevant functions for login/logout) that is used for

RE: [flexcoders] Cairngorm error

2005-05-25 Thread Mehdi, Agha
Ok, May be I am just dumb. I reinstalled it, extracted my flex.war into jrun4/servers/flex and now it looks like c:/jrun4/servers/flex/flex. Flex-config.xml has this for this namespace namespace

RE: [flexcoders] Re: Drag and Drop from tree to List

2005-05-25 Thread Tracy Spratt
This is a bit of a guess, but try: var fileName:String = myObj[0].getProperty(label); I say this because the treeItems should be an array of treeDataProvider items/nodes, and when trying to access dataProviders, it is always best to use the dataProvider API. If that doesn't work, can you debug

RE: [flexcoders] Re: Drag and Drop from tree to List

2005-05-25 Thread Matt Chotin
Use the TreeDataProvider methods to get the label, myObj[0].getProperty(label) Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of digital_eyezed Sent: Wednesday, May 25, 2005 7:31 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Cairngorm error

2005-05-25 Thread Mehdi, Agha
Alright!!! You gotta have a second pair of eyes looking right at your monitor. I missed it. In my Services.mxml I had this Namespace http://macromedia.com/2003/mxml Whereas in flex-config.xml, it was http://www.macromedia.com/2003/mxml that's why it was throwing error Error

[flexcoders] Binding a webservice result to a dataprovider

2005-05-25 Thread cmdpromptjunkie
Hello, I am relatively new to the flex community. I have a question regarding a small application that I'm developing to learn flex. I've tried a lot of things but no mater what I do I cannot seem to bind the result of this webservice call to a dataProvider (ideally a chart) :( Heres the code

RE: [flexcoders] Binding a webservice result to a dataprovider

2005-05-25 Thread Abdul Qabiz
Hi, Your code looks fine. I guess, something is wrong with Webservice itself, it throws error. I have used a different webservice and it works fine, see the following code: ##GetQuotesWS.mxml## ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;

[flexcoders] Re: Binding a webservice result to a dataprovider

2005-05-25 Thread Joel Parish
If I change the dataProvider to a list and map the dataProvider to ws.doStockHistory.result.date or ws.doStockHistory.result.price the list will show the right data, how do i combine these two into a datagrid? Can a datagrid use an object as a dataProvider or must it be an array? --- In

Re: [flexcoders] Applications forgetting variables

2005-05-25 Thread nostra72
perhaps you are right do you know of any such tutorial. The reason I do not post a lot of my code is its way to long and complicated. I would rather post a simple example of code Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To