RE: [flexcoders] Questions about RTMP ports and channel definitions

2006-10-24 Thread Seth Hodgson
Hi Douglas, The answer is no. The server name and port you use will be the same for all web apps deployed in your servlet container (app server). What will differ is the context root portion of the URI (this is what the container uses to route an inbound request to the target web app). As

RE: [flexcoders] Questions about RTMP ports and channel definitions

2006-10-24 Thread Dirk Eismann
Hi, And while we're at it, is there a range of port numbers that I should be using for the RTMP assignments? The flex template app is at 2038. The samples app is at 2037. How high and low can I go? BTW, my TCP/IP Network Administration book (which I obviously haven't fully absorbed :-)

RE: [flexcoders] ATTN: Adobe Re: Does FDS project have to compile on the server?

2006-10-24 Thread Dirk Eismann
I also encountered this in a project that uses RemoteObject. I always ended up getting error that /messagebroker/amf wasnot found. After looking at the runtime channel information I realized that the context root was not included in the endpoint URL (e.g. instead of

[flexcoders] A file found in a source-path must have the same package structure

2006-10-24 Thread erik_jen5en
Hi all,I am attempting to get a build environment working with the commandline tools. So far I have an Ant build script that will build allmxml files in a directory but I keep getting the following error,A file found in a source-path must have the same package structure '',as the definition's

[flexcoders] weird behaviour when DD on a filtered ArrayCollection

2006-10-24 Thread Xavi Beumala
Hi there,I've a datagrid with dragMoveEnabled=true. The idea is that the user can change the order of the items on the datagrid by dragdrop.The dataProvider of this dataGrid is an ArrayCollection, but it has a filterFunction. When the filterFunction is enabled the DragDrop starts failing, the

Re: [flexcoders] Flex Deployment Best Practices

2006-10-24 Thread hank williams
My point wasnt that big app modularity isnt important. My only point is that if your app is 2 or 3 mb you can already modularize it with the current rsl technology whereas you cant modularize the flex framework at all currently. I understand that roger's stuff is going to make big app moduarity

[flexcoders] How to discover the natural dimensions of a loaded image

2006-10-24 Thread hank williams
When I load an image, I would love to be able to set the width and have the height be set appropriately. This does happen on the screen - the image is scaled to the given width and the height is scaled on the screen. But the height on the page is not scaled and so, in a VBox for example, the

Re: [flexcoders] Re: Flex Data Services painfully slow?

2006-10-24 Thread Paul Andrews
- Original Message - From: ryanharlin [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, October 24, 2006 1:45 AM Subject: [flexcoders] Re: Flex Data Services painfully slow? How could I diagnose and identify routing and/or DNS problems? I'd like to help, but it's not

Re: [flexcoders] Re: Reset Radio Button Group

2006-10-24 Thread Sam Shrefler
Tim: THanks for the reply. Unfortunately, I'm getting an error when i try and run that code. TypeError: Error #1009: Cannot access a property or method of a null object reference.at mx.controls::RadioButton/get labelPlacement()at

[flexcoders] Multiple Panel Layout Manager + Cairngorm

2006-10-24 Thread mindmillmedia
I have an app that has a view that has 3 panels (each is a component). There are two smaller panels and one large panel. I want to be able to maximize (make one of the smaller panels bigger - and the big panel smaller) each of the panels. So - here is the question. I need each panel to respond

Re: [flexcoders] hitData.item.(variable)

2006-10-24 Thread Tom Chiverton
On Friday 20 October 2006 15:20, jnewport wrote: Is it possible to use a code like the following to create a dataTip? somePublicVariable = revenue I wouldn't have thought so, as you only get HitData after the user has clicked on the graph point. Have you seen the Charting docs on this very

Re: [flexcoders] Re: Flash Player 9 Beta Available

2006-10-24 Thread Tom Chiverton
On Thursday 19 October 2006 18:37, zzwi89 wrote: getting Flex Builder to run on Linux as well? Unless you need the WYSIWYG hand holding, there isn't really any need for FB. -- Tom Chiverton Helping to continuously expedite global e-commerce

Re: [flexcoders] Flex Data Services painfully slow?

2006-10-24 Thread Tom Chiverton
On Monday 23 October 2006 15:24, ryanharlin wrote: Is all this solved when you go beyond a single machine to host the database, coldfusion development server, and flex development server? Maybe. Does the machine show signs of load when you are requesting something ? Or are the development

Re: [flexcoders] Typecast a generic Object into a VO

2006-10-24 Thread Tom Chiverton
On Monday 23 October 2006 15:41, mdoberenz wrote: var typeCastTry:TestVO = RETURN_OBJ as TestVO; When I do this, typeCastTry gets set to null. Have you dump the object in the debugger / log file to check it's a real Test ? -- Tom Chiverton Helping to revolutionarily harvest network

Re: [flexcoders] truncateToFit does not work when percentWidth is defined for Label

2006-10-24 Thread Tom Chiverton
On Monday 23 October 2006 15:22, Nick Watson wrote: Content-Type: application/x-pkcs7-signature; name=smime.p7s Nick, KMail claims this signature is invalid. -- Tom Chiverton Helping to widespreadedly reinvent holistic communities

[flexcoders] Pagination? Where?

2006-10-24 Thread Fabio Barreiro
Is it possible to do pagination on a large Datagrid? Is there an example available? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com

Re: [flexcoders] Questions about RTMP ports and channel definitions

2006-10-24 Thread Douglas McCarroll
Seth, Dirk (and all), Thanks for your responses. I think that I'm getting a pretty good understanding now. I have a few more questions. Both Seth and Dirk suggest that I use port 1935 if I'm not using FMS. But I need a *range* of ports, as I'm running multiple webApps in the same servlet

[flexcoders] Re: Reset Radio Button Group

2006-10-24 Thread Tim Hoff
Sam, It's hard to tell without seeing your code. I tested the function before posting, so I know it works with my programs. If you can, postyour code and we'll get you going. -TH___ Tim HoffCynergy Systems, Inchttp://www.CynergySystems.comOffice: 1.866.CYNERGY ---

RE: [flexcoders] ATTN: Adobe Re: Does FDS project have to compile on the server?

2006-10-24 Thread Peter Farland
Note that context roots should not be used in RTMPChannels so in this case it shouldn't be a factorhere... the context root is only a consideration for HTTP based endpoints that are housed in J2EE web applications, such as the HTTPChannel or AMFChannel which use a servlet to accept

[flexcoders] accessing assets in an external project

2006-10-24 Thread hank williams
I can access code in another project but I cannot seem to access a swf object in the project. I am setting the given directory as a directory from which to export assets, but when I use the following code it doesnt see the swf. @font-face { src:

Re: [flexcoders] Re: Reset Radio Button Group

2006-10-24 Thread Sam Shrefler
Tim: Thanks for the help...i got it. I actually was reseting the form on click of a cancel button which also changed the view state. Thefore, the radiobuttons were going away. When the selected setting is called, it seems to call the invalidator, which I believe waits one frame to

RE: [flexcoders] Flex Data Services - Client.Data.UnderFlow

2006-10-24 Thread Peter Farland
Are you using IExternalizable on any of your objects by any chance? This is due to an unexpected error during serialization. If you could send me a reproducible test case I would very much like to know what caused this... the best way would be to zip up the code and rename the zip file

[flexcoders] ContextMenuEvent on BarSeries - how can I access the item that was clicked on?

2006-10-24 Thread klumikaze
I've got a BarChart component with one series attached to it. I've got a ContextMenu (with one custom ContextMenuItem) attached to that series. When I right click on one of the items in the series, and click my custom menu item, as far as I can tell the ContextMenuEvent I can't figure out how to

Re: [flexcoders] Flex Deployment Best Practices

2006-10-24 Thread John Kirby
Title: quote Hank - Bingo! This is exactly my concern. I love Flex... but building a "bloated" application of 500k-- 1Mb for the consumer space is not "attractive". I hope in the next releases of Flex they address the ability to design your application so the initial load module can be

RE: [flexcoders] A file found in a source-path must have the same package structure

2006-10-24 Thread Peter Farland
Perhaps you have some test code or some sample class in the same directory as the main mxml file but didn't realize that the compiler would find it during compilation? This sample class may declare that it is supposed to be in the uk.co.vianet package but it is sitting in the root

[flexcoders] Re: A file found in a source-path must have the same package structure

2006-10-24 Thread erik_jen5en
I am using an application that I have developed using FlexBuilder and now I am trying to compile with the command line tools. The application contains multiple mxml files, some of which I have put into the package structure. The problem only seems to occur when I try to compile the mxml files

RE: [flexcoders] Re: One data set, multiple DataGrids/views- best approach?

2006-10-24 Thread Tracy Spratt
It is probably just a personal problem, but I find binding often difficult to debug, so I am in the habit of using result and fault handlers for all data calls and directly assigning the result data to global/instance variables. This lets me easily inspect/debug the data I will be

RE: [flexcoders] Pagination? Where?

2006-10-24 Thread Tracy Spratt
Can you be more specific about what you want to do? pagination can mean many things. Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Fabio Barreiro Sent: Tuesday, October 24, 2006 10:20 AM To: flexcoders@yahoogroups.com Subject:

[flexcoders] Re: Flex Data Services painfully slow?

2006-10-24 Thread boy_trike
My setup is pretty basic. I'm coding at home the requests come into my router which is set up to forward port 8700 to the MacBook which is running Windows and hosts the DB, Coldfusion, and FDS. Just curious, I ASSUME you have 2G of ram in your macbook and therefore allocate 1G for

RES: [flexcoders] Pagination? Where?

2006-10-24 Thread Fabio Barreiro
Tracy For example.. Lets say I have a 500 rows data I want the DataGrid to show 100 rows and then the user be able to navigate through 5 pages showing 100 records each De: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Em nome de Tracy Spratt

RE: [flexcoders] Pagination? Where?

2006-10-24 Thread Tracy Spratt
Where are your 500 rows of data?  Already on the client or still on the server? In other words, is the problem you are trying to solve with pagination one of rendering performance, or one of data access performance?  Or neither? Tracy From: flexcoders@yahoogroups.com

RES: [flexcoders] Pagination? Where?

2006-10-24 Thread Fabio Barreiro
500 rows of data was just an example. Some queries on my database may return as high as 1 rows. Im using ASP pages as the back-end. So pagination would be the solution to better performance and user-interface issues. De: flexcoders@yahoogroups.com

[flexcoders] Asynchronously populate tree control.

2006-10-24 Thread thunderstumpgesatwork
Hi all, I am trying to populate a tree with asynchronous calls to a remote object. (I.E. each request for children of a node causes a remote call to get the children). The issue that I'm running into is that even before opening a tree node, all the children are being fetched. (call to

RE: [flexcoders] Questions about RTMP ports and channel definitions

2006-10-24 Thread Seth Hodgson
Hi Douglas, Sure, just pick your own range. The default port for HTTP is 80 but if you run multiple instances or JRun/Tomcat/whatever you end up using non-standard ports (8100, 8080, 7100, etc.). I'm not aware of any single protocol or application that has reserved a range of port numbers

RE: [flexcoders] Re: Flex Data Services painfully slow?

2006-10-24 Thread Kelly
My first guess would be to look for inefficient looping or queries in Coldfusion. Put timers in your cfcs to see how long they are taking to execute on their own. That is the most likely culprit. --Kelly From: flexcoders@yahoogroups.com

Re: [flexcoders] Pagination? Where?

2006-10-24 Thread Paul Andrews
Surely this is up to you and your back-end code rather than flex? Get the Flex application to request 'page 1' and let your backend code just return a 'page' of data. How you do that is up to you. Paul - Original Message - From: Fabio Barreiro To:

[flexcoders] Re: Flex Data Services painfully slow?

2006-10-24 Thread ryanharlin
Yeah, I've got 2 gigs in the MacBook and 1 gig given to Windows. The database is an access MDB file right now. The difference in speed when testing from the internal ip address here on the home network vs. from outside via the external ip address is such a dramatic difference that I can't chalk

RE: [flexcoders] Re: A file found in a source-path must have the same package structure

2006-10-24 Thread Peter Farland
Ah, I see. So are you using a flex-config.xml file or just a complex series of command line arguments with the compiler? If so, any chance we could see those settings? It's likely that some source path root exists that is a parent of the nested mxml file you're trying to use as a starting

[flexcoders] Newbie Question: Child / Parent Events

2006-10-24 Thread mindmillmedia
How can a child receive events of the parent? I know that events bubble - but what if you want events to sink? David -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com

[flexcoders] Flex 2 calendar framework announced

2006-10-24 Thread maunger
Hi y'all I can't believe i'm the first to post this but i don't see anything else posted so far today. Anyway, Adobe Labs site has the new scheduling framework released as alpha http://labs.adobe.com/wiki/index.php/Flex_Scheduling_Framework I haven't had much time to look thru it yet, but I

[flexcoders] Transition a move based on layoutManager moving a component

2006-10-24 Thread Sam Shrefler
Is there any way to transition a move based on a layoutManager moving a component. For instance: Say i have aVBox with 10 components. In the new state, The top 9 components are removed, therefore the 10th component is at the top fo the VBox. Is there any way to move the 10th component from its

RE: [flexcoders] Pagination? Where?

2006-10-24 Thread Tracy Spratt
better performance and user-interface issues.  This is still too broad a goal to address very successfully.  There are many causes and solutions.  If we just look at large data sets coming down the wire, then server-side pagination is one solution. If FDS is an option for you then

RE: [flexcoders] Can I dock anything to the BOTTOM of the screen

2006-10-24 Thread Andrew Trice
You could extend the mx.core.Application class to override the layoutchrome, get viewMetrics, and measure methods. This would allow you to have a true dock to the bottom of the application. _ Andrew Trice Cynergy Systems, Inc.

RE: [flexcoders] Can I dock anything to the BOTTOM of the screen

2006-10-24 Thread Matt Chotin
Also if you dont want to use absolute layout you can use a Spacer in a vertical orientation, put the spacer before your application control bar, height to 100%, and voila. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Anderson Sent: Monday,

FW: [flexcoders] Can I dock anything to the BOTTOM of the screen

2006-10-24 Thread Andrew Trice
I sent this earlier, but it is not showing up in flexcoders, so let me try again You could extend the mx.core.Application class to override the layoutchrome, get viewMetrics, and measure methods. This would allow you to have a true dock to the bottom of the application.

RE: [flexcoders] Questions about RTMP ports and channel definitions

2006-10-24 Thread Peter Farland
The answer is actuallymaybe -it depends on your application deployment. If you're going to host theSWF files in the same enterprise Java application server that deploys the web application containing the FDSmessage broker servlet then youcan rely on the {server.port} token in the channel

[flexcoders] Brightcove looking for Flex developers and QA

2006-10-24 Thread Brian Deitte
Hi all, Brightcove is looking for developers and QA for an exciting, new Flex 2 project. You'll be working with me and others at Brightcove on creating an application that focuses on video on the Web. We would love Flex experience, but if you're just starting down the path of Flex and want to

[flexcoders] Pass data in Event or store it in ModelLocator?

2006-10-24 Thread wayneposner
Howdy all! I've got a question regarding best practices for data sets--lets say an arraycollection object to keep it simple: Store in in the ModelLocator class or pass it around via Events? Is there a best practice recommendation? When is doing one more appropriate than the other? Are

RE: [flexcoders] Questions about RTMP ports and channel definitions

2006-10-24 Thread Peter Farland
Douglas, I replied yesterday but flexcoders/yahoo groups didn't send my post out to the list (I've found reliability of yahoo groups to be poor lately). I'll repost my previous message at the end of this message, but Seth provided a lot of detail that should help you too. For the port

RE: [flexcoders] Can I dock anything to the BOTTOM of the screen

2006-10-24 Thread Matt Chotin
Thats how I would recommend it J From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Anderson Sent: Monday, October 23, 2006 9:27 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Can I dock anything to the BOTTOM of the screen

Re: [flexcoders] Flex 2 calendar framework announced

2006-10-24 Thread Nick Collins
You're probably the first because all the usual announcers are at MAXOn 10/24/06, maunger [EMAIL PROTECTED] wrote: Hi y'all I can't believe i'm the first to post this but i don't see anything else posted so far today. Anyway, Adobe Labs site has the new

[flexcoders] Re: Pass data in Event or store it in ModelLocator?

2006-10-24 Thread ben.clinkinbeard
I'd say if its data that will be used outside of/after the event then you would store it in the model. Ben --- In flexcoders@yahoogroups.com, wayneposner [EMAIL PROTECTED] wrote: Howdy all! I've got a question regarding best practices for data sets--lets say an arraycollection object to

RE: [flexcoders] Questions about RTMP ports and channel definitions

2006-10-24 Thread Peter Farland
NOTE: I spoke to the flexcoderslist administrator and they're clearing out the spam folder, approving some of my posts which now appear out of order. Ignore this please, Douglas I think you're all set now on this thread. __._,_.___ -- Flexcoders Mailing List FAQ:

[flexcoders] compress/decompress webservice result

2006-10-24 Thread amigo_fd
Any ideas or suggestion on how to compress data returned from a webservice and decompress it in Flex ? My webservices are build with ASP.NET C# No speed problem when on the local network, but remote offices have to wait a bit for larger results ... Thanks, Frank -- Flexcoders Mailing List

[flexcoders] Accessing methods in nested components

2006-10-24 Thread ps06flex
Hi all, I'm new to Flex but used OpenLaszlo before. I must now build an application to use with Zinc for my studies and as OpenLaszlo is not supported by Zinc, I decided to use Flex 2. I have several components and would like to call some methods in other components. Here's my application

[flexcoders] Accessing methods in nested components

2006-10-24 Thread Pascal Schrafl
Hi all, I'm new to Flex but used OpenLaszlo before. I must now build an application to use with Zinc for my studies and as OpenLaszlo is not supported by Zinc, I decided to use Flex 2. I have several components and would like to call some methods in other components. Here's my application

Re: [flexcoders] Typecast a generic Object into a VO

2006-10-24 Thread Sebastian Zarzycki
mdoberenz wrote: I'm pretty sure this is possible, but I can't get it to work. I'm wanting to typecast a generic object that gets returned by a WebService call into a VO, but I'm having some issues. Say I have a VO of the following: public class TestVO{ [Bindable] public var i_test:int;

[flexcoders] psuedo clipping

2006-10-24 Thread Daniel Freiman
I have a Tile container. Each item in the Tile is a Canvas which contains an Image. The Image can be moved/dragged within it's parent Canvas. I want to be able to drag the image around it's parent container and if it goes beyond the bounds of the container, I want the area pf the image that is

[flexcoders] Re: hitData.item.(variable)

2006-10-24 Thread jnewport
Yes, I have read the docs. The problem is I am using XMLListCOllection and/or XMLList to populate my graph. So the dataField=@revenue. So when trying to create your own dataTipFormat I am trying to find a way to get the [EMAIL PROTECTED], which of course does not work. Any suggestions?

[flexcoders] Accessing a method in a component

2006-10-24 Thread Pascal Schrafl
Hi all, I'm new to Flex but used OpenLaszlo before. I must now build an application to use with Zinc for my studies and as OpenLaszlo is not supported by Zinc, I decided to use Flex 2. I have several components and would like to call some methods in other components. Here's my application

[flexcoders] Re: Errors exist in required project(s)

2006-10-24 Thread jnewport
Yes, but sometimes it doesn't show the errors. Mabey this is bug? Does anyone know of a best practices in testing or bug fixing in Flex? J --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Do you have the problems panel showing in the bottom? Any errors should be

[flexcoders] Google Flex Development Search Engine

2006-10-24 Thread Jamie O
Hello, Google just deployed a new 'co-op' search engine feature. Basically you setup a unique list of websites you want search results to be pulled from. I've created a new one focused on Flex 2, Cairngorm and related RIA development. Initially it has most of the major blogs, flexcoders, adobe

[flexcoders] Stand-alone apps

2006-10-24 Thread nathanpdaniel
Is there a way to communicate/write/save data locally to some sort of database (be it an actual db like mysql/access or plain text csv/xml) from within Flex? I want to store info retreived from my app locally without server side code. Any ideas or am I limited to creating web applications

[flexcoders] Re: array of arrays and XML

2006-10-24 Thread jnewport
Well the reason is because when trying to get to the hitdata.item.(object) I cause problems when using XML. Since everything in my app is dynamic I cannot hardcode the hitdata.item statements in my dataTipformat function. So I cannot use [EMAIL PROTECTED] or [EMAIL PROTECTED] I have tried

Re: [flexcoders] Typecast a generic Object into a VO

2006-10-24 Thread Mark Doberenz
I figured it out. I just made the VO have a constructor that set the values if you wanted to convert it to a VO: public class TestVO{[Bindable] public var i_test:int;[Bindable] public var o_test:Object;[Bindable] public var s_test:String;public function TestVO(obj:Object=null):void{if (obj !=

[flexcoders] Forcing class inclusion in applications

2006-10-24 Thread Derrick Grigg
Has anyone had any luck using the -includes option or the includes node in an external config file to get the flex compiler to include certain classes that are not directly referenced in the main application. I have tried everything I can think of, searched everywhere for answers, and all I find

[flexcoders] Re: Lines in text area component

2006-10-24 Thread Branko
You are right man but I had a filling that I didn't initialize variables in a right way.However that wasn't the problem.The problem was that I had trying to get Boundaries Object for new line position of the cursor and that was a cause of the error. I have fix that but now I'm facing with another

[flexcoders] create installers for my applications

2006-10-24 Thread wespinozab
Hi. First, thanks to all for the answers to my doubts, all they have helped me very much. Now I have a new question :). It is possible to create installers for my applications in flex, like the installers in .NET? My problem is that I must install my application to another computer, I don´t know

[flexcoders] using mx:fade effect with webservice

2006-10-24 Thread dsfhsdfjsdfj
I have a web service that returns a url to display a new weather image inside of a panel. I am trying to write in a fade effect in my result handler for the web service, and I cannot seem to get them to run in sequence, it seems like they are all running overlapping on themselves. I want the

[flexcoders] remote object help

2006-10-24 Thread RAMANA
hai everybody, i am new to flex environment and i am presently working on remote object service. in this regard i need a help, i am trying to retrieve values from sql and output them to datagrid, i am unable to see the values outputed to datagrid my sql db contains two columns cname and email,

[flexcoders] Removing compiler problem markers

2006-10-24 Thread mitchgrasso
I have a fairly large and complex project that has recently started popping up these annoying Removing compiler problem markers dialogs whenever building. The build works fine and the project runs. Any ideas on how to clear these? -- Flexcoders Mailing List FAQ:

[flexcoders] Re: IE Only: Error #2032 (Flex 2.0)

2006-10-24 Thread zenwarden
I am seeing this same problem on a legacy server I am working on. It would be very hard to change the responce header from 0 to -1. Is there a work around? Can I catch the error? And still get the result? Thanks, Chris --- In flexcoders@yahoogroups.com, dadrobson [EMAIL PROTECTED] wrote:

[flexcoders] pseudo clipping

2006-10-24 Thread Daniel Freiman
Does anyone know of a way to accomplish an effect similar to setting clipContent = true except that instead of cutting off the content completely, we gray out or change the alpha of of the clipped areas. I did ask a similar question earlier, but didn't get a response so I thought I'd simplify

[flexcoders] Re: Stroke color on lineSeries - bug?

2006-10-24 Thread suri_boston
Is it possible to set only the line weight but not the color? When i try to set only the weight and not set the color, then i get all black colors. What i am expecting is, let the flex assign default colors but with a line weight that i specify. any help? --- In flexcoders@yahoogroups.com,

Re: [flexcoders] Stand-alone apps

2006-10-24 Thread hank williams
You can use local sharedObjects. Depending on your needs this may or may not be sufficient. sharedObjects cannot be carried from one computer to another or emailed or backed up. Basically any object can be saved by name to the shared object. This can include all object types. But the user doesnt

[flexcoders] Toggling DataGrid Row from editable=false, to true?

2006-10-24 Thread Mike Anderson
Hello All, I have a DataGrid, in which I only allow single record edits at one time. I simply don't have the time at the moment, to maintain XML DataSets on the Client Side, and then sending it to the Server for parsing. With that said, the user can Add a Record, populate the values, and save

RE: [flexcoders] Typecast a generic Object into a VO

2006-10-24 Thread Peter Farland
Note you could do this generically for any type... as a quick hack, you could loop through the anonymous object provided in the constructor and set the property on the class iff it had such a property... something like: for (var prop:String in obj) { if (hasOwnProperty(prop))

[flexcoders] Problem sending AMF data to ColdFusion over SSL

2006-10-24 Thread Darron J. Schall
Hi, I'm running into an interesting situation that leaves me scratching my head. I've tried a few things that I could think of, but can't seem to come up with a solution, and there doesn't seem to be any help in the archives or on google. Here's the situation: I'm sending [RemoteClass]'d

[flexcoders] Re: textArea cursor position

2006-10-24 Thread Mark
Sorry Branko, I don't know that answer to that one. mark --- In flexcoders@yahoogroups.com, Branko [EMAIL PROTECTED] wrote: Thankx for Your answer. I need position of cursor in pixels.Do You have any idea about that? --- In flexcoders@yahoogroups.com, Mark mark_margo@ wrote: The

RE: [flexcoders] Problem sending AMF data to ColdFusion over SSL

2006-10-24 Thread Peter Farland
You mentioned you're contacting ColdFusion, did you forget to include instantiate-typesfalse/instantiate-types in your channel-definition properties? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Darron J. SchallSent: Tuesday, October 24, 2006 3:44 PMTo:

RE: [flexcoders] Accessing methods in nested components

2006-10-24 Thread Tracy Spratt
Your theory looks ok. Can you successfully access anything in the main application scope using parentDocument? If not, try using Application.application instead. Once you can hit the application level members, work your way down to whre you need to be. Tracy

[flexcoders] Re: Stand-alone apps

2006-10-24 Thread Doug Lowder
Actually, local shared object data is stored (on Windows systems at least) in a file with a .sol extension. If you know where to find it, you can copy the file to another computer, email it, back it up, or do anything else you'd like. You can even use Darron Schall's SolVE application to view

RE: [flexcoders] How to discover the natural dimensions of a loaded image

2006-10-24 Thread Gordon Smith
When the image has been completely loaded, you get a 'complete' event. At that point the contentWidth and contentHeight properties contain the natural size of the image. You can use these to set the Image's size to be some fraction of the natural size: private function

RE: [flexcoders] Re: array of arrays and XML

2006-10-24 Thread Tracy Spratt
Use bracket notation. Instead of: hitdata.item.(@ + someVar) try: hitdata.item.([@ + someVar[) Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jnewport Sent: Monday, October 23, 2006 11:47 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: textArea cursor position

2006-10-24 Thread Gordon Smith
The cursor blinks at the caretIndex. You can use getCharBoundaries() to determine the location of the character at this index. It's left edge should be the position of the caret. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of

RE: [flexcoders] Re: array of arrays and XML

2006-10-24 Thread Gordon Smith
You use square-bracket syntax to access a child tag or an attribute whose name you don't know at compile time: hitdata.item[@ + someVar]. If someVar is revenue, then hitdata.item[@revenue] is the same as [EMAIL PROTECTED], in the same way that when o is a plain Object o[foo] is the

RE: [flexcoders] Accessing methods in nested components

2006-10-24 Thread Gordon Smith
If you cast parentDocument to your application class, the compiler can tell you whether you've constructed the right _expression_ or not. For example, if your app is MyApp.mxml, then do MyApp(parentDocument).filenet... Without the cast, it can't typecheck anything because

[flexcoders] update an itemrenderer from outside

2006-10-24 Thread Jesús Iglesias
Hi again, I have a datagrid with a numericstepper asitemrenderer. What I need todo is the opposite of the traditional change method, instead of clicking the numericstepper, I have to update de datagrid's dataprovider and have the numericstepper updated as it's field change. ¿How to

RE: [flexcoders] remote object help

2006-10-24 Thread Tracy Spratt
I dont trust this: result=list=event.result Instead, call a handler function so that you can debug the contents of result: Result=onResult(event) private function onResult(oEvent:ResultEvent):void trace(oEvent.result.toXMLString()); //this actually will depend on the data type

Re: [flexcoders] Accessing methods in nested components

2006-10-24 Thread Pascal Schrafl
Hi Tracy, Thanks for your answer. And sorry for the trippe posting. I used the mx.core.Application.application approach too, but I always get an error #1069. I have no clue, why it doesn't work. From the nested component (addressBook) I can access the sessionID by using

[flexcoders] Re: remote object help

2006-10-24 Thread Doug Lowder
Hi Ramana, Try setting your datagrid's dataProvider property to list instead of loginChkA.list. mx:DataGrid id=dg dataProvider={list} Another good practice is to use mx.utils.ArrayUtil.toArray() on the RemoteObject result to ensure you are dealing with an array. If the getList() method

Re: [flexcoders] Problem sending AMF data to ColdFusion over SSL

2006-10-24 Thread Darron J. Schall
I love it when the answer is something simple. My Secure ColdFusion AMF channel definition looks like this (added instantiate-types): channel-definition id=cf-secure-amf class=mx.messaging.channels.SecureAMFChannel endpoint

Re: [flexcoders] Accessing methods in nested components

2006-10-24 Thread Pascal Schrafl
Hello Gordon, Thanks for the hint. I will try this. I didn't know, that the parentDocument must be cast, because I use it also (parentDocument.currentState='') and there it works. I will try it and give you a feedback, if it solved my problem. Best regards, Pascal Gordon Smith wrote: If

Re: [flexcoders] Accessing methods in nested components

2006-10-24 Thread Pascal Schrafl
Hi Gordon, My main application is called main.mxml and I have tried to cast it: main(parentDocument).filenet.sidebar.addressbookTab.addressBook.getAddressBookEntries(); I still get the Error #1069. Thanks for the help. Best regards, Pascal -- Flexcoders Mailing List FAQ:

Re: [flexcoders] How to discover the natural dimensions of a loaded image

2006-10-24 Thread hank williams
Thanks gordon. Just what I needed.HankOn 10/24/06, Gordon Smith [EMAIL PROTECTED] wrote: When the image has been completely loaded, you get a 'complete' event. At that point the contentWidth and contentHeight properties contain the natural size of the image. You can use these

RE: [flexcoders] Accessing methods in nested components

2006-10-24 Thread Gordon Smith
What is the message for Error #1069? Try tracing expressions like main(parentDocument).filenet, main(parentDocument).filenet.sidebar and see what you get. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pascal Schrafl Sent:

Re: [flexcoders] Re: Stand-alone apps

2006-10-24 Thread hank williams
You're technically right, of course it is a file on the hard disk (cant imagine how else one might have thought it would work). But it cant be moved from within flash, so from a practical perspective you cant do anything with it unless you have an exe. I dont think it would be such a winning

RE: [flexcoders] Accessing methods in nested components

2006-10-24 Thread Gordon Smith
It doesn't HAVE to be cast. It will execute fine without it, if the _expression_ is correct. But casting will enable the compiler to catch an incorrect _expression_ and also make it execute faster, because looking up properties and methods on a non-dynamic type is faster than looking

[flexcoders] Re: Flex Data Services painfully slow?

2006-10-24 Thread ryanharlin
Hmmm... the CFCs are the auto-generated ones from the Create CFC Wizard. Are they notoriously inefficient? --- In flexcoders@yahoogroups.com, Kelly [EMAIL PROTECTED] wrote: My first guess would be to look for inefficient looping or queries in Coldfusion. Put timers in your cfc's to see

Re: [flexcoders] Re: Stand-alone apps

2006-10-24 Thread Chris Velevitch
You can use a product like Zinc (http://www.multidmedia.com/) to convert your app into an .exe (or the equivalent on OS X) to access a database. Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group m: 0415 469 095 www.flashdev.org.au -- Flexcoders Mailing List FAQ:

  1   2   >