Re: [flexcoders] Escaping textArea HTML to pass back to WebService...

2006-11-05 Thread Hilary Bridel
Hi Jamie, Not sure if I understand what you require, but did you know you can get a plain text representation of the html in the textarea using myTextArea.text Hilary -- On 11/5/06, jamiebadman [EMAIL PROTECTED] wrote: Hi, I need to 'escape' the html text from a textArea to pass back to a

[flexcoders] Re: Escaping textArea HTML to pass back to WebService...

2006-11-05 Thread jamiebadman
Yeah, I know I can do this but then I lose all the formatting. I want to send the data back to a DB via a webservice so that I can then retrieve it in the future. I believe that to do this I need to 'escape' some of the characters in the HTML I retrieve from the textArea. Thinking about it, it may

Re: [flexcoders] Re: Bug in EventDispatcher? It shouldn't dispatch new Events if not at top of st

2006-11-05 Thread Ralf Bokelberg
Ok, just to make sure what happens, i created a little test: private function onInitialize() { var ed1 : EventDispatcher = new EventDispatcher(); var ed2 : EventDispatcher = new EventDispatcher(); ed1.addEventListener('method', function():void { trace(11); });

Re: [flexcoders] Re: Structuring a collection of Flex apps in a tomcat webapps folder

2006-11-05 Thread hank williams
Dustin, Thanks for verifying this. Its odd that so few people have noticed this. I guess perhaps everyone just uses apache as a front end. But for me setting up apache on linux is just another headache since I am not familiar with it, so I really dont want to introduce any new complexities. So

Re: [flexcoders] Re: Structuring a collection of Flex apps in a tomcat webapps folder

2006-11-05 Thread Xavi Beumala
Hi there,What I usually do is create a virtual folder on my project which points to the tomcat webapp folder. Then I change the ouput folder through the compile settings screen: right click on the project - properties - Flex Build path. Then to force eclipse to launch for example

Re: [flexcoders] Re: Structuring a collection of Flex apps in a tomcat webapps folder

2006-11-05 Thread hank williams
Oh, thats an interesting idea. A virtual folder. I'll have to try that. But boy such an ugly solution! I hopefully they can fix this.ThanksHankOn 11/5/06, Xavi Beumala [EMAIL PROTECTED] wrote: Hi there,What I usually do is create a virtual folder on my project which points to the tomcat

[flexcoders] HTTPS and status codes

2006-11-05 Thread riskyseven
Is there a way to get the HTTP status code out of the HTTPStatusEvent when making an HTTPS call? Or for that matter, is there any way to display the status code from an HTTPS call w/o using Data Services? We are making a simple Flex2/AS3 HTTPS call out of IE6 which fails for an unknown

[flexcoders] Login application - several newbie questions

2006-11-05 Thread pdflibpilot
I am trying to implement an application where the user logs in using a Title Window. 1. I need to store data returned from the server containing user info with successful login. Currently I am using DataGrid but there is only one record. Is this the best method ? When the Title Window closes

[flexcoders] Re: Shortcut for creating and dispatching events

2006-11-05 Thread boy_trike
Thanks for the answer Mike. I am curious why I need the STRING around my variable). Bruce --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, It needs to be; model.dispatchEvent( new TextEvent(SEARCH_MACHINES, false, false, String(

RE: [flexcoders] setting my application pageTitle

2006-11-05 Thread Matt Chotin
I think maybe your project is messed up? I just changed the pageTitle on my Application and it changed the title fine. Try working in a new project and see if things are OK? Do a project clean too? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On

[flexcoders] getItemIndex it's a bug Complex Data

2006-11-05 Thread devisbalsemin
Hi if you look my code, if i remove update Function all work, i have made a mistake into my ActionScript class or is it bug? Thanks for your help devis Here throw TypeError: Error #1034: Assegnazione di tipo forzata non riuscita: impossibile convertire mx.collections::[EMAIL PROTECTED] in

FW: [flexcoders] Isn´t there any release of Adobe Apollo yet? Alpha maybe....

2006-11-05 Thread Evan Gifford
This didnt make it through the first time, trying again. (Regarding 2D libraries for Action Script) From: Evan Gifford Sent: Friday, November 03, 2006 8:38 AM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] Isn´t there any release of Adobe Apollo yet? Alpha

RE: [flexcoders] TileList item effects? (Flex Store)

2006-11-05 Thread Matt Chotin
Writing more of those effects automatically is something we want to do in a future release. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of John C. Bland II Sent: Friday, November 03, 2006 7:04 AM To: flexcoders@yahoogroups.com

Re: [flexcoders] Web Services in Cairngorm 2.1

2006-11-05 Thread Paolo Bernardini
ok, now my app is able to call the webservices, but I get another weird behavior with cairngorm 2.1 that didn't happen with version 2.0. basically it changes the way I'm accessing the results, but not in a consistent way, for example: I'm calling the same webservices twice and in order to get

[flexcoders] VideoPlayer Example

2006-11-05 Thread Pascal Schrafl
Hi all, I'm trying to build a videoplayer, that gets some urls from an XML file and then can play those .flv, that are located at those urls. I looked at the Flex Manual and have used the NetConnection Example. Now as I plug the videoPlayer Component into my application, I suddenly only hear

RE: [flexcoders] specifying measuredWidth/measuredHeight in a skin

2006-11-05 Thread Brian Deitte
Hmm, so everything else I've sent recently has been posted, so I'll try to resend this. I know that flexcoders can have a slow posting time for some people (which now seems to include me), but it's been a day. If that's now normal, someone just let me know. Thanks, Brian From: Brian

RE: [flexcoders] specifying measuredWidth/measuredHeight in a skin

2006-11-05 Thread Brian Deitte
Hi Mike, thanks for the response. I do have a solution now, based on Dirk's example (http://www.richinternet.de/blog/index.cfm?mode=entryentry=ADD4FDD1-9B48-BFBC-2A70F3C57EBC6892), but I would be interested in knowing what I was doing wrong. I was doing something I saw in the framework for

RE: [flexcoders] x, y, width, and height in CSS

2006-11-05 Thread Brian Deitte
Thanks Peter. If I can use Left/Right/Top/Buttom or Padding* for all the components where I specify x/y/width/height, this will bea goodsubstitute. -Brian From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter BairdSent: Thursday, November 02, 2006 6:30 PMTo:

RE: [flexcoders] Re: Shortcut for creating and dispatching events

2006-11-05 Thread Gordon Smith
You'd write model.dispatchevent( new TextEvent(SEARCH_MACHINES, false, false, dgItems.selectedItem.machine)); But the SDK team considers the 3-line approach better practice, because it makes clear which property is getting set to what. If you have an event with a lot of

Re: [flexcoders] x, y, width, and height in CSS

2006-11-05 Thread Igor Costa
Hi BrianNot each component but also you could do just in the mx.core.UIComponent classIt will affect all components.Regards.On 11/3/06, Brian Deitte [EMAIL PROTECTED] wrote: Hi Igor, if this is fixed in 2.1, that'd be great to know. As for Manish's

RE: [flexcoders] HTTPS and status codes

2006-11-05 Thread Peter Farland
Do a search for problems with HTTPS responses containing Pragma,no-cache headers and Expires headers with a time set in the past and MSIE (it has been discussed on this list before too)... to sniff HTTPS requests consider using Paros Proxy with MSIE on the client to see the actual headers

[flexcoders] Where are Bookmarks stored?

2006-11-05 Thread Steve Kellogg @ Project SOC
Hello, Ive had to re-import my project a couple of times because of system level problems. Each time this has happened, Ive lost all of my bookmarks. I assume that this is because the bookmarks are stored somewhere other than where Im expecting them. So, the question is, where are

[flexcoders] Can a Transition be used for addedEffect / removedEffect?

2006-11-05 Thread Bruce Denham
I'm not finding any documented examples and something like this doesn't seem to work for me: mx:states mx:State name=ShowForm mx:SetProperty name=visible value=false target={mypanel1}/ mx:RemoveChild target={mypanel1}/

RE: [flexcoders] Login application - several newbie questions

2006-11-05 Thread Dimitrios Gianninas
#1) No, you store the data is some model object. Example: public UserModel { public var user:UserInfo; public var roles:ArrayCollection; } #2) I assume you want to do this based on the user that is logged in. You would use data binding to do this. Example: bla:MyComponent

[flexcoders] Re: hostmysite.com...RemoteObject not working

2006-11-05 Thread qnotemedia
Bummer - here was their reply: Yes, we know that ColdFusion MX 7 Updater 2 provides integration between ColdFusion and Flex 2 applications. HostMySite does not currently support Flex in a shared environment. It would be possible in a dedicated environment provided the you purchased a license.

RE: [flexcoders] Can a Transition be used for addedEffect / removedEffect?

2006-11-05 Thread Dustin Mercer
Bruce, The answer is yes, although it takes some playing with to get it right J here is an example of a fading transition. The key here is the RemoveChildAction effect and the AddChildAction effect in the transition. These allow you to control when the RemoveChild and AddChild state

[flexcoders] controlling child index in an Image

2006-11-05 Thread Paul Hastings
i'm changing an mx:Image's source via load(). i'm also adding a couple of TextFields to the Image via addChildAt() after the new image is loaded via a Complete event. other shapes/sprites can also be added via user interaction. i need to selectively remove some of the Image's children maintain

[flexcoders] RE: FilteredLineSeries and Printing - ChartMan Ely, we need you!

2006-11-05 Thread Ely Greenfield
It'll take me a little longer to answer your first question, but as for the second...if you want to duplicate a component into a separate view (say, a print view), you've got a few options: 1) reparent the child into the other view. This is usually fine if you're going to do it, print it,

[flexcoders] Re: Flex Data Services - Client.Data.UnderFlow

2006-11-05 Thread wesubotnix
The problem was actually solved (or avoided) by switching from the default gateway to the debugger gateway But i`m still very curious to know more about this strange problem /fredrik --- In flexcoders@yahoogroups.com, wesubotnix [EMAIL PROTECTED] wrote: Hi, When switching to

[flexcoders] Fade Text in and out, when text variable is changed

2006-11-05 Thread Pascal Schrafl
Hi all, I have some text, that gets retrieved from some variables (those variables get retrieved from an xml-file). I would like to fade in the text, when the variable changes and fade it out, when the old text is replaced by the new one (i.e. again the variable changes). I tried

[flexcoders] DataTip on DataGrid: Change background color

2006-11-05 Thread Pascal Schrafl
Hi all, I use some DataTips on a DataGrid (showDataTips=true). It works fine, but the DataTips have a yellow background. Where can I change this background color? I have tried to use the CSS Style: DataTips { backgroundColor: #FF } but the background color of the DataTips didn't change.

RE: [flexcoders] Fade Text in and out, when text variable is changed

2006-11-05 Thread Iko Knyphausen
First you need to create effect objects. In the sample below you can find 2 fade effects and 2 move effects. There 2 approaches that I use: If you want an effect on a UI element that triggers the effect itself, such as the text input controls in the sample below,

[flexcoders] Custom Progress Bar

2006-11-05 Thread John Kirby
Title: quote I want to use the Progress Bar as component in a video player to show how much of the movie has played. Can you subclass the Progress Bar to do this? I was planning on creating a timer and a listener to update the progress bar. Has anyone done something like this? Thanks. --

[flexcoders] FlexPrintJob problem: application background colors showing in margins

2006-11-05 Thread Tom Bray
The background color of my application is printing in the margins of the page when I print my component in landscape mode. In portrait mode, there's a tiny sliver of the bg color on each side. Is there a way to prevent that besides using a white background? It seems like a bug since I can't

RE: [flexcoders] Re: local SWF files cannot use the LoaderContext.securityDomain property

2006-11-05 Thread Matt Chotin
Last thought is that you can see if getting the directories of the apps youre developing on the client as well as the urls of your modules added into your trust directories (set in the global security settings you can reach via right-click settings in the player). It might allow your

RE: [flexcoders] Re: TextArea in Grid - too big

2006-11-05 Thread Matt Chotin
Just do mx:GridItem direction=vertical. And then I recommend using mx:Text instead of mx:TextArea. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of app.developer Sent: Friday, November 03, 2006 9:54 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] global settings through AS 3

2006-11-05 Thread Matt Chotin
No, you cant change the settings via AS. But you can put a crossdomain.xml file on your server which would allow the SWF to access the data. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of srioviyan_p Sent: Friday, November 03, 2006 11:25 PM

[flexcoders] Barchart - trying to make it display the way i want

2006-11-05 Thread dj
trying to finagle with a barchart, how do i change the widths of the bars and the spacing between the bars and the color of the bars? Also, if i want to put images next to the bars - would i do that with a canvas and in AS3? thanks Patrick -- Flexcoders Mailing List FAQ:

[flexcoders] Flex2 Docs font in Mac

2006-11-05 Thread Bjorn Schultheiss
Hey, When viewing the help docs in FB2 Beta for Mac, the small font used for the code examples renders terrible. Anyway to manually change this on the Mac Regards, Bjorn Schultheiss -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search

RE: [flexcoders] Distortion Effects

2006-11-05 Thread John Mazzocchi
Thank you. This roXXors! I can see I'm gonna have to find a way to use it now ... Cheers John -Original Message-From: Alex Uhlmann [mailto:[EMAIL PROTECTED]Sent: Saturday, 4 November 2006 1:57 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Distortion Effects

Re: [flexcoders] Q. How can I change the property of a row in a datagrid? Please help...

2006-11-05 Thread arpan srivastava
Hi, I am sorry for sending the code so late. This code is written in a ".as" file. I am calling this function on mouseOver event of the list . Now here,"GridComponent" is the "mxml" file name and "gridObj" is the static object containing the reference of the datagrid.I have also got the index

RE: [flexcoders] Flex2 Docs font in Mac

2006-11-05 Thread John Mazzocchi
I'm guessing that the PDFs look ok because the fonts are embedded. Could be that help files don't have the necessary font embedded and that it's a non-standard Mac font? Or it could be a (Windows) TrueType versus (Mac) TrueType issue? Cheers John -Original Message- From: Bjorn

[flexcoders] LinkButton - Style without surrounding color.

2006-11-05 Thread lostinrecursion
Hi all, I suspect this could be simple, although no results yielded when I searched the group (The Few. The Proud. The Searchers, LOL) I want to style a LinkButton in my application similar to an HTML link. For example, when the user rolls over the button, I would it to ONLY change the text

[flexcoders] Flex2 Docs font in Mac

2006-11-05 Thread Bjorn Schultheiss
I think most likely its using a non-standard Mac, perhaps i can update the appropriate asdocs template file and rebuild the docs? Regards, Bjorn Schultheiss From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of John Mazzocchi Sent: Monday, 6 November

[flexcoders] RE: FilteredLineSeries and Printing - ChartMan Ely, we need you!

2006-11-05 Thread Ely Greenfield
Jonathan -- The Category Axis maps values to catgegories...it can't know how to map the same value to multiple categories. What's the behavior you're looking for? Let me suggest one possibility. In a fully specified situation, the series names its xField, loads the value out of that field,

RE: [flexcoders] Barchart - trying to make it display the way i want

2006-11-05 Thread Ely Greenfield
Hi Patrick. Look at: 1) the barWidthRatio and maxBarWidth properties on barChart (or barSeries, if you're not using a barChart). 2) the fill style on barSeries to change the colors. tell me more about what it is you want to do with images, and I can give you more help. Ely.

[flexcoders] ComboBox dataBinding complexData

2006-11-05 Thread devisbalsemin
Hi i have a problem to binding a comboBox with a complex data can you help me pls. Here my code [Bindable] private var lkreparti:ArrayCollection = new ArrayCollection(); private var dsReparti:DataService; dsReparti = new DataService(reparti);

[flexcoders] Re: getItemIndex it's a bug Complex Data

2006-11-05 Thread devisbalsemin
Sorry i'm sleep is my mistake.. i have correct it dgResponsabili.selectedIndex = responsabili.getItemIndex(responsabile); Sorry again Devis --- In flexcoders@yahoogroups.com, devisbalsemin [EMAIL PROTECTED] wrote: Hi if you look my code, if i remove update Function all