[flexcoders] Re: error 2032 Stream Error

2007-05-08 Thread scott_flex
flex doesn't show what the server fault is. would help. --- In flexcoders@yahoogroups.com, scott_flex skrause@ wrote: I just started getting the 2032 error when calling a web service and for the life of me cannot determine what's causing it. Code snippet looks like: var

[flexcoders] Re: error 2032 Stream Error

2007-05-08 Thread scott_flex
different now. --Scott --- In flexcoders@yahoogroups.com, scott_flex [EMAIL PROTECTED] wrote: Well, i'm glad i'm not the only one, except that i released my app and now it seems every other time or so i get this error...i'm in a tight jam right now. It appears but NOT always, that when

[flexcoders] error 2032 Stream Error

2007-05-07 Thread scott_flex
I just started getting the 2032 error when calling a web service and for the life of me cannot determine what's causing it. Code snippet looks like: var ws:WebService = new WebService() ws.addEventListener(fault, faultHandler); // alerts error

[flexcoders] Re: RIA: record insert best practices

2007-05-06 Thread scott_flex
I'm no expert in Flex and RIA development but i have implemented creating the ID on the client using the createUUID to generate a GUID which by all practible means it will be globally unique. I found this to work well, plus it saves me ALL the hassle of generating a temporary ID and then get

[flexcoders] Re: Html Text does NOT print in same format as rendered on scre

2007-05-05 Thread scott_flex
possible to overlay the no-smoothing bitmap with a transparent background over the smoothed version? John On May 3, 2007, at 10:55 PM, scott_flex wrote: Thanks for the example John! However, when you printed your output to PDF did you lose a lot of text quality? Printing

[flexcoders] Re: Shouldn't this VBox have a scrollbar?

2007-05-05 Thread scott_flex
You would think so... however, i have found that you have to set the height of a vBox to a pixel height, not percentage to get the scrollbars to act the way you want them to. By default a vBox's height will autosize to the combined height, plus verticalGap... of all it's children, UNLESS you

[flexcoders] Re: Shouldn't this VBox have a scrollbar?

2007-05-05 Thread scott_flex
Oh, and one more thing, hopefully i don't butcher this. As explain to me before, using constrained layout on objects does not actually resize them, just anchors them based on teh top, bottom, left and right properties. That's why you can't anchor a vBox on all sides and expect the scrollbars

[flexcoders] Any good documentation on printing text.....

2007-05-03 Thread scott_flex
Any really good articles on the fine points of printing text? Or am i just running into bugs out of my control I'm trying to print Text boxes with html text but never get consistent results. My text box looks like this: mx:Text id=myText width=450/ The height of myText grows,

[flexcoders] Re: Html Text does NOT print in same format as rendered on scre

2007-05-03 Thread scott_flex
. Strange, but using bitmap should solve your issues for now. Note... I tried adding the Bitmap object and the BitmapData object to the printJob but it gave me errors so I'm not sure if the image is necessary or not. John On May 2, 2007, at 11:24 AM, scott_flex wrote: I thought

[flexcoders] Re: Stop Flex Builder copying files to bin directory

2007-05-02 Thread scott_flex
Check your Flex Compiler options on the Project Properties window... there's an option to Copy non-embeded files to output directory. --scott --- In flexcoders@yahoogroups.com, Mark Ingram [EMAIL PROTECTED] wrote: Hi, how can I stop Flex Builder from copying files to my bin folder?

[flexcoders] Re: Html Text does NOT print in same format as rendered on screen..

2007-05-02 Thread scott_flex
? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of scott_flex Sent: Tuesday, May 01, 2007 6:58 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Html Text does NOT print in same format as rendered on screen.. Text/Fonts render differently when

[flexcoders] Re: Html Text does NOT print in same format as rendered on screen..

