[flexcoders] Setting Basic authentication header in URLRequest

2008-04-20 Thread Aaron Miller
I am trying to make a URLRequest that uses basic HTTP authentication. The credentials are default and unknown to the user. I first tried using what the documentation referred to as the URLRequestDefaults class: http://livedocs.adobe.com/flex/3/html/help.html?content=url_requests_2.html But this

[flexcoders] Flex 3 Uppercase, LowerCase Tips

2008-04-20 Thread Swamy Nathan
Upper case : Ctrl+Shift+ X lowercase : Ctrl+ Shift+Y -- Thanks Regards Swaminathan. M

Re: [flexcoders] Re: Clipping of charts

2008-04-20 Thread Josh McDonald
Goddammit! That would've saved me some displayValue columns and custom dataTipFunctions ;-) On Fri, Apr 18, 2008 at 5:53 PM, g_odds [EMAIL PROTECTED] wrote: Isn't this what the filterData property of the Series class is for? If you set it to false then data points outside the x and y axis

[flexcoders] PieChart Legend customize label text in legend

2008-04-20 Thread rleuthold
Hi, I'd like to have legend label texts for a PieChart in the form of - PieSeries.nameField + sometext . Sounds simple but I couldn't find a way to accomplish. Can anybody point my to the right direction ? thanks_rico

[flexcoders] Re: Setting Basic authentication header in URLRequest

2008-04-20 Thread ben.clinkinbeard
Looks like you will need a meta-policy file: http://tech.groups.yahoo.com/group/flexcoders/messages/105793?threaded=1m=evar=1tidx=1 HTH, Ben --- In flexcoders@yahoogroups.com, Aaron Miller [EMAIL PROTECTED] wrote: I am trying to make a URLRequest that uses basic HTTP authentication. The

RE: [flexcoders] Security error accessing url?

2008-04-20 Thread Tracy Spratt
I avoid this by having a back-end, server-side tier for all of my apps, and proxy all data service calls through that. There are also simple, pass-through proxys out there. I just saw one for PHP. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] ModuleLoader Ready event

2008-04-20 Thread M.Javed
Thanks Alex for the useful information, there an another issue if anyone could help is that how can i know in a TabNavigator Control that if a control is currently not in the focued Tab or vice versa, is there any property or something of UI Compononent which can help in getting the information

[flexcoders] detecting ModuleEvent.READY from anywhere in application

2008-04-20 Thread sebastienpastor
Hello all, I have this application with many modules. I am using ModuleManager to preload them. What i try to achieve is to be able to detect when a module is ready to be instanciated from the main application and other modules (that have been loaded before the modules they are about to use

Re: [flexcoders] connection downtime in flex/blazeds?

2008-04-20 Thread ibo
Steve, I'm curious, If the AS3 version of Consumer class can do it and I'm assuming its identical in terms of functionality, why did you guys decided to use FABridge instead? Also I have a follow up question, a lil diff topic and the concern is on the scalability issue: what if there is at

Re: [flexcoders] Looping over Object of Objects..

2008-04-20 Thread gabriel montagné
On Fri, Apr 18, 2008 at 11:57 AM, Alex Harui [EMAIL PROTECTED] wrote: See ObjectUtil.getClassInfo From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On how would i co about looping over this object in order to access the internal objects? You can also loop over the dynamic

Re: [flexcoders] VideoDisplay lies about bytesLoaded

2008-04-20 Thread Nayan Savla
Hi Dennis, I would just listen for progress event of the videodisplay component and get my bytesLoaded/bytesTotal from that. It has always worked correctly for me. Nayan On Apr 19, 2008, at 8:56 PM, Dennis Falling wrote: I'm using a changewatcher to observe the bytesLoaded attribute of a

[flexcoders] Re: View State change throws Error #1009 in ChartLabel/updateDisplayList()

2008-04-20 Thread craig081785
Have you found a solution to this yet, I'm encountering the exact same error on the same line. --- In flexcoders@yahoogroups.com, rleuthold [EMAIL PROTECTED] wrote: Hi, I have a component which should have a view state to show the data in a dataGrid and one to show it as a chart. Each

[flexcoders] Java Webservice help!

2008-04-20 Thread die_baut
Hi! I'm trying to import a web service into a Flex Builder 3.0 project using the wizard provided and I get a Provider com.bea.xml.stream.MXParserFactory not found error when click finish. The service comes from a Netbeans 6.0 web service sample project runing on Glassfish v2 What can I do?

RE: [flexcoders] crossdomain where is the server root?

2008-04-20 Thread Tracy Spratt
It goes wherever the web server domain name resolves to. In IIS, ...\inetpub\wwwroot. In JRUN, ...\jrun4\servers\default. I have never put one in a Tomcat installation... hmm, I just went and looked at a tomcat server and I would have expected it to go in webapps, as you said you tried.

RE: [flexcoders] naming children of repeater problem with xml

2008-04-20 Thread Tracy Spratt
When working with repeaters, one good technique is to create a custom object, and repeat that. Pass into that component the entire dataProvider Item. It will make the repeater code much cleaner (no currentItem stuff), plus, if you also implement a getter for the item, you can access that in an

RE: [flexcoders] How to get XML child node value with line.@ syntax?

2008-04-20 Thread Tracy Spratt
Looks ok. Does it error, or just return an empty XMLList? Be carefult with th@ syntax. It will error if ALL nodes in its search do not contain the attribute. I use attribute(d) except when I also create the xml and am sure of the format. Debug this by tracing path:

RE: [flexcoders] flashvars issues

2008-04-20 Thread Tracy Spratt
myXML = new XML(event.result); And you do not need the new. XML() is a very powerful top-level function. Often, you can cast, using the as' keyword, but I have found the XML() function to be more reliable. Also, trace() is invaluable for debugging. You may need to configure your mm.cfg

RE: [flexcoders] Little trouble with a custom component

2008-04-20 Thread Tracy Spratt
Looks ok. Where is it failing? Are your handleClickEvent handlers getting called? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mithun Kumar Sent: Sunday, April 20, 2008 10:36 AM To: flexcoders@yahoogroups.com Subject:

[flexcoders] Disable Drag for particular list item

2008-04-20 Thread dhay
Hi, I have a List which uses an inline renderer. MyRender contains an icon, some text and an add button. There are times when specific items are disabled and I change the icon, disable double click and hide the add button. However, users can drag the items, too, and I want to disable the

[flexcoders] Big problem with font embedding

2008-04-20 Thread cesarerocchi
Hi, I want my application to have Lucida Grande font. Since I am not sure that every platform has it locally installed, I embedded it. I created an swf with Flash CS3, as explained in the tutorial. (To find the tutorial look for Embedding fonts from SWF files in Google. Adobe does not

RE: [flexcoders] crossdomain where is the server root?

2008-04-20 Thread dhay
In tomcat it needs to go in the root webapp, not in the webapps directory. If you just do http://myserver/, what does it resolve to? cheers, David Tracy Spratt [EMAIL PROTECTED] Sent by: flexcoders@yahoogroups.com 04/20/2008 11:04 AM Please respond to flexcoders@yahoogroups.com To

Re: [flexcoders] Big problem with font embedding

2008-04-20 Thread Max Frigge
Usually you don't need to embed all characters. For normal use it's ok to just embed all upper/lower case, numbers and sings. If you restrict it to those symbols your file size should be way less. For Chinese text it's probably best to embed another font for those symbols and use it whenever

[flexcoders] [ANN] Prana Framework 0.5 Released

2008-04-20 Thread Christophe Herreman
Dear Community, I'm pleased to announce that the 0.5 version of Prana is now available. For more info, please see http://www.herrodius.com/blog/145 Enjoy this release and have fun coding ! regards, Christophe -- Christophe Herreman http://www.herrodius.com http://www.pranaframework.org

[flexcoders] Re: Show progress on Progressbar

2008-04-20 Thread markgoldin_2000
Yes, it is. It looks like no updates go to the screen before computation process is over. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Worked for me. Make sure totalProgress is between 0 and 100 From:

[flexcoders] SubscribeTips of the day

2008-04-20 Thread ilikeflex
Hi Team Can you please point to any website where u can subscribe and get the tips for the day for ActionScript? Thanks ilikeflex

Re: [flexcoders] Re: View State change throws Error #1009 in ChartLabel/updateDisplayList()

2008-04-20 Thread Rico Leuthold
Yep - It's a bug - https://bugs.adobe.com/jira/browse/FLEXDMV-1695 _rico On 20.04.2008, at 00:17, craig081785 wrote: Have you found a solution to this yet, I'm encountering the exact same error on the same line. --- In flexcoders@yahoogroups.com, rleuthold [EMAIL PROTECTED] wrote: Hi,

Re: [flexcoders] crossdomain where is the server root?

2008-04-20 Thread Vivian Richard
Thanks for the emails. When I run tomcat and go to http://localhost:8080/ it will take me to the ROOT directory and there is an index.html file which is show on the browser. So does that mean my root is ROOT directory? By the way since I did not update the flash player, I did use the

Re: [flexcoders] SubscribeTips of the day

2008-04-20 Thread Sherif Abdou
Tips like what? there is this for you http://www.kirupa.com/forum/showthread.php?t=223798 - Original Message From: ilikeflex [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, April 20, 2008 3:49:32 PM Subject: [flexcoders] SubscribeTips of the day Hi Team

[flexcoders] Flex Compiler Blog

2008-04-20 Thread wong_cheuk_wah
Hi FlexCoders, I've just started blogging about the Flex compiler. To read my blogs, please visit: http://stopcoding.wordpress.com Happy coding! -Clement

[flexcoders] Help with non-visual MXML components and getting the syntax I want

2008-04-20 Thread Josh McDonald
Hi Guys, I'm building some non-visual MXML components, and I want to keep the MXML syntax as nice as possible. What I'd like is something like this: custom:Garden id=foo custom:fruits apple id=delicious/ apple id=grannySmith/ strawberry / /custom:fruits /custom:Garden Can it be done?

Re: [flexcoders] Re: Setting Basic authentication header in URLRequest

2008-04-20 Thread Aaron Miller
Many thanks! ~Aaron On Sun, Apr 20, 2008 at 7:18 AM, ben.clinkinbeard [EMAIL PROTECTED] wrote: Looks like you will need a meta-policy file: http://tech.groups.yahoo.com/group/flexcoders/messages/105793?threaded=1m=evar=1tidx=1 HTH, Ben --- In flexcoders@yahoogroups.com

[flexcoders] AIR - Async vs Sync SQLite connections

2008-04-20 Thread Cameron Childress
Looking for a pointer to some advice about a few SQLite issues. Is it generally best practice to keep a connection open and keep reusing it (perhaps stashing it in the ModelLocator) or is it better to recreate a connection each time you need to do a SQL operation? Also, I have read some about

[flexcoders] binding problems

2008-04-20 Thread grimmwerks
Could someone PLEASE point out what I'm doing wrong in the following? I want to bind a numeric stepper to a certain size and have it changed live; I'm trying to change the scale of these buttons to the numeric steppers; here's a test: --- ?xml version=1.0 encoding=utf-8? mx:Application

Re: [flexcoders] binding problems

2008-04-20 Thread Josh McDonald
I think you want: { rep.currentItem.x } rather than { Number(rep.currentItem.x) } -J On Mon, Apr 21, 2008 at 12:18 PM, grimmwerks [EMAIL PROTECTED] wrote: Could someone PLEASE point out what I'm doing wrong in the following? I want to bind a numeric stepper to a certain size and have it

[flexcoders] Why would this event never fire?

2008-04-20 Thread dnk
Ok, I have a controller class that has an onInit function that is fired form a class constructor. For some reason when I call a function from there, it never fires. This is a partial code snippet. // Constructor public function dirTestController() { //turn the key, start it

Re: [flexcoders] Why would this event never fire?

2008-04-20 Thread Eric Cancil
I don't think your onInit function ever fires - what does your controller class extend? On Sun, Apr 20, 2008 at 10:51 PM, dnk [EMAIL PROTECTED] wrote: Ok, I have a controller class that has an onInit function that is fired form a class constructor. For some reason when I call a function

Re: [flexcoders] Why would this event never fire?

2008-04-20 Thread Eric Cancil
If it doesnt extend from uicomponent then youll never get a creationcomplete event On Sun, Apr 20, 2008 at 10:57 PM, Eric Cancil [EMAIL PROTECTED] wrote: I don't think your onInit function ever fires - what does your controller class extend? On Sun, Apr 20, 2008 at 10:51 PM, dnk [EMAIL

Re: [flexcoders] Why would this event never fire?

2008-04-20 Thread shaun
dnk wrote: Ok, I have a controller class that has an onInit function that is fired form a class constructor. For some reason when I call a function from there, it never fires. This is a partial code snippet. // THIS NEVER FIRES getDirectoryData(); } Missing event

[flexcoders] what is the defference between addeventlistener and hardcode it at mxml

2008-04-20 Thread luke_lee1124
let us see one row textInput.addEventListener(’change’, do_change); another row mx:TextInput change=do_change/ what is the defference? using addEventListener, i can using weak references, how can i use weak references in mxml? Thanks

Re: [flexcoders] what is the defference between addeventlistener and hardcode it at mxml

2008-04-20 Thread Sherif Abdou
you can not and you cant use removeEventListener on mxml either - Original Message From: luke_lee1124 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, April 20, 2008 10:08:36 PM Subject: [flexcoders] what is the defference between addeventlistener and hardcode it at mxml

Re: [flexcoders] binding problems

2008-04-20 Thread Doug McCune
You're creating a bindable Array that is full of non-bindable Objects. Since your Array is bindable you would be able to bind to the Array itself, and bindings would get fired when the Array changes (ir you do something like objs = new Array()). But inside that Array are simple Objects that are

Re: [flexcoders] binding problems

2008-04-20 Thread grimmwerks
But that's just casting - I can't think that would have a huge problem where it wouldn't work. I'm just not sure if a) I want to use some sort of Model or b) the binding utils On Apr 20, 2008, at 10:29 PM, Josh McDonald wrote: I think you want: { rep.currentItem.x } rather than {

Re: [flexcoders] binding problems

2008-04-20 Thread grimmwerks
Doug, thanks for weighing in, it's appreciated. I'm sorry - don't understand the VO class reference - I'm assuming that you're just making up a class named VO, right? So I should create this Class that has the properties I want and push them into the array? It gets hairier actually -

Re: [flexcoders] binding problems

2008-04-20 Thread Doug McCune
yeah, you have the right idea, VO just means Value Object (sorry, too many business apps start to make you talk funny), and I only meant create a specific class that has the correct bindable properties. So a class called Circle that has a bindable property for percent (and any of the others that

Re: [flexcoders] binding problems

2008-04-20 Thread grimmwerks
Ok - well I've created a Circle class that is entirely bindable. I've: package scribe { import mx.controls.Alert; [Bindable] public class Circle { public var percent:Number; public var x:Number; public var

Re: [flexcoders] binding problems

2008-04-20 Thread grimmwerks
Weird - this DOES work: mx:NumericStepper id=num y=410 value={CircleData.getInstance().currentCircleArray[0].percent} change={CircleData.getInstance().currentCircleArray[0].percent = num.value } maximum=100/ where as I'm flagged that the square brackets don't work. Any idea how to make

Re: [flexcoders] what is the defference between addeventlistener and hardcode it at mxml

2008-04-20 Thread Josh McDonald
When you do it in MXML, the compiler creates a throwaway function (not sure if it's anonymous or it just makes up a name, probably the latter), and so you can't easily get a reference to that function in order to mess with it or remove it. -J On Mon, Apr 21, 2008 at 1:20 PM, Sherif Abdou [EMAIL

[flexcoders] Getting Error #2032: Stream Error randomly in Flex3.0

2008-04-20 Thread Gupta, Pradeep
Hi, I am getting a Stream Error #2032: in Flex 3.0 randomly while calling a web service. The web service is returning the data correctly, but some how the fault handler gets executed though randomly. Does any one have any idea on this problem? I appreciate your help on this Thanks Pradeep

Re: [flexcoders] Getting Error #2032: Stream Error randomly in Flex3.0

2008-04-20 Thread Josh McDonald
It could be a server-side problem, what's your back-end? On Mon, Apr 21, 2008 at 3:22 PM, Gupta, Pradeep [EMAIL PROTECTED] wrote: Hi, I am getting a Stream Error #2032: in Flex 3.0 randomly while calling a web service. The web service is returning the data correctly, but some how the

RE: [flexcoders] Getting Error #2032: Stream Error randomly in Flex3.0

2008-04-20 Thread Gupta, Pradeep
Thanks for your response. It doesn't seem to be the server side problem. I have tested this by hosting web service locally. It is .NET based service. Do you still think it is the server side problem? Thanks Pradeep _ From: flexcoders@yahoogroups.com [mailto:[EMAIL

Re: [flexcoders] Getting Error #2032: Stream Error randomly in Flex3.0

2008-04-20 Thread Peeyush Tuli
There can be issue with parsing the SOAP message server-side or client side. Please use an HTTP Proxy like Charles to check the request - response message in detail. It will report you the correct error message. ~Peeyush On Mon, Apr 21, 2008 at 10:58 AM, Gupta, Pradeep [EMAIL PROTECTED] wrote: