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

2008-11-22 Thread Mark Carter
Oh, I see - its a simple as: for each (var menuitem:XML in menuitemsXML..menuitem) { var id:String = [EMAIL PROTECTED]; var allowFuncName:String = allow + id.substring(0, 1).toUpperCase() + id.substring(1); if (hasOwnProperty(allowFuncName)) { [EMAIL PROTECTED] =

[flexcoders] Flex chart zoom according to series

2008-11-22 Thread Sefi Ninio
Hey, I have a chart with two series, but one has values a lot bigger than the other (avg of ~3000 against ~4), so the second series's values are almost not visible... Setting the big series's visibility to false doesn't cause the chart to redraw to show the small series since the big series is

[flexcoders] Re: Flex chart zoom according to series

2008-11-22 Thread Sefi Ninio
Some more info: The legend wasn't there at all, and when I debugged the app, I caught an Error: ReferenceError: Error #1069: Property marker not found on com.innovid.view.common.LineSeries and there is no default value. Probably because it's a member of the chart itself and not of the series...

[flexcoders] Re: Right click context menus

2008-11-22 Thread cesarerocchi
This code is not working for me. Flex 3, tried both player 9 and 10. -c. Rick's code isn't working for you? That's weird. I double checked my code, and I'm adding the context menu to the textField's parent component. So I'm not sure what's going on here. What framework/player versions are

[flexcoders] Modify context menu of TextArea

2008-11-22 Thread cesarerocchi
Hi, I am trying to modify the contextMenu which appears when I right-click a TextArea. Can I do it? How? Thanks in advance, -c.

[flexcoders] Store local data

2008-11-22 Thread Marco Catunda
Hi, Is there any way to store local data using Flash Player? I've just seen using AIR. I would like to use it for cache solution. -- Marco Catunda

Re: [flexcoders] Store local data

2008-11-22 Thread Paul Andrews
- Original Message - From: Marco Catunda [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, November 22, 2008 3:00 PM Subject: [flexcoders] Store local data Hi, Is there any way to store local data using Flash Player? Yes - shared objects (like cookies, really)

[flexcoders] AIR SQLLite, ints, and NULLs

2008-11-22 Thread Charlie Hubbard
I've read over all of the docs on Air, but there seems to be a missing discussion around NULL values in SQLLite and how those map back to datatypes. What I've found is that if I have an int field type I can't get a NULL value to ever get inserted into the SQLLite. It just ends up inserting 0

Re: [flexcoders] Store local data

2008-11-22 Thread Peter Witham
I have a quick and dirty example of using the local shared object to store/retrieve/delete data here http://www.uibuzz.com/?p=111 However it is not a great way to store lots of data. If the application is online you will most likely have to use a serverside storage solution for any reasonable

[flexcoders] [

2008-11-22 Thread v.cekvenich
I would like to inform you of an online (world wide) class on 3D Flex/Flash w/ Proj.com engine, using PaperVision: • Event details and to register: http://proj.com/Default.aspx?pageId=212996eventId=32084EventViewMode=EventDetails • 1 class composed of 2 sessions: on mornings of December

Re: [flexcoders] Store local data

2008-11-22 Thread Marco Catunda
The kind of data is a dataprovider with a lot of records (500 - 2000). The shared objects don't store many datas. :( Let me explain my problem. I have a screen which user have to input data very fast. It is a kind of POS (Point of Sale). The input text, with autosuggest approach, in this

Re: [flexcoders] Store local data

2008-11-22 Thread Peter Witham
I don't think we'll see SQL Lite in the Flash player for web anytime soon due to the security problems it could create. Have you considered pulling the auto suggest content in when the application starts and / or in the background? The only other option that comes to mind is have the server page

Re: [flexcoders] Store local data

2008-11-22 Thread Marco Catunda
Peter, I've implemented exactly as you said, put the content when the application starts. But the problem is amount of data. If It is larger the memory will be out of. The solution of cache XML in the user's browser has the same memory problem for larger data. I'm praing for that data not

Re: [flexcoders] embed font combo box

2008-11-22 Thread Daniel Freiman
The only issue I know of with the combo box is that the control shows the bold version of the font. So if the bold style is not explicitly embeded, the font won't show up correctly in the control. - Daniel Freiman On Fri, Nov 21, 2008 at 6:14 AM, Kenneth Sutherland [EMAIL PROTECTED] wrote:

[flexcoders] The various TreeGrid implementations

2008-11-22 Thread Mitch Haile
I have an application I'm preparing to ship that currently is using osflex's TreeGrid. In order to comply with LGPL, the osflex library must be dynamically linked. I haven't been able to get osflex to link as a RSL with mxmlc. So I've been looking at converting over to Flexlib's TreeGrid

[flexcoders] Compiler errors from css file

2008-11-22 Thread Tom McNeer
Hi, When using an external CSS file in my Flex apps, I receive compiler errors from attributes that are not valid for normal browser CSS ('property backgroundAlpha doesn't exist'), either because the attributes don't exist in HTML (fillAlphas) or because they are written in Actionscript style

Re: [flexcoders] Store local data

2008-11-22 Thread Paul Andrews
- Original Message - From: Marco Catunda [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, November 22, 2008 6:01 PM Subject: Re: [flexcoders] Store local data The kind of data is a dataprovider with a lot of records (500 - 2000). The shared objects don't store many

[flexcoders] Re: Flex chart zoom according to series

2008-11-22 Thread EddieBerman
One idea - don't bind your legend to your chart. Create your own legend. To get the color, query your series fill style (once both series have initially been created), or just use the Halo colors array. An example: for (var i:int = 0; i array.length; i++) { var color:uint; var

[flexcoders] DataGrid itemRenderer Woes

2008-11-22 Thread Simon Bailey
Hi, I have seen through google that this has been an issue but implementing various solutions still leaves my existing problem. Essentially I have a DataGrid with a custom itemRenderer displaying CheckBoxes. Within the renderer I am running a comparison on a value within the renderers data

[flexcoders] Re: Is this a problem when my project decompiles??

2008-11-22 Thread djhatrick
Alex, Thanks for responding, and thanks for the good presentation at Max.. I hope you are feeling better :) Actually, I do. I have some skins, so I guess this is why that is showing up, I thought it might be because i had entry point issue where my project was linked up to it's self from a

[flexcoders] Original skins won't disappear - 2 skins instead.

2008-11-22 Thread florian.salihovic
This is my weekend nw quite long. Basically i have a Programmatic skin which i want to use for my RadioButton. It works, since i see them. But the Halo theme does not disappear. Instead i see both skins... i apply the skin via: mx:Style RadioButton {

[flexcoders] Skinning does not work properly. 2 skins appear.

2008-11-22 Thread florian.salihovic
This is my weekend nw quite long. Basically i have a Programmatic skin which i want to use for my RadioButton. It works, since i see them. But the Halo theme does not disappear. Instead i see both skins... i apply the skin via: mx:Style RadioButton {

Re: [flexcoders] Compiler errors from css file

2008-11-22 Thread Rick Winscot
Are you getting Flex compiler errors or just warnings? If it¹s just warnings you can use the ­warnings=false compiler option. http://www.quilix.com/node/9 To be fair - I¹m not sure if I understand the true nature of your problem... You are talking about styles in Flex correct? If so... HTML

Re: [flexcoders] Re: Right click context menus

2008-11-22 Thread Rick Winscot
Can you post a sample of your code? It would help us find the root cause of the problem. I¹d be happy to do some work off-list as well if needed. Rick Winscot On 11/22/08 9:13 AM, cesarerocchi [EMAIL PROTECTED] wrote: This code is not working for me. Flex 3, tried both player 9 and

Re: [flexcoders] Re: Pageable data provider

2008-11-22 Thread Rick Winscot
I¹m sure that you are looking for something near-term... but just an fyi ­ there are some exciting features getting rolled into gumbo. Some of the LCDS features for dataset management are getting partitioned for use in the framework ­ without the LCDS requirement. Rick Winscot On 11/21/08 7:27

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

2008-11-22 Thread Tracy Spratt
Certinaly nothing wrong with that approach. Another way to do it would be a switch statement in a single function that used the id to choose the calculations. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Carter

RE: [flexcoders] wait for service call to end

2008-11-22 Thread Tracy Spratt
You will need to have a handler function called by the result event, and apply the formatting from that. The player is single threaded (from the developers viewpoint), there is no code blocking, and all RPC calls are asynchronous. You can not, ever, access the result in the same function you

Re: [flexcoders] Store local data

2008-11-22 Thread Mark Carter
Does this help? http://jessewarden.com/2008/11/writing-a-caching-engine-for-flash-player.html Marco Catunda wrote: The kind of data is a dataprovider with a lot of records (500 - 2000). The shared objects don't store many datas. :( Let me explain my problem. I have a screen which

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

2008-11-22 Thread flexaustin
Yes, that line is in a private function. I wrote this line if(strtRoot == null){throw Error(strtRoot missing) }; to test things and throw an error before we get to strtRoot = new line and the error gets thrown. Am I missing something? --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL

RE: [flexcoders] DataGrid itemRenderer Woes

2008-11-22 Thread Alex Harui
Read the item renderers section on my blog (blogs.adobe.com/aharui). Start with the oldest posting. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Simon Bailey Sent: Saturday, November 22, 2008 2:37 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid

RE: [flexcoders] Modify context menu of TextArea

2008-11-22 Thread Alex Harui
I'm pretty sure you can't alter the context menu for a TextArea unless you set both editable=false and selectable=false which sort of defeats its utility From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cesarerocchi Sent: Saturday, November 22, 2008 6:30 AM To:

RE: [flexcoders] Scrolling with custom item renderers

2008-11-22 Thread Alex Harui
Set minWidth=0 on your component. You may also need to fix its size based on its parent's size From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jimmy5804 Sent: Friday, November 21, 2008 10:53 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Scrolling with custom

Re: [flexcoders] Store local data

2008-11-22 Thread Peter Witham
I was just came across the post on jessewarden.com, it might be worth looking in to. I am curious myself now as to the possibility to cache data as it would be most useful. Peter. On Sat, Nov 22, 2008 at 10:24 PM, Mark Carter [EMAIL PROTECTED] wrote: Does this help?

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

2008-11-22 Thread Alex Harui
Show a bit more code and the full stack trace of the error From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexaustin Sent: Saturday, November 22, 2008 8:30 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Null object doesnt exist? What is going on? Yes, that