[flexcoders] Dynamic image

2009-10-05 Thread markgoldin_2000
I am returning a binary stream from the server. That stream once received into 
Browser will be opened as an image (tiff format). Can that stream be a source 
for a dynamic image in Flex?
 
Thanks



[flexcoders] AIR and HTTPService

2009-09-30 Thread markgoldin_2000
Is there any difference in using HTTPService between Flex and AIR applications?

Thanks



[flexcoders] Re: AIR and HTTPService

2009-09-30 Thread markgoldin_2000
Tracy, are you there?

--- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@... 
wrote:

 Is there any difference in using HTTPService between Flex and AIR 
 applications?
 
 Thanks





[flexcoders] PDF in AIR application

2009-09-25 Thread markgoldin_2000
I have a few questions about viewing/printing PDF content from an AIR 
application.
1. Can Adobe PDF Reader be replaced with another PDF Viewer?
2. If not, what kind of Reader automation is available while developing an AIR 
application? For example, can I intercept a click on the Print button? Or can I 
have pagination when a PDF file is loaded?
3. Any other alternatives to show/print digital content created on the server 
to use in Flex/AIR applications?

Thanks in advance.



[flexcoders] Re: Data Pushing

2009-07-03 Thread markgoldin_2000
You can push data yourself using a sockect class.
One product I have tried was Lighstreamer.

--- In flexcoders@yahoogroups.com, Adrian Resa Jones noregret...@... wrote:

 The software (flex or air) needs to allow more than one user to work on the 
 same data at the same time in a collaborative effort and to reflect the 
 changes made by the other users.
 
 Has anyone worked with data pushing? What products have you used for .Net or 
 for .Php and which tools worked best for you? Would flex + ajax be the best 
 way to go, flourinefx, WebOrb?
 
 
 A. Resa Jones





[flexcoders] Re: Reading a 2D barcode

2009-07-01 Thread markgoldin_2000
A quick Googling:
http://www.download3k.com/System-Utilities/Automation-Tools/Download-bcWebCam-Read-Barcode-with-Web-Cam.html

That means that yes, you can read barcodes with a web cam and the barcode gets 
entered into an active appication's active field. Just like if you would read a 
barcode with a keyboard scanner.

HTH

--- In flexcoders@yahoogroups.com, Clint Tredway grum...@... wrote:

 I have been looking for an actionscript library to read 2D barcodes but I
 have not run across one yet. Does anyone know of a library, and if so, do
 you mind sharing?
 
 Thanks!
 
 -- 
 When you choose hope, anything is possible.
 -Christopher Reeve





[flexcoders] comboBox close event trigger

2009-06-04 Thread markgoldin_2000
Is it possible to intercept combobox's close event and discover what triggerd 
the event? I have looked into event.triggerEvent but was not able to get any 
value.

Thanks.



[flexcoders] Re: Flex and Reporting

2009-06-04 Thread markgoldin_2000
I am using SQL reports with all Flex applications. A SQL report is rendered in 
an iFrame.

--- In flexcoders@yahoogroups.com, Angelo Anolin angelo_ano...@... wrote:

 Hi everyone,
 
 I am totally amazed at the cool front-end UI things that could be done in 
 Flex.  I have been dabbling a lot on Flex and steadily getting the hang of it.
 
 Anyway, one thing which I am looking for is on creating and printing 
 reports.  I am looking for some resources on how to achieve such things, like:
 
 1. Datagrid - creating a pdf file, open up in the swf application as well.
 2. Crosstab reports
 3. Executive summaries
 4. Free-Form reports
 
 Basically, am looking on how I would be able to design/generate reports which 
 could be used in a Flex application.
 
 I would certainly welcome advise and feedback on this. Resources for further 
 explorations on reporting would also be appreciated.
 
 Thanks.





[flexcoders] FormItem format/validation

2009-06-03 Thread markgoldin_2000
Here is my field definition:

mx:FormItem label=email
mx:TextInput 
id=email textInput=

salesreps.selectedItem.changed=(salesreps.selectedItem.changed==0 ? 
1 : 
salesreps.selectedItem.changed)

valueCommit=c.formatEmails(email, salesreps)  
 

text={XML(salesreps.selectedItem).email}/   
/mx:FormItem
What I am trying to do is to set a flag if data has been changed and also 
format an e-mail when a user is leaving the field. 

public function formatEmails(Name:Object, bindObj:Object=null):Boolean 
{
if (validations(Name, email)  bindObj != null)
{
Name.text = toTitleCase(Name.text);
bindObj.dataProvider[bindObj.selectedIndex][Name.id] = 
Name.text;
return true;
}  
else
{
return false;
}   
}
This code works, at most part. If I leave the field to anywhere but DataGrid 
(salesreps) then salesreps gets its email column updated correctly, but if I 
leave the email field b clicking on a row in the DataGrid then the clicked row 
gets the email value. It's my problem is clear is there a solution?

Thanks




[flexcoders] Re: Is this list declining?

2009-06-03 Thread markgoldin_2000
the provider be bought by a
competitor and the major support been broken
And it looks like that what has happened already, because it takes forever to 
get the message posted :((

--- In flexcoders@yahoogroups.com, Igor Costa igorco...@... wrote:

 Not declining but getting quality of topics. all most increased exchange
 messages in the past of this list was tend to be good because most were
 newbies. But the efforts of Adobe bringing the discussion from mailing-list
 to their forum are a certain of worry about the provider be bought by a
 competitor and the major support been broken.
 
 very clever Adobe at this point and in Forums are well done as Gordon said.
 
 
 Regards
 Igor Costa
 
 
 On Tue, Jun 2, 2009 at 10:23 AM, Amy amyblankens...@... wrote:
 
 
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Gordon
  Smith gosmith@ wrote:
  
   There is a lot of traffic (100 posts/day) on the Flex forum at
  
   http://forums.adobe.com/community/flex/flex_general_discussion
  
   The Adobe forums now support email.
 
  How's the nntp support coming?
 
   
 
 
 
 
 -- 
 
 Igor Costa
 www.igorcosta.com
 www.igorcosta.org





[flexcoders] Flex 4 beta and iFrame

2009-06-02 Thread markgoldin_2000
A quick run from new Flash Builder unvealed a problem with using iFrame. The 
message is:
Error: Error #2067: The ExternalInterface is not available in this container. 
ExternalInterface requires Internet Explorer ActiveX, Firefox, Mozilla 1.7.5 
and greater, or other browsers that support NPRuntime.
at Error$/throwError()
at flash.external::ExternalInterface$/call()
at IFrame/set visible()[D:\projects\sfcs\UFDPortal\src\IFrame.as:776]
at 
mx.containers::ViewStack/childAddHandler()[E:\dev\beta1\frameworks\projects\framework\src\mx\containers\ViewStack.as:1328]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at 
mx.core::UIComponent/dispatchEvent()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:11260]
at 
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3875]
at 
mx.core::Container/addChildAt()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:2541]
at 
mx.core::Container/addChild()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:2459]
at 
mx.core::Container/createComponentFromDescriptor()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:4275]
at 
mx.containers::ViewStack/createComponentsFromDescriptors()[E:\dev\beta1\frameworks\projects\framework\src\mx\containers\ViewStack.as:1067]
at 
mx.core::Container/createChildren()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3120]
at 
mx.core::UIComponent/initialize()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:6510]
at 
mx.core::Container/initialize()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3053]
at 
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:6402]
at 
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3879]
at 
mx.core::Container/addChildAt()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:2541]
at 
mx.core::Container/addChild()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:2459]
at 
mx.core::Container/createComponentFromDescriptor()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:4275]
at 
mx.core::Container/createComponentsFromDescriptors()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:4082]
at 
mx.core::Container/createChildren()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3120]
at 
mx.core::UIComponent/initialize()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:6510]
at 
mx.core::Container/initialize()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3053]
at 
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:6402]
at 
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3879]
at 
mx.core::Container/addChildAt()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:2541]
at 
mx.core::Container/addChild()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:2459]
at 
mx.core::Container/createComponentFromDescriptor()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:4275]
at 
mx.core::Container/createComponentsFromDescriptors()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:4082]
at 
mx.core::Container/createChildren()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3120]
at 
mx.core::UIComponent/initialize()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:6510]
at 
mx.core::Container/initialize()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3053]
at 
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:6402]
at 
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3879]
at 
mx.core::Container/addChildAt()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:2541]
at 
mx.core::Container/addChild()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:2459]
at 
mx.core::Container/createComponentFromDescriptor()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:4275]
   

[flexcoders] Re: Flex 4 beta and iFrame - fixed

2009-06-02 Thread markgoldin_2000
Fixed.
In run/debug changed from:
D:\projects\sfcs\UFDPortal\bin-debug\UFDPortal.swf
to D:\projects\sfcs\UFDPortal\bin-debug\UFDPortal.html

--- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@... 
wrote:

 A quick run from new Flash Builder unvealed a problem with using iFrame. The 
 message is:
 Error: Error #2067: The ExternalInterface is not available in this container. 
 ExternalInterface requires Internet Explorer ActiveX, Firefox, Mozilla 1.7.5 
 and greater, or other browsers that support NPRuntime.
   at Error$/throwError()
   at flash.external::ExternalInterface$/call()
   at IFrame/set visible()[D:\projects\sfcs\UFDPortal\src\IFrame.as:776]
   at 
 mx.containers::ViewStack/childAddHandler()[E:\dev\beta1\frameworks\projects\framework\src\mx\containers\ViewStack.as:1328]
   at flash.events::EventDispatcher/dispatchEventFunction()
   at flash.events::EventDispatcher/dispatchEvent()
   at 
 mx.core::UIComponent/dispatchEvent()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:11260]
   at 
 mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3875]
   at 
 mx.core::Container/addChildAt()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:2541]
   at 
 mx.core::Container/addChild()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:2459]
   at 
 mx.core::Container/createComponentFromDescriptor()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:4275]
   at 
 mx.containers::ViewStack/createComponentsFromDescriptors()[E:\dev\beta1\frameworks\projects\framework\src\mx\containers\ViewStack.as:1067]
   at 
 mx.core::Container/createChildren()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3120]
   at 
 mx.core::UIComponent/initialize()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:6510]
   at 
 mx.core::Container/initialize()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3053]
   at 
 mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:6402]
   at 
 mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3879]
   at 
 mx.core::Container/addChildAt()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:2541]
   at 
 mx.core::Container/addChild()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:2459]
   at 
 mx.core::Container/createComponentFromDescriptor()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:4275]
   at 
 mx.core::Container/createComponentsFromDescriptors()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:4082]
   at 
 mx.core::Container/createChildren()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3120]
   at 
 mx.core::UIComponent/initialize()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:6510]
   at 
 mx.core::Container/initialize()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3053]
   at 
 mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:6402]
   at 
 mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3879]
   at 
 mx.core::Container/addChildAt()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:2541]
   at 
 mx.core::Container/addChild()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:2459]
   at 
 mx.core::Container/createComponentFromDescriptor()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:4275]
   at 
 mx.core::Container/createComponentsFromDescriptors()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:4082]
   at 
 mx.core::Container/createChildren()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3120]
   at 
 mx.core::UIComponent/initialize()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:6510]
   at 
 mx.core::Container/initialize()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3053]
   at 
 mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:6402]
   at 
 mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:3879]
   at 
 mx.core::Container/addChildAt()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\Container.as:2541]
   at 
 mx.core::Container

[flexcoders] Re: May I install Flex 3 builder and new Flash builder in same computer

2009-06-01 Thread markgoldin_2000
Do we provide an existing license for beta installation?

--- In flexcoders@yahoogroups.com, Sam Lai samuel@... wrote:

 You can install a separate copy of Flash Builder 4 standalone and it
 will remain separate from any Flex Builder 2 or 3 installations. Also,
 workspaces created in Flex Builder 2 or Flex Builder 3 are not
 supported by Flash Builder 4. Lastly, Flash Builder 4 can import
 existing Flex Builder projects, but a project that has its settings
 modified by Flash Builder 4 will no longer open in Flex Builder 3 or
 Flex Builder 2.
 
 It is still a beta btw.
 
 2009/6/1 markflex2007 markflex2...@...:
  New Flash Builder just come out.May I install it with Flex Builder 3?
 
  Thanks
 
  Mark
 
 
 
  
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Alternative FAQ location: 
  https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
  Search Archives: 
  http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
 
 
 
 





[flexcoders] Re: May I install Flex 3 builder and new Flash builder in same computer

2009-06-01 Thread markgoldin_2000
When I try to debug/run a project from new Builder it complains about FP 
version. I dont want to go thru its installation. What should I do?

--- In flexcoders@yahoogroups.com, Sam Lai samuel@... wrote:

 You can install a separate copy of Flash Builder 4 standalone and it
 will remain separate from any Flex Builder 2 or 3 installations. Also,
 workspaces created in Flex Builder 2 or Flex Builder 3 are not
 supported by Flash Builder 4. Lastly, Flash Builder 4 can import
 existing Flex Builder projects, but a project that has its settings
 modified by Flash Builder 4 will no longer open in Flex Builder 3 or
 Flex Builder 2.
 
 It is still a beta btw.
 
 2009/6/1 markflex2007 markflex2...@...:
  New Flash Builder just come out.May I install it with Flex Builder 3?
 
  Thanks
 
  Mark
 
 
 
  
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Alternative FAQ location: 
  https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
  Search Archives: 
  http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
 
 
 
 





[flexcoders] Re: Data Grid : headers above and in the left side.

2009-05-28 Thread markgoldin_2000
What if your left side headers are just another column with data looking like 
desired header text?
You will have to build your data with an extra column that is the first column 
in the DataGrid.

--- In flexcoders@yahoogroups.com, carlogiordano11 carlogiordan...@... 
wrote:

 Hi guys,
 someone knows how build a Data Grid with headers both above and to the left 
 side. The standard Data Grid have headers only above and not in the left 
 side. Graphically I would have a Data Grid in this way :
 
Unit  | Value | Name
 05/06 | mm   |  45.0 | Vte
 06/06 | ml   |  0.88 | Vti
 07/06 | m0   |  6.09 | Mdi
 08/06 | cm   |  1.87 | Cqm
 
 I appreciate any help.
 Thanks in advance.
 
 Carlo





[flexcoders] Run time Warning

2009-05-28 Thread markgoldin_2000
warning: unable to bind to property 'ext' on class 'XML' (class is not an 
IEventDispatcher)

It's coming from:
mx:FormItem label=Ext required=true includeInLayout=false
mx:TextInput id=ext 
focusOut=c.formatNumbers(ext, salesreps) width=10%

text={salesreps.selectedItem.ext}

restrict=0-9/   
/mx:FormItem

where salesreps is a DataGrid with an XML as a dataProvider.

Any idea?



[flexcoders] Re: Run time Warning

2009-05-28 Thread markgoldin_2000
But my XML is set to bindable.

--- In flexcoders@yahoogroups.com, Jake Churchill j...@... wrote:

 Convert the XML to an arraycollection of VOs and make the entire VO class
 bindable.
 
  
 
 Jake Churchill
 
 CF Webtools
 
 11204 Davenport, Ste. 100
 
 Omaha, NE  68154
 
 http://www.cfwebtools.com
 
 402-408-3733 x103
 
  
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of markgoldin_2000
 Sent: Thursday, May 28, 2009 8:28 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Run time Warning
 
  
 
 
 
 
 
 
 warning: unable to bind to property 'ext' on class 'XML' (class is not an
 IEventDispatcher)
 
 It's coming from:
 mx:FormItem label=Ext required=true includeInLayout=false
 mx:TextInput id=ext focusOut=c.formatNumbers(ext, salesreps)
 width=10%
 text={salesreps.selectedItem.ext}
 restrict=0-9/ 
 /mx:FormItem
 
 where salesreps is a DataGrid with an XML as a dataProvider.
 
 Any idea?





[flexcoders] Re: data binding in textinput ?

2009-05-28 Thread markgoldin_2000
He is not the only one who would think that binding should work both directions.

--- In flexcoders@yahoogroups.com, Tom McNeer tmcn...@... wrote:

 Hi,
 
 On Thu, May 28, 2009 at 1:45 PM, luvfotography 
 ygro...@... wrote:
 
How do I get databinding to work in textinput?
 
 
 
 
 I think you have the idea of databinding a little backwards. Basically, the
 bound variable ('userName' in your example) is used to bring data *in*.
 
 In other words, when you have an element like:
 
 mx:TextInput x=46 y=42 id=myName_ti text={userName}/
 
 
 ... you're saying, I have a variable called 'userName,' and I want the
 contents of that variable to be displayed in my text input.
 
 So, for instance, if this text input were in an edit form, 'userName' might
 represent data coming from a database, which is being placed in the form for
 possible editing.
 
 It doesn't mean that whatever is placed in the text input will be injected
 into the 'userName' variable. Again, let's say you're pulling a user's
 record from a database for editing, and placed the user's data into bound
 variables -- one of which is 'userName.'
 
 So the text input would display the current, existing value of 'userName.'
 But if you then want to use the edited value, you have to pull it out.
 Because what is typed into the text input is accessed through a different
 variable -- in this case, 'myName_ti.text' -- not 'userName.' The latter is
 simply what came in, not what's going out.
 
 Now if you wanted to have a different MXML element bound to the value of the
 text input, you could.
 
 mx:Button label={myName_ti.text} /
 
 ... and whatever is typed into the text input will appear on the button.
 
 But if you want to place the text content back into your 'userName'
 variable, you'll need to put it there through an event.
 
 You could use an onchange event in the text input to fire a function that
 would place the myName.text into userName. But if you did that, you'd create
 a circular binding which probably wouldn't be good.
 
 Assuming this is a standard form-like application, you might have a Save
 button with a click event. In the click handler function, you'd validate the
 form input and place the contents of the form fields into a value object, or
 various variables, then pass those to whatever service actually saves stuff
 to the database.
 
 
 
 
 -- 
 Thanks,
 
 Tom
 
 Tom McNeer
 MediumCool
 http://www.mediumcool.com
 1735 Johnson Road NE
 Atlanta, GA 30306
 404.589.0560





[flexcoders] Re: Run time Warning

2009-05-28 Thread markgoldin_2000
Yes, that's what I did. Warning is gone.

--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote:

 No, Tim that is not correct, XML *IS* bindable. XMLList is not bindable.
 
  
 
 This warning is because selectedItem is an object and Object is not
 bindable.  The fix is to cast/convert it to xml:
 
 text={XML(salesreps.selectedItem).ext}
 
  
 
 The warning is misleading.
 
  
 
 Tracy Spratt,
 
 Lariat Services, development services available
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of Tim Hoff
 Sent: Thursday, May 28, 2009 2:35 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Run time Warning
 
  
 
 
 
 
 
 
 
 Hence the warning. Like Array, XML is not bindable. You might try
 converting the XML to an XMLListCollection.
 
 -TH
 
 --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
 markgoldin_2000
 markgoldin_2000@ wrote:
 
  But my XML is set to bindable.
 
  --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
 Jake Churchill jake@ wrote:
  
   Convert the XML to an arraycollection of VOs and make the entire VO
 class
   bindable.
  
  
  
   Jake Churchill
  
   CF Webtools
  
   11204 Davenport, Ste. 100
  
   Omaha, NE 68154
  
   http://www.cfwebtoo http://www.cfwebtools.com ls.com
  
   402-408-3733 x103
  
  
  
   From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com
 [mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com]
 On
   Behalf Of markgoldin_2000
   Sent: Thursday, May 28, 2009 8:28 AM
   To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com
   Subject: [flexcoders] Run time Warning
  
  
  
  
  
  
  
  
   warning: unable to bind to property 'ext' on class 'XML' (class is
 not an
   IEventDispatcher)
  
   It's coming from:
   mx:FormItem label=Ext required=true includeInLayout=false
   mx:TextInput id=ext focusOut=c.formatNumbers(ext, salesreps)
   width=10%
   text={salesreps.selectedItem.ext}
   restrict=0-9/
   /mx:FormItem
  
   where salesreps is a DataGrid with an XML as a dataProvider.
  
   Any idea?
  
 





[flexcoders] Strange error

2009-05-27 Thread markgoldin_2000
I am getting the following error:
Severity and DescriptionPathResourceLocation
Creation Time   Id
D:\projects\sfcs\UFDCommonLib\src\CustomSkin.as and 
D:\projects\sfcs\UFDCommonLib\src\CustomSkin.mxml can't co-exist in the same 
directory. UFDCommonLib

Why is that? I am using a sample project I got from the web and these files are 
in the same directory.

Thanks for help.



[flexcoders] Common library with another SWC file

2009-05-27 Thread markgoldin_2000
I have a common library that I share between my projects. I want to use Adobe 
AutoComplete and I have added the SWC file to this library just to keep things 
in one place. I am using  xmlns:modulecode=modulecode.* to get generic 
components from my shared library, but how do I get it from AutoComplete? I did 
not add source code, just a SWC file.

Thanks for help.



[flexcoders] Compile error

2009-05-27 Thread markgoldin_2000
What does that error mean?

could not find source for class classname

Thanks





[flexcoders] Re: modify item before binding to datagrid

2009-05-22 Thread markgoldin_2000
How about 
import.utils.ObjectUtil;
--- In flexcoders@yahoogroups.com, Angelo Anolin angelo_ano...@... wrote:

 Hi Mark,
 
 I cannot seem to get your code working for me..
 
 I am getting this error:
 
 Access of Undefined Property ObjectUtil..
 
 I am trying to simply copy the function which you have posted.
 
 Any further advise?
 
 
 
 
 
 From: markgoldin_2000 markgoldin_2...@...
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, 20 May, 2009 21:52:25
 Subject: [flexcoders] Re: modify item before binding to datagrid
 
 
 
 
 
 Angelo,
 did you try the code I have replied to you with?
 
 --- In flexcod...@yahoogro ups.com, Angelo Anolin angelo_anolin@ ... wrote:
 
  My apologies but I forgot to mention that I am getting the data from a .NET 
  web service which is a dataset and then returned via string (XML) using the 
  .NET function 
  
  String strConn = ConfigurationManage r.ConnectionStri 
  ngs[conString ].ConnectionStri ng;
  SqlConnection dbConnection = new SqlConnection( strConn);
  String strCommand = SELECT SupplierID, CompanyName, 
  ContactName, ContactTitle, Address FROM Suppliers ;
  SqlDataAdapter objCommand = new SqlDataAdapter( strCommand, 
  dbConnection) ;
  DataSet DS = new DataSet();
  objCommand.Fill( DS);
  dbConnection. Close();
  dbConnection = null;
  DataTable DT = DS.Tables[0] ;
  
  return DS.GetXml();
  
  
  So, basically, I think the SupplierID which is numeric originally becomes a 
  string. How can I then prior to binding the same to the datagrid control, 
  convert its data type back to numeric so that when I perform a sort, it 
  would sort the supplierID interpreting it as a numeric value?
  
  Thanks.
  
  
   _ _ __
  From: markgoldin_2000 markgoldin_ 2000@
  To: flexcod...@yahoogro ups.com
  Sent: Monday, 18 May, 2009 23:44:33
  Subject: [flexcoders] Re: modify item before binding to datagrid
  
  
  
  
  
  Here is what I am doing.
  column definition:
  mx:DataGridColumn headerText= Block dataField=tcbkcd 
  sortCompareFunction =sortNumericCol umnTrackTotal /
  and:
  private function sortNumericColumnTr ackTotal( itemA:Object, itemB:Object) 
  :int
  {
  return ObjectUtil.numericC ompare(itemA[ TrackTotal. col], 
  itemB[TrackTotal. col]);
  } 
  
  where TrackTotal is a DG's id.
  
  HTH
  
  --- In flexcod...@yahoogro ups.com, Angelo Anolin angelo_anolin@ ... 
  wrote:
  
   
   Hi.
   
   I am quite new in Flex and would like to ask a simple question.
   
   I am retrieving datasets from a .NET webservice and binding the same to a 
   datagrid.  The datagrid comes with a feature that when you click on any 
   of the headers, the column is sorted ASC or DESC.
   
   Now, one column which I am binding to is originally a numeric column.  
   But when it binds to the datagrid, it's data type becomes string.  Is it 
   possible that prior to binding the said column to the datagrid, I would 
   be able to convert it back to its numeric data taype?  Since sorting the 
   column in a string format would give a different result as compared to 
   sorting the same column in a numeric format.
   
   Thanks.
   
   Regards.
  
 





[flexcoders] Re: modify item before binding to datagrid

2009-05-22 Thread markgoldin_2000
Of cource I meant:
import mx.utils.ObjectUtil;

--- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@... 
wrote:

 How about 
 import.utils.ObjectUtil;
 --- In flexcoders@yahoogroups.com, Angelo Anolin angelo_anolin@ wrote:
 
  Hi Mark,
  
  I cannot seem to get your code working for me..
  
  I am getting this error:
  
  Access of Undefined Property ObjectUtil..
  
  I am trying to simply copy the function which you have posted.
  
  Any further advise?
  
  
  
  
  
  From: markgoldin_2000 markgoldin_2000@
  To: flexcoders@yahoogroups.com
  Sent: Wednesday, 20 May, 2009 21:52:25
  Subject: [flexcoders] Re: modify item before binding to datagrid
  
  
  
  
  
  Angelo,
  did you try the code I have replied to you with?
  
  --- In flexcod...@yahoogro ups.com, Angelo Anolin angelo_anolin@ ... 
  wrote:
  
   My apologies but I forgot to mention that I am getting the data from a 
   .NET web service which is a dataset and then returned via string (XML) 
   using the .NET function 
   
   String strConn = ConfigurationManage r.ConnectionStri 
   ngs[conString ].ConnectionStri ng;
   SqlConnection dbConnection = new SqlConnection( strConn);
   String strCommand = SELECT SupplierID, CompanyName, 
   ContactName, ContactTitle, Address FROM Suppliers ;
   SqlDataAdapter objCommand = new SqlDataAdapter( strCommand, 
   dbConnection) ;
   DataSet DS = new DataSet();
   objCommand.Fill( DS);
   dbConnection. Close();
   dbConnection = null;
   DataTable DT = DS.Tables[0] ;
   
   return DS.GetXml();
   
   
   So, basically, I think the SupplierID which is numeric originally becomes 
   a string. How can I then prior to binding the same to the datagrid 
   control, convert its data type back to numeric so that when I perform a 
   sort, it would sort the supplierID interpreting it as a numeric value?
   
   Thanks.
   
   
    _ _ __
   From: markgoldin_2000 markgoldin_ 2000@
   To: flexcod...@yahoogro ups.com
   Sent: Monday, 18 May, 2009 23:44:33
   Subject: [flexcoders] Re: modify item before binding to datagrid
   
   
   
   
   
   Here is what I am doing.
   column definition:
   mx:DataGridColumn headerText= Block dataField=tcbkcd 
   sortCompareFunction =sortNumericCol umnTrackTotal /
   and:
   private function sortNumericColumnTr ackTotal( itemA:Object, 
   itemB:Object) :int
   {
   return ObjectUtil.numericC ompare(itemA[ TrackTotal. col], 
   itemB[TrackTotal. col]);
   } 
   
   where TrackTotal is a DG's id.
   
   HTH
   
   --- In flexcod...@yahoogro ups.com, Angelo Anolin angelo_anolin@ ... 
   wrote:
   

Hi.

I am quite new in Flex and would like to ask a simple question.

I am retrieving datasets from a .NET webservice and binding the same to 
a datagrid.  The datagrid comes with a feature that when you click on 
any of the headers, the column is sorted ASC or DESC.

Now, one column which I am binding to is originally a numeric column.  
But when it binds to the datagrid, it's data type becomes string.  Is 
it possible that prior to binding the said column to the datagrid, I 
would be able to convert it back to its numeric data taype?  Since 
sorting the column in a string format would give a different result as 
compared to sorting the same column in a numeric format.

Thanks.

Regards.
   
  
 





[flexcoders] Re: modify item before binding to datagrid

2009-05-22 Thread markgoldin_2000
I use col as a reference to the clicked column's dataField retrieved via column 
collection. Just use same as mine code.
--- In flexcoders@yahoogroups.com, Angelo Anolin angelo_ano...@... wrote:

 Hi Mark,
 
 Thanks for your patience.  I did write the import code for the ObjectUtil 
 class.
 
 But I still cannot get things properly.
 
 In your code, you have this..
 
 return ObjectUtil.numericC ompare(itemA[ TrackTotal. col], itemB[TrackTotal. 
 col]);
 
 my dataGrid's ID is MydataGrid
 
 what does the col pertains to? the column id defined for the datagrid?
 
 Here's my datagrid mxml
 
 mx:DataGrid id=MydataGrid creationComplete=getGridData(); width=100% 
 height=100% visible=false dataProvider={_xmlData.*} 
 itemClick=getDataItems();
 mx:columns
 mx:DataGridColumn headerText=ID 
 dataField=SupplierID width=30/
 mx:DataGridColumn headerText=Company Name 
 dataField=CompanyName width=100/
 mx:DataGridColumn headerText=Contact Name 
 dataField=ContactName  width=100/
 mx:DataGridColumn headerText=Contact Title 
 dataField=ContactTitle width=50/
 mx:DataGridColumn headerText=Address 
 dataField=Address width=150/
 /mx:columns
 /mx:DataGrid
 
 The SupplierID is the numeric column.
 
 But when I tried 
 
 private function sortNumericColumn(itemA:Object, itemB:Object): int
 {
 return 
 ObjectUtil.numericCompare(itemA[MydataGrid.SupplierID], 
 itemB[MydataGrid.SupplierID]);
 }
 in the function you gave, I am getting the error:
 
 Access of possibly undefined property SupplierID through a reference with 
 static type mx.controls:DataGrid
 
 Thanks a bunch for your patience.
 
 
 
 
 
 From: markgoldin_2000 markgoldin_2...@...
 To: flexcoders@yahoogroups.com
 Sent: Friday, 22 May, 2009 21:51:55
 Subject: [flexcoders] Re: modify item before binding to datagrid
 
 
 
 
 
 Of cource I meant:
 import mx.utils.ObjectUtil ;
 
 --- In flexcod...@yahoogro ups.com, markgoldin_ 2000 markgoldin_ 2000@ 
 wrote:
 
  How about 
  import.utils. ObjectUtil;
  --- In flexcod...@yahoogro ups.com, Angelo Anolin angelo_anolin@  wrote:
  
   Hi Mark,
   
   I cannot seem to get your code working for me..
   
   I am getting this error:
   
   Access of Undefined Property ObjectUtil..
   
   I am trying to simply copy the function which you have posted.
   
   Any further advise?
   
   
   
   
    _ _ __
   From: markgoldin_2000 markgoldin_ 2000@
   To: flexcod...@yahoogro ups.com
   Sent: Wednesday, 20 May, 2009 21:52:25
   Subject: [flexcoders] Re: modify item before binding to datagrid
   
 



Here is what I am doing.
column definition:
mx:DataGridColumn headerText= Block dataField=tcbkcd 
sortCompareFunction =sortNumericCol umnTrackTotal /
and:
private function sortNumericColumnTr ackTotal( itemA:Object, 
itemB:Object) :int
{
return ObjectUtil.numericC ompare(itemA[ TrackTotal. col], 
itemB[TrackTotal. col]);
} 

where TrackTotal is a DG's id.

HTH

--- In flexcod...@yahoogro ups.com, Angelo Anolin angelo_anolin@ ... 
wrote:

 
 Hi.
 
 I am quite new in Flex and would like to ask a simple question.
 
 I am retrieving datasets from a .NET webservice and binding the same 
 to a datagrid.  The datagrid comes with a feature that when you click 
 on any of the headers, the column is sorted ASC or DESC.
 
 Now, one column which I am binding to is originally a numeric column. 
  But when it binds to the datagrid, it's data type becomes string.  
 Is it possible that prior to binding the said column to the datagrid, 
 I would be able to convert it back to its numeric data taype?  Since 
 sorting the column in a string format would give a different result 
 as compared to sorting the same column in a numeric format.
 
 Thanks.
 
 Regards.

   
  
 





[flexcoders] Access FormItem child

2009-05-22 Thread markgoldin_2000
If I have a FormItem like this:
?xml version=1.0 encoding=utf-8?
mx:FormItem xmlns:mx=http://www.adobe.com/2006/mxml; 
width=100% height=100% direction=horizontal
mx:TextInput id=username/  
mx:Button width=22 icon=@Embed(source='../assets/find.png') 
id=find 
/mx:Button
/mx:FormItem

then in another mxml fil where I am using that component:
userLookUp
/userLookUp

is there a way of accessing username via markup tags? Or it's only via AS?

Thanks



[flexcoders] Re: Master-Detail Datagrid and Form

2009-05-20 Thread markgoldin_2000
There are other ways but here what I am doing:
mx:FormItem width=100% direction=horizontal label=First Name 
required=true
mx:TextInput id=firstname 
focusOut=formatNames(firstname) 
text={badgelist.selectedIndex==-1 ? 
XML(badgelist.dataProvider.getItemAt(0)).firstname : 

XML(badgelist.dataProvider.getItemAt(badgelist.selectedIndex)).firstname}
width=100 restrict=A-z/
/mx:FormItem

