[flexcoders] itemRollOver and itemDoubleClick not firing on datagrid

2008-03-05 Thread dave_defusion
I can't figure out why this isn't working, I thought I was missing something silly on Monday so didn't look at it all day yesterday in the hope that a fresh view would show me the issue but I really can't see what's going on. Here's what I have: mx:Script ![CDATA[ import

Re: [flexcoders] Flexbuilder and CF flash remoting

2008-03-05 Thread Tom Chiverton
On Tuesday 04 Mar 2008, Chad Gray wrote: Remoting and I get the error message The ***WEB-INF***/flex folder must c:\cfusion8\wwwroot\***web-inf***\flex Was that just a bad cut'n'paste ? -- Tom Chiverton Helping to centrally reinvent best-of-breed infomediaries on:

Re: [flexcoders] Re: Flex Builder 3 vs SDK and Charting

2008-03-05 Thread Tom Chiverton
On Tuesday 04 Mar 2008, Matt Chotin wrote: We wrote the license to allow you to copy the dataviz.swc and a valid serial from one of your developer machines onto the build machine. So assuming your developers have FB Pro and are set, your build machine will be fine too. Oh. In Flex 2,

Re: [flexcoders] Web services: Patterns for recoverable errors like business rule violations?

2008-03-05 Thread Tom Chiverton
On Tuesday 04 Mar 2008, Josh McDonald wrote: I find a good rule of thumb is input validation should be duplicated on the front-end, but business rules belong in the application. Sometimes it's hard to separate the two. For instance, if the user is entering a time, and the time has to be within

Re: [flexcoders] Digital Clock

2008-03-05 Thread Tom Chiverton
On Wednesday 05 Mar 2008, Vivian Richard wrote: If you are using LED characters for the clock display then how do you make the : between the hour and minute characters blink to indicate that a second has passed? Replace the colon with a space if the seconds in the Date are even.

Re: [flexcoders] Re: Flex Encryption and Flex Application check

2008-03-05 Thread Tom Chiverton
On Tuesday 04 Mar 2008, andrewwestberg wrote: won't give you back any mxml, but will probably grab the generated AS3 code. Err, no, you can get back the ABC, this is far, far, removed from anything as high level as AS3. -- Tom Chiverton Helping to simultaneously engineer interactive

Re: [flexcoders] ADG - need an event to listen to

2008-03-05 Thread Tom Chiverton
On Tuesday 04 Mar 2008, markgoldin_2000 wrote: move to another record I dont know how capture that. Any idea? Does watching for a change to selectedIndex not work ? -- Tom Chiverton Helping to efficiently utilize global clusters on: http://thefalken.livejournal.com

Re: [flexcoders] Siebel integration

2008-03-05 Thread Tom Chiverton
On Wednesday 05 Mar 2008, Tim Stewart wrote: do fine from my browser and view the returned XML - I get a HTTP 1.1. Error 400 - Bad Request. A first step would be to use something like wireshark to capture the two requests. The difference should be obvious. -- Tom Chiverton Helping to

[flexcoders] bitmapdata and tileList Drag and drop

2008-03-05 Thread thiruvengadam_dev
Hi Friends I am working on bitmap data, I am loading a images from a url and copying it into tilest component as a itemrender , while I am trying to drag and drop the itemrender which has the duplicated bitmap data, the data is getting lost , and I am getting this error ArgumentError: Error

[flexcoders] Re: Performance issue in creating a Slide Show?

2008-03-05 Thread Damien Legros
--- In flexcoders@yahoogroups.com, arpan srivastava [EMAIL PROTECTED] wrote: Hi All, I am creating a slide show with images, i have three solutions for this, can anyone help me out which one is better: 1. Load all the images in a ViewStack and show them one by one with effect. In this

Re: [flexcoders] Web services: Patterns for recoverable errors like business rule violations?

2008-03-05 Thread Josh McDonald
Well of course there'll be edge cases, that's why it's a rule of thumb and not commandment #11 ;-) On Wed, Mar 5, 2008 at 8:46 PM, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 04 Mar 2008, Josh McDonald wrote: I find a good rule of thumb is input validation should be duplicated on the

Re: [flexcoders] Digital Clock

2008-03-05 Thread YOGESH JADHAV
ya if u want to blink colon u have use separate labels, otherwise this code will be sufficient ( not mine ) ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute width=196 height=84 backgroundGradientAlphas=[1.0, 1.0] alpha=1.0 mx:Script

Re: [flexcoders] Web services: Patterns for recoverable errors like business rule violations?

2008-03-05 Thread Fernando E. Troya
I agree with Josh, partially. The most important feature in MVC is the loose coupling of layers. Make the View dependent from the underlying domain model, but not vice-versa. You should always be able to build a different client for your domain model without compromising its security nor its

Re: [flexcoders] Web services: Patterns for recoverable errors like business rule violations?

2008-03-05 Thread Tom Chiverton
On Wednesday 05 Mar 2008, Fernando E. Troya wrote: Why not take advantage of the asynchronous server calls for those validations that are complex and domain-dependent? I did do some work on an asynchronous Validator, but wasn't happy with the way it works internally (though it has the desired

[flexcoders] Re: ADG - need an event to listen to

2008-03-05 Thread markgoldin_2000
Are you talking about overriding of selectedItem? --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 04 Mar 2008, markgoldin_2000 wrote: move to another record I dont know how capture that. Any idea? Does watching for a change to selectedIndex not work ?

[flexcoders] Persistent Shared Object

2008-03-05 Thread Ben Marchbanks
I am trying to implement Shared Object as I have before but cannot retrieve the SO data. // Declared like so.. public var adminSO:SharedObject; // in my doInit() function , assigned like so... adminSO = SharedObject.getLocal(siAdminSO); I have a Model - adminInfo like so...

[flexcoders] Re: Dynamically highlighting a datagrid row

2008-03-05 Thread dbronk
Thanks... I had mine set up pretty much just like yours, but with some custom code to handle events for our app. But, the thing I was staring at for ever and reading what I wanted instead of what I typed was I was using itemRenderer instead of dropdownFactory. I guess I use itemRenderer so much

[flexcoders] Re: Use FileReference to get a directory rather than a file?

2008-03-05 Thread actionscript_czar
FileReference.browse is used to select a file( or files if you use FileReferenceList.browse ) that gets uploaded to the server. When you actually use the FileReference API to download something from the server, the normal window for your OS will come up asking you where you want to save it.

Re: [flexcoders] Web services: Patterns for recoverable errors like business rule violations?

2008-03-05 Thread jeff
On Wed, Mar 05, 2008 at 09:34:58AM +1000, Josh McDonald wrote: We don't want business rules duplicated in Flex, that's what Oracle SOA's for. And the business rules depend on variables and conditions that the flex app will not and should not have access to. I mean, how would it even be

[flexcoders] RE: Flexbuilder and CF flash remoting

2008-03-05 Thread Chad Gray
I think I figured out the problem with the not finding the XML files. Use C:\ColdFusion8 OR \\testserver\ColdFusion8 For the ColdFusion root folder. If you use a path to another server it will say Cannot access the web server. The server may not be running, or the web root folder or root

Re: [flexcoders] Re: ADG - need an event to listen to

2008-03-05 Thread Tom Chiverton
On Wednesday 05 Mar 2008, markgoldin_2000 wrote: Are you talking about overriding of selectedItem? No, attach a changeWatcher to it, and then why your handler is invoked, look through the datagrid's dataprovider for empty records and remove them. -- Tom Chiverton Helping to widespreadedly

[flexcoders] Flex 3 SWF files runtime is NOT smaller

2008-03-05 Thread v.cekvenich
When I set the flex library to be a runtime swc, it produces the flex.swc but my files are not any smaller? I just went to libs and said make it runtime, not merged. What else do I need to do? .V

Re: [flexcoders] Flex 3 SWF files runtime is NOT smaller

2008-03-05 Thread Tom Chiverton
On Wednesday 05 Mar 2008, v.cekvenich wrote: What else do I need to do? Build a non-debug version - Builder 3 requires you to go through the 'make release version' process to do this will make it even smaller, if you hadn't realised. But are you sure there isn't a build error ? -- Tom

Re: [flexcoders] Help: Flex 3 + CF8 + Remoting = 500 error with http://localhost/flex2gateway

2008-03-05 Thread João Fernandes
also, why are you using cf-polling-amf channel for a remote object? Shouldn't you use the cf-amf one? Also, as Tom said, when you change anything in your configuration, you might want to do a project clean to be sure that your app uses the latest version of your services-config.xml. --

RE: [flexcoders] Help: Flex 3 + CF8 + Remoting = 500 error with http://localhost/flex2gateway

2008-03-05 Thread Chad Gray
I ran into this problem also. I looked at other web sites that the flex2gateway did work and noticed that the CF8 update to my CF7 installed make virtual directories to CFIDE and JRunScripts. So I made these virtual directories in my new web site and the gateway started working. I think all

[flexcoders] UIComponent children, preventing scale on parent scale

2008-03-05 Thread polestar11
Hi there I have a UIComponent that has a collection of Bitmap children. I want parts of these children to not scale when the parent container scales (i.e. scale-9 for these children). I have set scale-9 for each child instance, but they still scale when the parent. I can simulate this scenario

[flexcoders] Re: ADG - need an event to listen to

2008-03-05 Thread markgoldin_2000
I have never used changeWatcher. Could you please show a sample code? Thanks --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 05 Mar 2008, markgoldin_2000 wrote: Are you talking about overriding of selectedItem? No, attach a changeWatcher to it, and

Re: [flexcoders] Re: Flex 2 SDK (hotfix 1) source?

2008-03-05 Thread Christian
If you still need them, I have copies of flex_sdk_2.zip (No hotfixes), flex2sdk_hf1_159086.zip, and flex_sdk_2_Hotfix2.zip. All have the source in frameworks/source. pm me if you want them, and we can work out a way to get them too you as they're each about 40MB. On 3/5/08, Dmitri Girski [EMAIL

Re: [flexcoders] Capturing and recording video with AIR

2008-03-05 Thread greg h
Hi Gilbert, Yes, yes and no. -- Yes AIR/Flex/Flash can encode input from a camera object (plus microphone object for the audio :) -- Yes, this encoding actually happens in Flash Player/AIR -- No, AIR has no API supporting storing the recorded FLV to the local desktop. I WISH IT DID!!! (Anyone

Re: [flexcoders] Re: ADG - need an event to listen to

2008-03-05 Thread Tom Chiverton
On Wednesday 05 Mar 2008, markgoldin_2000 wrote: I have never used changeWatcher. Could you please show a sample code? Second example on http://livedocs.adobe.com/flex/3/html/help.html?content=databinding_7.html -- Tom Chiverton Helping to professionally cluster market-driven convergence on:

[flexcoders] Re: ADG - need an event to listen to

2008-03-05 Thread markgoldin_2000
I see. But still, is there a way of capturing an event when the selected row is ABOUT to change or selectedIndex is ABOUT to change? Thanks --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 05 Mar 2008, markgoldin_2000 wrote: I have never used

[flexcoders] Creating RTMPChannel at run time

2008-03-05 Thread Bart Ronsyn
Hi All, How can I create an RTMPChannel at runtime in Flex Builder 3. Apparently, the class mx.messaging.channels.RTMPChannel does not exist any longer ? In Flex Builder 2, I could import this class, but it is not present in Flex Builder 3. Thank you for the help Bart

[flexcoders] Re: itemRollOver and itemDoubleClick not firing on datagrid

2008-03-05 Thread Danny Gold
For the list components you have to set doubleClickEnabled=true in order for them to dispatch doubleClick events --- In flexcoders@yahoogroups.com, dave_defusion [EMAIL PROTECTED] wrote: I can't figure out why this isn't working, I thought I was missing something silly on Monday so didn't look

Re: [flexcoders] Re: ADG - need an event to listen to

2008-03-05 Thread Tom Chiverton
On Wednesday 05 Mar 2008, markgoldin_2000 wrote: I see. But still, is there a way of capturing an event when the selected row is ABOUT to change or selectedIndex is ABOUT to change? If the LiveDocs don't list such an Event, then you'd have to subclass the data grid and add the event yourself.

[flexcoders] Re: Capturing and recording video with AIR

2008-03-05 Thread Abyss Knight
You may be able to roll your own solution by manipulating a byte array and writing it to the disk, assuming you know the binary format of an FLV or the video type you wish to write. The other option is to stream it to an FMS/Red5 server as Greg pointed out. To out this in perspective, when I was

[flexcoders] Re: ComboBox dropdown position

2008-03-05 Thread Aasim
Hi Alex, I have filed an enhancement request in JIRA. However, upon looking into the function displayDropdown(), I found that the condition has been handled if the dropdown is exceeding the height of the screen but they have missed out handling if the dropdown width exceeds the screen width. I

[flexcoders] datagrid and extra rows

2008-03-05 Thread Chad Gray
I am returning a query from a CFC to a datagrid and I get extra blank rows in the datagrid. I don't see a rhyme or reason for the number of extra rows either. Some queries return 5 records with 3 extra rows and some return 4 records with 3 extra rows. I double checked the query and it does

Re: [flexcoders] Creating RTMPChannel at run time

2008-03-05 Thread João Fernandes
you need to have fds.swc and fds_rb.swc from the LCDS server available in your library path. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org

[flexcoders] Re: showDataTips are not working for the Datagrid columns having itemRenderers

2008-03-05 Thread dfalling
Great, thank you...that's exactly what I was looking. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Check out the validateProperties() method in DataGridItemRenderer.as. It uses columnIndex to get the column and the dataTip

[flexcoders] Re: Capturing and recording video with AIR

2008-03-05 Thread Abyss Knight
Ta da: http://www.zeropointnine.com/blog/simpleflvwriteras-as3-class-to-create-flvs If you can dream it, it probably exists. Hope that helps, -- William --- In flexcoders@yahoogroups.com, Abyss Knight [EMAIL PROTECTED] wrote: You may be able to roll your own solution by manipulating a byte

[flexcoders] reading arrays from Java into a chart

2008-03-05 Thread netdeep
Does anyone know the best practice for transferring data from a database to generate a flex chart? I have a Java class Axis with these variables: String ID; Date start; Date end; int min; int max; int incr; String title; String

Re: [flexcoders] Global keyboard capture?

2008-03-05 Thread Troy Gilbert
stage.focus = null; However, the FocusManager may fight to put the focus somewhere. Ah, yes... I remember using that as my original attempt to fix this last year... I put a stage.focus = null in my enterFrame event handler and the FocusManager continually grabbed it back from me. Yeah, I

[flexcoders] Re: itemRollOver and itemDoubleClick not firing on datagrid

2008-03-05 Thread dave_defusion
--- In flexcoders@yahoogroups.com, Danny Gold [EMAIL PROTECTED] wrote: For the list components you have to set doubleClickEnabled=true in order for them to dispatch doubleClick events Oh yeah, I always forget about that one. So that's the doubleClick sorted, the itemRollOver still doesn't

Re: [flexcoders] Global keyboard capture?

2008-03-05 Thread Troy Gilbert
This is why Rick's suggestion of both a capture and non-capture phase listener on stage is correct. Which is what I was doing originally, as per the source code in my first post. If a display object has the focus, then is removed from the stage, does it automatically lose the focus (I would

[flexcoders] Re: How can I add Sprite / MovieClip to stage without error of not IUIComponent?

2008-03-05 Thread m88e24
Regarding Flex 3, addChild with a Sprite instance as argument does not work in contrast to what the Flex 3 documentation tells us. One of the examples taken from the Flex 3 language reference: public function SpriteExample() { var child:Sprite = new Sprite();

[flexcoders] flex and application.cfc onRequest

2008-03-05 Thread Chad Gray
What is up with flex and application.cfc's onRequest function? I get the below error unless I comment out the onRequest function when trying to connect to a CFC. cffunction name=onRequest returnType=void cfargument name=thePage type=string required=true cfinclude

[flexcoders] how to prevent gap between grid rows?

2008-03-05 Thread Pan Troglodytes
Given the following example: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical mx:DataGrid dataProvider={[{x:1}, {x:2}, {x:3}]} mx:columns mx:DataGridColumn dataField=x backgroundColor=blue mx:itemRenderer

Re: [flexcoders] Re: couple of flexmdi questions

2008-03-05 Thread Pan Troglodytes
Thanks for the response, Ben. Not actually looking for modality. Just making sure there isn't any gotcha that I should worry about if I put controls behind the windows. On Wed, Feb 27, 2008 at 10:30 AM, ben.clinkinbeard [EMAIL PROTECTED] wrote: Hi Jason, Sorry for the slow response time,

Re: [flexcoders] how to prevent gap between grid rows?

2008-03-05 Thread Mac Martine
Try setting paddingTop and paddingBottom both to 0 Mac On 3/5/08 8:27 AM, Pan Troglodytes [EMAIL PROTECTED] wrote: Given the following example: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical mx:DataGrid

[flexcoders] Re: Capturing and recording video with AIR

2008-03-05 Thread gilbert_mizrahi
Thanks Greg and William, I now you can do that with FMS/Red 5, but on the tour Adobe people specifically mentioned that the recording could be done with AIR directly. I even asked after they showed the slides and they said yes (unfortunately they did not give more details). Greg, can I install

[flexcoders] Re: itemRollOver and itemDoubleClick not firing on datagrid

2008-03-05 Thread Danny Gold
I just added a handler for itemRollOver in one of my DataGrids and it worked. Are you using Item Renderers in your DataGrid or any other special case? --- In flexcoders@yahoogroups.com, dave_defusion [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, Danny Gold danielggold@ wrote: For

Re: [flexcoders] Re: couple of flexmdi questions

2008-03-05 Thread Ben Clinkinbeard
Nope, should be fine. Just keep in mind that all of the windows are children of MDICanvas (or whatever container you've designated) so if you want something behind all of them you might want to just move it behind the container. Hope that makes sense. Ben On Wed, Mar 5, 2008 at 11:35 AM, Pan

Re: [flexcoders] Re: Flex Builder 3 vs SDK and Charting

2008-03-05 Thread Matt Chotin
You know what, you're right. We had thought about trying to make the distinction in this version but then realized that it complicated the license language a whole lot and didn't think enough people would have a problem paying for their server license to make it worth trying to adjust. I had

Re: [flexcoders] flex and application.cfc onRequest

2008-03-05 Thread Jeffry Houser
OnRequest intercepts the calls, and as such your remote Object call is never made. This is clearly documented somewhere, I'm sure. There was a lot of Blog Heat About it when Application.cfc was introduced. Chad Gray wrote: What is up with flex and application.cfc's onRequest

Re: [flexcoders] how to prevent gap between grid rows?

2008-03-05 Thread Pan Troglodytes
That worked, thanks. I don't particularly think it SHOULD, though. It seems weird to set the paddingTop/Bottom for a grid when you want the padding for each row. If you set the paddingLeft/Right properties, they don't apply to each column but instead apply to the grid. If it was a VBox, those

Re: [flexcoders] how to prevent gap between grid rows?

2008-03-05 Thread Mac Martine
Pan- Please log a bug or enhancement request for Flex SDK here: https://bugs.adobe.com/jira thanks -Mac On 3/5/08 8:47 AM, Pan Troglodytes [EMAIL PROTECTED] wrote: That worked, thanks. I don't particularly think it SHOULD, though. It seems weird to set the paddingTop/Bottom

[flexcoders] Problem authenticating Flex to Tomcat with HTTPService

2008-03-05 Thread e_baggg
I'm trying to authenticate against a Java-based application server (Tomcat) from my Flex app. I'm unable to set the HTTP Authorization header to pass to the server to authenticate. I'm also not able to read the cookie header that the server sends back after successful authentication.

[flexcoders] Re: Capturing and recording video with AIR

2008-03-05 Thread Abyss Knight
AIR can do it natively, check out the link I posted earlier or Google for RichFLV. Some very slick apps already doing this. -- William --- In flexcoders@yahoogroups.com, gilbert_mizrahi [EMAIL PROTECTED] wrote: Thanks Greg and William, I now you can do that with FMS/Red 5, but on the tour

[flexcoders] Re: Charting - problem setting AxisRenderer's showLine style via AS3

2008-03-05 Thread Sherpa_Ed
Nevermind - found out the problem from the good folks at LiveDocs. Turns out that false shouldn't be in quotes (though it'll still work WITH quotes for the showLabels style). --- In flexcoders@yahoogroups.com, Sherpa_Ed [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, Sherpa_Ed

[flexcoders] Re: itemRollOver and itemDoubleClick not firing on datagrid

2008-03-05 Thread dave_defusion
I just added a handler for itemRollOver in one of my DataGrids and it worked. Are you using Item Renderers in your DataGrid or any other special case? I'm using an item renderer, but I tried removing that earlier and that didn't do anything. The data grid is nested within an accordion which is

RE: [flexcoders] Re: DataGrid - programmatically selecting the first row - selectedItem is null

2008-03-05 Thread Tracy Spratt
If it is working for you good, but that may be the hard way. My steps to this are: * bind the form fields to the selectedItem * bind the DG to an instance var * In the data service result handler, assign the result to the instance var, then use callLater() to select the first row. Tracy

Re: [flexcoders] Re: Capturing and recording video with AIR

2008-03-05 Thread Jon Bradley
On Mar 5, 2008, at 12:23 PM, Abyss Knight wrote: AIR can do it natively, check out the link I posted earlier or Google for RichFLV. Some very slick apps already doing this. AIR cannot compress and create FLV files 'natively'. RichFLV and the like are all using custom classes to write

RE: [flexcoders] datagrid and extra rows

2008-03-05 Thread Tracy Spratt
You probably do not really have extra rows. You will find that those rows are not selectable. The number of visual rows depends on the height of the DataGrid and the rowCount property. DG has defaults for both. Tracy From: flexcoders@yahoogroups.com

Re: [flexcoders] reading arrays from Java into a chart

2008-03-05 Thread [p e r c e p t i c o n]
i had a similar situation, but i opted to leave the date info on the server-side...if that's not an option you could convert it to milliseconds (in java getTime function) which off the top of my head is a long and pass that to your object...then you could convert it to actionscript fate from

Re: [flexcoders] reading arrays from Java into a chart

2008-03-05 Thread [p e r c e p t i c o n]
oh and almost forgot...when dealing with lists coming from java i had more success with ArrayCollection than array... p On Wed, Mar 5, 2008 at 7:57 AM, netdeep [EMAIL PROTECTED] wrote: Does anyone know the best practice for transferring data from a database to generate a flex chart? I

RE: [flexcoders] datagrid and extra rows

2008-03-05 Thread Chad Gray
Nevemind this question because I had no height set on the datagrid it _looked_ like there were extra records returned, but they were just blank rows in the datagrid that were not filled in with data. Once I set a height it made sense what was going on. Duh! -Original Message-

RE: [flexcoders] datagrid and extra rows

2008-03-05 Thread Chad Gray
Thanks Tracy, I just discovered this. I feel pretty dumb. Guess I am use to looping over HTML tables and expected no extra rows to be produced. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Wednesday, March 05, 2008 1:05 PM To:

Re: [flexcoders] Re: couple of flexmdi questions

2008-03-05 Thread Ben Clinkinbeard
Jehanzeb, That was only when using MDIManager.global, right? Ben On Wed, Mar 5, 2008 at 11:50 AM, Jehanzeb Musani [EMAIL PROTECTED] wrote: Hi Jason, I was using the flexmdi for the same purpose that you are using. The application I am working on is based on modules. The main

[flexcoders] Re: reading arrays from Java into a chart

2008-03-05 Thread netdeep
Thanks for the tips. I'll try those out. But I really do need the Date objects and according to the documentation, they should convert. Also for some reason, even when I comment out the date and list objects in the Java and Actionscript definitions, I still get the reference error #1056.

[flexcoders] Flex Builder 3 debug builds broken, breakpoints all wrong

2008-03-05 Thread thirtyfivemph
Okay... I'm about to throw my laptop across the room. I am burning time trying to fix this *bug* (bug, because as a user I shouldn't be able to break this) in Flex Builder (I've seen it in 2, now seeing it in 3). I'm just happily editing my project... when all of sudden a trace statement I add

[flexcoders] Flex - Air Project Workflow.

2008-03-05 Thread Omar Fouad
Now that I have been experiencing FLEX, I just wanted to ask some questions seen that you probably would have more experience than me. 1 - What is the best way to divide an application? Should it be divide into: - States - Canvases (external MXML files) - Modules What are the

[flexcoders] Re: Error in web service from Flex 2 to Flex 3

2008-03-05 Thread diehlryan
I've filed a bug report regarding this issue: https://bugs.adobe.com/jira/browse/SDK-14873 https://bugs.adobe.com/jira/browse/SDK-14873 Please consider voting, thanks.

[flexcoders] Re: Problem authenticating Flex to Tomcat with HTTPService

2008-03-05 Thread Danny Gold
I believe the only solution to authenticate without a login page is to configure TomCat to use Basic Auth and you will get the standard browser user/pass popup whenever accessing the secure realm. --- In flexcoders@yahoogroups.com, e_baggg [EMAIL PROTECTED] wrote: I'm trying to authenticate

[flexcoders] Shared Object in Flex 2

2008-03-05 Thread nelson_geoff
Can anyone help me figure out why this won't work? ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical mx:Script ![CDATA[ private function storeVisitDate():void

[flexcoders] Re: Capturing and recording video with AIR

2008-03-05 Thread gilbert_mizrahi
William, Thanks. That's what I was looking for. Gilbert --- In flexcoders@yahoogroups.com, Abyss Knight [EMAIL PROTECTED] wrote: AIR can do it natively, check out the link I posted earlier or Google for RichFLV. Some very slick apps already doing this. -- William --- In

Re: [flexcoders] Flex Builder 3 debug builds broken, breakpoints all wrong

2008-03-05 Thread Troy Gilbert
I clean, shut down Flex Builder, manually go and clear all the cache files from my workspace's '.plugin' folder, rebuild... no good. Ah, I didn't clear *all* the caches... I left one, the searchCaches... which I thought was related to searching the help files or used for quickly jumping

RE: [flexcoders] Shared Object in Flex 2

2008-03-05 Thread Chad Gray
At first glance you are not importing the Alert class import mx.controls.Alert; -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nelson_geoff Sent: Wednesday, March 05, 2008 12:32 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Shared

[flexcoders] Re: reading arrays from Java into a chart

2008-03-05 Thread Shailesh Mangal
Dates are marshalled fine (use java.util.Date). Issue seems to be with your getter method. I think your getter methods (in Axis JavaBean) are getEndDate and getDataList. They should rather be getData and getEnd -Shailesh --- In flexcoders@yahoogroups.com, netdeep [EMAIL PROTECTED] wrote:

Re: [flexcoders] Flex Builder 3 debug builds broken, breakpoints all wrong

2008-03-05 Thread ivo
You beat me to the post, was just about to ask the list if anyone knew a way around this issue. Just upgraded to FB3 release and this became immediately apparent. What works for me tho is after I update source files I delete their swf/swc from the bin folders. -Ivo - Original Message

[flexcoders] Re: Flex Builder 3 debug builds broken, breakpoints all wrong

2008-03-05 Thread dzeitman
Did you check whether or not: Menu: Project --- build Automatically is checked? If not, then flexbuilder doesn't re-compile. And also note a clean doesn't necessarily re-compile unless that option is checked. D. --- In flexcoders@yahoogroups.com, ivo [EMAIL PROTECTED] wrote: You beat

[flexcoders] Re: Access MySQL directly from Flex client

2008-03-05 Thread Shailesh Mangal
Thanks Beau, Apart from the concerns that you have pointed out, we saw another concern around connection leak (each client needs a connection). So this is what we ended up doing. 1. Hourly Cron job on database server which spits out the xml (straight from mysql) and ftp to a secure location. 2.

[flexcoders] AdvancedDataGrid example

2008-03-05 Thread Daniel Nelson
HI, I am trying to layout some data using the AdvancedDataGrid, but having a hell of a time getting it to look right. Attached is a mockup of what I want the grid to look like. Maybe someone can provide a small sample of how to achieve this with the AdvancedDataGrid. -Dan attachment:

[flexcoders] Re: Flex 3 SWF files runtime is NOT smaller

2008-03-05 Thread v.cekvenich
Of course I make a release version. And not build error. It just seems to ignore that I flagged it as shared. There are not even any blog posts or docs on this, just marketing says that your swf will be smaller if you mark flex as swc shared. I can't get it to work. Anyone else? .V --- In

Re: [flexcoders] Re: Flex Builder 3 debug builds broken, breakpoints all wrong

2008-03-05 Thread Troy Gilbert
Did you check whether or not: Menu: Project --- build Automatically is checked? Like I said, I've been developing with Flex for the last 18 months... I'm very aware of build automatically, clean and all of their implications. It's definitely a bug in the caches... Troy.

[flexcoders] Re: pause not working in sequence of Iris effects?

2008-03-05 Thread Brian
Hi, thanks for your reply. What is the importance of ending the effect? I tried creating a canvas outside the main canvas, and putting the iris effects on that canvas. It didn't appear to make a difference. I put the loop in to _simulate_ the work that my app is doing in the middle of the

[flexcoders] Re: Problem authenticating Flex to Tomcat with HTTPService

2008-03-05 Thread e_baggg
Danny- Thanks. I just went ahead with the Socket implementation fix that Ted Patrick blogged about way back. http://www.abdulqabiz.com/blog/archives/flash_and_actionscript/http_authentica.php --- In flexcoders@yahoogroups.com, Danny Gold [EMAIL PROTECTED] wrote: I believe the only solution

[flexcoders] how to have a component change the state

2008-03-05 Thread Chad Gray
Say I have a component file that is called Login. It asks for login and password and if they succeed I want the currentState of the main MXML file to change to one called main. When I had all of the code on the one main mxml I used this code to change the state: private function

Re: [flexcoders] how to have a component change the state

2008-03-05 Thread Sherif Abdou
well i am guessing that the main is in App so i think it should be currentState = Application.application.main or you can just use a titleWindow and just remove it which would be a bit easier. - Original Message From: Chad Gray [EMAIL PROTECTED] To: flexcoders@yahoogroups.com

[flexcoders] How to maintain a Tree opened/close state after removed/added to stage?

2008-03-05 Thread ivo
Hello all, There is a behavior that is not apparent when building against Flex 3 beta 3 but shows up of Flex 3 release. I have a Tree that is added/removed from the stage at various times. In Beta 3 if I remove it from the display list add it back at a later time the tree is with the

Re: [flexcoders] how to have a component change the state

2008-03-05 Thread Scott Melby
What I usually do is have a model object that is separate from the views (MVC). In that class I would define a bindable property like [Bindable] viewState:String;... then bind my main currentState to it as follows currentState={theModel.viewState}. Now any view (like login view) can update

[flexcoders] Re: reading arrays from Java into a chart

2008-03-05 Thread netdeep
Yes, it was the accessor methods which were causing the errors! Thanks Shailesh. I tried the Arraycollection but the chart refused to draw anything: [Bindable] public var array1:Array; [Bindable]

RE: [flexcoders] how to have a component change the state

2008-03-05 Thread Chad Gray
Oh.. titleWindow is cool! I will try to work with that. There are sooo many parts to flex it is hard to know what is available to use. Even with the component explorer web page open I have a hard time. Thanks Sherif! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

[flexcoders] Re: Flex Builder 3 debug builds broken, breakpoints all wrong

2008-03-05 Thread Danny Gold
I've seen this behavior in Flex Builder 2 plenty of times. What usually works for me is a combination of cursing, cleaning, deleting the entire bin folder, and rebooting my machine. --- In flexcoders@yahoogroups.com, ivo [EMAIL PROTECTED] wrote: You beat me to the post, was just about to ask the

Re: [flexcoders] how to have a component change the state

2008-03-05 Thread Jeffry Houser
Others have already addressed your specific question. However, if you want a portable component, the best solution is for t he login component to broadcast an event, and your main application to listen for it and change the state. Chad Gray wrote: Say I have a component file that is

[flexcoders] mx:webservice and .NET 2.0 webservices

2008-03-05 Thread essuark
Has any one successfully called a .NET 2.0 webservice? I can create one in .NET 1.1 and it works fine but 2.0 doesn't work. I did create a C# test application that did connect to it and it worked so I know it is flex. Here is the error. ReferenceError: Error #1065: Variable @namespace is not

Re: [flexcoders] Shared Object in Flex 2

2008-03-05 Thread Charlie Hubbard
What's exactly not working about this? I copied your code into an mxml doc, added the missing import, and ran it. It looked like it worked to me. Charlie On Wed, Mar 5, 2008 at 12:32 PM, nelson_geoff [EMAIL PROTECTED] wrote: Can anyone help me figure out why this won't work? ?xml

[flexcoders] Can Flex2/Flex3 be used with odbc?

2008-03-05 Thread candysmate
As the subject says boy and girls. :)

[flexcoders] Re: reading arrays from Java into a chart

2008-03-05 Thread netdeep
There was a typo in my last post showing array2 as the data being bound, but in my code it was correct. I tried binding the data to a data grid and the data shows up, so it must be just that somehow the chart cant display the points correctly... Not sure yet. --- In

[flexcoders] Cairngorm and Menu Object

2008-03-05 Thread shafram
Hi, I have a catesian chart that allows you to click on a single bar which will display a Menu object. Now inside my mxml that contains this chart there is an itemClick event and in there is where I create my menu and do a menu.show(). In order to build this menu there is several business logic

RE: [flexcoders] mx:webservice and .NET 2.0 webservices

2008-03-05 Thread Tracy Spratt
Yes, I am successfully using .Net 2.0 webservice, though since I am using VS 8, maybe it is .Net 3x? As pretty much a newbie with web services, I have left almost everthing at the default (except for resultFormat). Are you doing anything fancy, like setting contentType, or anything? And

  1   2   >