2007-05-02 Thread scott_flex
, scott_flex [EMAIL PROTECTED] wrote: Here's a small sample app to illustrate what i'm running into.. http://www.scottkrause.com/PrintTest/PrintingTest.html Right click to view source It's one file. When you click the print button it just adds the text control to the print job object

[flexcoders] Re: Html Text does NOT print in same format as rendered on scre

2007-05-02 Thread scott_flex
Mark Hawley [EMAIL PROTECTED] wrote: Can you make the display object into a bitmap and then print that instead? From: scott_flex [EMAIL PROTECTED] Date: 2007/05/02 Wed AM 08:55:20 CDT To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Html Text does NOT print in same format

[flexcoders] Re: FlexPrintJob not printing multiple formatted lines successfully

2007-05-01 Thread scott_flex
the same font list as I but that's why i was sticking with common fonts. Any other insight would be helpful --Scott --- In flexcoders@yahoogroups.com, scott_flex [EMAIL PROTECTED] wrote: Well i have determined that it really doesn't matter what font family or size

[flexcoders] Re: FlexPrintJob not printing multiple formatted lines successf

2007-05-01 Thread scott_flex
be embedded. There's no way 'round it. The _height of an autosized text field without embedded fonts will not be correct (for printing). From: scott_flex [EMAIL PROTECTED] Date: 2007/05/01 Tue AM 08:19:08 CDT To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: FlexPrintJob

[flexcoders] Html Text does NOT print in same format as rendered on screen..

2007-05-01 Thread scott_flex
Text/Fonts render differently when sent to the printer than when viewed on screen, this is a real PAIN when formatting display objects to send to the printer. I've added a few Text controls to to a vbox with variable length data, some have custom font formatting, ALL installed fonts, even

[flexcoders] Re: FlexPrintJob not printing multiple formatted lines successf

2007-05-01 Thread scott_flex
it sounds like you want to set antiAliasType to the ADVANCED setting. From: scott_flex [EMAIL PROTECTED] Date: 2007/05/01 Tue PM 12:27:38 CDT To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: FlexPrintJob not printing multiple formatted lines successf Thanks for the reply

[flexcoders] FlexPrintJob not printing multiple formatted lines successfully

2007-04-30 Thread scott_flex
I have a text control displayed with multiple lines of wrapped text , no scroll bars, all text is completely displayed on screen. When i send this text to the printer only the first line is printed. The text control is displaying html formatted text. This only happens to certain font/size

[flexcoders] Re: FlexPrintJob not printing multiple formatted lines successfully

2007-04-30 Thread scott_flex
it to print the last line. Any help would be greatly appreciated... i'm desperate for ideas of what might be the issue. --Scott --- In flexcoders@yahoogroups.com, scott_flex [EMAIL PROTECTED] wrote: I have a text control displayed with multiple lines of wrapped text , no scroll bars

[flexcoders] Re: denying GETs on .NET WSDL web service file...

2007-04-16 Thread scott_flex
on the webservice? On 13 Apr 2007 13:24:57 -0700, scott_flex [EMAIL PROTECTED] wrote: tried it, instead of calling the .loadWsdl() method, i just set the wsdl property so it at least know where the service exists, also set the endpoint to my asmx file, which is the web service. Doesn't

[flexcoders] Re: denying GETs on .NET WSDL web service file...

2007-04-13 Thread scott_flex
[EMAIL PROTECTED] wrote: On Thursday 12 Apr 2007, scott_flex wrote: Not sure what other http network tools anyone uses, but i'll be testing this with Fiddler, a MS http debugging tool. Does it intercept SSL ? -- Tom Chiverton Helping to continually harness professional models on: http

[flexcoders] Re: denying GETs on .NET WSDL web service file...

2007-04-13 Thread scott_flex
://nondocs.blogspot.com On 13 Apr 2007 06:26:25 -0700, scott_flex [EMAIL PROTECTED] wrote: Tom, Well, http://www.fiddler2.com/fiddler2 says it supports SSL but it also seems to get in the way and cause trust issues for IE when capturing traffic... didn't work to well with FireFox either... It's