where badgelist is my DataGrid.
When form loads DG has first row highlighted and first row is detailed. Then 
everytime you change selection you get new details shown. 
Not sure if my code is the one to learn from but the approach works very well 
for me.

HTH

--- In flexcoders@yahoogroups.com, Angelo Anolin angelo_ano...@... wrote:

 
 Hi. I am looking for a simple application where a datagrid is displayed.  
 When the user clicks on the datagrid, the selected item's details is 
 populated in a form element.
 
 I have no problem setting up the datagrid and populating it with XML data.  
 
 I know that I need to map the itemClick event in the datagrid but since I am 
 starting with Flex, I am not sure what kind of command to map to achieve 
 this..
 
 Any sample codes would be extremely helpful. Thanks.
 
 Kind regards,
 
 Angelo





[flexcoders] Re: Master-Detail Datagrid and Form

2009-05-20 Thread markgoldin_2000
Well, that's another way of dong that but why whould you copy selectedItem into 
a set of vars.?

--- In flexcoders@yahoogroups.com, Angelo Anolin angelo_ano...@... wrote:

 Thanks for this.
 
 Although, I am looking at something that I would get the items in the 
 selected datagrid, store the same into variables and then set those variable 
 values into the form field.
 
 I am still trying your codes out.
 
 Regards.
 
 
 
 
 
 From: markgoldin_2000 markgoldin_2...@...
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, 20 May, 2009 20:41:33
 Subject: [flexcoders] Re: Master-Detail Datagrid and Form
 
 
 
 
 
 There are other ways but here what I am doing:
 mx:FormItem width=100% direction=horizont al label=First Name 
 required=true 
 mx:TextInput id=firstname focusOut=formatNam es(firstname)  
 text={badgelist. selectedIndex= =-1 ? XML(badgelist. dataProvider. 
 getItemAt( 0)).firstname : 
 XML(badgelist. dataProvider. getItemAt( badgelist. selectedIndex) 
 ).firstname} 
 width=100 restrict=A- z/ 
 /mx:FormItem
 
 where badgelist is my DataGrid.
 When form loads DG has first row highlighted and first row is detailed. Then 
 everytime you change selection you get new details shown. 
 Not sure if my code is the one to learn from but the approach works very well 
 for me.
 
 HTH
 
 --- In flexcod...@yahoogro ups.com, Angelo Anolin angelo_anolin@ ... wrote:
 
  
  Hi. I am looking for a simple application where a datagrid is displayed.  
  When the user clicks on the datagrid, the selected item's details is 
  populated in a form element.
  
  I have no problem setting up the datagrid and populating it with XML data. 
  
  I know that I need to map the itemClick event in the datagrid but since I 
  am starting with Flex, I am not sure what kind of command to map to achieve 
  this..
  
  Any sample codes would be extremely helpful. Thanks.
  
  Kind regards,
  
  Angelo
 





[flexcoders] Re: modify item before binding to datagrid

2009-05-20 Thread markgoldin_2000
Angelo,
did you try the code I have replied to you with?

--- In flexcoders@yahoogroups.com, Angelo Anolin angelo_ano...@... wrote:

 My apologies but I forgot to mention that I am getting the data from a .NET 
 web service which is a dataset and then returned via string (XML) using the 
 .NET function 
 
 String strConn = 
 ConfigurationManager.ConnectionStrings[conString].ConnectionString;
 SqlConnection dbConnection = new SqlConnection(strConn);
 String strCommand = SELECT SupplierID, CompanyName, ContactName, 
 ContactTitle, Address FROM Suppliers ;
 SqlDataAdapter objCommand = new SqlDataAdapter(strCommand, 
 dbConnection);
 DataSet DS = new DataSet();
 objCommand.Fill(DS);
 dbConnection.Close();
 dbConnection = null;
 DataTable DT = DS.Tables[0];
 
 return DS.GetXml();
 
 
 So, basically, I think the SupplierID which is numeric originally becomes a 
 string. How can I then prior to binding the same to the datagrid control, 
 convert its data type back to numeric so that when I perform a sort, it would 
 sort the supplierID interpreting it as a numeric value?
 
 Thanks.
 
 
 
 From: markgoldin_2000 markgoldin_2...@...
 To: flexcoders@yahoogroups.com
 Sent: Monday, 18 May, 2009 23:44:33
 Subject: [flexcoders] Re: modify item before binding to datagrid
 
 
 
 
 
 Here is what I am doing.
 column definition:
 mx:DataGridColumn headerText= Block dataField=tcbkcd sortCompareFunction 
 =sortNumericCol umnTrackTotal /
 and:
 private function sortNumericColumnTr ackTotal( itemA:Object, itemB:Object) 
 :int
 {
 return ObjectUtil.numericC ompare(itemA[ TrackTotal. col], itemB[TrackTotal. 
 col]);
 } 
 
 where TrackTotal is a DG's id.
 
 HTH
 
 --- In flexcod...@yahoogro ups.com, Angelo Anolin angelo_anolin@ ... wrote:
 
  
  Hi.
  
  I am quite new in Flex and would like to ask a simple question.
  
  I am retrieving datasets from a .NET webservice and binding the same to a 
  datagrid.  The datagrid comes with a feature that when you click on any of 
  the headers, the column is sorted ASC or DESC.
  
  Now, one column which I am binding to is originally a numeric column.  But 
  when it binds to the datagrid, it's data type becomes string.  Is it 
  possible that prior to binding the said column to the datagrid, I would be 
  able to convert it back to its numeric data taype?  Since sorting the 
  column in a string format would give a different result as compared to 
  sorting the same column in a numeric format.
  
  Thanks.
  
  Regards.
 





[flexcoders] DataGrid drag and drop

2009-05-19 Thread markgoldin_2000
If I have a source DG with dragMoveEnabled=true should dd remove dragged 
item from the source dataProvider as well or I have to do it manually?

Thanks



[flexcoders] FormItem with Datagrid extra white space

2009-05-19 Thread markgoldin_2000
mx:FormItem width=100% direction=horizontal label=Contacts 
mx:DataGrid id=custcontacts fontSize=10
width=100% height=70% 
creationComplete=contactList()
mx:columns
mx:DataGridColumn 
headerText=Contact dataField=contact/
mx:DataGridColumn 
headerText=Name dataField=contactname/
mx:DataGridColumn 
headerText=Phone dataField=contactphone/
mx:DataGridColumn 
headerText=Email dataField=contactemail/
/mx:columns
/mx:DataGrid
/mx:FormItem

I want to make my DG shorter than a default. It gets shorter but next FormItem 
under will be shown as I would not make DG shorter, another words there is a 
large vertical white gap between FormItems.

How can I get rid this vertical gap?

Thanks



[flexcoders] DataGrid header skin

2009-05-18 Thread markgoldin_2000
Can someone please provide a sample of datagrid header skin that would be just 
the same as a regular one?

Thanks



[flexcoders] ADG and Flex 4

2009-05-18 Thread markgoldin_2000
Sorry for bringing this up again but I need to try out an ADG working in Gumbo. 
I have multiple applications built around ADGs. I have been researching Web 
very intensively but could find even one working example. I have posted to 
Gumbo Forum at Adobe but had no respond. Can someone please either provide a 
code sample that works or confirm that I am just trying to get it work ahead of 
time when the product is ready?

Thanks for help.





[flexcoders] Re: modify item before binding to datagrid

2009-05-18 Thread markgoldin_2000
Here is what I am doing.
column definition:
mx:DataGridColumn headerText=Block dataField=tcbkcd 
sortCompareFunction=sortNumericColumnTrackTotal/
and:
private function sortNumericColumnTrackTotal(itemA:Object, itemB:Object):int
{
return ObjectUtil.numericCompare(itemA[TrackTotal.col], itemB[TrackTotal.col]);
} 

where TrackTotal is a DG's id.

HTH

--- In flexcoders@yahoogroups.com, Angelo Anolin angelo_ano...@... wrote:

 
 Hi.
 
 I am quite new in Flex and would like to ask a simple question.
 
 I am retrieving datasets from a .NET webservice and binding the same to a 
 datagrid.  The datagrid comes with a feature that when you click on any of 
 the headers, the column is sorted ASC or DESC.
 
 Now, one column which I am binding to is originally a numeric column.  But 
 when it binds to the datagrid, it's data type becomes string.  Is it possible 
 that prior to binding the said column to the datagrid, I would be able to 
 convert it back to its numeric data taype?  Since sorting the column in a 
 string format would give a different result as compared to sorting the same 
 column in a numeric format.
 
 Thanks.
 
 Regards.





[flexcoders] Re: modify item before binding to datagrid

2009-05-18 Thread markgoldin_2000
Sorry, forgot to provide my sortable DataGrid:
package CustomComponents

{

import mx.collections.*;

import mx.controls.DataGrid;

import mx.controls.dataGridClasses.*;

import mx.events.DataGridEvent;

public class sortableDataGrid extends DataGrid

{

public function sortableDataGrid()

{

super();

addEventListener(headerRelease, headerReleaseHeandler);

}

public var sortIndex:int = -1;

public var sortColumn:DataGridColumn;

public var sortDirection:String;

public var lastSortIndex:int = -1;

public var col:String;

public function headerReleaseHeandler(event:DataGridEvent):void

{


col = columns[event.columnIndex].dataField;


}

}

}




--- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@... 
wrote:

 Here is what I am doing.
 column definition:
 mx:DataGridColumn headerText=Block dataField=tcbkcd 
 sortCompareFunction=sortNumericColumnTrackTotal/
 and:
 private function sortNumericColumnTrackTotal(itemA:Object, itemB:Object):int
 {
 return ObjectUtil.numericCompare(itemA[TrackTotal.col], 
 itemB[TrackTotal.col]);
 } 
 
 where TrackTotal is a DG's id.
 
 HTH
 
 --- In flexcoders@yahoogroups.com, Angelo Anolin angelo_anolin@ wrote:
 
  
  Hi.
  
  I am quite new in Flex and would like to ask a simple question.
  
  I am retrieving datasets from a .NET webservice and binding the same to a 
  datagrid.  The datagrid comes with a feature that when you click on any of 
  the headers, the column is sorted ASC or DESC.
  
  Now, one column which I am binding to is originally a numeric column.  But 
  when it binds to the datagrid, it's data type becomes string.  Is it 
  possible that prior to binding the said column to the datagrid, I would be 
  able to convert it back to its numeric data taype?  Since sorting the 
  column in a string format would give a different result as compared to 
  sorting the same column in a numeric format.
  
  Thanks.
  
  Regards.
 





[flexcoders] Re: ADG and Flex 4

2009-05-18 Thread markgoldin_2000
Thank you, Matt.

--- In flexcoders@yahoogroups.com, Matt Chotin mcho...@... wrote:

 You'll need to wait for when the beta comes out that includes the 
 Gumbo-compatible ADG.  That will be some time in June.
 
 Matt
 
 
 On 5/18/09 10:02 AM, markgoldin_2000 markgoldin_2...@... wrote:
 
 
 
 
 
 
 Sorry for bringing this up again but I need to try out an ADG working in 
 Gumbo. I have multiple applications built around ADGs. I have been 
 researching Web very intensively but could find even one working example. I 
 have posted to Gumbo Forum at Adobe but had no respond. Can someone please 
 either provide a code sample that works or confirm that I am just trying to 
 get it work ahead of time when the product is ready?
 
 Thanks for help.





[flexcoders] Mimic DataGrid header skin

2009-05-15 Thread markgoldin_2000
I want to have all my DataGrid and ADG headers look the same. For that I want 
to have a custom AdvancedDataGridHeaderRenderer for columns in ADGs. How can I 
mimic a DataGrid column skin?

Thanks for Help



[flexcoders] Tree nodes sorting

2009-05-15 Thread markgoldin_2000
Is it possible to sort a Tree in a such way that folders will be shown first?

Thanks



[flexcoders] Re: Mimic DataGrid header skin

2009-05-15 Thread markgoldin_2000
Please anyone? 

--- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@... 
wrote:

 I want to have all my DataGrid and ADG headers look the same. For that I want 
 to have a custom AdvancedDataGridHeaderRenderer for columns in ADGs. How can 
 I mimic a DataGrid column skin?
 
 Thanks for Help





[flexcoders] Re: Storing an array in a Database?

2009-05-15 Thread markgoldin_2000
How that is different from a database table with 25 rows?
You populate your array from that table, use the array as a datProvider and 
save changed data back to db. Am I missing something here?

--- In flexcoders@yahoogroups.com, Laurence MacNeill lmacne...@... wrote:

 Ok, I think maybe I'm over-thinking this and confusing myself...  But 
 how do I store an array in a Database?
 
 I have an array 'demographics[]'  with 25 elements in it (0 thru 
 24).  I can certainly use a for-loop to loop through each element and 
 do whatever I want with each element.  But when it comes to storing 
 them in the database, I'm at a loss.  I have 25 strings in the DB, 
 named demo1, demo2, ... demo25.  I can't access them using the same 
 type of for-loop syntax that I'm using to access my array, so how do 
 I copy the array into the database?  And read it back out again?
 
 Is there no choice but to do something like this:
  my.DB.reference.demo1 = demographics[1];
  my.DB.reference.demo2 = demographics[2];
  ...
  my.DB.reference.demo25 = demographics[25];
 
 
 That seems terrible, but it's the only way I've figured out how to do 
 it so far.  There's GOT to be a better way.  Please help.
 
 
 Laurence MacNeill
 Mableton, Georgia, USA





[flexcoders] Re: Does ADG work with Gumbo?

2009-05-14 Thread markgoldin_2000
That's my latest result. Any idea?

ReferenceError: Error #1069: Property 
http://www.adobe.com/2006/flex/mx/internal::STYLE_UNINITIALIZED not found on 
class mx.core.UIComponent and there is no default value.
at 
mx.controls.advancedDataGridClasses::AdvancedDataGridItemRenderer()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\advancedDataGridClasses\AdvancedDataGridItemRenderer.as:91]
at _test_mx_managers_SystemManager/create()
at 
mx.core::ContextualClassFactory/newInstance()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\ContextualClassFactory.as:113]
at 
mx.controls.advancedDataGridClasses::AdvancedDataGridBase/http://www.adobe.com/2006/flex/mx/internal::columnItemRenderer()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\advancedDataGridClasses\AdvancedDataGridBase.as:1437]
at 
mx.controls::AdvancedDataGridBaseEx/http://www.adobe.com/2006/flex/mx/internal::getMeasuringRenderer()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:2024]
at 
mx.controls::AdvancedDataGrid/http://www.adobe.com/2006/flex/mx/internal::getMeasuringRenderer()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGrid.as:8545]
at 
mx.controls::AdvancedDataGridBaseEx/measureItems()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:7057]
at 
mx.controls::AdvancedDataGridBaseEx/commitProperties()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:1993]
at 
mx.controls::AdvancedDataGrid/commitProperties()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGrid.as:2276]
at 
mx.core::UIComponent/validateProperties()[E:\dev\beta1\frameworks\projects\framework\src\mx\core\UIComponent.as:7019]
at 
mx.managers::LayoutManager/validateProperties()[E:\dev\beta1\frameworks\projects\framework\src\mx\managers\LayoutManager.as:572]
at 
mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\beta1\frameworks\projects\framework\src\mx\managers\LayoutManager.as:700]
at 
mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\beta1\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1067]


--- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@... 
wrote:

 Ok then :)
 So my question is:
 How to get ADG working using SDK 4?
 
 --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiverton@ wrote:
 
  On Wednesday 13 May 2009, markgoldin_2000 wrote:
   I've got more results but I am not sure if it's fine to ask Gumbo 
   questions
   here.
  
  It's fine as far as I know, same as AIR :-)
  
  -- 
  Helping to professionally envisioneer open-source corporate communities as 
  part of the IT team of the year, '09 and '08
  
  Tom Chiverton
  Developer
  Tel: +44 0161 618 5032
  Fax: +44 0161 618 5099 
  Tom.Chiverton@
  3 Hardman Square, Manchester, M3 3EB
  www.Halliwells.com
  
  
  
  This email is sent for and on behalf of Halliwells LLP.
  
  Halliwells LLP is a limited liability partnership registered in England and 
  Wales under registered number OC307980 whose registered office address is 
  at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A 
  list of members is available for inspection at the registered office 
  together with a list of those non members who are referred to as partners. 
  We use the word ?partner? to refer to a member of the LLP, or an employee 
  or consultant with equivalent standing and qualifications. Regulated by the 
  Solicitors Regulation Authority.
  
  CONFIDENTIALITY
  
  This email is intended only for the use of the addressee named above and 
  may be confidential or legally privileged. If you are not the addressee you 
  must not read it and must not use any information contained in nor copy it 
  nor inform any person other than Halliwells LLP or the addressee of its 
  existence or contents. If you have received this email in error please 
  delete it and notify Halliwells LLP IT Department on 0870 365 2500.
  
  For more information about Halliwells LLP visit www.Halliwells.com.
 





