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
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
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
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
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
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
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
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,
. 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
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?
?
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
, 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
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
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
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
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
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
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
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
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
[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
://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
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
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
.
--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
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
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
.
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
, 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
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
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
[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 =
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
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
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
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
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
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
--- 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
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
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
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
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
--- 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
] 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
()
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
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...
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.
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
)
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
...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
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
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,
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}
!!!
--- 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
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.
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
57 matches
Mail list logo