[flexcoders] Re: Modal Windows - CPU Intensive?

2007-04-13 Thread scott_flex
Michael, Not sure what you are doing and don't have a solution but i can say that i use modal popups loading from the PopupManger and i do not see this bahavior you are talking about. I use them quite a bit and have never seen performance issue. Could it be something in your code in the

[flexcoders] denying GETs on .NET WSDL web service file...

2007-04-12 Thread scott_flex
Has anyone, as part of their web service security, attempted to deny the verb get on their web services but still be able to call them in their actionscript code? Ionly only have one client (flex app) that will call my web services, and part of the security, as I have done in the past, is

[flexcoders] Re: denying GETs on .NET WSDL web service file...

2007-04-12 Thread scott_flex
. --Scott --- In [EMAIL PROTECTED], Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 12 Apr 2007, scott_flex wrote: and part of the security, as I have done in the past, is deny any GETs on the WSDL file so someone can't easily determine all the methods exposed. I will be calling

[flexcoders] Re: Changing a string to reference an ID of an Object

2007-04-11 Thread scott_flex
This will work RichTextEditor(this.getChildByName(item1)).htmlText = TEST ... if your RichTextEditor object has the name, item1, not ID. getChildByName as it states finds your object by it's name property not the ID property. You'll also have to make sure that whatever object you are

[flexcoders] unable to bind to property on class....

2007-04-10 Thread scott_flex
I'm not the first person to run into this and after searching some previous threads i don't see any good explanations. Any help is appreciated. When i build my app, i get these warning messages and not sure how to fix them. I don't get any errors when i bind a label's text property like

[flexcoders] Re: unable to bind to property on class....

2007-04-10 Thread scott_flex
. Paul --- In flexcoders@yahoogroups.com, scott_flex skrause@ wrote: I'm not the first person to run into this and after searching some previous threads i don't see any good explanations. Any help is appreciated. When i build my app, i get these warning messages and not sure

[flexcoders] Re: unable to bind to property on class....

2007-04-10 Thread scott_flex
, scott_flex skrause@ wrote: Actully, and i should have noted that in first post, i did try that, but same warnings and same effect, no errors, but my property did not bind to my label's text. Would it or could it have anything to do with the fact it's a singleton object??... I

[flexcoders] Re: TextArea htmltext parsing

2007-04-03 Thread scott_flex
Thanks for the update... i've also made progress in my spell checker suggest words algorithm. I'm basically using a modified version of the Levenshtein algorithm. I've found that with some minor tweaks it works great for 90% of mispelled words. I'm always looking to speed up the word

[flexcoders] Re: RegExp Help

2007-03-31 Thread scott_flex
Instead of using the \w which is short hand for word characters, just insert your own charactar ranges you consider valid word characters. \w is does not always include the same character sets across all the different implementations of regular expressions. Hope that helps... probably good

[flexcoders] Re: RegExp Help

2007-03-31 Thread scott_flex
[A-Za-z_] is the same as \w so if you want to include dashes and ' your pattern would be [A-Za-z'_-] Surround that by \b for word bounderies and you've got what you need. Try this: // mySourceText is just my source text i'm checking... put whatever you want. var wordPattern:RegExp =

[flexcoders] Re: RegExp Help

2007-03-31 Thread scott_flex
nothing really, i'm also not sure why the - after the 9 doesn't need to be escaped, but it does seem to work property without it. --Scott --- In flexcoders@yahoogroups.com, jmfillman [EMAIL PROTECTED] wrote: I had been playing with this: var pattern:RegExp = /\b[A-Za-z0-9-']+/gi; In

[flexcoders] Re: TextArea htmltext parsing

2007-03-30 Thread scott_flex
No matter what you do to keep the formatting you still need the words in a plain text to run through your spell checker. Using the text property saves all the hassle of removing the html formatting. Thanks Adobe! Things like bappli/bcation come back correctly as one word. When I get the

[flexcoders] filterFunction issue with shared array collection in model / shared list

2007-03-26 Thread scott_flex
I have a shared arraycollection of value objects. Singeton, only one instance of this array collection. Dfferent views (in a tab navigator) are generated using this shared array collection but each view filters the data in a datagrid list with different criteria. So.. in each view i

[flexcoders] Re: filterFunction issue with shared array collection in model / shared list

2007-03-26 Thread scott_flex
the required interfaces (just like ArrayCollection). The ListCollectionView will also listen for changes to the underlying 'master' list and update accordingly. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of scott_flex Sent

[flexcoders] Re: How do I get the ControlBar to show at the top of my Panel?

2007-03-21 Thread scott_flex
The first thing i would do is make sure that your mx:ControlBar mxml tag is NOT the last mxml tag in your component. Have you tried making it the first? That's what i'm doing on one of my panels where i do want a Control bar of buttons at the top of my popup Panel window. --Scott --- In

[flexcoders] ControlBar on Panel not positioned correctly when added from ActionScript

2007-03-16 Thread scott_flex
This should be simple but i'm fighting the position of a ControlBar that's on a Panel control when add via actionscript, not mxml. The control bar is not correctly displayed at the bottom of the panel. IE... if the other child components cause the scroll bars to appear, I have to scroll to

[flexcoders] Re: ControlBar on Panel not positioned correctly when added from ActionScript

2007-03-16 Thread scott_flex
--- In flexcoders@yahoogroups.com, scott_flex [EMAIL PROTECTED] wrote: This should be simple but i'm fighting the position of a ControlBar that's on a Panel control when add via actionscript, not mxml. The control bar is not correctly displayed at the bottom of the panel. IE... if the other

[flexcoders] VBox, constraint based layout not clipping content

2007-03-09 Thread scott_flex
Any particualar reason why a Vbox won't correctly clip content and show scrollbars when the object is using constraint based layout positioning? I'm adding up to 50 child objects to the vbox and want the scrollbars to appear so the user can scroll to see them all. If i set the height, and

[flexcoders] Re: VBox, constraint based layout not clipping content

2007-03-09 Thread scott_flex
interesting reading in the help docs. -TH __ Tim Hoff Cynergy Systems, Inc. http://www.cynergysystems.com Office http://www.cynergysystems.comoffice/ : 866-CYNERGY --- In flexcoders@yahoogroups.com, scott_flex skrause@ wrote: Any particualar reason why

[flexcoders] Re: .NET Webservices

2007-03-09 Thread scott_flex
Here's how i've been calling my web services right or wrong... private var ws:WebService = new WebService(); // handle any error for this web service instance ws.addEventListener(fault, faultHandler); ws.loadWSDL(http://mywebsite.com/service.asmx?WSDL); // MyFunction just takes one

[flexcoders] Re: VBox, constraint based layout not clipping content

2007-03-09 Thread scott_flex
with the dimensions of a container. They simply provide a mechanism for positioning. While using top, bottom, left and right can cause resizing, relative to the parent, they are more or less just a tool for placement. -TH --- In flexcoders@yahoogroups.com, scott_flex skrause@ wrote

[flexcoders] Re: Not able to generate GUID

2007-03-06 Thread scott_flex
--- In flexcoders@yahoogroups.com, shaun [EMAIL PROTECTED] wrote: Hi, scott_flex wrote: Thanks for the reply... i probably will look into writing my own implementation. Never really thought of it... Generating GUIDs on server, while i can do that, just makes more sense if it's done

[flexcoders] Re: Not able to generate GUID

2007-03-06 Thread scott_flex
] wrote: What are your concerns regarding createUID()? - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of scott_flex Sent: Monday, March 05, 2007 4:57 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Not able

[flexcoders] Re: Not able to generate GUID

2007-03-06 Thread scott_flex
() again if the database errored because a new row didn't have a unique key? - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of scott_flex Sent: Tuesday, March 06, 2007 1:36 PM To: flexcoders@yahoogroups.com Subject

[flexcoders] Re: printJob on a textArea

2007-03-05 Thread scott_flex
Try removing the height from your text area object and just let flex determine the height automatically... ie, it doesn't have scroll bars itself. Then print it, you should get it all. You'll probably also want to set the width manually when you print it to the width of the print object...

[flexcoders] Not able to generate GUID

2007-03-05 Thread scott_flex
Is there no function or object to generate a GUID, a true globally unique identifier? the createUID is not what i'm looking for, just figured generating a GUID would be something pretty basic.

[flexcoders] Re: Not able to generate GUID

2007-03-05 Thread scott_flex
Cheng [EMAIL PROTECTED] wrote: scott_flex wrote: Is there no function or object to generate a GUID, a true globally unique identifier? Just write your own--it's dirt simple. FYI, GUIDs and UUIDs aren't actually guaranteed to be absolutely unique--however, given the number of random

[flexcoders] Re: Is there a scrollIntoView for VBox?? Automatically scroll to a child object

2007-03-02 Thread scott_flex
) scrollToObjectPosition = vBox.maxVerticalScrollPosition; // set the scroll to positin. vBox.verticalScrollPosition = scrollToObjectPosition; } --- In flexcoders@yahoogroups.com, scott_flex [EMAIL PROTECTED] wrote: Is there no automatic way to scroll

[flexcoders] Re: Starting out - recommendations

2007-03-02 Thread scott_flex
...ActionScript 3 CookBook from OReilly, fast read and really helpful for basics on AS... i came from C# and .net development. I was TOTALLY new to Flex and AS, i needed to learn both... i still need to learn both :) I can also ditto for the lynda.com training, i just purchased the one

[flexcoders] determine when list of dynamically added UI objects are fully rendered?

2007-03-01 Thread scott_flex
When you programmatically add many UI objects, 25-100 to a display list, VBox, DataGrid or whatever, when can you determine all UI objects have been fully rendered? I'm looping through an xml file, and for each row/node I'm creating a new instance of a custom display object and adding it as a

[flexcoders] Is there a scrollIntoView for VBox?? Automatically scroll to a child object

2007-02-24 Thread scott_flex
Is there no automatic way to scroll to a particualar child object inside a VBox? I'm writing a tool that allows the user to select a child control in a vbox, (it get highlighted just like a row in a datagrid) and then give them an up and down arrow to move the object up or down. However,

[flexcoders] help creating XML object with variable data

2007-02-20 Thread scott_flex
how come the following does not work var myString:String = Test data; var myXml:XML = Option value={myString}/option //not string substituion occurs, {myString} is just inserted as a literal. but this does: var myString:String = Test data; var myXml:XML = Option{myString}/option // {myString}

[flexcoders] Re: help creating XML object with variable data

2007-02-20 Thread scott_flex
!!! --- In flexcoders@yahoogroups.com, David Chang [EMAIL PROTECTED] wrote: Hi, You don't need the quotes when assigning it to an attribute, myXml:XML = Option value={myString}/option should do the trick. scott_flex wrote: how come the following does not work var

[flexcoders] retreiving object height after adding it as a child object

2007-02-09 Thread scott_flex
How or when can you retreive the height of a display object when you add it to your vbox or hbox. I have code that looks like this: var myObject:myControl = new myControl(); // call the public load method with xml to set some text // on myControl and other display values.

[flexcoders] How do i determine when all rendering is complete for added objects in for loop

2007-02-07 Thread scott_flex
I'm parsing an xml document and adding child objects to a VBox. The child components all have a text component which receives text that is set to the htmlText property. So depending on the text the height of the control varies. However, i need to know the height of each control i'm adding (for