[flexcoders] Tree backgorund color

2009-05-14 Thread markgoldin_2000
How can I change a background color from white to something else?

Thanks



[flexcoders] Re: Tree backgorund color

2009-05-14 Thread markgoldin_2000
Yep, that's the one. Thanks
--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:

 depthColors?
 
 --- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2000@ wrote:
 
  How can I change a background color from white to something else?
  
  Thanks
 





[flexcoders] Is this very bad?

2009-05-14 Thread markgoldin_2000
When I open Builder:
Error opening the editor.
Assertion failed: 





[flexcoders] Re: Does ADG work with Gumbo?

2009-05-13 Thread markgoldin_2000
I've got more results but I am not sure if it's fine to ask Gumbo questions 
here.

--- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiver...@... wrote:

 On Friday 08 May 2009, Charles Parcell wrote:
  Could it be a professional license thing.  
 
 That applies to watermarking of the results, not compiling.
 
 -- 
 Helping to heterogeneously envisioneer granular network open-source patterns 
 as part of the IT team of the year, '09 and '08
 
 Tom Chiverton
 Developer
 Tel: +44 0161 618 5032
 Fax: +44 0161 618 5099 
 tom.chiver...@...
 3 Hardman Square, Manchester, M3 3EB
 www.Halliwells.com
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in England and 
 Wales under registered number OC307980 whose registered office address is at 
 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list 
 of members is available for inspection at the registered office together with 
 a list of those non members who are referred to as partners. We use the word 
 ?partner? to refer to a member of the LLP, or an employee or consultant with 
 equivalent standing and qualifications. Regulated by the Solicitors 
 Regulation Authority.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named above and may 
 be confidential or legally privileged. If you are not the addressee you must 
 not read it and must not use any information contained in nor copy it nor 
 inform any person other than Halliwells LLP or the addressee of its existence 
 or contents. If you have received this email in error please delete it and 
 notify Halliwells LLP IT Department on 0870 365 2500.
 
 For more information about Halliwells LLP visit www.Halliwells.com.





[flexcoders] Re: Does ADG work with Gumbo?

2009-05-13 Thread markgoldin_2000
Aha, now I know why I am getting fatter and fatter. It's the Gumbo :)

--- In flexcoders@yahoogroups.com, Gregor Kiddie gkid...@... wrote:

 Unless by Gumbo, you mean the food... then you might start getting some
 funny looks...
 
  
 
 Gregor Kiddie
 Senior Developer
 INPS
 
 Tel:   01382 564343
 
 Registered address: The Bread Factory, 1a Broughton Street, London SW8
 3QJ
 
 Registered Number: 1788577
 
 Registered in the UK
 
 Visit our Internet Web site at www.inps.co.uk
 blocked::http://www.inps.co.uk/ 
 
 The information in this internet email is confidential and is intended
 solely for the addressee. Access, copying or re-use of information in it
 by anyone else is not authorised. Any views or opinions presented are
 solely those of the author and do not necessarily represent those of
 INPS or any of its affiliates. If you are not the intended recipient
 please contact is.helpd...@...
 
 
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of Tom Chiverton
 Sent: 13 May 2009 13:55
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Re: Does ADG work with Gumbo?
 
  
 
 
 
 
 
 
 
 
 On Wednesday 13 May 2009, markgoldin_2000 wrote:
  I've got more results but I am not sure if it's fine to ask Gumbo
 questions
  here.
 
 It's fine as far as I know, same as AIR :-)





[flexcoders] Re: Does ADG work with Gumbo?

2009-05-13 Thread markgoldin_2000
Ok then :)
So my question is:
How to get ADG working using SDK 4?

--- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiver...@... wrote:

 On Wednesday 13 May 2009, markgoldin_2000 wrote:
  I've got more results but I am not sure if it's fine to ask Gumbo questions
  here.
 
 It's fine as far as I know, same as AIR :-)
 
 -- 
 Helping to professionally envisioneer open-source corporate communities as 
 part of the IT team of the year, '09 and '08
 
 Tom Chiverton
 Developer
 Tel: +44 0161 618 5032
 Fax: +44 0161 618 5099 
 tom.chiver...@...
 3 Hardman Square, Manchester, M3 3EB
 www.Halliwells.com
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in England and 
 Wales under registered number OC307980 whose registered office address is at 
 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list 
 of members is available for inspection at the registered office together with 
 a list of those non members who are referred to as partners. We use the word 
 ?partner? to refer to a member of the LLP, or an employee or consultant with 
 equivalent standing and qualifications. Regulated by the Solicitors 
 Regulation Authority.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named above and may 
 be confidential or legally privileged. If you are not the addressee you must 
 not read it and must not use any information contained in nor copy it nor 
 inform any person other than Halliwells LLP or the addressee of its existence 
 or contents. If you have received this email in error please delete it and 
 notify Halliwells LLP IT Department on 0870 365 2500.
 
 For more information about Halliwells LLP visit www.Halliwells.com.





[flexcoders] Re: Form layout question

2009-05-11 Thread markgoldin_2000
Sure. Here:

mx:Form width=60% id=listterms horizontalGap=1
mx:FormItem direction=horizontal 
   mx:Label text=Style color=#00/
mx:TextInput id=style
text={pricelist.style}
change={pricelist.style=style.text} 
width=100%/
/mx:FormItem
mx:FormItem direction=horizontal 
   mx:Label text=Fabric color=#00/  
mx:TextInput id=fabric
text={pricelist.fabric}
change={pricelist.fabric=fabric.text} 
width=100%/
/mx:FormItem
mx:FormItem width=100% direction=horizontal 
   mx:Label text=Edge color=#00/
mx:TextInput id=edge
text={pricelist.edge}
change={pricelist.edge=edge.text} 
width=100%/
/mx:FormItem
mx:FormItem width=100% direction=horizontal 
   mx:Label text=Design color=#00/
mx:TextInput id=design
text={pricelist.design}
change={pricelist.design=design.text} 
width=100%/
/mx:FormItem
mx:FormItem width=100% direction=horizontal 
   mx:Label text=Fill color=#00/
mx:TextInput id=fill
text={pricelist.fill}
change={pricelist.fill=fill.text} 
width=100%/
/mx:FormItem
mx:FormItem width=100% direction=horizontal 
   mx:Label text=Hypo-Allergenic color=#00/   
 
mx:TextInput id=hypo
text={pricelist.hypo}
change={pricelist.hypo=hypo.text} 
width=100%/
/mx:FormItem
mx:FormItem width=100% direction=horizontal 
   mx:Label text=Care color=#00/
mx:TextInput id=care
text={pricelist.care}
change={pricelist.care=care.text} 
width=100%/
/mx:FormItem
mx:FormItem width=100% direction=horizontal 
   mx:Label text=Packaging color=#00/
mx:TextInput id=packaging
text={pricelist.packaging}
change={pricelist.packaging=packaging.text} 
width=100%/
/mx:FormItem
mx:FormItem width=100% direction=horizontal 
   mx:Label text=Warranty color=#00/
mx:TextInput id=warranty
text={pricelist.warranty}
change={pricelist.warranty=warranty.text} 
width=100%/
/mx:FormItem
mx:FormItem width=100% direction=horizontal 
   mx:Label text=Colors color=#00/
mx:TextInput id=colors
text={pricelist.colors}
change={pricelist.colors=colors.text} 
width=100%/
/mx:FormItem
mx:FormItem width=100% direction=horizontal 
   mx:Label text=Features color=#00/
mx:TextInput id=features
text={pricelist.features}
change={pricelist.features=features.text} 
width=100%/
/mx:FormItem
/mx:Form


--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:

 Can you show some code?
 
 
 
 --- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2000@ wrote:
 
  Somehow labels in my form are all left aligned, while according to this:
  
  Aligning and spacing Form container children
  
  All Form container labels are right-aligned, and all children are 
  left-aligned in the container. You cannot override this alignment
  
  it should be right-aligned.
 





[flexcoders] Apply SDK changes

2009-05-11 Thread markgoldin_2000
If I change a line or two in SDKs source code how do I apply these changes to 
my project?

Thanks



[flexcoders] Re: Form layout question

2009-05-11 Thread markgoldin_2000
A, I see, thanks.

--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:

 The addition of the label is screwing it up.
 
 Just add the label property to the FormItem tag...
 
 mx:FormItem label=The Label: fontWeight=bold
   mx:TextInput id=anInput width=100 fontWeight=normal/
 /mx:FormItem
 
 
 
 --- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2000@ wrote:
 
  Sure. Here:
  
  mx:Form width=60% id=listterms horizontalGap=1
  mx:FormItem direction=horizontal 
 mx:Label text=Style color=#00/
  mx:TextInput id=style
  text={pricelist.style}
  change={pricelist.style=style.text} 
  width=100%/
  /mx:FormItem
  mx:FormItem direction=horizontal 
 mx:Label text=Fabric color=#00/  
  mx:TextInput id=fabric
  text={pricelist.fabric}
  change={pricelist.fabric=fabric.text} 
  width=100%/
  /mx:FormItem
  mx:FormItem width=100% direction=horizontal 
 mx:Label text=Edge color=#00/
  mx:TextInput id=edge
  text={pricelist.edge}
  change={pricelist.edge=edge.text} 
  width=100%/
  /mx:FormItem
  mx:FormItem width=100% direction=horizontal 
 mx:Label text=Design color=#00/
  mx:TextInput id=design
  text={pricelist.design}
  change={pricelist.design=design.text} 
  width=100%/
  /mx:FormItem
  mx:FormItem width=100% direction=horizontal 
 mx:Label text=Fill color=#00/
  mx:TextInput id=fill
  text={pricelist.fill}
  change={pricelist.fill=fill.text} 
  width=100%/
  /mx:FormItem
  mx:FormItem width=100% direction=horizontal 
 mx:Label text=Hypo-Allergenic color=#00/   
   
  mx:TextInput id=hypo
  text={pricelist.hypo}
  change={pricelist.hypo=hypo.text} 
  width=100%/
  /mx:FormItem
  mx:FormItem width=100% direction=horizontal 
 mx:Label text=Care color=#00/
  mx:TextInput id=care
  text={pricelist.care}
  change={pricelist.care=care.text} 
  width=100%/
  /mx:FormItem
  mx:FormItem width=100% direction=horizontal 
 mx:Label text=Packaging color=#00/
  mx:TextInput id=packaging
  text={pricelist.packaging}
  change={pricelist.packaging=packaging.text} 
  width=100%/
  /mx:FormItem
  mx:FormItem width=100% direction=horizontal 
 mx:Label text=Warranty color=#00/
  mx:TextInput id=warranty
  text={pricelist.warranty}
  change={pricelist.warranty=warranty.text} 
  width=100%/
  /mx:FormItem
  mx:FormItem width=100% direction=horizontal 
 mx:Label text=Colors color=#00/
  mx:TextInput id=colors
  text={pricelist.colors}
  change={pricelist.colors=colors.text} 
  width=100%/
  /mx:FormItem
  mx:FormItem width=100% direction=horizontal 
 mx:Label text=Features color=#00/
  mx:TextInput id=features
  text={pricelist.features}
  change={pricelist.features=features.text} 
  width=100%/
  /mx:FormItem
  /mx:Form
  
  
  --- In flexcoders@yahoogroups.com, valdhor valdhorlists@ wrote:
  
   Can you show some code?
   
   
   
   --- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2000@ 
   wrote:
   
Somehow labels in my form are all left aligned, while according to this:

Aligning and spacing Form container children

All Form container labels are right-aligned, and all children are 
left-aligned in the container

[flexcoders] Source Not Found in Flex Builder Debug

2009-05-11 Thread markgoldin_2000
When I run my app from the Builder I am getting an SDK run-time error that does 
not open a source file but instead shows:
Source not found

How do I fix it?

Thanks






[flexcoders] Re: Source Not Found in Flex Builder Debug

2009-05-11 Thread markgoldin_2000
incorporating the Flex code into your project 
How do I do that?
--- In flexcoders@yahoogroups.com, Daniel Freiman freima...@... wrote:

 It could be two things.  You could be using a component/library that isn't
 open source (such as the flash.* packages or a third party component) or
 sometimes using the Flex RSL does this.  If it's a standard open source Flex
 class, try incorporating the Flex code into your project instead of using
 the RSL and see if that works.
 
 - Daniel Freiman
 
 On Mon, May 11, 2009 at 10:53 AM, markgoldin_2000 markgoldin_2...@...
  wrote:
 
 
 
  When I run my app from the Builder I am getting an SDK run-time error that
  does not open a source file but instead shows:
  Source not found
 
  How do I fix it?
 
  Thanks
 
   
 





[flexcoders] Re: Source Not Found in Flex Builder Debug

2009-05-11 Thread markgoldin_2000
The error I am getting is a run-time error from SDK.

--- In flexcoders@yahoogroups.com, Jake Churchill j...@... wrote:

 It probably means the error is from a class in a SWC file.  Are you
 importing any SWC files?  This happens to me if I screw something up in
 Cairngorm or FlexLib (both SWC files)
 
  
 
 Jake Churchill
 
 CF Webtools
 
 11204 Davenport, Ste. 100
 
 Omaha, NE  68154
 
 http://www.cfwebtools.com
 
 402-408-3733 x103
 
  
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of markgoldin_2000
 Sent: Monday, May 11, 2009 9:53 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Source Not Found in Flex Builder Debug
 
  
 
 
 
 
 
 
 When I run my app from the Builder I am getting an SDK run-time error that
 does not open a source file but instead shows:
 Source not found
 
 How do I fix it?
 
 Thanks





[flexcoders] Re: Source Not Found in Flex Builder Debug

2009-05-11 Thread markgoldin_2000
Well, that what it says. I am not modifying that for any of my projects.
--- In flexcoders@yahoogroups.com, Daniel Freiman freima...@... wrote:

 Project Properties - Flex Build Path - Library Path - Framework Linkage
 - Merged Into Code
 
 On Mon, May 11, 2009 at 11:17 AM, markgoldin_2000 markgoldin_2...@...
  wrote:
 
 
 
  incorporating the Flex code into your project
  How do I do that?
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Daniel
  Freiman FreimanCQ@ wrote:
  
   It could be two things. You could be using a component/library that isn't
   open source (such as the flash.* packages or a third party component) or
   sometimes using the Flex RSL does this. If it's a standard open source
  Flex
   class, try incorporating the Flex code into your project instead of using
   the RSL and see if that works.
  
   - Daniel Freiman
  
   On Mon, May 11, 2009 at 10:53 AM, markgoldin_2000 markgoldin_2000@
wrote:
  
   
   
When I run my app from the Builder I am getting an SDK run-time error
  that
does not open a source file but instead shows:
Source not found
   
How do I fix it?
   
Thanks
   
   
   
  
 
   
 





[flexcoders] Re: Source Not Found in Flex Builder Debug

2009-05-11 Thread markgoldin_2000
I have added a path to Flex SDK under project's Run/Debug Settings Edit 
/Source. Now I see source code. Actual class is AdvancedDataGridBaseEx from SDK 
4.

--- In flexcoders@yahoogroups.com, Daniel Freiman freima...@... wrote:

 Sorry, check that.  What actual class is not showing the source?
 
 On Mon, May 11, 2009 at 11:57 AM, Daniel Freiman freima...@...wrote:
 
  What actual class is throwing the error?
 
 
 
  On Mon, May 11, 2009 at 11:55 AM, markgoldin_2000 
  markgoldin_2...@... wrote:
 
 
 
  Well, that what it says. I am not modifying that for any of my projects.
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Daniel
  Freiman FreimanCQ@ wrote:
  
   Project Properties - Flex Build Path - Library Path - Framework
  Linkage
   - Merged Into Code
  
   On Mon, May 11, 2009 at 11:17 AM, markgoldin_2000 markgoldin_2000@
wrote:
  
   
   
incorporating the Flex code into your project
How do I do that?
--- In flexcoders@yahoogroups.com 
flexcoders%40yahoogroups.comflexcoders%
  40yahoogroups.com, Daniel
Freiman FreimanCQ@ wrote:

 It could be two things. You could be using a component/library that
  isn't
 open source (such as the flash.* packages or a third party
  component) or
 sometimes using the Flex RSL does this. If it's a standard open
  source
Flex
 class, try incorporating the Flex code into your project instead of
  using
 the RSL and see if that works.

 - Daniel Freiman

 On Mon, May 11, 2009 at 10:53 AM, markgoldin_2000 markgoldin_2000@
  wrote:

 
 
  When I run my app from the Builder I am getting an SDK run-time
  error
that
  does not open a source file but instead shows:
  Source not found
 
  How do I fix it?
 
  Thanks
 
 
 

   
   
   
  
 
   
 
 
 





