Re: [flexcoders] Flex 2 using the exercise from FlexBook

2006-01-30 Thread Manuel Saint-Victor
Okay- Thanks. I might just do my practice from the book in Flex 1.5 until the beta gets here.ManiOn 1/29/06, Matt Chotin [EMAIL PROTECTED] wrote: I'm not sure if the example requires you to have the server proxy running as the destination may not have a crossdomain.xml file (I

RE: [flexcoders] customized combo

2006-01-30 Thread Rajni
Hi Abdul,Thanks for replying...But i am not able to figure it out. Could you pl send me the code to change background color or text color of particular item in Combo box.Thanks-Rajni On Sun, Jan 29, 2006 at 9:31 AM, Abdul Qabiz wrote:Hi Rajni, You can look at the styles of List component.

RE: [flexcoders] Re: customized combo

2006-01-30 Thread Rajni
Hi Daug, Thanks a lot for replying...But this code doesn't work Thanks -Rajni On Fri, Jan 27, 2006 at 11:37 PM, douglowder wrote: To change the background color, try something like: myComboBox.dropdown.setPropertiesAt(itemNumber, {backgroundColor: 0x80}); You can also

[flexcoders] Re: Errors in lines that do not exist (Flex 2)

2006-01-30 Thread alariccole
You might want to check for orphaned text or slashes; I think I've received similar warnings when I neglected to completely delete a comment. If all else fails, restart. FB's gone screwy on me before. --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Usually the compiler

[flexcoders] Exciting Job Oppty for Senio Flex Developer

2006-01-30 Thread Hal Rucker
Is it appropriate to post job opportunities on this forum? If so, Smalltown, Inc is hiring. Read a bit about us at www.smalltown.com and send your resume to [EMAIL PROTECTED] If not, my apologies and I will remove the post. Smalltown is a VC funded startup. We're building a consumer-facing RIA

[flexcoders] Re: Using HTTPService to POST complex data

2006-01-30 Thread alariccole
The problem is the nested object category.name. You can only pass simple variables, as they're converted to HTTP (e.g. name=Testcommit=Create). As taken from the FB help file: When you use explicit parameter passing, you can specify an object that contains name-value pairs as a send() method

[flexcoders] Re: Form as CellRenderer Strangeness in 1.5

2006-01-30 Thread ehogberg
Hi Matt: Never got that far--thought I'd try using addChild(...) in the AS-based CellRenderer. Interestingly enough, that worked like a charm--my Form-based component's children are all playing nicely now w/ spacing, layout, etc. So this leads me to ask...what's the purpose of having two

RE: [flexcoders] WebService: SOAP and PHP5 on Apache

2006-01-30 Thread Jan L. Nauta
Hi Matt, I've found the problem! It appears that the PHP5 WSDL parser is a little more flexible than the FLEX one :) The port binding (inside the service tag) was missing a namespace id (tns). The PHP5 client didn't have a problem with that. After I added the namespace id, everything worked fine

[flexcoders] Re: getting an image from java

2006-01-30 Thread sdhfhdgs
thanks for that. I've never dealt with mime types before, can you give me a bit more feed back. my function returns an Image public java.awt.Image createImage( ), so if I was to do return myImage; where would I set the mime type so that the returning data is seen as being a jpg. do I need to

Re: [flexcoders] How to send data to server by using Remote Object ?

2006-01-30 Thread Partha Sarathi Das
Hi Matt, Thanks a lot to reply me .Now I am facing a design issue.I have to search for Users having different criterias like "Search by Name","Search By ZIP","Search By Age" etc..I have design a UI using Navigators/Accrodian.If I click on any Search Tab like "Search By Name" or "Search By

[flexcoders] referencing mxml file in createChild - flex 1.5

2006-01-30 Thread martin schioeth
Hi, Perhaps a very basic question. I want to use a createChild() on a TabNavigator Instead of a class i want to reference a mxml-file I can do it as long as the file being referenced is in the same folder. But id like to reference a file in another folder. IF User.mxml is

[flexcoders] Re: referencing mxml file in createChild - flex 1.5

2006-01-30 Thread moyosaned
import subfoldername.User --- In flexcoders@yahoogroups.com, martin schioeth [EMAIL PROTECTED] wrote: Hi, Perhaps a very basic question. I want to use a createChild() on a TabNavigator Instead of a class i want to reference a mxml-file I can do it as long as the file

[flexcoders] Re: unselectable nodes in Tree

2006-01-30 Thread moyosaned
It would be great if there is a solution. I think it should be standard functionality in the Tree component.. I tried to use Tree.rows... like this: tree.rows[0].enabled = false; or tree.rows[0].visible = false; but it has no effect. --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL

Re: [flexcoders] Re: getting an image from java

2006-01-30 Thread gunnar a reinseth
A couple of useful resources the should help you get going:http://www.javaworld.com/javaworld/jw-05-2000/jw-0505-servlets.html http://today.java.net/pub/a/today/2004/04/22/images.htmlOn 1/30/06, sdhfhdgs [EMAIL PROTECTED] wrote: thanks for that. I've never dealt with mime types before, can

RE: [flexcoders] referencing mxml file in createChild - flex 1.5

2006-01-30 Thread martin schioeth
Hi, Again. Ive found my error. as often happens when finally asking the question. Ive been using namespace.filename instead of foldername.filename So now it works. Regards, Martin From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On

[flexcoders] Re: Customizing default Flex preloader

2006-01-30 Thread moyosaned
Look at the code that comes along with developing rich client with Macromedia Flex look on the site of iteration two.. download all chapter-code en look for chapter ... uhm one of the last chapters it contains source code for a preloader --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL

[flexcoders] Problem with image and cache

2006-01-30 Thread Barrau Antoine
Hi, we are currently exeperiencing a strange issue, and i want to know if anyone have a clue on this. We're doing a store application in Flex 1.5, and we use a simple mx:image tag to display a product image. To display the image, we use a binding on a global object called selectedItem.(very basic

[flexcoders] Linechart problem with one horizontal data point

2006-01-30 Thread dsc_tyrant
I have attached some example code of a line chart that has only one horizontal data point. If you run this code you will see some serious formatting problems. Is this a known issue? Are there any work arounds? Thanks for any help. ?xml version=1.0? !-- Simple example to demonstrate the Line Chart

RE: [flexcoders] Re: Using HTTPService to POST complex data

2006-01-30 Thread Tracy Spratt
Dave, in your example, what is j_security_check? Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave Wolf Sent: Sunday, January 29, 2006 6:03 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Using HTTPService to POST complex

RE: [flexcoders] Re: Using HTTPService to POST complex data

2006-01-30 Thread Carson Hager
Dave is about to arrive out here on the West Coast so I'll answer this for him. j_security_check is a token in J2EE web applications that signals a J2EE web application to authenticate a user with FORM authentication. Required to be sent to this page are parameters of j_username and j_password.

[flexcoders] Object Comparison

2006-01-30 Thread fowleryj
When two objects are compared, on what level are they compared? Say for instance that I pass a reference into a class and compare that reference to this. Under what circumstances would the two objects pass an equality test? -- Flexcoders Mailing List FAQ:

[flexcoders] Re: customized combo

2006-01-30 Thread douglowder
Well that's strange. I don't see any typos offhand, but I'll give it a quick test to see what's up. You of course need to supply your own definitions for the myComboBox and itemNumber variables in your code. In the meantime, have a look at the dropdown property of ComboBox, and the

Re: [flexcoders] Custom Tree Icons Flex 2.0

2006-01-30 Thread Jason Y. Kwong
This works for me: mx:Script ![CDATA[ [Embed('item_bullet.png')] private var ITEM_BULLET_ICON: Class; ]] /mx:Script mx:Canvas width=100% height=100% mx:Tree defaultLeafIcon=ITEM_BULLET_ICON /mx:Tree /mx:CanvasOr you can short-hand it a bit: mx:Tree

RE: [flexcoders] Object Comparison

2006-01-30 Thread Alistair McLeod
See http://livedocs.macromedia.com/flex/15/flex_docs_en/2385.htm and http://livedocs.macromedia.com/flex/15/flex_docs_en/2386.htm Ali -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of fowleryj Sent: 30 January 2006 16:53 To:

Re: [flexcoders] Object Comparison

2006-01-30 Thread Clint Modien
Pretty sure you'd have to write your own equality test...private function compare(obj:Object) { for (var prop in obj) { //compare code here }}here is a class that I pulled together from code in flexcoders to do clone/compare /*** Created for comparing and copying complex objects. */class

[flexcoders] Re: Custom Tree Icons Flex 2.0

2006-01-30 Thread Brendan Meutzner
Hi Jason, Thanks for the reply. I really should have been more specific last night when I posted this... I'm actually trying to define an icon within the individual nodes using the icon parameter. I've defined the Class as you have by embedding an asset, but when I try to reference that asset

