Re: [flexcoders] Re: Security sandbox violation: local SWF files cannot use the LoaderContext.securityDomain property

2008-11-21 Thread Ward Loockx
Alex Harui schreef: Please post the entire contents of the window that shows the exception. I would expect to see a call stack with line numbers if you are using a debug build -Original Message- From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com

Re: [flexcoders] Tooltip Errors

2008-11-21 Thread Sefi Ninio
On focus out, check if the component that looses the focus is the the viewstack's currently selected item, and only if it is (i.e. it's visible) show the tooltip... On Fri, Nov 21, 2008 at 3:03 AM, Rafael Faria [EMAIL PROTECTED]wrote: Hey all, There is one thing that is really annoying me

[flexcoders] Embedding Flash Player

2008-11-21 Thread Jules Suggate
Hi list, long-time-no-post :) I've a gnarly one here. I contract to a VC funded startup formed to create a cross-platform desktop client. Unfortunately AIR's APIs are not low-level enough (e.g. you can't burn a CD with AIR). We've looked at Zinc, Shu Player, Janus and the rest but Zinc and Janus

[flexcoders] Datatips on a chart

2008-11-21 Thread Sefi Ninio
Hey, I have a chart set up and using dataTipFunction to format the datatips. It works great. However, what I'd really like, is to display the datatips for all the series for the current x axis value the mouse pointer is over (and only those). Example: if the mouse pointer is over x value 10, and

[flexcoders] embed font combo box

2008-11-21 Thread Kenneth Sutherland
Is there any issues with using embedded fonts and the combo box. Under a very small test program I can get the embedded font to works fine in all circumstances but in my actual app the embedded font does not work. I've tried using a swf with the font inside it, I've tried the actual ttf font

[flexcoders] Diagramming Components

2008-11-21 Thread cwicky99
Anyone know of any good diagramming/network-type graphing components? Basically, I am looking for something that allows me to define nodes (shapes, icons, etc) that can be dragged/dropped from a pallet onto a canvas (not meaningFlex Canvas component). Those nodes can be moved around and

[flexcoders] Re: Datgrid wordWrap=true with variableRowHeight=true issue

2008-11-21 Thread oneworld95
I had a strange issue recently with an ADG where both those properties were set to true and the scrollbar wouldn't go all the way down to the last item in the grid. The only thing that fixed it was to take the height attribute off completely. Lots of trial-and-error. -Alex --- In

[flexcoders] Re: How can I place my labels in my column chart vertically?

2008-11-21 Thread Amy
--- In flexcoders@yahoogroups.com, Brendan Meutzner [EMAIL PROTECTED] wrote: If you're talking about the horizontalAxis labels then.. 1) Embed a font, and specify that font in your label style 2) set rotation on horizontalAxisRenderer In order to rotate the labels, an embedded font must be

[flexcoders] Re: setting tileList.id in this.addChild(tileList) actionscript ...

2008-11-21 Thread Amy
--- In flexcoders@yahoogroups.com, Mic [EMAIL PROTECTED] wrote: var tileList:TileList = new TileList; tileList.dataProvider = thumbArray; this.addChild(tileList); Although dataprovider is set, it is not getting bound, so I think I need override public function initialize():void {

[flexcoders] Re: actionscript RemoteObject - channelSet looks like gnarly code?

2008-11-21 Thread valdhor
Check out this thread: http://tech.groups.yahoo.com/group/flexcoders/message/120115 --- In flexcoders@yahoogroups.com, Mic [EMAIL PROTECTED] wrote: Need to move some mxml components to AS, and was doing fine with the as RemoteObject until I found it has no endpoint attribute. This is done

[flexcoders] Best practice for databinding with MenuBar?

2008-11-21 Thread Mark Carter
I have a MenuBar where the dataProvider is specified in MXML as an XMLList. For the enabled attributes I do something like: enabled={allowThis()} However, to get databinding working I end up passing in the relevant bindable property and then ignore it within the implementation of allowMe().

[flexcoders] flex/coldfusion login snippet

2008-11-21 Thread stinasius
hi guys i need help on flex/coldfusion login.

Re: [flexcoders] flex/coldfusion login snippet

2008-11-21 Thread Howard Fore
http://www.google.com/search?q=coldfusion+flex+login+example On Fri, Nov 21, 2008 at 10:13 AM, stinasius [EMAIL PROTECTED] wrote: hi guys i need help on flex/coldfusion login. -- Howard Fore, [EMAIL PROTECTED] The universe tends toward maximum irony. Don't push it. - Jeff Atwood

[flexcoders] Re: appending to a dataprovider in actionscript

2008-11-21 Thread netdeep
Well, I tried this approach and while I didn't work, at least I finally got an error from flash instead of the whole program just hanging: TypeError: Error #1006: value is not a function. at

[flexcoders] Re: Embedding Flash Player

2008-11-21 Thread valdhor
I don't know about others but this seems, to me, to be a very difficult route to take. Have you looked at the Merapi Project (http://www.merapiproject.net/)? This would give you a bridge between your AIR application and the local Java implementation. --- In flexcoders@yahoogroups.com, Jules

Re: [flexcoders] Re: appending to a dataprovider in actionscript

2008-11-21 Thread Maciek Sakrejda
What does your code look like (the .addEventListener call and the definition of your listener)? -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: netdeep [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject:

Re: [flexcoders] Embedding Flash Player

2008-11-21 Thread Steve Mathews
You can get a license to distribute the installer from Adobe. Then just silently install the player you need when installing your application. Unless there is something I don't know about the 'Plugin' version of the installer. We are doing exactly this but we are targeting windows only (C# app +

RE: [flexcoders] Re: setting tileList.id in this.addChild(tileList) actionscript ...

2008-11-21 Thread Tracy Spratt
If you add an id to a component created at runtime, that id can't be used as a reference to it., precisely. It is just a string property of the component and the parent component knows nothing about it. An id on an mxml tag works as a reference because the compiler creates an instance

RE: [flexcoders] Best practice for databinding with MenuBar?

2008-11-21 Thread Tracy Spratt
I do not use binding to change dataProvider property values. Rather, I use an e4x expression to locate the desired node(s), then directly set the property values I want. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark

RE: [flexcoders] Embedding Flash Player

2008-11-21 Thread Jim Hayes
How easy was it to get the licence to distribute the flash player? Anecdotally, I'd heard this was rather hard to do in practice, but maybe this has changed since I last enquired a couple of years back. This has always been a stumbling block for various solutions I've tried over the years.

Re: [flexcoders] Datatips on a chart

2008-11-21 Thread Brendan Meutzner
Claude Hussenet has come up with a solution for this. Here's the past post. http://tech.groups.yahoo.com/group/flexcoders/message/90045 I've used and it works great. Brendan On Fri, Nov 21, 2008 at 4:56 AM, Sefi Ninio [EMAIL PROTECTED] wrote: Hey, I have a chart set up and using

Re: [flexcoders] Re: How can I place my labels in my column chart vertically?

2008-11-21 Thread Brendan Meutzner
Amy, That I didn't know! Great tip... :-) Brendan On Fri, Nov 21, 2008 at 8:07 AM, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Brendan Meutzner [EMAIL PROTECTED] wrote: If you're talking about the horizontalAxis labels then.. 1)

[flexcoders] Re: How can I place my labels in my column chart vertically?

2008-11-21 Thread sailorsea21
Hi everyone, I'm actually talking about the labels for my ColumnSeries. I got something visually working but it doesn't always display the correct data. The data in my Column DataTips are precise but the data from my ColumnSeries Labels aren't always precise This is what I did: On my

[flexcoders] Removing an item from a sorted ArrayCollection?

2008-11-21 Thread bjorn
I experienced some problems with ArrayCollection's removeItemAt(). It seemed to work... randomly. Tucked away in the documentation i found this little gem: Note: If you use the ICollectionView interface to sort or filter a collection, do not use the IList interface to manipulate the data, because

[flexcoders] Re: Integrating MapServer with Flex

2008-11-21 Thread huhgawz
Did you share your code? Can I have a copy as well? Thanks Huhgawz --- In flexcoders@yahoogroups.com, Juan Carlos M. [EMAIL PROTECTED] wrote: We have also managed to use modestmaps with a WMS map server, and all we hat to do was to write a new map provider for the WMS map server. Was not

Re: [flexcoders] swf with TextField.htmlText - links do not work

2008-11-21 Thread bjorn
For anyone else experiencing this problem, I think it's due to a bug: http://jobemakar.blogspot.com/2007/05/texteventlink-bug-in-actionscript-3.html If the textfield isn't selectable, links won't work (onmouseover hand cursor is shown, the links just doesn't work). Bjørn 2008/10/6 bjorn

[flexcoders] Re: appending to a dataprovider in actionscript

2008-11-21 Thread netdeep
The code for the event listener is pretty much what was suggested previously: private function updateHandler(event:CollectionEvent):void { Alert.show( updated); } BindingUtils.bindProperty(lineSeries, dataProvider, ser, pointList); // assignement to pointList which is the

[flexcoders] Re: Tooltip Errors

2008-11-21 Thread ross_w_henderson
I've had a similar issue with tooltips, though, not with ViewStacks, and I think Sefi's solution is correct. That's more or less what I've done, at least. My understanding of what is happens in these cases is the ToolTipManager that created the tooltip gets destroyed without destroying the child

Re: [flexcoders] Re: appending to a dataprovider in actionscript

2008-11-21 Thread Maciek Sakrejda
I think this error is unrelated to your original question. Are you setting the parseFunction of your axis? Can you show us that code? -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: netdeep [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To:

[flexcoders] Re: Best practice for databinding with MenuBar?

2008-11-21 Thread Amy
--- In flexcoders@yahoogroups.com, Mark Carter [EMAIL PROTECTED] wrote: I have a MenuBar where the dataProvider is specified in MXML as an XMLList. For the enabled attributes I do something like: enabled={allowThis()} However, to get databinding working I end up passing in the

[flexcoders] Re: Removing an item from a sorted ArrayCollection?

2008-11-21 Thread Amy
--- In flexcoders@yahoogroups.com, bjorn [EMAIL PROTECTED] wrote: I experienced some problems with ArrayCollection's removeItemAt(). It seemed to work... randomly. Tucked away in the documentation i found this little gem: Note: If you use the ICollectionView interface to sort or filter a

[flexcoders] Re: need help in BlazeDS

2008-11-21 Thread Anthony DeBonis
Try adding mx:TraceTarget / to you main application file and run the application in debug mode. You should get more information in the console window showing traffic. Also test that the endpoint is working: example: https://local/doh2/applinks/ServiceTester/messagebroker/amfsecure Also

[flexcoders] Re: Security Sandbox Violation message

2008-11-21 Thread Anthony DeBonis
A lot of people are having issues with this now: Adobe implemented the stricter requirements in Flash Player in three phases. In Phase 1, which began with Flash Player 9,0,115,0, a small number of strict rules were enforced immediately, but most violations of the strict rules resulted only in

[flexcoders] Re: checkbox usage in flex

2008-11-21 Thread valdhor
Instead of initiating send in the button, call a function. In the function, use the getRepeaterItem method of the repeated item to get each checkbox value then add that as a parameter of the call. Check the help for more detail:

Re: [flexcoders] Re: Removing an item from a sorted ArrayCollection?

2008-11-21 Thread Haykel BEN JEMIA
Try doing something like this: var obj:Object = mySortedArray.getItemAt(index); var originalIndex:int = mySortedArray.list.getItemIndex(obj); mySortedArray.list.removeItemAt(originalIndex); I didn't test the code. But the idea behind it is that a ListcollectionView holds a pointer to the IList

Re: [flexcoders] Embedding Flash Player

2008-11-21 Thread Steve Mathews
Well it was less than great because someone here applied online several times but could not actually get the installer. Then we had a chat with Lee Brimelow (http://theflashblog.com/) http://theflashblog.com/, he passed our request on and we got the installer within a day or two. So I would

[flexcoders] multiple data sources not loading except in MXMLapp

2008-11-21 Thread john fisher
The problem: I have multiple data sources and multiple visualizations planned. I am using the Flare libraries for some ( and I have also asked this on their forum) I find that I cannot load data (XML) using URLLoader or HTTPService from a subclass or MXML component. HTTPService works fine in my

[flexcoders] Re: Datgrid wordWrap=true with variableRowHeight=true issue

2008-11-21 Thread Tim Hoff
If you're using a custom itemRenderer, try adding super.indalidateDisplayList(); in the set data method. -TH --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: I would imagine something like that would be possible if you had a custom renderer that wasn't hooked up to

[flexcoders] Re: appending to a dataprovider in actionscript

2008-11-21 Thread netdeep
Ok, I'm not sure what code you're looking for, so here is the function which I believe is triggering the error. I've edited out as much as I could (things like display settings) to trim it down and here is what remains: public function makeDateChart(genericChart:CartesianChart,

Re: [flexcoders] Datatips on a chart

2008-11-21 Thread Sefi Ninio
Hi Brendan Thanks for the reply, I'll give it a try. Sefi On Fri, Nov 21, 2008 at 6:34 PM, Brendan Meutzner [EMAIL PROTECTED]wrote: Claude Hussenet has come up with a solution for this. Here's the past post. http://tech.groups.yahoo.com/group/flexcoders/message/90045 I've used and it

[flexcoders] Gumbo: enabling netmon.swc on a flex 3.2 project

2008-11-21 Thread djhatrick
Is that possible to do, because i get a flex error when I try? Thanks, Patrick

[flexcoders] How do I rotate a transparent png maintain transparency?

2008-11-21 Thread ivo
Hello all, I have an image and I want to flip it horizontally. The source image is a png with a transparent background and I find that the flipped image losses the transparency. How do I preserve it? I am using the code below: //flip horizontally var transform:Matrix = new Matrix();

[flexcoders] I can't get my ColumnSeries labels to display the correct data...

2008-11-21 Thread sailorsea21
Hey everyone, I can't get my ColumnSeries labels to display the correct data... My DataTips always display the correct data but some labels in my ColumnSeries are (at times or always) wrong... Can anyone help me out with this? Thanks. -David

Re: [flexcoders] Re: appending to a dataprovider in actionscript

2008-11-21 Thread Maciek Sakrejda
Hmm, I don't see it a problem. The core issue is here: TypeError: Error #1006: value is not a function. at mx.charts::DateTimeAxis/mapCache()[C:\Work\flex\dmv_automation \projects\datavisualisation\src\mx\charts\DateTimeAxis.as:1403] DateTimeAxis is trying to call something as a function when

[flexcoders] Re: appending to a dataprovider in actionscript

2008-11-21 Thread netdeep
Maciek, thanks for all your help. Here is the code snippet arround line 1403 else if (cache[i][field] is Date) { for (; i n; i++) { v = cache[i]; v[convertedField] = v[field].getTime(); // line 1403

Re: [flexcoders] multiple data sources not loading except in MXMLapp

2008-11-21 Thread john fisher
OOps I am NOT able to get two HTTPServices working in one MXML app. Is there a way around this? john fisher wrote: The problem: I have multiple data sources and multiple visualizations planned. I am using the Flare libraries for some ( and I have also asked this on their forum) I find that I

RE: [flexcoders] multiple data sources not loading except in MXMLapp

2008-11-21 Thread Tracy Spratt
No, you are doing something wrong. But you have not given us much to work with. I do not know the Flare libraries. var is null after loading? You understand that RPC calls are asynchronous? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Re: checkbox usage in flex

2008-11-21 Thread Tracy Spratt
Yes. To go a bit further, while you can create the request object declaratively in mxml as you have done, it is dificult to debug and not very flexible. Instead, remove mx:request tagg and do this in a function. There is some almost-code below. But, it is not clear from your post quite what

RE: [flexcoders] multiple data sources not loading except in MXMLapp

2008-11-21 Thread Tracy Spratt
Why do you want two? You can, but do you really need to? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of john fisher Sent: Friday, November 21, 2008 2:38 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] multiple data

Re: [flexcoders] Datatips on a chart

2008-11-21 Thread Sefi Ninio
Hi Brendan, Could you maybe paste your implementation of the extending class? Thanks, Sefi On Fri, Nov 21, 2008 at 8:41 PM, Sefi Ninio [EMAIL PROTECTED] wrote: Hi Brendan Thanks for the reply, I'll give it a try. Sefi On Fri, Nov 21, 2008 at 6:34 PM, Brendan Meutzner [EMAIL

[flexcoders] Pageable data provider

2008-11-21 Thread Marco Catunda
Hi, Does anyone could point me how could I build a pageable data provider? I've just seen examples using RecordSet class which doesn't have anymore in flex. I'm bit amazed because pageable solution is very common problem/solution, Is there any easy way to implement it that I haven't figured it

[flexcoders] Architecture question using Move Effect and Events

2008-11-21 Thread devenhariyani
Hello, I'm struggling on wrapping my mind around the best way to architect a particular feature i am developing. i have gotten my code to work, but i want to improve it to make it work using a more stable and scaleble design. QUESTION: Now, the problem is when a user rolls the mouse over a

[flexcoders] Re: Pageable data provider

2008-11-21 Thread nathanpdaniel
http://www.adobe.com/cfusion/communityengine/index.cfm? event=showDetailspostId=9263productId=2loc=en_US Maybe? I'm not 100% sure of what you're referring to - but that sounds like it... --- In flexcoders@yahoogroups.com, Marco Catunda [EMAIL PROTECTED] wrote: Hi, Does anyone could

Re: [flexcoders] multiple data sources not loading except in MXMLapp

2008-11-21 Thread Fotis Chatzinikos
are you using lastResult? with multiple calls this becomes problematic... On Fri, Nov 21, 2008 at 9:59 PM, Tracy Spratt [EMAIL PROTECTED] wrote: No, you are doing something wrong. But you have not given us much to work with. I do not know the Flare libraries. var is null after loading?

[flexcoders] Re: appending to a dataprovider in actionscript

2008-11-21 Thread netdeep
Hey I think I finally figured out what was going on. The initial data for the chart was read from the database and the points were in the form of Timestamp, float (in java). Since the data doesn't change very often and I wanted to speed it up for testing, I just created a new Date and a

Re: [flexcoders] Re: Pageable data provider

2008-11-21 Thread Marco Catunda
Nathan, Thanks. I appreciate any help. It's like a HTML solution page approach. I would like a desktop way, as Matt Chottin called Implicit Pagging [1]. In [1], Matt Chotin explain very well some problems about large data sets, but this article [1] is too old (2004) and he didn't use any newer

[flexcoders] Re: Pageable data provider

2008-11-21 Thread oneworld95
Ran into this recently and wondered the same thing: Why isn't the feature built-in? But it's not too difficult to roll your own solution. I used the example here and applied it to an ADG, but you can use it for any repeating control:

Re: [flexcoders] Datatips on a chart

2008-11-21 Thread Brendan Meutzner
package range_charts.extended_series { import mx.charts.HitData; import mx.charts.chartClasses.CartesianTransform; import mx.charts.series.LineSeries; import mx.charts.series.items.LineSeriesItem; import mx.graphics.IStroke; import mx.graphics.LinearGradientStroke; import mx.graphics.Stroke;

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

2008-11-21 Thread Alex Harui
By default, the Image/SWFLoader should not be setting the loaderContext's securityDomain. If trustContent=true it will and will cause this problem. If you supplied a custom loaderContext, you could also have this problem. I would try to find out how the loaderContext is getting set. From:

Re: [flexcoders] Datatips on a chart

2008-11-21 Thread Sefi Ninio
Thanks a lot. Where did you get the original LineSeries code? All I have is the swc file... On Fri, Nov 21, 2008 at 10:20 PM, Brendan Meutzner [EMAIL PROTECTED]wrote: package range_charts.extended_series { import mx.charts.HitData; import mx.charts.chartClasses.CartesianTransform; import

RE: [flexcoders] LCDS : ReferenceError: Error #1056:

2008-11-21 Thread Jeff Vroom
I think you may have a newer server running against an older version of fds.swc. Make sure you are using the fds.swc which comes with that version of LCDS. Jeff From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Besite - Bart Sent: Thursday, November 20, 2008 10:58 AM

Re: [flexcoders] multiple data sources not loading except in MXMLapp

2008-11-21 Thread john fisher
great. good news = I am doing something wrong never mind Flare - the data is never getting there... here's what I have: an xml source and a graphml source. Each will drive a visualization. Maybe more sources to come... here's what I want to do: make a class or component for each type of

[flexcoders] Re: Architecture question using Move Effect and Events

2008-11-21 Thread devenhariyani
below is the code that i am using. maybe this will help you see what i'm trying to do, and help how i should be properly stopping the Move Effect for UI components which are dynamically created at runtime. Thanks! public function initApp:void() { //for each element in an ArrayCollection which

[flexcoders] non english character input in TextFields problems...

2008-11-21 Thread fotis.chatzinikos
Hi, When i hit Alt-shift to switch from English to another language, in Firefox input remain english, while in internet explorer the input switches to the second language (Greek) but the characters are not Greek, but broken symbols... Do i need to do something special to get this functionality?

Re: [flexcoders] Datatips on a chart

2008-11-21 Thread Brendan Meutzner
I think the package was available for 2.0.1 build... I can't remember exactly, it was quite a while ago... Brendan On Fri, Nov 21, 2008 at 2:28 PM, Sefi Ninio [EMAIL PROTECTED] wrote: Thanks a lot. Where did you get the original LineSeries code? All I have is the swc file... On Fri,

[flexcoders] Moving of item is not working in List

2008-11-21 Thread anuj181
Hi Guys I displayed data in 2 lists (A and B) using HTTP service. I need to move data from one list to another. I already implemented the easier way (the drag and drop). However I need to implement the same functionality if user clicks on ADD button and remove button. If user clicks on 'Add'

RE: [flexcoders] multiple data sources not loading except in MXMLapp

2008-11-21 Thread Tracy Spratt
Theory looks good. Have you debugged to see if httpResult is being called? One problem, you are not seetting resultFormat=e4x in the component code, so the line, xmlFeed = event.result as XML; certainly will fail. But step into or put a trace in httpResult first. Tracy

Re: [flexcoders] multiple data sources not loading except in MXMLapp

2008-11-21 Thread john fisher
More info: I am following this http://livedocs.adobe.com/flex/3/html/data_access_2.html#195243 http://livedocs.adobe.com/flex/3/html/data_access_2.html#195243 ( see below) http://livedocs.adobe.com/flex/3/html/data_access_2.html#195243 and I have left out two things I see- destination and

Re: [flexcoders] multiple data sources not loading except in MXMLapp

2008-11-21 Thread john fisher
Tracy Spratt wrote: Have you debugged to see if httpResult is being called? thats it exactly, it never gets called I added the e4x and no difference. When debugging it just jumps from service.send() to the next function in the init file. I think I should make a dummy mxml app and see if

[flexcoders] Null object doesnt exist? What is going on?

2008-11-21 Thread flexaustin
Ok, in my custom component I have this line: // root node to start with private var strtRoot:IThingy; Later in a function call from init() I call this: strtRoot = new Thingy(somearrary[1]); I get a null object error on strtRoot. I am try to create strtRoot why am I getting this error? I use

RE: [flexcoders] multiple data sources not loading except in MXMLapp

2008-11-21 Thread Tracy Spratt
..it just jumps from service.send()to the next function in the init file ..., that is normal, because of the async nature of RPC calls. The code does NOT wait until the call returns. How are you debugging? You need a breakpoint or trace or alert in the handler. Also, verify that the fault

[flexcoders] How to use remoteobject.getOperation()?

2008-11-21 Thread Mic
var cfcString:String = getUserInfo; var temp:AbstractOperation = remoteObject.getOperation(cfcString); How do I use temp to call remoteObject.getUserInfo? TIA, Mic.

RE: [flexcoders] Null object doesnt exist? What is going on?

2008-11-21 Thread Tracy Spratt
I get a null object error on strtRoot which line raises the exception? Paste the text of the error. You are *sure* that this line is in a function? strtRoot = new Thingy(somearrary[1]); Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

[flexcoders] Re: setting tileList.id in this.addChild(tileList) actionscript ...

2008-11-21 Thread Mic
Thanks all - your explanations are awesome!. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: If you add an id to a component created at runtime, that id can't be used as a reference to it., precisely. It is just a string property of the component and the parent

RE: [flexcoders] How to use remoteobject.getOperation()?

2008-11-21 Thread Tracy Spratt
Temp.send()? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mic Sent: Friday, November 21, 2008 6:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to use remoteobject.getOperation()? var cfcString:String =

[flexcoders] Re: How to use remoteobject.getOperation()?

2008-11-21 Thread Mic
Darn - first thing I tried and it never got there retried it after your suggestion and now it does :-) --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Temp.send()? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] Re: How to use remoteobject.getOperation()?

2008-11-21 Thread Tracy Spratt
Yeah, sometime we just have to let the dang computers know that no is not an acceptable answer. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mic Sent: Friday, November 21, 2008 6:39 PM To: flexcoders@yahoogroups.com Subject:

Re: [flexcoders] multiple data sources not loading except in MXMLapp

2008-11-21 Thread john fisher
Tracy Spratt wrote: ..it just jumps from service.send()to the next function in the init file ..., that is normal, because of the async nature of RPC calls. The code does NOT wait until the call returns. How are you debugging? You need a breakpoint or trace or alert in the handler. I have

Re: [flexcoders] Best practice for databinding with MenuBar?

2008-11-21 Thread Mark Carter
Thanks for that Amy. Doesn't that only work if you have a set isAllowed() as well? Unfortunately, in my scenario, isAllowed() is not set in this kind of way - its more of a calculation based on various vars elsewhere (some non-bindable). Amy-28 wrote: how bout [Bindable

RE: [flexcoders] Best practice for databinding with MenuBar?

2008-11-21 Thread Mark Carter
Thanks for that Tracy - interesting approach and could be exactly what I need. I use fairly strict naming standards: menuitem id=firstAction label=First Action enabled={allowFirstAction()}/ So, if I use your approach, then I would remove the enabled attribute and, instead, in actionscript do

[flexcoders] timings for netStream.send()

2008-11-21 Thread tom s
Hi All, I'm publishing audio to Flash Media Server, using a netStream, from the user's microphone. I'm trying to mark specific points in time in that stream that I will use to trigger other code on play back. Right now I'm doing: ns.send(fooEvent, fooparams) and then catching it with a call

[flexcoders] wait for service call to end

2008-11-21 Thread saltzmanjoelh
I am trying to make a formatter for a column. So i call my format method. format method should call my service to get the category from the DB return the category name then, the category service sets the category var on results If i try this it doesnt wait for the categoryService thread to

[flexcoders] Any good free blog sites to post Flex code on XOR what's a good web-hosting com?

2008-11-21 Thread twentymileslefttogo
Does anyone know of any good, free blog sites which make posting swfs and Flex source code easy? I've spent a few hours fighting with Blogger (which doesn't seem to even allow uploads) and am quite fed up :) If there are no decent blog sites out there, can anyone suggest a decent web-hosting

[flexcoders] Learning to work with Sprites

2008-11-21 Thread sjacks36
I am attempting to learn using Sprites for AS3-only apps and how to work with them best. I have an app that extends a Sprite and it contains another Sprite within it. How do I make it so the inner Sprite fills up the outer Sprite? The outer Sprite generates a swf that is placed within an embed of

[flexcoders] Re: Best practice for databinding with MenuBar?

2008-11-21 Thread Steve Ashton
What you are trying to do may be accomplished using custom events for data binding. Here's an example of what I think you are looking for: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=horizontal mx:Script ![CDATA[ private var

[flexcoders] Re: Pageable data provider

2008-11-21 Thread erdal
I was looking for the same thing a couple of months ago and the this is the most close to Implicit Pagination solution I've stumbled upon http://www.badongers.com/blog/?p=73 http://www.badongers.com/blog/?p=73 --- In flexcoders@yahoogroups.com, Marco Catunda [EMAIL PROTECTED] wrote: Hi,

RE: [flexcoders] Re: Architecture question using Move Effect and Events

2008-11-21 Thread Chet Haase
I'm not sure I understand the whole context, but if I'm right that there's just one of these custom components per app, and therefore one Move effect running on it at any given time, isn't it easier to just cache an instance to the effect itself and pause() it directly when you get the

[flexcoders] 9-slice question/problem

2008-11-21 Thread gedavies
I suspect I can guess the answer but looking for the definitive resolution on a 9-Slice question. I have an image that is 960(x) by 113(y) and I want it to dynamically stretch across the screen as a header/title banner but keep the same height. Say for example my screen is 1200 wide. I

[flexcoders] Strategy for managing AS3 component lifecycle?

2008-11-21 Thread Sean Jackson
I have built custom components for Flex and find the component lifecycle very useful for managing display rendering. Now I am starting to work with AS3 only components and would like to know of any strategies for managing my components lifecycle in a similar fashion since I dont have the Flex

Re: [flexcoders] Datatips on a chart

2008-11-21 Thread Sefi Ninio
Well anyway, it works great. Thanks a lot for your help. Sefi On Fri, Nov 21, 2008 at 11:55 PM, Brendan Meutzner [EMAIL PROTECTED]wrote: I think the package was available for 2.0.1 build... I can't remember exactly, it was quite a while ago... Brendan On Fri, Nov 21, 2008 at 2:28 PM,

[flexcoders] Scrolling with custom item renderers

2008-11-21 Thread jimmy5804
I have a VBox-based custom component (call it 'A') that displays some data in a list of windowshade-ish item renderers. My problem is A doesn't scroll when its child renderers exceed its dimensions. Here are the relevant factors as far as I'm aware: -scrollpolicy is set to auto (on shows a

Re: [flexcoders] Datatips on a chart

2008-11-21 Thread Brendan Meutzner
Np... thank Claude... it's all his :-) On Sat, Nov 22, 2008 at 12:31 AM, Sefi Ninio [EMAIL PROTECTED] wrote: Well anyway, it works great. Thanks a lot for your help. Sefi On Fri, Nov 21, 2008 at 11:55 PM, Brendan Meutzner [EMAIL PROTECTED]wrote: I think the package was available

[flexcoders] mx:consumer bandwidth questions

2008-11-21 Thread jitendra jain
Hi coders,    I have a consumer that gets the messages from ACTIVEMQ. I am using a selector property for filtering of message. Does it uses the bandwidth ? I want to know the bandwidth usage with and without selector property. Thanks for your valuable advices in advance.  Thanks, with

Re: [flexcoders] 9-slice question/problem

2008-11-21 Thread Haykel BEN JEMIA
Try setting the maintainAspectRatio property of the Image controls to false. In general, the Image and SWFLoader controls are a bit problematic when you don't set explicit values for the width and height ( see this test: http://demo.quietlyscheming.com/superImage/Tests.html ). Haykel Ben Jemia