[flexcoders] Flex 2.0 b2: Data binding

2006-04-18 Thread tyombria
Hi. How can I use data binding in as3 code, not in mxml? For example, in mxml: Button enabled={someDataGrid.selectedItem} / How can I rewrite it in as code: var b : Button = new Button(); ? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

[flexcoders] Re: Flex 2.0 b2: Data binding

2006-04-18 Thread pk_wasp
think u can only using the mx:Binding / tags or for an AS3 only option use event listeners/dispatchers? don't think u can do binding programatically like u can in WPF (though Flex is alot easier when it comes to data binding :) ). --- In flexcoders@yahoogroups.com, tyombria [EMAIL PROTECTED]

[flexcoders] Re: Flex2B2 - few questions

2006-04-18 Thread bhaq1972
3. I'm not clear on whether myBoxComponent is using myBox or myBox is using myBoxComponent, but I suspect what you are looking for is parentDocument to get at the component that is using you. So maybe you want parentDocument.someObject What i wrote wasn't clear, sorry Gordon.

[flexcoders] Flex beta 2: possible bug with image in Text component

2006-04-18 Thread Muzak
Not sure if this is supposed to work in Flex, but it does in Flash, so thought I'd try it out. I have a Text component that contains html text. In the html text there's an image specified, using img. pimg source=images/toy4.jpgsome text here../p The image does display in the Text component,

RE: [flexcoders] [Flex 1.5] File Upload and ColdFusion authentication

2006-04-18 Thread João Fernandes
Carson, It's even worse. I'll try to make it clear: Login with a flex form Use setcredentials inside my delegate to my AuthenticationRO. Use onRequestStart to handle cflogin authentication After that: 1) open a common.cfm page to see if user is authenticated 2) post files from within flex 3)

[flexcoders] looking for flex developers in slovenia/croatia

2006-04-18 Thread kosirm2000
Hi, I'm looking for flex developers in slovenia/croatia and neighbourhood. We are building commercial ria for tourist branch in croatia, so anybody with flex 2 oop skills (experience with Cairngorm) willing to work with us please drop me a note on [EMAIL PROTECTED] Project starts in May. Milan

[flexcoders] Install Flex2 Beta2 in tomcat

2006-04-18 Thread sinacapho
Dear all, My tomcat version is 5.0.28 and i am try to install the Flex2 beta2 version in my debian machine. After that i move the flex.war ,samples.war to the tomcat directory and start depolyment. It ok but when i run the mxml it get error. Even i have write a sample mxml myself and it

[flexcoders] Flex Mystic connectivity

2006-04-18 Thread deepu_verma
Hi All, I have installed flex and mystic on JRun server. What will be the flex configuration settings so as to access the cfc using remote object. On this page http://labs.macromedia.com/wiki/index.php/ColdFusion/Flex_Connectivity I was able to find the settings for Flex builder. --

[flexcoders] Re: [Flex 2b2] Changing a Chart's dataProvider at runtime?

2006-04-18 Thread flexabledev
Change it to a different one. (See below) For example: change dataProvider (via AS3) for summaryChart to {model.marketSummary} add a ColumnSeries where yField equals mktQTY and categoryField equals mktLabel Thanks Ely! Also, while I've got you... Any suggestion on how to drag a column as a

[flexcoders] Workspace Overlapping

2006-04-18 Thread Bjorn Schultheiss
Hi List, When my workspace is set to its default location C:\Documents and Settings\user\My Documents\Flex And I create a new flex project, with the location C:\Documents and Settings\user\My Documents\Flex Things work fine :) Well if I switch workspaces to C:\DEV\FLEXB2\ And try to

Re: [flexcoders] Install Flex2 Beta2 in tomcat

2006-04-18 Thread Xavi Beumala
Are you running a flash player previous to beta 2 release? I think this happened to me and was due to I was compiling with beta2 and running with a previous player (beta 1 in my case)...X. On 4/18/06, sinacapho [EMAIL PROTECTED] wrote: Dear all, My tomcat version is 5.0.28 and i am try to

[flexcoders] mx.managers::HistoryManager$/save -- null has no properties

2006-04-18 Thread mdoberenz
I've been having some issues lately with the HistoryManager object lately. I'm using some TabNavigators to display different pieces of information. Some of the tabs have objects inside them that are created using AS, and they're based on custom components that I've made. Sometimes when I

[flexcoders] Loader control size

2006-04-18 Thread jupepsa
I use the loader control to load other flex app into the principal swf. I put the width and height to 100%. When the app that is loaded on the loader has a defined size (i.e 600x300), the loader take the size, but when the app has the width and height to 100% the loader control take a standard

[flexcoders] Re: looking for flex developers in slovenia/croatia

2006-04-18 Thread kosirm2000
--- In flexcoders@yahoogroups.com, kosirm2000 [EMAIL PROTECTED] wrote: Hi, I'm looking for flex developers in slovenia/croatia and neighbourhood. We are building commercial ria for tourist branch in croatia, so anybody with flex 2 oop skills (experience with Cairngorm) willing to work

[flexcoders] FDS (java dao adapter) problem with castings?

2006-04-18 Thread al77_t
Hi guys, Was wondering if anyone faced this problem and what are the possible workarounds.. I have been experimenting with Flex Data Services and ended up with a small prototype where I have a list of users and each user can have several addresses. Please see AS Classes below. Visually it

RE: [flexcoders] Re: Do RemoteObject results still not operate in parallel?

2006-04-18 Thread Peter Farland
The player team wouldn't change this before Flex is released. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sof4real03 Sent: Monday, April 17, 2006 6:01 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Do RemoteObject results still

RE: [flexcoders] Re: Do RemoteObject results still not operate in parallel?

2006-04-18 Thread Peter Farland
You can't open many HTTP based connections from any client. Off the top of my head I think HTTP 1.1 suggests 2 connections and HTTP 1.0 suggested 4 connections. The flash player can't change this - it's up to what is configured on each OS. I see the batching as desired behavior because over a

[flexcoders] LoadMovie in mx:Loader swf

2006-04-18 Thread Jonas Windey
Hi, Im trying to use a tile-based imageviewer made in flash in a flex application, and it seems the .swf cant use loadMovie for external jpg files. Anyone has an idea how to solve this? You can reproduce it like this: In an empty .fla, put this:

Re: [flexcoders] Flex 2 on Mac OS X

2006-04-18 Thread Bolo Michelin
You really should download the SDK and use the Mac shell scripts that do all the messy java stuff for you. Also, when you use the shell scripts you don't have to specify the framework path or default config file. They get included automatically.So i don't need to use java stuff ? i can do

[flexcoders] Flex2B2 - PopupManager problem?

2006-04-18 Thread bhaq1972
i'm getting 2 runtime errors when i do the following var pop:Object = mx.managers.PopUpManager.createPopUp(this, LoginPopUp, true); LoginPopUp.mxml looks like this ?xml version=1.0 encoding=utf-8? nx:myPanel xmlns:mx=http://www.adobe.com/2006/mxml; xmlns:nx=* mx:FormItem label=UserID

Re: [flexcoders] Install Flex2 Beta2 in tomcat

2006-04-18 Thread Bolo Michelin
I found this tuto for compile with xcodehttp://www.joshbuhler.com/2006/02/06/my-conversion-to-flex-and-how-to-use-xcode-with-flex-2/ i try but have a error :(Tool:0: Command /Developer/SDKs/Flex/bin/mxmlc failed with exit code 2Tool:0: Use 'mxmlc -help' for information about using the command

[flexcoders] How i use timer????????

2006-04-18 Thread anil thakur
Hi Sir I want to take the date from database I am using select getDate() for that .But the date on mxml page is refreshed after 1 or 2 second .There is timer but it gives error I am using flex1.5 .Can sir u give me solution how can I use timer in mxml using my action script. I am

Re: [flexcoders] Flex2B2 - PopupManager problem?

2006-04-18 Thread Darron J. Schall
bhaq1972 wrote: i'm getting 2 runtime errors when i do the following Take a look at Peter Ent's post regarding Component Tempaltes in Flex 2, it should help: http://weblogs.macromedia.com/pent/archives/2006/03/component_templ.cfm -d -- Flexcoders Mailing List FAQ:

Re: [flexcoders] LoadMovie in mx:Loader swf

2006-04-18 Thread Andriy Panas
Hello Jonas, In flex, load the swf with mx:Loader source=loadMovieTest.swf width=800 height=600/mx:Loader If I open the swf, it loads the image. In flex, it doesn’t. First, use mx:Image tag to load images into Flex 1.5 app, this is more performance wise. Second, check the correctness of

RE: [flexcoders] logout remote object in flex

2006-04-18 Thread jfournet
ok, I was able to kill the session by using an HttpService to run a jsp that executed session.invalidate. How do I create a new session. Now the gui just shows an hour glass when I try to access any of the remote objects on the server.Peter Farland [EMAIL PROTECTED] wrote: When you

[flexcoders] Re: Flex2B2 - PopupManager problem?

2006-04-18 Thread bhaq1972
Thanks Darron I've came across Peter Ents example. It was going to be my second choice way.but now its going to be my first choice (its been promoted) regards bod --- In flexcoders@yahoogroups.com, Darron J. Schall [EMAIL PROTECTED] wrote: bhaq1972 wrote: i'm getting 2 runtime

[flexcoders] AMF and J2EE sessions

2006-04-18 Thread Dmitry Miller
Hello, I am wondering if I would be able to access JRun session from my java class that is used by AMF gateway. I am trying to use clustered environment with shareable j2ee sessions. Thanks for your help in advance -- Flexcoders Mailing List FAQ:

[flexcoders] Re: Flex2B2 - PopupManager problem?

2006-04-18 Thread bhaq1972
i hit the 'send' too quickly!! i should've mentioned, my simple LoginPopUp.mxml component when used in a test app doesn't have those runtime errors. eg. mx:Application LoginPopUp / /mx:Application only get the problem when using with PopUpManager. --- In flexcoders@yahoogroups.com, bhaq1972

Re: [flexcoders] F2B2: Deploying sample apps

2006-04-18 Thread Tom Ortega
Here's the error I've seen internally, with the site name and domain removed to protect the innocent. =)Error #2044: Unhandled SecurityErrorEvent: text=Error #2047: Security sandbox violation: 'LocalConnection.send ': 'corp.domain.com' may not access

RE: [flexcoders] LoadMovie in mx:Loader swf

2006-04-18 Thread Jonas Windey
Nope, that isn't working, I've tried the mx:Image control too, and I tried putting the .jpg in the root, or in the bin folder, no difference... ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns=* layout=absolute mx:Loader

RE: [flexcoders] Flex2b2: Problem casting super to an Interface

2006-04-18 Thread Tobias Patton
Then it works as expected. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin Sent: Monday, April 17, 2006 5:23 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex2b2: Problem casting super to an Interface What

RE: [flexcoders] Flex 2 on Mac OS X

2006-04-18 Thread Tobias Patton
Thats right. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Bolo Michelin Sent: Tuesday, April 18, 2006 6:36 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex 2 on Mac OS X You really should download the SDK and use the

[flexcoders] Re: Flex2B2 - PopupManager problem?

2006-04-18 Thread bhaq1972
I'm sure its a PopUpManager problem. i took Peter Ent's download and added the following in his SampleApp.mxml mx:Button click=trythis()/ mx:Script ![CDATA[ import mx.managers.PopUpManager; private function trythis():void { var pop:Object = mx.managers.PopUpManager.createPopUp(this,

[flexcoders] Loading an SWC into Flex 2 Beta 2

2006-04-18 Thread Harris Reynolds
Has anyone had success importing a 3rd party SWC into a Flex 2 Beta 2 project? I have tried two different components and each time I get the following error: unable to load SWC componentnamehere.swc: unknown element swc found in componentPackage section in catalog.xml. Does anything special

[flexcoders] Flex2 and Amazon SOAP Web services, bug?

2006-04-18 Thread Benoit Hediard
Has anyone managed to port this example to Flex 2? http://jeff.mxdj.com/using_amazons_itemsearch_webservice_from_flex.htm Here is my Flex 2 version with REST and SOAP requests : ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; height=600

Re: [flexcoders] Loading an SWC into Flex 2 Beta 2

2006-04-18 Thread JesterXL
It needs to be created compiled in Flex 2 Beta 2. Flex 1, Flex 1.5, Flash MX 2004, and Flash 8 SWC's will not work in Flex 2 Beta 2 projects. That's because Flex 2 Beta 2 utilizes ActionScript 3 and the Flash Player 8.5 whereas the others do not. - Original Message - From: Harris

RE: [flexcoders] Re: [Flex 2b2] Changing a Chart's dataProvider at runtime?

2006-04-18 Thread Ely Greenfield
Let's see... 1) If you're going to use binding to assign the dataprovider, and you want to swap in a different one at runtime, you either need to a) change the value of the thing you're binding to, or b) don't use binding. i.e., you could do this: Script [Bindable] public var

[flexcoders] Re: Loading an SWC into Flex 2 Beta 2

2006-04-18 Thread Harris Reynolds
Thanks for the reply Jester... that stinks that things like the Yahoo Maps component can not be imported into Flex 2. I tried importing the SWC directly *and* creating a new SWC with the MXP and obviously didn't have any luck with either approach. I am sure support from Yahoo will be coming

Re: [flexcoders] Re: Loading an SWC into Flex 2 Beta 2

2006-04-18 Thread JesterXL
Agreed. We all tried to actually create a Yahoo Maps SWF in Flash 8, and then load the SWF into a Flex 2 Loader (component or flash intrinsic class), but no dice. They are making one though, so maybe if we bitch more, they'll make it come out faster! - Original Message - From:

Re: [flexcoders] Flex Mystic connectivity

2006-04-18 Thread Simeon Bateman
On this page:http://labs.macromedia.com/wiki/index.php/ColdFusion/Flex_ConnectivityLook for the text:To use the CFC resource in your Flex Builder 2.0 project:simeonOn 4/17/06, deepu_verma [EMAIL PROTECTED] wrote: Hi All, I have installed flex and mystic on JRun server. What will be the flex

[flexcoders] Re: Flex Mystic connectivity

2006-04-18 Thread flexnadobe
Hello, I also have a question, I have been working with Mystic on the Windows side and will eventually want to test this on my Xserves. My company would like to go all Xserves has Anyone testedRich CF and Mystic on OSX yet! I do have a Xeon Quad Server I could use for CF. What do you guys

[flexcoders] Re: Loading an SWC into Flex 2 Beta 2

2006-04-18 Thread ben.clinkinbeard
This being the case, I am curious as to what methods people are using to get visual assets like movieclips into their Flex apps and associated with custom classes. Thanks, Ben --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: It needs to be created compiled in Flex 2 Beta

Re: [flexcoders] Re: Flex Mystic connectivity

2006-04-18 Thread Simeon Bateman
I blogged on my site about getting mystic installed on mac osx (http://simb.net) There is no installer for mac, you need to get the correct files from a windows mystic install.But I have no no problems running it on my mac and linux. Works like a charm. simeonOn 4/18/06, flexnadobe [EMAIL

Re: [flexcoders] Re: Loading an SWC into Flex 2 Beta 2

2006-04-18 Thread JesterXL
Embedding to the class works best, although, you can embed to properties too. Classes, to me, are just easier and make more sense from a Flash development standpoint. package { import flash.display.MovieClip; [Embed(source=my.swf, symbol=SomeSymbol] public class MySomeSymbol

[flexcoders] Re: Loading an SWC into Flex 2 Beta 2

2006-04-18 Thread ben.clinkinbeard
Thanks Jesse, I will give that a whirl. --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: Embedding to the class works best, although, you can embed to properties too. Classes, to me, are just easier and make more sense from a Flash development standpoint. package {

[flexcoders] Deleted project files, uncompile swf?

2006-04-18 Thread Ryan Pieszak
In one of my brighter moments, I deleted my project files. The swf, html, etc. was posted to a different server. Is there anyway of uncompiling the swf to get the mxml or as files back? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search

Re: [flexcoders] Deleted project files, uncompile swf?

2006-04-18 Thread JesterXL
MXML, no, AS Assets, most likely. http://buraks.com/asv/ There are other decompilers on http://www.swftools.com/ - Original Message - From: Ryan Pieszak [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, April 18, 2006 1:44 PM Subject: [flexcoders] Deleted project files,

[flexcoders] Re: ItemListRenderer Error

2006-04-18 Thread sufibaba
Matt,Thanks for looking into this. I am taking another approach to solve this problem. UsingBenoit's PhoneCairngorm configuration. It seems to be working, however,I am getting a compiler error message:Implicit coercion of a value with static type 'Object' to a possibly unrelated

[flexcoders] Re: ItemListRenderer Error

2006-04-18 Thread sufibaba
Update: When the below is executed, public function onResult(event:ResultEvent):void { trace("categories = " + event.result) model.categoryList = ArrayCollection(event.result); model.applicationState = Properties.STATE_DEFAULT; } I get these runtime errors: categories =

RE: [flexcoders] Re: ItemListRenderer Error

2006-04-18 Thread Benoit Hediard
Have you tried to put a breakpoint in order to look in the debugger the structure of your result? You might also have a look with ServiceCapture (http://kevinlangdon.com/serviceCapture/). It's a "must have" tool for debugging RPCrequests. The result is probably an array. So you might have

Re: [flexcoders] Column Reorder

2006-04-18 Thread Tom Ortega
The code below works in that they don't reorder, even though it looks like it's going to.I have a question though while trying to figure this out (cuz I need it too), I saw this: at mx.controls::DataGrid/http://www.adobe.com/2006/flex/mx/internal::shiftColumns () at

RE: [flexcoders] How i use timer????????

2006-04-18 Thread Tracy Spratt
Below is a sample app that uses setInterval() to add a row to a DataGrid every few seconds. Perhaps it whill help you get started. Tracy ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml xmlns=* creationComplete=startApp()

RE: [flexcoders] Loader control size

2006-04-18 Thread Tracy Spratt
Perhaps this link will help: http://www.flexdaddy.info/2005/02/21/sizing-apps-within-the-loader-contr ol/ Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jupepsa Sent: Tuesday, April 18, 2006 4:25 AM To: flexcoders@yahoogroups.com

[flexcoders] Re: ItemListRenderer Error

2006-04-18 Thread sufibaba
Ca Va Benoit,When I do:model.categoryList = new ArrayCollection(event.result);I get: Implicit coercion of a value with static type 'Object' to a possibly unrelated type 'Array'When I do: public function onResult(event:ResultEvent):void { trace("categories = " + event.result)

[flexcoders] Re: [Flex 2b2] Changing a Chart's dataProvider at runtime?

2006-04-18 Thread flexabledev
Thanks Ely, That really helps! Re: Dragging a column - Let me try to describe what I am trying to accomplish: Imagine a DataGrid with potentially thousands of rows (paged via data services) and maybe 10 columns. Below the DataGrid is a Column Chart. Below the Column Chart is a row of

[flexcoders] Accessing and binding to (and from) Application level vars

2006-04-18 Thread ben.clinkinbeard
Hello, I have a couple of questions relating to Application level access and binding. First off, why can I not bind to a property using this syntax even if the var is declared [Bindable]?: dataProvider={Application.application.arr_selectedPlans} I get the 'Data binding will not be able to detect

RE: [flexcoders] Accessing and binding to (and from) Application level vars

2006-04-18 Thread Roger Gonzalez
Hello, I have a couple of questions relating to Application level access and binding. First off, why can I not bind to a property using this syntax even if the var is declared [Bindable]?: dataProvider={Application.application.arr_selectedPlans} I get the 'Data binding will not be able to

[flexcoders] RemoteObject Issue

2006-04-18 Thread Geoffrey
I've been trying for the last few days to get RemoteObject to work, but with little luck. I've searched this site, and have tried to implement the examples found in developing rich clients with macromedia FLEX. To make matters more confusing, I've also tried to implement the

[flexcoders] Streaming Audio / Cache / Question from a Radio Station Owner

2006-04-18 Thread JEpoch
Hello, I got referred to this list by my friend at Macromedia to ask a question I have about streaming audio in Flash and the upcoming Flex update. I run a radio station called Proton Radio (www.protonradio.com) and currently we broadcast in Shoutcast and Icecast to our users. We'd like to add

[flexcoders] Re: Accessing and binding to (and from) Application level vars

2006-04-18 Thread ben.clinkinbeard
What is the proper way to access application-level vars and methods then? --- In flexcoders@yahoogroups.com, Roger Gonzalez [EMAIL PROTECTED] wrote: Hello, I have a couple of questions relating to Application level access and binding. First off, why can I not bind to a property using this

RE: [flexcoders] Re: [Flex 2b2] Changing a Chart's dataProvider at runtime?

2006-04-18 Thread Ely Greenfield
The devil's in the details, but here'so one way to get what you're looking for 1) write a custom renderer for your column series. 2) the renderer should add a mouseDown handler to itself. On mousedown, it should redraw itself with a different color (to give click feedback) and do

Re: [flexcoders] Streaming Audio / Cache / Question from a Radio Station Owner

2006-04-18 Thread JesterXL
I've managed to get Flash Player 6 with some help with PHP (massaging icy headers for various browsers) to connect to streaming Icecast streams. Since it's a true stream it doesn't download in cache. The problem is there isn't much control on the mp3 stream via the Sound object in Flash

Re: [flexcoders] Re: ItemListRenderer Error

2006-04-18 Thread Simeon Bateman
for the first part of your problem I think you need to cast the results as an arraychangemodel.categoryList = new ArrayCollection(event.result);tomodel.categoryList = new ArrayCollection(event.result as Array);I have something similiar in my app and this is how I get around the implicit type

[flexcoders] Combobox selected item

2006-04-18 Thread Jeremy Rottman
In my app, the admins can go from add record to edit record. When they enter the edit record, the comobo boxes should be set to the selected item that is stored in the database. How ever I cant get this to work. Here is the code I am trying. The text inputs work fine, it is just the comboboxes

[flexcoders] Re: ItemListRenderer Error

2006-04-18 Thread sufibaba
Simeon, You are a LEGEND... Been wacking my head on this. That did the trick. BTW, why is it that it one has to do a double cast. In PhoneCairngorm from Benoit, the compiler didn't need this extra casting. Is this some sort of bug do you think? Tim --- In flexcoders@yahoogroups.com,

[flexcoders] apache ant build.xml

2006-04-18 Thread arieltools
Is there a way to do a build with an ant task? The manual just says Content TBW. I infer you can select a new Builder on the project options, but can not find anyone who has done it... It is possible? Some ideas? Thanks. -- Flexcoders Mailing List FAQ:

RE: [flexcoders] Re: Accessing and binding to (and from) Application level vars

2006-04-18 Thread Roger Gonzalez
It depends. Well, if you're in the main app, its just this, obviously. But if you're in a child component, you should build the application to pass down a handle to the application class instance; make a var on the component of type Application, initialized from outside. I meant to elaborate a

[flexcoders] mx.rpc.soap.mxml.WebService VS mx.rpc.soap.WebService

2006-04-18 Thread ben.clinkinbeard
Why are these separate classes? More importantly, why does the mxml version have capabilities that its super class does not? I like the showBusyCursor functionality, but prefer to code in AS when possible. Am I correct in assuming that these two things are mutually exclusive? Thanks, Ben --

RE: [flexcoders] RemoteObject Issue

2006-04-18 Thread Peter Farland
Perhaps your SiteKeywordVO is never linked into the SWF because you never create a dependency on the class name (as mxmlc will optimize and remove unreferenced class definitions). An import statement is not enough to create a dependency. -Original Message- From:

RE: [flexcoders] mx.rpc.soap.mxml.WebService VS mx.rpc.soap.WebService

2006-04-18 Thread Peter Farland
(Note that this is Flex 2 Beta) We didn't want the parent mx.rpc.soap.WebService to introduce extraneous dependencies on other parts of the Application framework. So any functionality that does introduce such a dependency (such as busy cursors or bubbling of events to top level application

[flexcoders] Re: Accessing and binding to (and from) Application level vars

2006-04-18 Thread Darin Kohles
I generally pass a reference to the parent or to the Application scope in my constructor, depending on what scope I'm interested in having access to within my custome component (in this cass class instances). The code generally looks like this: // where the instance is constructed could be a sub

[flexcoders] Re: RemoteObject Issue

2006-04-18 Thread Doug Lowder
My guess would be that SDMDelegate's constructor can't access your siteDataServices RemoteObject through mx.core.Application.application. Try this.service = parentApplication.myServices.siteDataServices instead, or pass the service as a parameter to the constructor as you do with the responder.

[flexcoders] Re: F2B2: Deploying sample apps

2006-04-18 Thread arieltools
Yes, this is a tipical error out of the security sandbox restrictions. Read more on the livedocs or your help. Also I were wondering HOW can I deploy to the local server and load the server page (i.e: ¡http://localhost/whatever') instead of 'd:\flexAppRoot\etc' Cheers --- In

[flexcoders] Re: mx.rpc.soap.mxml.WebService VS mx.rpc.soap.WebService

2006-04-18 Thread Tim Hoff
Ben, You can use CursorManager to control the busy cursor. Set before the call and remove onResult and onFault. I have these controlled by a boolean, in case I wan't to make a call without notiying the user. import mx.managers.CursorManager; CursorManager.setBusyCursor();

[flexcoders] Question about Flex Beta

2006-04-18 Thread nostra72
How easy is it to use Flex Beta to make an application where you have a password that is secure from being seen, you know to store information? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

Re: [flexcoders] Re: F2B2: Deploying sample apps

2006-04-18 Thread Tom Ortega
I just copy the .html and .swf files from my /bin directory and post them to the web server.That seems to work for me, minus the sandbox warnings. =)-TomOn 4/18/06, arieltools [EMAIL PROTECTED] wrote: Yes, this is a tipical error out of the security sandbox restrictions. Read more on the

Re: [flexcoders] Re: F2B2: Deploying sample apps

2006-04-18 Thread Oriol Gual
You can go to Project-Properties-Flex Build Path and here change the output folder to your local web server folder, and then, Run-Run...-default config(or create another one), uncheck Use defaults button and change the location to http://localhost/whatever/FlexIsCool.html or your location :-D

[flexcoders] Re: Combobox selected item

2006-04-18 Thread Jeremy Rottman
My combo box is populated by a static array. IE public var dirPrefix: Array = [ {label: , data: },{label:N, data:N}, {label:S, data:S}, {label:E, data:E}, {label:W, data:W}, {label:NE, data:NE}, {label:SE, data:SE}, {label:NW, data:NW}, {label:SW, data:SW} ]; I have tried using selectedLabel,

Re: [flexcoders] Re: ItemListRenderer Error

2006-04-18 Thread Simeon Bateman
Glad that was able to help you out :)I dont know about a double cast per se, but I can tell you about why we needed this cast. If you notice our handler gets a resultEvent object back. We access the result property of that event. If you look at the docs here:

Re: [flexcoders] apache ant build.xml

2006-04-18 Thread Simeon Bateman
Hi,I use ant to compile all my flex 2 swf's because I am a mac user and we dont have flex builder. I use the sdk to get the framework files and I have blogged about my adventures getting ant to do what I wanted (

[flexcoders] Re: apache ant build.xml

2006-04-18 Thread Dave Wolf
As you looking for help in general using ANT with Flex or is this specific to FlexBuilder? -- Dave Wolf Cynergy Systems, Inc. Macromedia Flex Alliance Partner http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, arieltools [EMAIL

Re: [flexcoders] Re: Combobox selected item

2006-04-18 Thread Tom Ortega
You can loop over your array then set the index based on that.for (var i = 0;i dirPrefix.length; i++){ if (dirPrefix[i].label == result.fld_propDir) { parentApplication.etss.fld_propDir.selectedIndex = i; }}if fld_propDir is the matching item for you dirPrefix On 4/18/06, Jeremy Rottman

[flexcoders] Re: ItemListRenderer Error

2006-04-18 Thread sufibaba
Simeon, Very good description of the process and it makes perfect sense. So it seems that one has to cast the generic to an array, which then is gets wrapped by the ArrayCollection. My curiosity about this process is that in Benoit's PhoneCairngorm app, in which an array of VO's are being

RE: [flexcoders] Re: mx.rpc.soap.mxml.WebService VS mx.rpc.soap.WebService

2006-04-18 Thread Peter Farland
Operation.send(args) has the method signature: override public function send(... args : Array) : AsyncToken So the ... args:Array param will be an Array of length 1 with an Object as _your_ args var. This means you can only send ordered arguments via send(). For named arguments, you use the

[flexcoders] Re: Question about Flex Beta

2006-04-18 Thread Darin Kohles
--- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: How easy is it to use Flex Beta to make an application where you have a password that is secure from being seen, you know to store information? Most text components have a Boolean called 'password' that you can set to hide display

Re: [flexcoders] Flex 2 on Mac OS X

2006-04-18 Thread Bolo Michelin
Ordinateur-de-Bolo-Michelin:~ bolomichelin$ mxmlc -file-specs flex/samples/flexstore/flexstore.mxml -bash: mxmlc: command not foundi must do something wrong ...i have created a folder ( 'Flex'). All SDK is in this folder and flex folder is in user folder Bolo-- Martinique Sans

[flexcoders] Combobox not highlighting on mouseOver (Flex2Beta2)

2006-04-18 Thread sof4real03
I'm returning a native 1 dimensional array of ValueObjects from a java class. The Value Object returned in the array has the following properties (AvtCategory:Object, value:String, code:String). I then databind the array to the dataprovider of the combobox specifying the label and data files to

Re: [flexcoders] Drag from Tree, drop to List?

2006-04-18 Thread judah
Hi Paul, Could you check into some possible bugs for me? When I test this code the drag separator appears to jump around when dragging inside the tree. For example, drag the "Sent" folder up and down the Tree and watch the location of the drag separator. Also, there seems to be a couple

[flexcoders] Re: mx.rpc.soap.mxml.WebService VS mx.rpc.soap.WebService

2006-04-18 Thread Tim Hoff
Ben, below is a modified version of Jeff Tapper's AS class for webServices. Here's his original post: http://jeff.mxdj.com/as3_datamanager.htm. It solves the problem with the order of the arguments being sent randomly to the web service. Steven has me thinking more about the abstration of this

Re: [flexcoders] Re: Question about Flex Beta

2006-04-18 Thread Faisal Abid
Darin Kohles wrote: --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: How easy is it to use Flex Beta to make an application where you have a password that is secure from being seen, you know to store information? Most text components have a Boolean called 'password' that

[flexcoders] Re: RemoteObject Issue

2006-04-18 Thread Geoffrey
I think I have. Below is part of the file ReviewKeywordsCommand.as, which is the result handler from the RO call. import com.foo.test.vo.*; ... public function onResult( event ) : Void { var sk:SiteKeywordVO = (SiteKeywordVO) event.result; mx.core.Application.alert(Passed

[flexcoders] Re: RemoteObject Issue

2006-04-18 Thread Geoffrey
Hmm I replaced the service assignment with: this.service = parentApplication.myServices.siteDataServices; But I get the following error: There is no property with the name 'parentApplication'. Looking at the docs, parentApplication looks like it's intended to walk up the tree of multiple

[flexcoders] Re: RemoteObject Issue

2006-04-18 Thread Doug Lowder
The parentApplication property is a reference to the Application object (the nesting refers to applications loaded within other applications with the Loader control and probably doesn't apply to your case), but it's a property of mx.core.UIObject, which your SDMDelegate obviously isn't extending

Re: [flexcoders] Re: Loading an SWC into Flex 2 Beta 2

2006-04-18 Thread Michael Schmalle
Hi, If I remembered correctly, Roger Gonzalez commented on this and it has to do with the virtual machine.? Don't quote me but, I swear this same thing came up about a month ago and he said they are working on it. I don't think it is going to be an actual component but, a virtual machine

[flexcoders] Re: Combobox not highlighting on mouseOver (Flex2Beta2)

2006-04-18 Thread sof4real03
A workaround that I had to do was create a new array and push in each of the indexes of the ValueObject array. This created a second array of plain vanilla objects. I'm not happy with this solution, but I'm baffled... --- In flexcoders@yahoogroups.com, sufibaba [EMAIL PROTECTED] wrote: I am

[flexcoders] Re: apache ant build.xml

2006-04-18 Thread Dave Wolf
OK then. What can we assist with? You can indeed use ANT to build Flex projects. ANT is our standard build environment for all our development including Flex. -- Dave Wolf Cynergy Systems, Inc. Macromedia Flex Alliance Partner http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office:

[flexcoders] Re: Combobox not highlighting on mouseOver (Flex2Beta2)

2006-04-18 Thread Doug Lowder
Instead of casting event.result, would mx.utils.ArrayUtil.toArray(event.result) do the trick? --- In flexcoders@yahoogroups.com, sof4real03 [EMAIL PROTECTED] wrote: A workaround that I had to do was create a new array and push in each of the indexes of the ValueObject array. This created a

[flexcoders] How do I access URL vars in onCreationComplete?

2006-04-18 Thread Nathan
Hi Disclaimer: I'm a Flash/Flex n00b. I'm trying to build my first Flex 2 app. I am going to the Flex app from a HTML page where the user enters some info. If I pass the info via the URL, how can I access those URL vars within Flex? I've read Flash articles that seem to indicate you can

[flexcoders] Re: RemoteObject Issue

2006-04-18 Thread Geoffrey
I tried to dump myServices via: codeDumper.dump(mx.core.Application.application.myServices);/code during the Delegate constructor, and it came up 'undefined'. I tried a creationComplete and an Initialize event to dump siteDataServices upon startup of the main mxml file. Both had this to say:

[flexcoders] Workspace Overlapping

2006-04-18 Thread Bjorn Schultheiss
Hi List, When my workspace is set to its default location C:\Documents and Settings\user\My Documents\Flex And I create a new flex project, with the location C:\Documents and Settings\user\My Documents\Flex Things work fine :) Well if I switch workspaces to C:\DEV\FLEXB2\ And try to

  1   2   >