[flexcoders] FlashServices/Gateway

2006-01-30 Thread Mehdi, Agha
Title: FlashServices/Gateway I am seeing this error in the logs: == [Flash Remoting MX]-Request received was not Flash-based (not of the binary AMF protocol). == when I try to access

[flexcoders] Help with XMLDecoder

2006-01-30 Thread thunderstumpgesatwork
Hello, I am hoping someone can help get me started on this task. I am getting an XML string back from a web service call which I load into an XML object. Part of the XML string contains the XSD schema for the actual data. (the XML is actually an Oracle ResultSet that has been serialized to an

[flexcoders] Re: Using HTTPService to POST complex data

2006-01-30 Thread Dave Wolf
Yup. Its just a well known URL. In effect its really http://foo.bar.com/j_security_check As Carson says, its a logical token that denotes the authentication service. You could use this example to POST to any URL, but I thought this example was double useful. (and technically it is a URL and

Re: [flexcoders] Stacktraces from Flex 1.5 server

2006-01-30 Thread Julian Suggate
Cheers Douglas. I am starting Tomcat from Eclipse usually, but that should capture all console output ok. We have got log4j set up with console logging, and our server BO+DAO code is 95% tested... but curently the remoting is tested through a dummy API rather than actual server-client-server

[flexcoders] Re: customized combo

2006-01-30 Thread douglowder
Works for me. Perhaps you were calling setPropertiesAt() before the ComboBox had been created. Here is a working example. Note that the theme color overrides the background color for the selected item (select a different item from the combobox to see what I mean). Doug ?xml version=1.0

[flexcoders] why can't I use xmlns=* (1.5)

2006-01-30 Thread Sauro, Nick
Hello Flex coders, I have a real simple question, which has been plaguing me all day. It might because I feel kind of dense today, but for some reason, if I create an AS class file in the same directory, I cannot reference it!! EG: There is a subdirectory called components So

[flexcoders] Re: why can't I use xmlns=* (1.5)

2006-01-30 Thread joao_m_fernandes
Nick try this: xmlns=components.* João Fernandes Secção de Desenvolvimento Departamento de Informática --- In flexcoders@yahoogroups.com, Sauro, Nick [EMAIL PROTECTED] wrote: Hello Flex coders, I have a real simple question, which has been plaguing me all day. It might because I feel kind

[flexcoders] Flex 1.5 / FlashPlayer 8 Upload problems on remote host

2006-01-30 Thread Reto M. Kiefer
Dear all, we just implemented a file upload function for a mail module (attachment uploads). We followed the instructions quite closely from this nice article: http://www.macromedia.com/devnet/flex/articles/fp8_features.html Running Flex on our local development machines (i.e.

[flexcoders] Re: why can't I use xmlns=* (1.5)

2006-01-30 Thread douglowder
I always use an import statement within a script block to access .as files, and xmlns=* (or variant) to access mxml. Your app is probably expecting there to be a MyLabel.mxml file instead of MyLabel.as. Doug --- In flexcoders@yahoogroups.com, Sauro, Nick [EMAIL PROTECTED] wrote: Hello Flex

[flexcoders] Re: why can't I use xmlns=* (1.5)

2006-01-30 Thread douglowder
Doh!! Joao (and my own code for that matter) prove me wrong. One of those days... Doug --- In flexcoders@yahoogroups.com, douglowder [EMAIL PROTECTED] wrote: I always use an import statement within a script block to access .as files, and xmlns=* (or variant) to access mxml. Your app is

Re: [flexcoders] Flex 1.5 / FlashPlayer 8 Upload problems on remote host

2006-01-30 Thread JesterXL
Did you upload the File Upload SWF as well? Is the SWF loaded on the same domain your Flex MXML is served from? - Original Message - From: Reto M. Kiefer [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, January 30, 2006 5:13 PM Subject: [flexcoders] Flex 1.5 / FlashPlayer

[flexcoders] How do you reference an object to get attributes for a tag?

2006-01-30 Thread Libby
I wanna do something like this: mx:Label text = a dynamic custom object / So far I have not hit upon the magic combination through research and trial and error : ( Thanks, Libby -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search

[flexcoders] DateField selectedDate toggle

2006-01-30 Thread JesterXL
If you select a day in a DateChooser or DateField, it sets the selectedDate to the Date value chosen. If you select it again, it sets it to undefined. This is not desirable. This is the only control that does not follow the List way of working: - click to select - control + click to deselect

Re: [flexcoders] Flex 1.5 / FlashPlayer 8 Upload problems on remote host

2006-01-30 Thread Reto M. Kiefer
Hello Jesse, thnak you for your answer! Did you upload the File Upload SWF as well? Yes the installation is the same, local and remote identical... It is the fileIO.swf drom the example zip from the MM website... Is the SWF loaded on the same domain your Flex MXML is served from? We have

[flexcoders] Re: How do you reference an object to get attributes for a tag?

2006-01-30 Thread douglowder
Sorry to answer a question with a question, but do you mean like with data binding? mx:Label text={aDynamicCustomObject} / You can bind the label text to a bindable string property if your object is not of type String. Doug --- In flexcoders@yahoogroups.com, Libby [EMAIL PROTECTED] wrote:

[flexcoders] Re: why can't I use xmlns=* (1.5)

2006-01-30 Thread joao_m_fernandes
That's what flexcoders are for ;) I also do feel like a numbskull sometimes, don't worry, and sometimes I make even more basic questions! João Fernandes Secção de Desenvolvimento Departamento de Informática --- In flexcoders@yahoogroups.com, Sauro, Nick [EMAIL PROTECTED] wrote: Thanks Joao,

[flexcoders] Re: FlashServices/Gateway

2006-01-30 Thread joao_m_fernandes
Can you send a bit of your code? how are you calling your CFC? João Fernandes Secção de Desenvolvimento Departamento de Informática --- In flexcoders@yahoogroups.com, Mehdi, Agha [EMAIL PROTECTED] wrote: I am seeing this error in the logs: ==

RE: [flexcoders] How do you reference an object to get attributes for a tag?

2006-01-30 Thread Rob Rusher
Are you talking about binding? mx:Label text={ myObj.labelText }/ If your custom object has a String property that you want to display in a Label, you just reference it by name. Rob Rusher RIA Consultant Macromedia Certified Flex Instructor e:[EMAIL PROTECTED] c:303.885.7044 im:robrusher

[flexcoders] Returning XML from a Java web service to Flex (2.0)

2006-01-30 Thread thunderstumpgesatwork
Hi all, I have been using .NET web services with my Flex 2.0 client and successfully returning objects of type System.Xml.XmlDocument (Microsoft's implementation of the DOM). These xml documents are successfully consumed by the Flex WebService class and converted to an ActionScript result Object.

RE: [flexcoders] Re: FlashServices/Gateway

2006-01-30 Thread Mehdi, Agha
Title: RE: [flexcoders] Re: FlashServices/Gateway When I run the cfc from coldfusion, it runs just fine. It doesn't work when I run it through my Remote Object from Flex. Flash Remoting is not configured for the CF instance that runs on IIS, which is why Http://server/flashservices/gateway

[flexcoders] Resizing Panel child components when ControlBar is resized

2006-01-30 Thread douglowder
Hi, I have a Flex 1.5 app that contains various Panels and TitleWindows that use a technique described by Kevin Hoyt: http://weblogs.macromedia.com/khoyt/archives/2005/01/getting_started. cfm#comments Now, in my Panels I'm putting the hideable options area into a ControlBar, but I'm running

[flexcoders] Re: FlashServices/Gateway

2006-01-30 Thread joao_m_fernandes
To map a CFInstance to a IIS you can go to your CFinstallationFolder\bin and run wsconfig.exe. This will allow you to map any of your current CFInstances to your (or all) IIS site(s). After mapping it if it doesn't work: 1)Are ColdFusion and Flex running under the same instance? if yes 2) Are

RE: Re: [flexcoders] Flex 1.5 / FlashPlayer 8 Upload problems on remote host

2006-01-30 Thread Stacy Young
Are you deploying on unix? I remember there was a case issue with that sample download (a while back)...Some places there's reference to fileio.swf and other places fileIO.swf. Stace From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] Re: FlashServices/Gateway

2006-01-30 Thread Mehdi, Agha
Title: RE: [flexcoders] Re: FlashServices/Gateway Flex is a separate instance and both CF and Flex instances are running under IIS. I have already mapped the instances to IIS sites using wsconfig.exe. The CF instance is running just fine no problem. Flex runs fine too if it doesn't have to

RE: [flexcoders] Re: FlashServices/Gateway

2006-01-30 Thread João Fernandes
To tell you the truth, I never runned Flex side-by-side with ColdFusion in separated instances, always under the same instance + under the same contextRoot. Try to change your endpoint to Flex's amfgateway /amfgateway see if you can get any data. BTW, what was the fault when calling the RO

RE: [flexcoders] Transparent Tilelist

2006-01-30 Thread Deepa Subramaniam
Hi - backgroundAlpha will only work if a backgroundColor or backgroundImage is specified. Try adding one of those and then setting backgroundAlpha and you should achieve transparency. Deepa Subramaniam -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL

Re: [flexcoders] Flex 1.5 / FlashPlayer 8 Upload problems on remote host

2006-01-30 Thread Dave Wolf
Have you checked out this thread? http://www.mail-archive.com/flexcoders@yahoogroups.com/msg16045.html -- Dave Wolf Cynergy Systems, Inc. Macromedia Flex Alliance Partner http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, Stacy

RE: Re: [flexcoders] Flex 1.5 / FlashPlayer 8 Upload problems on remote host

2006-01-30 Thread Dekayd Media Inc.
I have run into that problem in the past. It's easy to fix though. Just change the capitalization in one file and it should work fine. I can't remember which file it is that has the error though. --Kelly [EMAIL PROTECTED] Dekayd Media Inc. -Original Message- From:

[flexcoders] Unable to detect changes to variable

2006-01-30 Thread Albert
I defined the page variable in Script and want to increment it on click of a button with the next() function. The variable is bound to a parameter of an HTTPService call (get_data). The page variable works on the initial HTTPService call, but can not be changed. I get the compile warning Unable to

RE: [flexcoders] Unable to detect changes to variable

2006-01-30 Thread Joan Tan
You need to make the variable bindable. Try this: // variables [Bindable] public var perPage:Number = 6; [Bindable] public var page:Number = 1; Joan From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Albert Sent: Monday, January 30,

Re: [flexcoders] Re: FlashServices/Gateway

2006-01-30 Thread Paul Kenney
Agha, is the CFC located under the IIS webroot?On 1/30/06, João Fernandes [EMAIL PROTECTED] wrote: To tell you the truth, I never runned Flex side-by-side with ColdFusion in separated instances, always under the same instance + under the same contextRoot. Try to change your endpoint to

RE: Re: [flexcoders] Flex 1.5 / FlashPlayer 8 Upload problems on remote host

2006-01-30 Thread Stacy Young
Sorry I should have mentioned that as well...yes we had to revert back to 8.0.15 player for our user base. -Stace From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave Wolf Sent: Monday, January 30, 2006 8:13 PM To:

Re: [flexcoders] listOwner equivalent Flex 2

2006-01-30 Thread JesterXL
Haven't tried myself, but give parent a shot since he should be a DisplayObject. Don't have the livedocs available to confirm yet. - Original Message - From: Brendan Meutzner [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, January 30, 2006 10:11 PM Subject: [flexcoders]

RE: [flexcoders] listOwner equivalent Flex 2

2006-01-30 Thread Joan Tan
Yep, I believe parent should work. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL Sent: Monday, January 30, 2006 7:49 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] listOwner equivalent Flex 2 Haven't tried myself,

RE: [flexcoders] Unable to detect changes to variable

2006-01-30 Thread Deepa Subramaniam
Just to add some context, by marking your page and perPage variables with the Bindable metadata, Flex will monitor those properties for changes and generate events for when something in that property chain changes. This is a new mechanism added in Flex 2.

Re: [flexcoders] Re: Custom Tree Icons Flex 2.0

2006-01-30 Thread Jason Y. Kwong
After playing with it for a while, I wasn't able to set the icon of a branch, but I was able for a leaf, though it's not that straightforward. [Embed('item_bullet.png')]private var ITEM_BULLET_ICON: Class; mx:Tree iconField=icon / mx:dataProvider mx:XMLnode label=Node1

[flexcoders] DividedBox question - divider position

2006-01-30 Thread jgraham_us
Is there an easy way to set a minimum position for a divider in a DividedBox? For example. I have three panels in a VDividedBox when I drag divider 0 up I want it to stop and not size past the headerHeight of the panel, in essence not cover the panel header up. I assume this can be done by

Re: [flexcoders] TitleWindow width issue

2006-01-30 Thread Manish Jethani
On 1/28/06, Deepa Subramaniam [EMAIL PROTECTED] wrote: Try using PopUpManager.popUpWindow() which takes the window to pop up. After you create the window object to pop up, set its width and height to the parent application's width and height and then call popUpWindow(). Something like: