Re: [flexcoders] DataGrid itemRenderer Woes

2008-11-23 Thread Simon Bailey
Just a checkbox inside of it in answer to your first question. The reason I am using a column to ascertain visibility of the check box is due to using a vo to populate the header renderer and I need to make a comparison between the grid renderer current item and it corresponding column head

RE: [flexcoders] SWFLoader source

2008-11-23 Thread Alex Harui
Depending on how you are loading, you can't load a second app with the same name "myapp" From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Don Kerr Sent: Sunday, November 23, 2008 2:23 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] SWFLoader source Can SWFLoader l

RE: [flexcoders] Can you embed a stylesheet in an actionscript project or actionscript module?

2008-11-23 Thread Alex Harui
If you use the -keep-generated-actionscript option you can see that it generates .as for those things and copy it From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of skuteboarding Sent: Sunday, November 23, 2008 5:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Can

RE: [flexcoders] DataGrid itemRenderer Woes

2008-11-23 Thread Alex Harui
Are you changing the visibility of the entire renderer or just a checkbox inside it? Renderers on the recycle list get visible=false and set back to true when used again. If you completely hide a renderer, I'm not sure what would happen. Other than that, I would find a way to introspect the

RE: [flexcoders] Can an embedded image in a module be used by the main application?

2008-11-23 Thread Alex Harui
It might just be that the module doesn't get loaded until after the button sets up its styles. I don't know if it will pick up the fact that the styles showed up later. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of skuteboarding Sent: Sunday, November 23, 2008 6:07 AM

RE: [flexcoders] Security sandbox and two domains

2008-11-23 Thread Alex Harui
Not sure what is in your SWF. Is it pulling a FLV from somewhere? Is it being sized correctly? I'd make a simple animation SWF in Flash and try to see what is going on. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Terry Schussler Sent: Sunday, November 23, 2008 11:

[flexcoders] Re: AIR SQLLite, ints, and NULLs

2008-11-23 Thread jason_williams_mm
--- In flexcoders@yahoogroups.com, "Charlie Hubbard" <[EMAIL PROTECTED]> wrote: > > 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 g

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

2008-11-23 Thread Mark Carter
Amy-28 wrote: > > --- In flexcoders@yahoogroups.com, Mark Carter <[EMAIL PROTECTED]> wrote: >> Doesn't that only work if you have a set isAllowed() as well? > > No. There is intentionally no setter function for isAllowed for the > reason you outline below: > Ah, yes, sorry, my mistake. I di

RE: [flexcoders] Question about a component Kap Lab Diagrammer

2008-11-23 Thread Randy Martin
You should be able to find out something here: http://lab.kapit.fr/display/kaplabhome/Home ~randy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Weyert de Boer Sent: Thursday, November 20, 2008 10:37 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Qu

[flexcoders] Datagrid pagination w/ httpService

2008-11-23 Thread iloveyouwisconsin
As you can surmise I am new to the flex world so this is probably a stupid easy question that I've been struggling with for the past couple of hours. Using an example from http://www.boyzoid.com/flexdemos/pagableAC/main.html I was able to generate pagination in a datagrid. My problem now is I

Re: [flexcoders] Re: Chart datatips

2008-11-23 Thread Brendan Meutzner
Sefi, So I think I understand what you mean... the "very" small line tick that extends to the left which probably belongs to one of the underlying data points... Check out the following (right click for source): http://www.meutzner.com/blog/attachments/360/Flex_Finance_Step4.html It's an exampl

Re: [flexcoders] Compiler errors from css file

2008-11-23 Thread Rick Winscot
Can you point us to or post some code? I¹m sure we could work this out if we had some context to go off of. Rick Winscot On 11/23/08 6:20 PM, "Tom McNeer" <[EMAIL PROTECTED]> wrote: > > > > @Rick, > > They are errors, not warnings. And my comment about HTML styles was simply to > point ou

Re: [flexcoders] Re: Chart datatips

2008-11-23 Thread Brendan Meutzner
Sefi, So I changed values, and it does what you'd expect only showing the renderer for the "top layer" series... I still don't understand what you mean by "root of the connecting line". Brendan On Sun, Nov 23, 2008 at 3:49 PM, Sefi Ninio <[EMAIL PROTECTED]> wrote: > Yeah, in that example the

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

2008-11-23 Thread John Fisher
Tracy, Fotis... apologies. I set up the same experiment at home and it works fine. Of course because *there was no error message or event* gr I wasted two days tracking it down. so close this question . and thanks John Tracy Spratt wrote: > "..it just jumps from service.send()to the n

Re: [flexcoders] Compiler errors from css file

2008-11-23 Thread Tom McNeer
@Rick, They are errors, not warnings. And my comment about HTML styles was simply to point out that styles which don't exist in valid HTML CSS, as well as styles written in ActionScript style (rather than HTML/CSS style) are causing the errors. @Ralf, I know I can write them in HTML/CSS style. B

[flexcoders] Re: AIR SQLLite, ints, and NULLs

2008-11-23 Thread Amy
--- In flexcoders@yahoogroups.com, "Charlie Hubbard" <[EMAIL PROTECTED]> wrote: > > Thanks Amy, but I was really asking for what I can use as a substitute data > type for an int since you can't have NULLs for an int. So far from what I'm > finding is I can use Number in place of int and also ge

Re: [flexcoders] Re: Chart datatips

2008-11-23 Thread Sefi Ninio
Yeah, in that example the series are far apart and there is only one tip at a time - there are no overlapping data tips. Change the value of march expenses from 500 to 300 to make the series closer and you'll see what I mean. On Sun, Nov 23, 2008 at 11:11 PM, Brendan Meutzner <[EMAIL PROTECTED]>wr

[flexcoders] Advanced datagrid dataprovider error

2008-11-23 Thread hworke
Hi in my main application I have a advanceddatagrid and the code is: now with an event in an external component I tried to set a new dataprvider like this: mx.core.Application.application.controlPanel.advDataGrid.source = tree; mx.core.Application.ap

Re: [flexcoders] Re: Chart datatips

2008-11-23 Thread Brendan Meutzner
Huh? I did a test just now on the Component explorer example of line/area series chart and it worked fine for each series. Can you provide a screen capture or a bit more explanation of what you mean by "root of the connecting line"? Brendan On Sun, Nov 23, 2008 at 2:33 PM, Sefi Ninio <[EMAIL P

[flexcoders] supertabnavigator component and reordering tabs

2008-11-23 Thread Derrick Anderson
Hi, Does anyone familiar with the SuperTabNavigator in FlexLib know how to capture the tab reorder event? I looked in the code and I see that it dispatches the event TabReorderEvent, but when I listen for that event like so: surveyPages.addEventListener(SuperTabBar.TABS_REORDERED, onTabReorder);

Re: [flexcoders] How do you load a page in a tab

2008-11-23 Thread dorkie dork from dorktown
I haven't seen this availabl ein the API anywhere yet in some Flash / Flex sites the right click context menu shows Open in Window Open in Tab Copy link location So I know it's in there somewhere. I just want to give my users the option to open the link in a window OR a tab. They have this option

Re: [flexcoders] BlazeDS and MySQL

2008-11-23 Thread Ryan Gravener
Shameless plug: http://code.google.com/p/wicket-flex-blazeds/ I've never added delete and update functions but if you checkout http://ryangravener.com/wordpress/?p=52 you can get the jyst. Ryan Gravener http://ryangravener.com/flex | http://twitter.com/ryangravener On Sun, Nov 23, 2008 at 6:05

Re: [flexcoders] Re: Chart datatips

2008-11-23 Thread Sefi Ninio
Hi Brendan, I saw that in the docs as well, and tried it. It actually kinda works, except if there's more than one series, the marker is displayed with a root of the connecting line... I admit it's the closest I've got to what I need. sefi On Sun, Nov 23, 2008 at 7:56 PM, Brendan Meutzner <[EMA

RE: [flexcoders] Re: AIR SQLLite, ints, and NULLs

2008-11-23 Thread Mark Easton
I was having troubles with this also (using sqlite in AIR). I did not realise that ints dont have NULLS and Numbers do, so will change my ints to Numbers as well if that is deemed the proper thing to Thanks! _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Char

Re: [flexcoders] Re: AIR SQLLite, ints, and NULLs

2008-11-23 Thread Charlie Hubbard
Thanks Amy, but I was really asking for what I can use as a substitute data type for an int since you can't have NULLs for an int. So far from what I'm finding is I can use Number in place of int and also get a null value for a Number into the DB. At least it seems that way so far. If I change a

[flexcoders] Security sandbox and two domains

2008-11-23 Thread Terry Schussler
(note: First post here - waving hello to the collective consciousness!) OK, I'm stumped on something and after reading as much as I can find on the subject I'm looking here for a possible answer. Scenario: Site A and Site B are fully under my control. Flex application is running on Site A. Fl

Re: [flexcoders] Re: DataGrid itemRenderer Woes

2008-11-23 Thread Simon Bailey
Max buddy I am bleedin glad it ain't just me here I tell ya. I will give it a go! Cheers ;) On 23 Nov 2008, at 02:44, max.nachlinger wrote: That's quite a nasty bug. I created a checkbox renderer, traced traced listData.rowIndex, listData.columnIndex, and uid within overrides of set data(),

[flexcoders] Sortable Select-all/none Datagrid header renderer + row-delete renderer

2008-11-23 Thread max.nachlinger
http://flexamusements.blogspot.com/2008/11/sortable-uncheck-all-datagrid-header.html Hope this helps someone.

[flexcoders] Re: Learning to work with Sprites

2008-11-23 Thread sjacks36
Does anyone know of any additional useful writeups or docs for working with Sprites directly? Most of the documentation available is for working with UIComponents & the Flex framework. I am currently drawing my UI controls in Gimp, using AS3 to embed them as assets and give them behaviors. The

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

2008-11-23 Thread aphexyuri
Hosting...I'd really recommend www.lunarpages.com I've been with them for 2 years now, great service and reliable. Awesome packages as well, at an almost unbeatable price. --- In flexcoders@yahoogroups.com, "twentymileslefttogo" <[EMAIL PROTECTED]> wrote: > > Does anyone know of any good, free bl

[flexcoders] Re: DataGrid itemRenderer Woes

2008-11-23 Thread max.nachlinger
That's quite a nasty bug. I created a checkbox renderer, traced traced listData.rowIndex, listData.columnIndex, and uid within overrides of set data(), set listData(), commitProperties(), and updateDisplayList and found that the DataGrid seemingly randomly changes (reuses?) the same uid for differ

[flexcoders] netStream.send() timings (2)

2008-11-23 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] navigateToURL & request.data & connection problem

2008-11-23 Thread assaia
Hello and thank you a lot for your time. The function runs when a button is clicked. When the new webpage loads I get a "Internal Server Error" and "The server encountered an internal error or misconfiguration and was unable to complete your request." I've tried a lot of different configurations

[flexcoders] Determining user setting for Local Storage

2008-11-23 Thread scotchfaster
Is there any way to determine what the user has set as the size for Local Storage for a particular domain? Thanks! -- View this message in context: http://www.nabble.com/Determining-user-setting-for-Local-Storage-tp20643000p20643000.html Sent from the FlexCoders mailing list archive at Nabble.c

[flexcoders] BlazeDS and MySQL

2008-11-23 Thread Fernando Cabredo
Hi, Is there anyone who can provide a tutorial on CRUD operation using Java, BlazeDS and MySQL.? Thanks, Pando

Re: [flexcoders] DataGrid itemRenderer Woes

2008-11-23 Thread Simon Bailey
Ok I have stopped all the errors and essentially integrated your (Alex's) logic into my application after some serious hair pulling. The responsibility lies now with the method below for showing or hiding the check box: override protected function commitProperties():void {

[flexcoders] Re: AIR SQLLite, ints, and NULLs

2008-11-23 Thread Amy
--- In flexcoders@yahoogroups.com, "Charlie Hubbard" <[EMAIL PROTECTED]> wrote: > > 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

Re: [flexcoders] DataGrid itemRenderer Woes

2008-11-23 Thread Simon Bailey
Main Thread (Suspended: TypeError: Error #1034: Type Coercion failed: cannot convert mx.controls.dataGridClasses::DataGridItemRenderer to mx.controls.CheckBox.) This is the main gremlin! On 23 Nov 2008, at 17:24, Simon Bailey wrote: Thanks Alex, Ok so I see where you @ in regards to rec

Re: [flexcoders] Re: Chart datatips

2008-11-23 Thread Brendan Meutzner
Sefi, Add this to your Chart definition... it sets the dataTipRenderer style to be a "blank" instance, but the data point renderer still shows... I think this is what you're looking for. dataTipRenderer="mx.skins.ProgrammaticSkin" Brendan On Sun, Nov 23, 2008 at 7:03 AM, Sefi Ninio <[EMAIL P

Re: [flexcoders] DataGrid itemRenderer Woes

2008-11-23 Thread Simon Bailey
Thanks Alex, Ok so I see where you @ in regards to recycling etc. The problem is pinpointing exactly where to go from here, my app wasn't necessarily straight forward and involved custom DataGridColumns, dynamic AS creation of columns etc. I implement aspects you demo (and from the mammot

[flexcoders] Printing contents of Data Grid

2008-11-23 Thread GYANPRAKASH PANDEY
Hi, I want to print contents of data grid on a challan. When i try to print it , it prints dataGrid as image can u help me out in this case, to print only contents of data grid on challan? thnx in advance regards, gyanprakash pandey Did you know? You can CHAT without downloading messeng

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

2008-11-23 Thread Amy
--- In flexcoders@yahoogroups.com, Mark Carter <[EMAIL PROTECTED]> wrote: > > > Thanks for that Amy. > > Doesn't that only work if you have a set isAllowed() as well? No. There is intentionally no setter function for isAllowed for the reason you outline below: > Unfortunately, in my scenario,

[flexcoders] Re: checkbox usage in flex

2008-11-23 Thread sbnkn
Hi, Thanks for your suggestions. I tried it and the code looks like this: submit button code: addAnnouncement function code: private function addAnnouncement(evt:Event):void{ var selArr:Array = []; var oRequest:Object = new Object(); var idx:int;

[flexcoders] Can an embedded image in a module be used by the main application?

2008-11-23 Thread skuteboarding
I'm trying to load an image from a stylesheet in a module, then use that style declaration in the main application. It doesn't seem to work, but wondered if there is something special I need to do to get it to work? I have the following in my stylesheet in my module: .sun { icon: "@Embed(

[flexcoders] Can you embed a stylesheet in an actionscript project or actionscript module?

2008-11-23 Thread skuteboarding
Hi, I've got a module which is written mainly in actionscript. The module can contain some css style declarations for changing the appearance of the main app. My question is, can I embed a stylesheet within the module using actionscript, similar to the following mxml code: I can get the

Re: [flexcoders] Re: Chart datatips

2008-11-23 Thread Sefi Ninio
Hi Vivian, I guess I'm not doing a very good job of making myself clear, please excuse me - english is not my first language. Anyway, A chart datatip has 3 parts: the bubble with the text area, the marker on the series itself and the line that connects the two. I would like to display the datatip

Re: [flexcoders] Compiler errors from css file

2008-11-23 Thread Ralf Bokelberg
You don't have to write them in ActionScript style. Flex understands background-alpha as well as backgroundAlpha. I guess you are talking about some external validator for the css, or? r. On Sun, Nov 23, 2008 at 2:27 AM, Rick Winscot <[EMAIL PROTECTED]> wrote: > Are you getting Flex compiler erro

Re: [flexcoders] Re: Chart datatips

2008-11-23 Thread Vivian Richard
if you are trying to get the charting source data then try "HitData" http://livedocs.adobe.com/flex/3/html/help.html?content=charts_eventsandeffects_03.html On Sun, Nov 23, 2008 at 2:48 AM, Sefi Ninio <[EMAIL PROTECTED]> wrote: > Hi Don, > > Thanks for the reply. > This isn't what I'm a

Re: [flexcoders] Re: Chart datatips

2008-11-23 Thread Sefi Ninio
Hi Don, Thanks for the reply. This isn't what I'm after though... I'm looking for a way to display the datatip but only display the target of the datatip, without the bubble and the leading line from the target to the bubble. Or if there's a different approach other than datatips... I would have

[flexcoders] Re: Chart datatips

2008-11-23 Thread Don Kerr
Not clear what you are asking, but did you try dataTipFunction for custom dataTips? It lets you layout your dataTip any way you'd like . Generic example from one of my apps below... public function dtf(hd:HitData):String { return ""+(hd.item.evaldueDate.getMonth()+1).toString() +

[flexcoders] SWFLoader source

2008-11-23 Thread Don Kerr
Can SWFLoader load an app not within the same project/site folder? I have an application in http://www.mydomain.com/flex/project1/bin/myapp.swf I want to use SWFLoader to load this app inside another app located in a separate project2 site folder http://www.mydomain.com/flex/project2/bin/myapp

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

2008-11-23 Thread florian.salihovic
Stupid me... it's the icon-style i had to use... --- In flexcoders@yahoogroups.com, "florian.salihovic" <[EMAIL PROTECTED]> wrote: > > 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

[flexcoders] Bug List (can't get into adobe bugs)

2008-11-23 Thread arieljake
1. Drop down menu of styleName(s) we can use in Flex Builder. A customizable 2 layer menu would be really nice,. 2. Compiler addition: we have Interfaces, but what if we want totally unrelated objects to implement the interface in the same manner? I propose a compiler directive "implementswith" an

[flexcoders] Chart datatips

2008-11-23 Thread Sefi Ninio
Hey, Is it possible to enable datatips on a chart, but to only display the round marker on the series item and not the datatip? Thanks, Sefi