[flexcoders] Re: Apply SDK changes

2009-05-11 Thread markgoldin_2000
Oh, sure.
Iam trying to recompile one of my projects currently written for 3.3 into SDK 
4. While I was able to set things up to get thru compiling I am getting a 
run-time error when an application uses ADG. Here is the error:
TypeError: Error #1007: Instantiation attempted on a non-constructor.
at 
mx.controls::AdvancedDataGridBaseEx/getSeparator()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:4149]
at 
mx.controls::AdvancedDataGridBaseEx/createHeaderSeparators()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:4186]
at 
mx.controls::AdvancedDataGrid/createHeaderSeparators()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGrid.as:1774]
at 
mx.controls::AdvancedDataGridBaseEx/drawSeparators()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:4110]
at 
mx.controls::AdvancedDataGridBaseEx/updateDisplayList()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:1880]
at 
mx.controls::AdvancedDataGrid/updateDisplayList()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGrid.as:6007]
at 
mx.controls.listClasses::AdvancedListBase/validateDisplayList()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\listClasses\AdvancedListBase.as:3072]
at 
mx.managers::LayoutManager/validateDisplayList()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:657]
at 
mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:734]

I was thinking to comment the offensive code out and see what happens.

--- In flexcoders@yahoogroups.com, Rick Winscot rick.wins...@... wrote:

 In the Flex SDKs source? Are you monkey patching (underridding) a control /
 class? ...a little more info about your setup would be helpful.
 
 
 Rick Winscot
 
 
 
 On 5/11/09 9:49 AM, markgoldin_2000 markgoldin_2...@... wrote:
 
   

  

  
  If I change a line or two in SDKs source code how do I apply these changes 
  to
  my project?
  
  Thanks
  

  
  
 





[flexcoders] Trying Gumbo

2009-05-08 Thread markgoldin_2000
I am trying to compile my project using Flex 4 SDK. I am getting the following 
error:
1046: Type was not found or was not a compile-time constant: AdvancedDataGrid. 
What am I missing?
Also I have a share library project. When I try to compile it with Flex 4 I get 
many errors about Matrix3D and Vector. A quick resourch discovered that I have 
to point a project to FP 10. But my share library does not have that option. 
What do I do?

Thanks for the help.



[flexcoders] Launch Failed

2009-05-08 Thread markgoldin_2000
I am trying a simlpe Flex 4 application found in the Web:
?xml version=1.0 encoding=utf-8? 
fx:Application 
xmlns=http://ns.adobe.com/mxml/2009; 
xmlns:fx=library://ns.adobe.com/flex/spark 
xmlns:mx=library://ns.adobe.com/flex/halo 

mx:VBox 
fx:Button label=Gumbo Button/ 
mx:Button label=Halo Button / 

   fx:ButtonBar id=orangeToggleBar requiresSelection=true 
fx:dataProvider 
fx:ArrayCollection source=[Flash, Director, Catalyst, 
ColdFusion] / 
/fx:dataProvider 
/fx:ButtonBar 
/mx:VBox 
/fx:Application 

It compiles but does not start. 
Launch Failed
File not found
Path to an html wrapper

What's wrong here?

Thansk



[flexcoders] Re: Launch Failed

2009-05-08 Thread markgoldin_2000
I am using Flex 3 Builder. I am trying to see what is going to be involved to 
move to Flex 4 when it's out. So far, I see it's going to be tough. Unless, 
it's simply buggy at this point.


--- In flexcoders@yahoogroups.com, Harish Sivaramakrishnan 
hsivaramakrish...@... wrote:

 are you on Flex Builder 3 using Spark components?
 
 On Fri, May 8, 2009 at 7:04 AM, markgoldin_2000
 markgoldin_2...@...wrote:
 
 
 
  I am trying a simlpe Flex 4 application found in the Web:
  ?xml version=1.0 encoding=utf-8?
  fx:Application
  xmlns=http://ns.adobe.com/mxml/2009;
  xmlns:fx=library://ns.adobe.com/flex/spark
  xmlns:mx=library://ns.adobe.com/flex/halo
 
  mx:VBox
  fx:Button label=Gumbo Button/
  mx:Button label=Halo Button /
 
  fx:ButtonBar id=orangeToggleBar requiresSelection=true
  fx:dataProvider
  fx:ArrayCollection source=[Flash, Director, Catalyst,
  ColdFusion] /
  /fx:dataProvider
  /fx:ButtonBar
  /mx:VBox
  /fx:Application
 
  It compiles but does not start.
  Launch Failed
  File not found
  Path to an html wrapper
 
  What's wrong here?
 
  Thansk
 
   
 





[flexcoders] Re: Launch Failed

2009-05-08 Thread markgoldin_2000
I am simply trying Flex 4 SDK:
http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4

--- In flexcoders@yahoogroups.com, Charles Parcell pokemonkil...@... wrote:

 You have the Flex 4 compiler? Not that I am complaining about hearing things
 about Flex 4 but isn't that NOT a public beta yet?  Shouldn't this question
 be for the beta list and not a public forum?
 
 Charles P.
 
 
 
 On Fri, May 8, 2009 at 10:28 AM, markgoldin_2000
 markgoldin_2...@...wrote:
 
 
  I am using Flex 3 Builder. I am trying to see what is going to be involved
  to move to Flex 4 when it's out. So far, I see it's going to be tough.
  Unless, it's simply buggy at this point.
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Harish
  Sivaramakrishnan hsivaramakrishnan@ wrote:
  
   are you on Flex Builder 3 using Spark components?
  
   On Fri, May 8, 2009 at 7:04 AM, markgoldin_2000
   markgoldin_2000@wrote:
  
   
   
I am trying a simlpe Flex 4 application found in the Web:
?xml version=1.0 encoding=utf-8?
fx:Application
xmlns=http://ns.adobe.com/mxml/2009;
xmlns:fx=library://ns.adobe.com/flex/spark
xmlns:mx=library://ns.adobe.com/flex/halo
   
mx:VBox
fx:Button label=Gumbo Button/
mx:Button label=Halo Button /
   
fx:ButtonBar id=orangeToggleBar requiresSelection=true
fx:dataProvider
fx:ArrayCollection source=[Flash, Director, Catalyst,
ColdFusion] /
/fx:dataProvider
/fx:ButtonBar
/mx:VBox
/fx:Application
   
It compiles but does not start.
Launch Failed
File not found
Path to an html wrapper
   
What's wrong here?
   
Thansk
 





[flexcoders] Re: Trying Gumbo

2009-05-08 Thread markgoldin_2000
After I copied the whole fbpro from my 3.3 to 4.0 I am not getting the message 
about AdvancedDataGrid, but I am still getting:
import mx.collections.HierarchicalData;
1172: Definition mx.collections:HierarchicalData could not be found

--- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@... 
wrote:

 I am trying to compile my project using Flex 4 SDK. I am getting the 
 following error:
 1046: Type was not found or was not a compile-time constant: 
 AdvancedDataGrid. What am I missing?
 Also I have a share library project. When I try to compile it with Flex 4 I 
 get many errors about Matrix3D and Vector. A quick resourch discovered that I 
 have to point a project to FP 10. But my share library does not have that 
 option. What do I do?
 
 Thanks for the help.





[flexcoders] Re: Launch Failed

2009-05-08 Thread markgoldin_2000
A just tried to copy of a wrapper from another project. 
That worked. Still dont know why it stopped creating a wrapper.

--- In flexcoders@yahoogroups.com, Charles Parcell pokemonkil...@... wrote:

 Well shoot!  I missed this somehow.
 
 Are you using the nightly builds? Try updating to a newer.
 
 Charles P.
 
 
 On Fri, May 8, 2009 at 10:38 AM, markgoldin_2000
 markgoldin_2...@...wrote:
 
 
 
  I am simply trying Flex 4 SDK:
  http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4
 
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Charles
  Parcell pokemonkiller@ wrote:
  
   You have the Flex 4 compiler? Not that I am complaining about hearing
  things
   about Flex 4 but isn't that NOT a public beta yet? Shouldn't this
  question
   be for the beta list and not a public forum?
  
   Charles P.
  
  
  
   On Fri, May 8, 2009 at 10:28 AM, markgoldin_2000
   markgoldin_2000@wrote:
  
   
I am using Flex 3 Builder. I am trying to see what is going to be
  involved
to move to Flex 4 when it's out. So far, I see it's going to be tough.
Unless, it's simply buggy at this point.
   
--- In flexcoders@yahoogroups.com 
flexcoders%40yahoogroups.comflexcoders%
  40yahoogroups.com, Harish
 
Sivaramakrishnan hsivaramakrishnan@ wrote:

 are you on Flex Builder 3 using Spark components?

 On Fri, May 8, 2009 at 7:04 AM, markgoldin_2000
 markgoldin_2000@wrote:

 
 
  I am trying a simlpe Flex 4 application found in the Web:
  ?xml version=1.0 encoding=utf-8?
  fx:Application
  xmlns=http://ns.adobe.com/mxml/2009;
  xmlns:fx=library://ns.adobe.com/flex/spark
  xmlns:mx=library://ns.adobe.com/flex/halo
 
  mx:VBox
  fx:Button label=Gumbo Button/
  mx:Button label=Halo Button /
 
  fx:ButtonBar id=orangeToggleBar requiresSelection=true
  fx:dataProvider
  fx:ArrayCollection source=[Flash, Director, Catalyst,
  ColdFusion] /
  /fx:dataProvider
  /fx:ButtonBar
  /mx:VBox
  /fx:Application
 
  It compiles but does not start.
  Launch Failed
  File not found
  Path to an html wrapper
 
  What's wrong here?
 
  Thansk
   
 





[flexcoders] Help with error

2009-05-08 Thread markgoldin_2000
What would this mean:

TypeError: Error #1009: Cannot access a property or method of a null object 
reference.
at 
mx.utils::URLUtil$/getProtocol()[E:\dev\trunk\frameworks\projects\rpc\src\mx\utils\URLUtil.as:239]
at IFrame/createChildren()[D:\projects\sfcs\UFDPortal\src\IFrame.as:353]
at 
mx.core::UIComponent/initialize()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:6510]
at 
mx.core::Container/initialize()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:3053]
at 
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:6402]
at 
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:3879]
at 
mx.core::Container/addChildAt()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:2541]
at 
mx.core::Container/addChild()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:2459]
at 
mx.core::Container/createComponentFromDescriptor()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:4275]
at 
mx.containers::ViewStack/createComponentsFromDescriptors()[E:\dev\trunk\frameworks\projects\framework\src\mx\containers\ViewStack.as:1067]
at 
mx.core::Container/createChildren()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:3120]
at 
mx.core::UIComponent/initialize()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:6510]
at 
mx.core::Container/initialize()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:3053]
at 
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:6402]
at 
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:3879]
at 
mx.core::Container/addChildAt()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:2541]
at 
mx.core::Container/addChild()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:2459]
at 
mx.core::Container/createComponentFromDescriptor()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:4275]
at 
mx.core::Container/createComponentsFromDescriptors()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:4082]
at 
mx.core::Container/createChildren()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:3120]
at 
mx.core::UIComponent/initialize()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:6510]
at 
mx.core::Container/initialize()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:3053]
at 
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:6402]
at 
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:3879]
at 
mx.core::Container/addChildAt()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:2541]
at 
mx.core::Container/addChild()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:2459]
at 
mx.core::Container/createComponentFromDescriptor()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:4275]
at 
mx.core::Container/createComponentsFromDescriptors()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:4082]
at 
mx.core::Container/createChildren()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:3120]
at 
mx.core::UIComponent/initialize()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:6510]
at 
mx.core::Container/initialize()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:3053]
at 
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\UIComponent.as:6402]
at 
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:3879]
at 
mx.core::Container/addChildAt()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:2541]
at 
mx.core::Container/addChild()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:2459]
at 
mx.core::Container/createComponentFromDescriptor()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:4275]
at 
mx.core::Container/createComponentsFromDescriptors()[E:\dev\trunk\frameworks\projects\framework\src\mx\core\Container.as:4082]
  

[flexcoders] Re: Help with error

2009-05-08 Thread markgoldin_2000
This is unbelievable!
I am playing with Gumbo. I was compiling many times, but I was getting this 
error. But now, after I checked my Iframe class (did not do anything just 
opened.). It ran fine. Well, as long as it works...


--- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiver...@... wrote:

 On Friday 08 May 2009, markgoldin_2000 wrote:
  TypeError: Error #1009: Cannot access a property or method of a null object
  reference.
  D:\projects\sfcs\UFDPortal\src\IFrame.as:353
 
 I mean, I'm just *guessing* ya know, but might something be null around line 
 353 of your IFrame class ? 
 
 -- 
 Helping to confidentially maintain metrics as part of the IT team of the 
 year, '09 and '08
 
 Tom Chiverton
 Developer
 Tel: +44 0161 618 5032
 Fax: +44 0161 618 5099 
 tom.chiver...@...
 3 Hardman Square, Manchester, M3 3EB
 www.Halliwells.com
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in England and 
 Wales under registered number OC307980 whose registered office address is at 
 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list 
 of members is available for inspection at the registered office together with 
 a list of those non members who are referred to as partners. We use the word 
 ?partner? to refer to a member of the LLP, or an employee or consultant with 
 equivalent standing and qualifications. Regulated by the Solicitors 
 Regulation Authority.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named above and may 
 be confidential or legally privileged. If you are not the addressee you must 
 not read it and must not use any information contained in nor copy it nor 
 inform any person other than Halliwells LLP or the addressee of its existence 
 or contents. If you have received this email in error please delete it and 
 notify Halliwells LLP IT Department on 0870 365 2500.
 
 For more information about Halliwells LLP visit www.Halliwells.com.





[flexcoders] Does ADG work with Gumbo?

2009-05-08 Thread markgoldin_2000
That's the error I am getitng:
TypeError: Error #1007: Instantiation attempted on a non-constructor.
at 
mx.controls::AdvancedDataGridBaseEx/getSeparator()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:4149]
at 
mx.controls::AdvancedDataGridBaseEx/createHeaderSeparators()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:4186]
at 
mx.controls::AdvancedDataGrid/createHeaderSeparators()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGrid.as:1774]
at 
mx.controls::AdvancedDataGridBaseEx/drawSeparators()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:4110]
at 
mx.controls::AdvancedDataGridBaseEx/updateDisplayList()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:1880]
at 
mx.controls::AdvancedDataGrid/updateDisplayList()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGrid.as:6007]
at 
mx.controls.listClasses::AdvancedListBase/validateDisplayList()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\listClasses\AdvancedListBase.as:3072]
at 
mx.managers::LayoutManager/validateDisplayList()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:657]
at 
mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:734]

Thanks



[flexcoders] Re: Does ADG work with Gumbo?

2009-05-08 Thread markgoldin_2000
But I do have Flex 3 Professional.

--- In flexcoders@yahoogroups.com, Charles Parcell pokemonkil...@... wrote:

 Could it be a professional license thing.  Not sure why that would be the
 case for an unreleased SDK, but...
 
 Charles P.
 
 
 On Fri, May 8, 2009 at 12:05 PM, markgoldin_2000
 markgoldin_2...@...wrote:
 
  That's the error I am getitng:
  TypeError: Error #1007: Instantiation attempted on a non-constructor.
 at
  mx.controls::AdvancedDataGridBaseEx/getSeparator()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:4149]
 at
  mx.controls::AdvancedDataGridBaseEx/createHeaderSeparators()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:4186]
 at
  mx.controls::AdvancedDataGrid/createHeaderSeparators()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGrid.as:1774]
 at
  mx.controls::AdvancedDataGridBaseEx/drawSeparators()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:4110]
 at
  mx.controls::AdvancedDataGridBaseEx/updateDisplayList()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:1880]
 at
  mx.controls::AdvancedDataGrid/updateDisplayList()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGrid.as:6007]
 at
  mx.controls.listClasses::AdvancedListBase/validateDisplayList()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\listClasses\AdvancedListBase.as:3072]
 at
  mx.managers::LayoutManager/validateDisplayList()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:657]
 at
  mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:734]
 
  Thanks
 





[flexcoders] Re: Does ADG work with Gumbo?

2009-05-08 Thread markgoldin_2000
I did not compile it outside of FB.
But I have set it up in a way it compiles with no errors. That includes 
pointing a project to FP 10.

--- In flexcoders@yahoogroups.com, Charles Parcell pokemonkil...@... wrote:

 Have you tried trying to compile outside of Flex Builder? Just to check and
 see. Again, I don't know why that would be the problem but I am trying to
 come up with anything that may be causing the issue for you.
 
 Have you removed the 3.x SDK from the library list of your application?
 Perhaps there is a conflict of some sort.
 
 Have you set the compiler to build for Flash 10 rather than Flash 9?  i saw
 a thread on this forum or another just today about how to change this.
 
 Charles P.
 
 
 
 On Fri, May 8, 2009 at 2:41 PM, markgoldin_2000
 markgoldin_2...@...wrote:
 
  But I do have Flex 3 Professional.
 
  --- In flexcoders@yahoogroups.com, Charles Parcell pokemonkiller@
  wrote:
  
   Could it be a professional license thing.  Not sure why that would be the
   case for an unreleased SDK, but...
  
   Charles P.
  
  
   On Fri, May 8, 2009 at 12:05 PM, markgoldin_2000
   markgoldin_2000@wrote:
  
That's the error I am getitng:
TypeError: Error #1007: Instantiation attempted on a non-constructor.
   at
   
  mx.controls::AdvancedDataGridBaseEx/getSeparator()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:4149]
   at
   
  mx.controls::AdvancedDataGridBaseEx/createHeaderSeparators()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:4186]
   at
   
  mx.controls::AdvancedDataGrid/createHeaderSeparators()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGrid.as:1774]
   at
   
  mx.controls::AdvancedDataGridBaseEx/drawSeparators()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:4110]
   at
   
  mx.controls::AdvancedDataGridBaseEx/updateDisplayList()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGridBaseEx.as:1880]
   at
   
  mx.controls::AdvancedDataGrid/updateDisplayList()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\AdvancedDataGrid.as:6007]
   at
   
  mx.controls.listClasses::AdvancedListBase/validateDisplayList()[C:\work\flex\dmv_automation\projects\datavisualisation\src\mx\controls\listClasses\AdvancedListBase.as:3072]
   at
   
  mx.managers::LayoutManager/validateDisplayList()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:657]
   at
   
  mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\trunk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:734]
   
Thanks
   
  
 
 
 
 
  
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Alternative FAQ location:
  https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
  Search Archives:
  http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
  Links
 
 
 
 





[flexcoders] Form layout question

2009-05-08 Thread markgoldin_2000
Can fields in a form be alligned like this:

A  ___

BB ___

CCC___

D  ___

or like this:

  A___

 BB___

CCC___

  D___



Thanks  



[flexcoders] Form layout question

2009-05-08 Thread markgoldin_2000
Can fields in a form be alligned like this:

A   ___

BB   ___

CCC ___

D___

or like this:

   A  ___

 BB  ___

CCC  ___

  D  ___



Thanks





[flexcoders] Form layout question

2009-05-08 Thread markgoldin_2000
Somehow labels in my form are all left aligned, while according to this:

Aligning and spacing Form container children

All Form container labels are right-aligned, and all children are left-aligned 
in the container. You cannot override this alignment

it should be right-aligned.





[flexcoders] Application shows with a partial height

2009-05-06 Thread markgoldin_2000
What could be a cause for an application to show with a normal (full size) 
width and only about 100-130 pixels of a height?
Everything in an app. says 100% for the height.

Thanks for the help.



[flexcoders] Re: How to access Parent Component

2009-05-05 Thread markgoldin_2000
That works for me:
import mx.core.*;
private var mainApp:Object = new Object();
mainApp = mx.core.Application.application;

--- In flexcoders@yahoogroups.com, jovialrandor jovialran...@... wrote:

 I am writing a custom component.  I need to access a function from a parent 
 application.   
 
 How can I go about implementing this?   
 
 Here's what I've tried:
 
 mx:Script
   ![CDATA[
 import mx.core.Application;
 private var ParentApp:* = Application.application;
 
   ]]
 /mx:Script





[flexcoders] Tree with custom renderer data question

2009-05-01 Thread markgoldin_2000
I have a tree with following data fragment:
  ?xml version=1.0 encoding=windows-1252 ? 
- menu name=United Feather and Down menuid=1 parentid= link= 
line_id= dept_id= salesrepid=650 category=0 exclude=false 
comments=false
- menu name=Customer Service menuid=20 parentid=1 link= line_id= 
dept_id= salesrepid=650 category=4 exclude=false comments=false
- menu name=Current Inventory menuid=48 parentid=20 link= line_id= 
dept_id= salesrepid=650 category=4 exclude=false comments=false
  menu name=Price Lists menuid=50 parentid=48 link= line_id= 
dept_id= salesrepid=650 category=4 exclude=false comments=false / 
  menu name=Sku Attributes Reporting menuid=47 parentid=48 
link=http://ufd-sql2008test/ReportServer?%2fskuattributesFGrs:Command=Renderrc:Parameters=falserc:Zoom=100ExcludeOnHand=;
 line_id= dept_id= salesrepid=650 category=4 exclude=false 
comments=false / 
  menu name=Sku Price List Preparation menuid=49 parentid=48 link= 
line_id= dept_id= salesrepid=650 category=4 exclude=false 
comments=false / 
  /menu
  menu name=Customer Order Status menuid=61 parentid=20 
link=http://ufd-sql2008test/ReportServer?%2fCustomerPoStatusrs:Command=Renderrc:Parameters=falserc:Zoom=100ccustno=SalesOrder=CustomerPO=Sku=OrderDate=ShipDateFrom=ShipDateTo=;
 line_id= dept_id= salesrepid=650 category=4 exclude=false 
comments=false / 
  menu name=Customer Reporting menuid=24 parentid=20 link= line_id= 
dept_id= salesrepid=650 category=4 exclude=false comments=false / 
  menu name=Pick Plan Status menuid=62 parentid=20 
link=http://ufd-sql2008test/ReportServer?%2fPPStatusrs:Command=Renderrc:Parameters=falserc:Zoom=100ccustno=;
 line_id= dept_id= salesrepid=650 category=4 exclude=false 
comments=false / 
  menu name=Product LookUp menuid=55 parentid=20 
link=http://ufd-sql2008test/ReportServer?%2fCustserviceOpenOrdersrs:Command=Renderrc:Parameters=falserc:Zoom=100ccustno=;
 line_id= dept_id= salesrepid=650 category=4 exclude=false 
comments=false / 
  /menu
  /menu

Here is a fragment of my custom renderer code:
override public function set data(value:Object):void 
{
super.data = value;
if (val...@name == Customer Reporting  
!customerFilterSet)
{
trace(value);
var filter:customerReportingFilter = new 
customerReportingFilter();
addChild(filter);
filter.data = value;
filter.height = 25;
filter.width = 280;  
customerFilterSet = true;   

}
}
What I am saying here is when a node's text is Customer Reporting add another 
child to the item renderer.
I am having problem with value. when I trace it it's blank.

Thanks for help.



[flexcoders] Looking for Portal ideas

2009-04-30 Thread markgoldin_2000
I have a project to create a new Company Web Portal. Something where top 
management would be able to run report summaries and stuff. Any sample sites, 
interface ideas, etc?

Thanks



[flexcoders] Application's initialize event

2009-04-30 Thread markgoldin_2000
I am using this event to prepare some user information before the application 
is loaded. Or at least, I am assuming that.
On my computer I am consistly getting user data (just another server call) 
before application loads but on a user computer the application loads before 
the user data. My question is it correct to assume that 
the initialize event fires before the whole thing is loaded?

Thanks



[flexcoders] Re: Tree custom renderer

2009-04-29 Thread markgoldin_2000
Yep, that was it, thanks!
--- In flexcoders@yahoogroups.com, Yves Riel r...@... wrote:

 In your treeRendererFilter class, override the updateDisplayList method.
 In there, set the position of your customerReportingFilter based on the
 label property. Be careful since the label property, in the base
 class, is made to be the entire lenght of the item renderer minus the
 icons. So, you want to calculate the size of your
 customerReportingFilter component, in the measure function, and in the
 updateDisplayList function, you do something like:
  
 override protected function updateDisplayList(unscaledWidth:Number,
 unscaledHeight:Number):void {
  super.updateDisplayList(unscaledWidth, unscaledHeight);
  label.width -= filter.width;
  filter.x = label.x + label.width;
 }
  
 where filter is you customerReportingFilter.
  
 Yves
 
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of markgoldin_2000
 Sent: Tuesday, April 28, 2009 7:17 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Tree custom renderer
 
 
 
 
 
 Actually it adds it behind the label. I have spent some time trying to
 tweak it with no success.
 Anybody, any idea?
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 , markgoldin_2000 markgoldin_2000@ wrote:
 
  Yes, that was a problem to show an additional component.
  Now when I see it, I realize that it's going to be added in a front of
 a node text, while I want it to be after. How to do that?
  
  --- In flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com , Tracy Spratt tracy@ wrote:
  
   One thing to watch for is that manual instantiation does not always
 set a
   default height and width. Explicitly set these to see if the child
 controls
   display
   
   
   
   Tracy Spratt,
   
   Lariat Services, development services available
   
   _ 
   
   From: flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 ] On
   Behalf Of markgoldin_2000
   Sent: Tuesday, April 28, 2009 3:54 PM
   To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 
   Subject: [flexcoders] Re: Tree custom renderer
   
   
   
   
   
   
   
   
   Thanks, Tracy, I have looked into your example.
   
   Here is what I got so far. It compiles fine, but when it runs I dont
 see
   anything except regular nodes with a text.
   
   package
   {
   import mx.controls.treeClasses.*;
   public class treeRendererFilter extends TreeItemRenderer
   {
   private var _oTreeListData:TreeListData;
   public function treeRendererFilter()
   {
   super();
   }
   override public function set data(value:Object):void 
   {
   super.data = value;
   _oTreeListData = TreeListData(super.listData);
   } 
   override protected function createChildren():void 
   {
   super.createChildren();
   var filter:customerReportingFilter = new customerReportingFilter(); 
   addChild(filter);
   validateDisplayList();
   }
   }
   }
   //customerReportingFilter
   ?xml version=1.0 encoding=utf-8?
   mx:FormItem xmlns:mx=http://www.adobe.
 http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml 
   com/2006/mxml height=22 
   direction=horizontal visible=true
   mx:HBox 
   mx:RadioButtonGroup id=reportfilter/
   mx:RadioButton label=Button 1 groupName=reportfilter/
   mx:RadioButton label=Button 2 groupName=reportfilter/
   /mx:HBox 
   /mx:FormItem
   
   // tree definition
   mx:Tree id=customerServiceTree fontSize=11 width=100%
 height=99%
   labelField=@name textAlign=left
 itemRenderer=treeRendererFilter 
   creationComplete=userNavigation(Number(category4.name),
   customerServiceTree)
   itemClick=itemClickEvt(event);
   showRoot=false borderStyle=solid borderThickness=1
   /mx:Tree
   
   --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com
 ups.com,
   Tracy Spratt tracy@ wrote:
   
I have an example on www.cflex.net http://www.cflex.
   http://www.cflex.net/ http://www.cflex.net/  net/ that extends
TreeItemRenderer and adds the tree sibling lines. It might be a
 good
starting point.



Tracy Spratt,

Lariat Services, development services available

_ 

From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com
 ups.com
   [mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com
 ups.com]
   On
Behalf Of markgoldin_2000
Sent: Tuesday, April 28, 2009 2:42 PM
To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com
 ups.com
Subject: [flexcoders] Tree custom renderer








I am looking for design ideas to extend an item renderer for a
 tree
   control.
Specifically, I want to have a node that would show a regular
 label for
   its
name plus a radiogroup with 3-4 radio buttons shown horizontally
 with a
node. So, the user can specify some filters for an upcoming
 interface when

[flexcoders] Re: Tree custom renderer

2009-04-29 Thread markgoldin_2000
Not so fast :)
My item renderer with additional objects is shown properly. But the whole tree 
is not working they way it should. First, open/close symbol for the top 
folder node is shown now on a far right side, while it should be on a left. 
Second, when I open and close it, my special item renderer gets messed up.
Any idea?

Thanks

--- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@... 
wrote:

 Yep, that was it, thanks!
 --- In flexcoders@yahoogroups.com, Yves Riel riel@ wrote:
 
  In your treeRendererFilter class, override the updateDisplayList method.
  In there, set the position of your customerReportingFilter based on the
  label property. Be careful since the label property, in the base
  class, is made to be the entire lenght of the item renderer minus the
  icons. So, you want to calculate the size of your
  customerReportingFilter component, in the measure function, and in the
  updateDisplayList function, you do something like:
   
  override protected function updateDisplayList(unscaledWidth:Number,
  unscaledHeight:Number):void {
   super.updateDisplayList(unscaledWidth, unscaledHeight);
   label.width -= filter.width;
   filter.x = label.x + label.width;
  }
   
  where filter is you customerReportingFilter.
   
  Yves
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
  Behalf Of markgoldin_2000
  Sent: Tuesday, April 28, 2009 7:17 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Tree custom renderer
  
  
  
  
  
  Actually it adds it behind the label. I have spent some time trying to
  tweak it with no success.
  Anybody, any idea?
  
  --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
  , markgoldin_2000 markgoldin_2000@ wrote:
  
   Yes, that was a problem to show an additional component.
   Now when I see it, I realize that it's going to be added in a front of
  a node text, while I want it to be after. How to do that?
   
   --- In flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com , Tracy Spratt tracy@ wrote:
   
One thing to watch for is that manual instantiation does not always
  set a
default height and width. Explicitly set these to see if the child
  controls
display



Tracy Spratt,

Lariat Services, development services available

_ 

From: flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com
  [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
  ] On
Behalf Of markgoldin_2000
Sent: Tuesday, April 28, 2009 3:54 PM
To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
  
Subject: [flexcoders] Re: Tree custom renderer








Thanks, Tracy, I have looked into your example.

Here is what I got so far. It compiles fine, but when it runs I dont
  see
anything except regular nodes with a text.

package
{
import mx.controls.treeClasses.*;
public class treeRendererFilter extends TreeItemRenderer
{
private var _oTreeListData:TreeListData;
public function treeRendererFilter()
{
super();
}
override public function set data(value:Object):void 
{
super.data = value;
_oTreeListData = TreeListData(super.listData);
} 
override protected function createChildren():void 
{
super.createChildren();
var filter:customerReportingFilter = new customerReportingFilter(); 
addChild(filter);
validateDisplayList();
}
}
}
//customerReportingFilter
?xml version=1.0 encoding=utf-8?
mx:FormItem xmlns:mx=http://www.adobe.
  http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml 
com/2006/mxml height=22 
direction=horizontal visible=true
mx:HBox 
mx:RadioButtonGroup id=reportfilter/
mx:RadioButton label=Button 1 groupName=reportfilter/
mx:RadioButton label=Button 2 groupName=reportfilter/
/mx:HBox 
/mx:FormItem

// tree definition
mx:Tree id=customerServiceTree fontSize=11 width=100%
  height=99%
labelField=@name textAlign=left
  itemRenderer=treeRendererFilter 
creationComplete=userNavigation(Number(category4.name),
customerServiceTree)
itemClick=itemClickEvt(event);
showRoot=false borderStyle=solid borderThickness=1
/mx:Tree

--- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com
  ups.com,
Tracy Spratt tracy@ wrote:

 I have an example on www.cflex.net http://www.cflex.
http://www.cflex.net/ http://www.cflex.net/  net/ that extends
 TreeItemRenderer and adds the tree sibling lines. It might be a
  good
 starting point.
 
 
 
 Tracy Spratt,
 
 Lariat Services, development services available
 
 _ 
 
 From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com
  ups.com
[mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com

[flexcoders] Access Tree's current item renderer

2009-04-29 Thread markgoldin_2000
when I click on Tree's node how can I access the underlying item renderer?

Thanks



[flexcoders] Very confused with Builder

2009-04-29 Thread markgoldin_2000
I have a common library that I share between my projects. The way I have 
confugired it is like this:
I have added common library SWC to each project's libray path. When I want to 
at a component from common SWC to my project's mxml I am creating a new 
namespace xmlns:ns1=modulecode.* where modulecode is under src of my common 
library. Then in my mxml file that component is described as following:
..
mx:Component
modulecode:boldDataGridCell   

/modulecode:boldDataGridCell
/mx:Component
...
Works fine. Now, I have added another component called 
checkBoxStopPropagation to the common library but the same approach is not 
working. I am getting:
Could not resolve ns1:checkBoxStopPropagation to a component implementation.
Plus, intellisence is not even showing that component while it show the other 
one. What's a deal here?

Thanks



[flexcoders] Very confused with Builder

2009-04-29 Thread markgoldin_2000
I have a common library that I share between my projects. The way I have
confugired it is like this:
I have added common library SWC to each project's libray path. When I want to at
a component from common SWC to my project's mxml I am creating a new namespace
xmlns:ns1=modulecode.* where modulecode is under src of my common library.
Then in my mxml file that component is described as following:
..
mx:Component
ns1:boldDataGridCell
/ns1:boldDataGridCell
/mx:Component
...
Works fine. Now, I have added another component called checkBoxStopPropagation
to the common library but the same approach is not working. I am getting:
Could not resolve ns1:checkBoxStopPropagation to a component implementation.
Plus, intellisence is not even showing that component while it show the other
one. What's a deal here?

Thanks




[flexcoders] Re: Very confused with Builder

2009-04-29 Thread markgoldin_2000
I see. Should I manually check a class there every time I am creating one?

--- In flexcoders@yahoogroups.com, Kenneth Sutherland 
kenneth.sutherl...@... wrote:

 Have you made sure that the added checkBoxStopPropagation class is
 actually getting built into the swc.
 
 When you put in new classes to your library project in FB it doesn't
 automatically include them to get built into the SWC.  
 
 Right click your library project - properties - flex lib build path,
 then look under then 'Classes' tab to see what is actually being
 included.
 
  
 
 HTH Kenneth.
 
  
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of markgoldin_2000
 Sent: 29 April 2009 16:07
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Very confused with Builder
 
  
 
 
 
 
 
 
 I have a common library that I share between my projects. The way I have
 confugired it is like this:
 I have added common library SWC to each project's libray path. When I
 want to at a component from common SWC to my project's mxml I am
 creating a new namespace xmlns:ns1=modulecode.* where modulecode is
 under src of my common library. Then in my mxml file that component is
 described as following:
 ..
 mx:Component
 modulecode:boldDataGridCell 
 /modulecode:boldDataGridCell
 /mx:Component
 ...
 Works fine. Now, I have added another component called
 checkBoxStopPropagation to the common library but the same approach is
 not working. I am getting:
 Could not resolve ns1:checkBoxStopPropagation to a component
 implementation.
 Plus, intellisence is not even showing that component while it show the
 other one. What's a deal here?
 
 Thanks
 
 
 
 Disclaimer 
 ---
 This electronic message contains information which may be privileged and 
 confidential. The information is intended to be for the use of the 
 individual(s) or entity named above. If you are not the intended recipient, 
 be aware that any disclosure, copying, distribution or use of the contents of 
 this information is prohibited. If you have received this electronic message 
 in error, please notify us by telephone on 0131 476 6000 and delete the 
 material from your computer. 
 Registered in Scotland number: SC 172507. 
 Registered office address: Quay House 142 Commercial Street Edinburgh EH6 
 6LB. 
 
 This email message has been scanned for viruses by Mimecast.
 ---





[flexcoders] Painting in Tree

2009-04-29 Thread markgoldin_2000
If I want to control painting when I scroll up and down a tree control which 
event(s) to override?

Thanks



[flexcoders] Re: Tree custom renderer

2009-04-29 Thread markgoldin_2000
Yes, I got it working too. 
Thanks.

--- In flexcoders@yahoogroups.com, Yves Riel r...@... wrote:

 Works fine for me. You probably have another issue in there. This is
 what I had for item renderer. The other classes were not touched.
  
 package
 {
  import mx.controls.treeClasses.*;
  public class treeRendererFilter extends TreeItemRenderer
  {
   private var _oTreeListData:TreeListData;
   public var filter:customerReportingFilter = null;
   
   public function treeRendererFilter()
   {
super();
   }
   override public function set data(value:Object):void
   {
super.data = value;
_oTreeListData = TreeListData(super.listData);
   }
   override protected function createChildren():void
   {
super.createChildren();
filter = new customerReportingFilter();
filter.width = 200;
addChild(filter);
validateDisplayList();
   }
   
   override protected function updateDisplayList(unscaledWidth:Number,
 unscaledHeight:Number):void {
super.updateDisplayList(unscaledWidth, unscaledHeight);
label.width -= filter.width;
filter.x = label.x + label.width;
   }
  }
 }
 
 
 
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of markgoldin_2000
 Sent: Wednesday, April 29, 2009 9:57 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Tree custom renderer
 
 
 
 
 
 
 Not so fast :)
 My item renderer with additional objects is shown properly. But the
 whole tree is not working they way it should. First, open/close symbol
 for the top folder node is shown now on a far right side, while it
 should be on a left. Second, when I open and close it, my special item
 renderer gets messed up.
 Any idea?
 
 Thanks
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 , markgoldin_2000 markgoldin_2000@ wrote:
 
  Yep, that was it, thanks!
  --- In flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com , Yves Riel riel@ wrote:
  
   In your treeRendererFilter class, override the updateDisplayList
 method.
   In there, set the position of your customerReportingFilter based on
 the
   label property. Be careful since the label property, in the base
   class, is made to be the entire lenght of the item renderer minus
 the
   icons. So, you want to calculate the size of your
   customerReportingFilter component, in the measure function, and in
 the
   updateDisplayList function, you do something like:
   
   override protected function updateDisplayList(unscaledWidth:Number,
   unscaledHeight:Number):void {
   super.updateDisplayList(unscaledWidth, unscaledHeight);
   label.width -= filter.width;
   filter.x = label.x + label.width;
   }
   
   where filter is you customerReportingFilter.
   
   Yves
   
   
   From: flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 ] On
   Behalf Of markgoldin_2000
   Sent: Tuesday, April 28, 2009 7:17 PM
   To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 
   Subject: [flexcoders] Re: Tree custom renderer
   
   
   
   
   
   Actually it adds it behind the label. I have spent some time trying
 to
   tweak it with no success.
   Anybody, any idea?
   
   --- In flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com
 mailto:flexcoders%40yahoogroups.com
   , markgoldin_2000 markgoldin_2000@ wrote:
   
Yes, that was a problem to show an additional component.
Now when I see it, I realize that it's going to be added in a
 front of
   a node text, while I want it to be after. How to do that?

--- In flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com 
   mailto:flexcoders%40yahoogroups.com , Tracy Spratt tracy@
 wrote:

 One thing to watch for is that manual instantiation does not
 always
   set a
 default height and width. Explicitly set these to see if the
 child
   controls
 display
 
 
 
 Tracy Spratt,
 
 Lariat Services, development services available
 
 _ 
 
 From: flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com 
   mailto:flexcoders%40yahoogroups.com
   [mailto:flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com
 mailto:flexcoders%40yahoogroups.com
   ] On
 Behalf Of markgoldin_2000
 Sent: Tuesday, April 28, 2009 3:54 PM
 To: flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com
 mailto:flexcoders%40yahoogroups.com
   
 Subject: [flexcoders] Re: Tree custom renderer
 
 
 
 
 
 
 
 
 Thanks, Tracy, I have looked into your example.
 
 Here is what I got so far. It compiles fine, but when it runs I
 dont
   see
 anything except regular nodes with a text.
 
 package
 {
 import mx.controls.treeClasses.*;
 public class treeRendererFilter extends TreeItemRenderer
 {
 private var _oTreeListData:TreeListData

[flexcoders] Re: Which rows in a datagrid contain modified items (and which don't) ?

2009-04-29 Thread markgoldin_2000
How about to have a flag field in your data?
every time a row is modified set the flag to true for that row. Then filter 
data on that flag and send back modified rows only.

--- In flexcoders@yahoogroups.com, Libby libbychan...@... wrote:

 Hi, People
 
 I have a datagrid where user can modify a few rows out of 200 - 500 then 
 click save. I only want to hit the database with the changed rows. Is there a 
 technique whereby I can identify the dirty rows, pluck them out, and ship 
 only them off to the database, without going thru and comparing column by 
 column, row by row?
 
 Thanks,
 Libby





[flexcoders] Re: Access Tree's current item renderer

2009-04-29 Thread markgoldin_2000
Yes, I agree with the later.
But in case, I have an excuse :)
I have built a custom renderer for my Tree which has been described in another 
tread. This renderer would have a couple of checkboxes for some nodes. When a 
user selects the node I need to know what checkboxes are checked. The easeast 
way is just to get that from the current renderer, but the right way is to have 
an underlying data which is what I edded up with.

--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote:

 Also, the renderer will be the event.target.
 
  
 
 But be sure you really need this.  Such questions usually indicate
 misunderstanding itemRenderers.  There are few use cases where a reference
 to an itemRenderer is useful.
 
  
 
 Tracy Spratt,
 
 Lariat Services, development services available
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of Yves Riel
 Sent: Wednesday, April 29, 2009 3:40 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Access Tree's current item renderer
 
  
 
 
 
 
 
 
 The ListEvent return from the itemClick event contains a property called
 itemRenderer.
 
  
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of markgoldin_2000
 Sent: Wednesday, April 29, 2009 10:15 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Access Tree's current item renderer
 
 when I click on Tree's node how can I access the underlying item renderer?
 
 Thanks





[flexcoders] Tree custom renderer

2009-04-28 Thread markgoldin_2000
I am looking for design ideas to extend an item renderer for a tree control. 
Specifically, I want to have a node that would show a regular label for its 
name plus a radiogroup with 3-4 radio buttons shown horizontally with a node. 
So, the user can specify some filters for an upcoming interface when he selects 
a node.

Any clue?

Thanks



[flexcoders] Re: Tree custom renderer

2009-04-28 Thread markgoldin_2000
Thanks, Tracy, I have looked into your example.

Here is what I got so far. It compiles fine, but when it runs I dont see 
anything except regular nodes with a text.

package
{
import mx.controls.treeClasses.*;
public class treeRendererFilter extends TreeItemRenderer
{
private var _oTreeListData:TreeListData;
public function treeRendererFilter()
{
super();
}
override public function set data(value:Object):void 
{
super.data = value;
_oTreeListData = TreeListData(super.listData);
}   
override protected function createChildren():void 
{
super.createChildren();
var filter:customerReportingFilter = new 
customerReportingFilter(); 
addChild(filter);
validateDisplayList();
}
}
}
//customerReportingFilter
?xml version=1.0 encoding=utf-8?
mx:FormItem xmlns:mx=http://www.adobe.com/2006/mxml; height=22 
direction=horizontal visible=true
mx:HBox   
mx:RadioButtonGroup id=reportfilter/
mx:RadioButton label=Button 1 groupName=reportfilter/
mx:RadioButton label=Button 2 groupName=reportfilter/
/mx:HBox  
/mx:FormItem

// tree definition
mx:Tree id=customerServiceTree fontSize=11 width=100% height=99%
labelField=@name textAlign=left 
itemRenderer=treeRendererFilter 

creationComplete=userNavigation(Number(category4.name), customerServiceTree)
itemClick=itemClickEvt(event);
showRoot=false 
borderStyle=solid borderThickness=1
/mx:Tree


--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote:

 I have an example on www.cflex.net http://www.cflex.net/  that extends
 TreeItemRenderer and adds the tree sibling lines.  It might be a good
 starting point.
 
  
 
 Tracy Spratt,
 
 Lariat Services, development services available
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of markgoldin_2000
 Sent: Tuesday, April 28, 2009 2:42 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Tree custom renderer
 
  
 
 
 
 
 
 
 I am looking for design ideas to extend an item renderer for a tree control.
 Specifically, I want to have a node that would show a regular label for its
 name plus a radiogroup with 3-4 radio buttons shown horizontally with a
 node. So, the user can specify some filters for an upcoming interface when
 he selects a node.
 
 Any clue?
 
 Thanks





[flexcoders] Re: Tree custom renderer

2009-04-28 Thread markgoldin_2000
Yes, that was a problem to show an additional component.
Now when I see it, I realize that it's going to be added in a front of a node 
text, while I want it to be after. How to do that?

--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote:

 One thing to watch for is that manual instantiation does not always set a
 default height and width.  Explicitly set these to see if the child controls
 display
 
  
 
 Tracy Spratt,
 
 Lariat Services, development services available
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of markgoldin_2000
 Sent: Tuesday, April 28, 2009 3:54 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Tree custom renderer
 
  
 
 
 
 
 
 
 Thanks, Tracy, I have looked into your example.
 
 Here is what I got so far. It compiles fine, but when it runs I dont see
 anything except regular nodes with a text.
 
 package
 {
 import mx.controls.treeClasses.*;
 public class treeRendererFilter extends TreeItemRenderer
 {
 private var _oTreeListData:TreeListData;
 public function treeRendererFilter()
 {
 super();
 }
 override public function set data(value:Object):void 
 {
 super.data = value;
 _oTreeListData = TreeListData(super.listData);
 } 
 override protected function createChildren():void 
 {
 super.createChildren();
 var filter:customerReportingFilter = new customerReportingFilter(); 
 addChild(filter);
 validateDisplayList();
 }
 }
 }
 //customerReportingFilter
 ?xml version=1.0 encoding=utf-8?
 mx:FormItem xmlns:mx=http://www.adobe. http://www.adobe.com/2006/mxml
 com/2006/mxml height=22 
 direction=horizontal visible=true
 mx:HBox 
 mx:RadioButtonGroup id=reportfilter/
 mx:RadioButton label=Button 1 groupName=reportfilter/
 mx:RadioButton label=Button 2 groupName=reportfilter/
 /mx:HBox 
 /mx:FormItem
 
 // tree definition
 mx:Tree id=customerServiceTree fontSize=11 width=100% height=99%
 labelField=@name textAlign=left itemRenderer=treeRendererFilter 
 creationComplete=userNavigation(Number(category4.name),
 customerServiceTree)
 itemClick=itemClickEvt(event);
 showRoot=false borderStyle=solid borderThickness=1
 /mx:Tree
 
 --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
 Tracy Spratt tracy@ wrote:
 
  I have an example on www.cflex.net http://www.cflex.
 http://www.cflex.net/ net/ that extends
  TreeItemRenderer and adds the tree sibling lines. It might be a good
  starting point.
  
  
  
  Tracy Spratt,
  
  Lariat Services, development services available
  
  _ 
  
  From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com
 [mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com]
 On
  Behalf Of markgoldin_2000
  Sent: Tuesday, April 28, 2009 2:42 PM
  To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com
  Subject: [flexcoders] Tree custom renderer
  
  
  
  
  
  
  
  
  I am looking for design ideas to extend an item renderer for a tree
 control.
  Specifically, I want to have a node that would show a regular label for
 its
  name plus a radiogroup with 3-4 radio buttons shown horizontally with a
  node. So, the user can specify some filters for an upcoming interface when
  he selects a node.
  
  Any clue?
  
  Thanks
 





[flexcoders] Re: Tree custom renderer

2009-04-28 Thread markgoldin_2000
Actually it adds it behind the label. I have spent some time trying to tweak it 
with no success.
Anybody, any idea?


--- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@... 
wrote:

 Yes, that was a problem to show an additional component.
 Now when I see it, I realize that it's going to be added in a front of a node 
 text, while I want it to be after. How to do that?
 
 --- In flexcoders@yahoogroups.com, Tracy Spratt tracy@ wrote:
 
  One thing to watch for is that manual instantiation does not always set a
  default height and width.  Explicitly set these to see if the child controls
  display
  
   
  
  Tracy Spratt,
  
  Lariat Services, development services available
  
_  
  
  From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
  Behalf Of markgoldin_2000
  Sent: Tuesday, April 28, 2009 3:54 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Tree custom renderer
  
   
  
  
  
  
  
  
  Thanks, Tracy, I have looked into your example.
  
  Here is what I got so far. It compiles fine, but when it runs I dont see
  anything except regular nodes with a text.
  
  package
  {
  import mx.controls.treeClasses.*;
  public class treeRendererFilter extends TreeItemRenderer
  {
  private var _oTreeListData:TreeListData;
  public function treeRendererFilter()
  {
  super();
  }
  override public function set data(value:Object):void 
  {
  super.data = value;
  _oTreeListData = TreeListData(super.listData);
  } 
  override protected function createChildren():void 
  {
  super.createChildren();
  var filter:customerReportingFilter = new customerReportingFilter(); 
  addChild(filter);
  validateDisplayList();
  }
  }
  }
  //customerReportingFilter
  ?xml version=1.0 encoding=utf-8?
  mx:FormItem xmlns:mx=http://www.adobe. http://www.adobe.com/2006/mxml
  com/2006/mxml height=22 
  direction=horizontal visible=true
  mx:HBox 
  mx:RadioButtonGroup id=reportfilter/
  mx:RadioButton label=Button 1 groupName=reportfilter/
  mx:RadioButton label=Button 2 groupName=reportfilter/
  /mx:HBox 
  /mx:FormItem
  
  // tree definition
  mx:Tree id=customerServiceTree fontSize=11 width=100% height=99%
  labelField=@name textAlign=left itemRenderer=treeRendererFilter 
  creationComplete=userNavigation(Number(category4.name),
  customerServiceTree)
  itemClick=itemClickEvt(event);
  showRoot=false borderStyle=solid borderThickness=1
  /mx:Tree
  
  --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
  Tracy Spratt tracy@ wrote:
  
   I have an example on www.cflex.net http://www.cflex.
  http://www.cflex.net/ net/ that extends
   TreeItemRenderer and adds the tree sibling lines. It might be a good
   starting point.
   
   
   
   Tracy Spratt,
   
   Lariat Services, development services available
   
   _ 
   
   From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com
  [mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com]
  On
   Behalf Of markgoldin_2000
   Sent: Tuesday, April 28, 2009 2:42 PM
   To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com
   Subject: [flexcoders] Tree custom renderer
   
   
   
   
   
   
   
   
   I am looking for design ideas to extend an item renderer for a tree
  control.
   Specifically, I want to have a node that would show a regular label for
  its
   name plus a radiogroup with 3-4 radio buttons shown horizontally with a
   node. So, the user can specify some filters for an upcoming interface when
   he selects a node.
   
   Any clue?
   
   Thanks
  
 





[flexcoders] Re: Gumbo and ADG

2009-04-27 Thread markgoldin_2000
Still cannot get it to work.
First, I have a library project which I share between my applications as a 
common library. This project does not a place where I can specify Player 
version. Thus I can't compile it because it keeps saying Type was not found or 
was not a compile-time constant: Matrix3D. I have changed the library project 
to use SDK 3.3. Now I can get thru a compiler on ny application project. But 
for that one it cannot find the html wrapper file. How can I have Builder 
create it?

Thanks

--- In flexcoders@yahoogroups.com, Gregor Kiddie gkid...@... wrote:

 You need to copy the data visualization swcs into your Flex 4 SDK from
 your Flex 3 SDK (don't forget the resource bundles to go with them!)
 
  
 
 Gk.
 
 Gregor Kiddie
 Senior Developer
 INPS
 
 Tel:   01382 564343
 
 Registered address: The Bread Factory, 1a Broughton Street, London SW8
 3QJ
 
 Registered Number: 1788577
 
 Registered in the UK
 
 Visit our Internet Web site at www.inps.co.uk
 blocked::http://www.inps.co.uk/ 
 
 The information in this internet email is confidential and is intended
 solely for the addressee. Access, copying or re-use of information in it
 by anyone else is not authorised. Any views or opinions presented are
 solely those of the author and do not necessarily represent those of
 INPS or any of its affiliates. If you are not the intended recipient
 please contact is.helpd...@...
 
 
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of markgoldin_2000
 Sent: 24 April 2009 18:49
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Gumbo and ADG
 
  
 
 
 
 
 
 
 I have Flex 3 professional. But if compile a project with Gumbo I am
 getting:
 Severity and Description Path Resource Location Creation Time Id
 1046: Type was not found or was not a compile-time constant:
 AdvancedDataGrid.
 Do I need to download something else?





[flexcoders] Gumbo and ADG

2009-04-24 Thread markgoldin_2000
I have Flex 3 professional. But if compile a project with Gumbo I am getting:
Severity and DescriptionPathResourceLocation
Creation Time   Id
1046: Type was not found or was not a compile-time constant: AdvancedDataGrid.
Do I need to download something else?



[flexcoders] Is it just me or anyone else has the same problem

2009-04-24 Thread markgoldin_2000
Is it just me but it takes hours for my message to appear. Anyone has same 
problem?



[flexcoders] Re: HTTPService mistery

2009-04-24 Thread markgoldin_2000
I have compiled it with Gumbo, latest build, and it's even worse.
Anyone, please share any idea.

--- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@... 
wrote:

 Posting again...
 It is e4x.
 It has been identified, that it works fine for users who are local admins on 
 the Web box. How that can be???
 
 
 --- In flexcoders@yahoogroups.com, Tracy Spratt tracy@ wrote:
 
  What is the result format of the HTTPService call?  The default object
  causes the flex client to process the incoming data into a tree of dynamic
  objects.  The speed of this process would be subject to the local cpu.  You
  could set resultFormat to e4x, and re-run the benchmarks.
  
   
  
  Tracy Spratt,
  
  Lariat Services, development services available
  
_  
  
  From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
  Behalf Of markgoldin_2000
  Sent: Wednesday, April 22, 2009 11:15 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: HTTPService mistery
  
   
  
  
  
  
  
  
  While it seems to me I am missing something obvious I am pretty sertant it
  is somewhere in the send command. I have traced an execution to the point
  that for a low end box it takes about 5 sec. between a send command and an
  HTTPService callback function call. I have timed my server and it does not
  take time at all. I timed the server for both my development computer and a
  low level box. Server time is exactly the same. (what else whould one
  expect?) But time it tales for an execution to get into a callback function
  is very different. So, I am assuming that it takes some time for a low end
  box to send a data request to the server.
  
  --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
  Tracy Spratt tracy@ wrote:
  
   I would not expect the quality of the client to significantly affect the
   speed of the data service call.
   
   
   
   However, a slow computer *will* have issues with rendering the content.
   Have you determined definitively that the speed issue is with the data
   service call and not the rendering?
   
   
   
   Tracy Spratt,
   
   Lariat Services, development services available
   
   _ 
   
   From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com
  [mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com]
  On
   Behalf Of markgoldin_2000
   Sent: Wednesday, April 22, 2009 7:06 PM
   To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com
   Subject: [flexcoders] HTTPService mistery
   
   
   
   
   
   
   
   
   Is it possible that on low end computers HTTPService.send command would
  take
   up to 10 or more times longer than on a more or less decent computer? Is
   there a way of tracking HTTPService.send command?
   
   Thanks
  
 





[flexcoders] Type was not found or was not a compile-time constant: Matrix3D

2009-04-24 Thread markgoldin_2000
This is another message when I compile with Gumbo. I have set Player to 10. 
Please help.



[flexcoders] Re: HTTPService mistery

2009-04-24 Thread markgoldin_2000
Ok.
I am having a problem with one of my Flex applications.
When a regular user login is used it takes 10 or more times longer for data to 
appear then when I use mine which is a local admin on the web server box.  I 
have been able to narrow the troubling application to a point that I could see 
that it is Flex doing something before my back end page (classic ASP) gets hit. 
Precisely, an extra time is taken in the HTTPService.send command. So, after 
that command is sent and the ASP page gets hit it takes about 5 or even more 
seconds, when  with my login it takes no time. It looks like some kind of 
negotiation is going on between Flex and Web Server.
I have compiled this application using Gumbo latest build and it was even worse.
My web server is windows 2003 R2.
Client Windows 2000 and Windows XP.

--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote:

 How about fully and clearly re-describing the problem, the environments, and
 what you have tried so far.  The thread history has gotten muddy.
 
  
 
 Tracy Spratt,
 
 Lariat Services, development services available
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of markgoldin_2000
 Sent: Friday, April 24, 2009 1:10 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: HTTPService mistery
 
  
 
 
 
 
 
 
 I have compiled it with Gumbo, latest build, and it's even worse.
 Anyone, please share any idea.
 
 --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
 markgoldin_2000 markgoldin_2000@ wrote:
 
  Posting again...
  It is e4x.
  It has been identified, that it works fine for users who are local admins
 on the Web box. How that can be???
  
  
  --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
 Tracy Spratt tracy@ wrote:
  
   What is the result format of the HTTPService call? The default object
   causes the flex client to process the incoming data into a tree of
 dynamic
   objects. The speed of this process would be subject to the local cpu.
 You
   could set resultFormat to e4x, and re-run the benchmarks.
   
   
   
   Tracy Spratt,
   
   Lariat Services, development services available
   
   _ 
   
   From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com
 [mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com]
 On
   Behalf Of markgoldin_2000
   Sent: Wednesday, April 22, 2009 11:15 PM
   To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com
   Subject: [flexcoders] Re: HTTPService mistery
   
   
   
   
   
   
   
   
   While it seems to me I am missing something obvious I am pretty sertant
 it
   is somewhere in the send command. I have traced an execution to the
 point
   that for a low end box it takes about 5 sec. between a send command and
 an
   HTTPService callback function call. I have timed my server and it does
 not
   take time at all. I timed the server for both my development computer
 and a
   low level box. Server time is exactly the same. (what else whould one
   expect?) But time it tales for an execution to get into a callback
 function
   is very different. So, I am assuming that it takes some time for a low
 end
   box to send a data request to the server.
   
   --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com
 ups.com,
   Tracy Spratt tracy@ wrote:
   
I would not expect the quality of the client to significantly affect
 the
speed of the data service call.



However, a slow computer *will* have issues with rendering the
 content.
Have you determined definitively that the speed issue is with the data
service call and not the rendering?



Tracy Spratt,

Lariat Services, development services available

_ 

From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com
 ups.com
   [mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com
 ups.com]
   On
Behalf Of markgoldin_2000
Sent: Wednesday, April 22, 2009 7:06 PM
To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com
Subject: [flexcoders] HTTPService mistery








Is it possible that on low end computers HTTPService.send command
 would
   take
up to 10 or more times longer than on a more or less decent computer?
 Is
there a way of tracking HTTPService.send command?

Thanks
   
  
 





[flexcoders] Re: HTTPService mistery

2009-04-24 Thread markgoldin_2000
This is presisely correct.

--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote:

 Ok, good, am I correct in summarizing it by saying that an HTTPService call
 takes much longer between send() and calling the result handler  if a user
 is not a local admin?
 
  
 
 That is bizarre.  I cannot think of a reason whey that might occur, but will
 continue to think.  Security/permissions issues should be either/or.
 
  
 
 I hope others here have not stopped following this thread and might have
 some thoughts, because I am bewildered.  If you do not get any help in the
 next day or so, I think it would be acceptable to start another thread.
 
  
 
 Tracy Spratt,
 
 Lariat Services, development services available
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of markgoldin_2000
 Sent: Friday, April 24, 2009 6:04 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: HTTPService mistery
 
  
 
 
 
 
 
 
 Ok.
 I am having a problem with one of my Flex applications.
 When a regular user login is used it takes 10 or more times longer for data
 to appear then when I use mine which is a local admin on the web server box.
 I have been able to narrow the troubling application to a point that I could
 see that it is Flex doing something before my back end page (classic ASP)
 gets hit. Precisely, an extra time is taken in the HTTPService.send command.
 So, after that command is sent and the ASP page gets hit it takes about 5 or
 even more seconds, when with my login it takes no time. It looks like some
 kind of negotiation is going on between Flex and Web Server.
 I have compiled this application using Gumbo latest build and it was even
 worse.
 My web server is windows 2003 R2.
 Client Windows 2000 and Windows XP.
 
 --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
 Tracy Spratt tracy@ wrote:
 
  How about fully and clearly re-describing the problem, the environments,
 and
  what you have tried so far. The thread history has gotten muddy.
  
  
  
  Tracy Spratt,
  
  Lariat Services, development services available
  
  _ 
  
  From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com
 [mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com]
 On
  Behalf Of markgoldin_2000
  Sent: Friday, April 24, 2009 1:10 PM
  To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com
  Subject: [flexcoders] Re: HTTPService mistery
  
  
  
  
  
  
  
  
  I have compiled it with Gumbo, latest build, and it's even worse.
  Anyone, please share any idea.
  
  --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
  markgoldin_2000 markgoldin_2000@ wrote:
  
   Posting again...
   It is e4x.
   It has been identified, that it works fine for users who are local
 admins
  on the Web box. How that can be???
   
   
   --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com
 ups.com,
  Tracy Spratt tracy@ wrote:
   
What is the result format of the HTTPService call? The default
 object
causes the flex client to process the incoming data into a tree of
  dynamic
objects. The speed of this process would be subject to the local cpu.
  You
could set resultFormat to e4x, and re-run the benchmarks.



Tracy Spratt,

Lariat Services, development services available

_ 

From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com
 ups.com
  [mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com]
  On
Behalf Of markgoldin_2000
Sent: Wednesday, April 22, 2009 11:15 PM
To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com
Subject: [flexcoders] Re: HTTPService mistery








While it seems to me I am missing something obvious I am pretty
 sertant
  it
is somewhere in the send command. I have traced an execution to the
  point
that for a low end box it takes about 5 sec. between a send command
 and
  an
HTTPService callback function call. I have timed my server and it does
  not
take time at all. I timed the server for both my development computer
  and a
low level box. Server time is exactly the same. (what else whould one
expect?) But time it tales for an execution to get into a callback
  function
is very different. So, I am assuming that it takes some time for a low
  end
box to send a data request to the server.

--- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com
  ups.com,
Tracy Spratt tracy@ wrote:

 I would not expect the quality of the client to significantly affect
  the
 speed of the data service call.
 
 
 
 However, a slow computer *will* have issues with rendering the
  content.
 Have you determined definitively that the speed issue is with the
 data
 service call and not the rendering?
 
 
 
 Tracy Spratt,
 
 Lariat Services

[flexcoders] Re: HTTPService mistery

2009-04-23 Thread markgoldin_2000
It is e4x.
What have been identified, is that it runs fine for users who are local admin 
on the Web box ??

--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote:

 What is the result format of the HTTPService call?  The default object
 causes the flex client to process the incoming data into a tree of dynamic
 objects.  The speed of this process would be subject to the local cpu.  You
 could set resultFormat to e4x, and re-run the benchmarks.
 
  
 
 Tracy Spratt,
 
 Lariat Services, development services available
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of markgoldin_2000
 Sent: Wednesday, April 22, 2009 11:15 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: HTTPService mistery
 
  
 
 
 
 
 
 
 While it seems to me I am missing something obvious I am pretty sertant it
 is somewhere in the send command. I have traced an execution to the point
 that for a low end box it takes about 5 sec. between a send command and an
 HTTPService callback function call. I have timed my server and it does not
 take time at all. I timed the server for both my development computer and a
 low level box. Server time is exactly the same. (what else whould one
 expect?) But time it tales for an execution to get into a callback function
 is very different. So, I am assuming that it takes some time for a low end
 box to send a data request to the server.
 
 --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
 Tracy Spratt tracy@ wrote:
 
  I would not expect the quality of the client to significantly affect the
  speed of the data service call.
  
  
  
  However, a slow computer *will* have issues with rendering the content.
  Have you determined definitively that the speed issue is with the data
  service call and not the rendering?
  
  
  
  Tracy Spratt,
  
  Lariat Services, development services available
  
  _ 
  
  From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com
 [mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com]
 On
  Behalf Of markgoldin_2000
  Sent: Wednesday, April 22, 2009 7:06 PM
  To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com
  Subject: [flexcoders] HTTPService mistery
  
  
  
  
  
  
  
  
  Is it possible that on low end computers HTTPService.send command would
 take
  up to 10 or more times longer than on a more or less decent computer? Is
  there a way of tracking HTTPService.send command?
  
  Thanks
 





[flexcoders] Re: HTTPService mistery

2009-04-23 Thread markgoldin_2000
Posting again...
It is e4x.
It has been identified, that it works fine for users who are local admins on 
the Web box. How that can be???


--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote:

 What is the result format of the HTTPService call?  The default object
 causes the flex client to process the incoming data into a tree of dynamic
 objects.  The speed of this process would be subject to the local cpu.  You
 could set resultFormat to e4x, and re-run the benchmarks.
 
  
 
 Tracy Spratt,
 
 Lariat Services, development services available
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of markgoldin_2000
 Sent: Wednesday, April 22, 2009 11:15 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: HTTPService mistery
 
  
 
 
 
 
 
 
 While it seems to me I am missing something obvious I am pretty sertant it
 is somewhere in the send command. I have traced an execution to the point
 that for a low end box it takes about 5 sec. between a send command and an
 HTTPService callback function call. I have timed my server and it does not
 take time at all. I timed the server for both my development computer and a
 low level box. Server time is exactly the same. (what else whould one
 expect?) But time it tales for an execution to get into a callback function
 is very different. So, I am assuming that it takes some time for a low end
 box to send a data request to the server.
 
 --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
 Tracy Spratt tracy@ wrote:
 
  I would not expect the quality of the client to significantly affect the
  speed of the data service call.
  
  
  
  However, a slow computer *will* have issues with rendering the content.
  Have you determined definitively that the speed issue is with the data
  service call and not the rendering?
  
  
  
  Tracy Spratt,
  
  Lariat Services, development services available
  
  _ 
  
  From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com
 [mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com]
 On
  Behalf Of markgoldin_2000
  Sent: Wednesday, April 22, 2009 7:06 PM
  To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com
  Subject: [flexcoders] HTTPService mistery
  
  
  
  
  
  
  
  
  Is it possible that on low end computers HTTPService.send command would
 take
  up to 10 or more times longer than on a more or less decent computer? Is
  there a way of tracking HTTPService.send command?
  
  Thanks
 





[flexcoders] testing posting

2009-04-23 Thread markgoldin_2000
I can't post anymore



[flexcoders] testing posting

2009-04-23 Thread markgoldin_2000
Is it working??



  1   2   3   4   5   6   7   >