Re: [flexcoders] Is it the right way of using dispatchEvent?

2005-10-19 Thread Ramu p
Hi Abdul,Thanks a lot for giving breif description on dispatchEvent. One more doubt in this, we declared event before imprting specific classes.Why is it so? I tried doing it in class, but not successfull.What is the reason? And at the same time, creating a pure UIComponent in Flasg is a bit

Re: [flexcoders] Macromedia's Sho Kuwamoto says he put sample code on flex2 site but it's not there

2005-10-19 Thread Robert Thompson
Thanks Muzak. I noticed the other showcase examples don't have source of the example. Do you happen to know if they are avail. or if there are like examples somewhere on the install of the shopping cart, chat, examples etc. --- Muzak [EMAIL PROTECTED] wrote: If you're referring to the

[flexcoders] How to convert DateField from DateObject

2005-10-19 Thread jagabcdeff
Hi all, Please let me know about taking the text input from the DateField and converting it into a DateObject. Thanks, jagadish Yahoo! Groups Sponsor ~-- Most low income households are not online. Help bridge the digital divide today!

Re: [flexcoders] TabNavigator styles

2005-10-19 Thread Jose Quiles
Hi again, I tried your sample, and the tabs of two TabNavigator have the same colors, it seems that the fillColors attribute is ignored. This is the code I tried: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; width=100% height=100%

Re: [flexcoders] How to convert DateField from DateObject

2005-10-19 Thread Spike
Hi Jagadish, All the answers you need are in the Flash ActionScript reference documentation available here: http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/js/html/wwhelp.htm?href="" SpikeOn 10/19/05, jagabcdeff [EMAIL PROTECTED] wrote: Hi all,Please let me know about

Re: [flexcoders] Date Comparison in FLex

2005-10-19 Thread Sreejith Unnikrishnan
You may start with setting the *selectableRange* of the second DateField. This property accepts an Object as a parameter. The Object contains two properties, |rangeStart| and |rangeEnd|, of type Date. If you specify only |rangeStart|, all the dates after the specified date are enabled. So you

RE: [flexcoders] Macromedia's Sho Kuwamoto says he put sample code on flex2 site but it's not there

2005-10-19 Thread Sho Kuwamoto
Hi all. We are all pretty busy at MAX. I will make sure the source gets on the Labs site when we get back to the office. Thanks! -Sho -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert Thompson Sent: Tuesday, October 18, 2005 10:36 PM To:

Re: [flexcoders] Re: Dividing the mailing list into categories

2005-10-19 Thread Manuel Saint-Victor
Don't they have mailing lists that are archived more like the current forums? Best of both worlds--I find that it's hard as a newer Flash developer to dig through the current archives to find stuff discussed back before I knew Flash even existed. That would be the main benefit that I would

[flexcoders] Pop Up windows

2005-10-19 Thread Jeremy Rottman
I have created a small app that has a popup window that allows me to search. Is there a way to denote exactly where the popup will open. I would like to change it's default placement from the top left corner to the middle right of my screen. Yahoo! Groups Sponsor

[flexcoders] Vertical Headers in Datagrid

2005-10-19 Thread preeshc
Has anyone turned the text in the header of the Datagrid, vertical? I saw one instance of a talk about it when Googled, but no answer. I don't know where to start (other than Actionscript) to turn it. Yahoo! Groups Sponsor ~-- Most low income

[flexcoders] Troubleshooting namespaces

2005-10-19 Thread Richard Rodseth
I'm trying to follow the pattern described in the Webster/McLeod book where the mx:RemoteObject tags are in a separate services.xml file. However, I am getting the error: URI services is unknown! The namespace must either be defined via a manifest, or specified in package syntax (prefix.* or

Re: [flexcoders] Vertical Headers in Datagrid

2005-10-19 Thread Anatole Tartakovsky
You need custom header cell renderer - I created one for dynamic datagrids with (possible) large number of columns - thus the code is a bit more complex then it should be. In short you need to copy font from windows fonts directory into your development directory, embed font in the page that

RE: [flexcoders] Vertical Headers in Datagrid

2005-10-19 Thread Precia Carraway
Thank you...I'll try to get it to work. From: flexcoders@yahoogroups.com on behalf of Anatole Tartakovsky Sent: Thu 10/20/2005 3:04 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Vertical Headers in Datagrid You need custom header cell renderer - I

[flexcoders] mimic Datagrid single cell selection issue

2005-10-19 Thread bhaq1972
Hi all, i've got this little test app below where i'm using fillrect () to mimic the selecting of an individual cell. got a question. variables xpos and ypos are set using unsupported code. how can i set them using supported code? ?xml version=1.0 encoding=utf-8? mx:Application

Re: [flexcoders] Pop Up windows

2005-10-19 Thread Jose Quiles
Here is an example: Object.registerClass(packgage.myComponent, package.myComponent); windowName=package.myComponent;var oInitObj:Object = new Object();oInitObj.title = myWindow;oInitObj.width = 600;oInitObj.height = 200;oInitObj.x = (1024/2)-300;oInitObj.y =

[flexcoders] Re: Pop Up windows

2005-10-19 Thread fowleryj
If you look at the comments at the bottom of this page (http://livedocs.macromedia.com/flex/15/asdocs_en/mx/managers/PopUpManager.html) they seem to cover the topic of positioning your pop-up. --- In flexcoders@yahoogroups.com, Jeremy Rottman [EMAIL PROTECTED] wrote: I have created a small app

[flexcoders] Flex2: Popup Error

2005-10-19 Thread Greg Johnson
BTW Thanks to Spike, he gave me the little bits I needed to finally see what I needed to get it with the changes in 2. Now I have tried many variations of a popup window to send stuff too. It works for the most part. But when I close the window I get an error. Here is the function that fires

[flexcoders] (2.0) App flow

2005-10-19 Thread John C. Bland II
I only have minimal contact with Flex but follow it just fine (code wise). My main desire right now is to get a good idea of how to structure my apps. I come from a Flash/Backend (cf, php, etc) background and for each of those languages I learned the syntax fine but my main prob was how to

[flexcoders] Webservice question - please answer

2005-10-19 Thread Athaullah Athul
Hi there, mx:WebService id="employeeWS" wsdl="@ContextRoot()/services/EmployeeWS?wsdl" showBusyCursor="true" fault="alert(event.fault.faultstring)" Where I do need to check EmployeeWS in my Tomcat Application Server. Quick respond really appreciated!. Thanks, Athaullah -- Flexcoders

[flexcoders] Right click and popup window

2005-10-19 Thread Parekh, Shweta - BLS CTR
Title: Right click and popup window Thanks Jester. I understand the getEditingData() method better. I got that to work. I have a question regarding bringing up a popup window when you right click, and click on a particular menu option. I got the right click and creating custom menu by

RE: [flexcoders] Macromedia's Sho Kuwamoto says he put sample code on flex2 site but it's not there

2005-10-19 Thread Sho Kuwamoto
Source code has been posted here: http://labs.macromedia.com/wiki/index.php/Flex_Framework:samples:photode mo It will be linked from the main Labs site the next time the website is refreshed. -Sho -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

Re: [flexcoders] Vertical Headers in Datagrid

2005-10-19 Thread JesterXL
I'm sure if you created a HeaderRenderer, and then embedded the font in a rotation textfield, it would work. - Original Message - From: preeshc [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, October 19, 2005 12:04 PM Subject: [flexcoders] Vertical Headers in Datagrid

RE: [flexcoders] flex 2 cf on seperate PC

2005-10-19 Thread João Fernandes
Musak, I was wonderirng the same because I usually have cf in a development box. FlexBuilder 2 accepts --services=C:\CFusionMX7\wwwroot\WEB-INF\flex\flex-services.xml as a argument for the compiler but shouldn't we be able to point to some other box? Like kinda access it with RDS or something

[flexcoders] cairngorm framework and flex 2.0

2005-10-19 Thread dominick_nvn
Does anyone have directions on how to use flex builder 2.0 and the cairngorm framework. It seems that flex 2.0 doesn't have access to amf remote calls which is built into the framework. Do we simply remove the remote method calls and place in web service calls? Thanks.

RE: [flexcoders] cairngorm framework and flex 2.0

2005-10-19 Thread João Fernandes
What is your backend? If it's Coldfusion you can use the cf_adapter. João Fernandes -Original Message- From: flexcoders@yahoogroups.com on behalf of dominick_nvn Sent: Thu 20-Oct-05 12:43 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] cairngorm framework and flex 2.0 Does

RE: [flexcoders] (2.0) App flow

2005-10-19 Thread Dimitrios Gianninas
Once you are done building simple Flex applications and ready to move on, you should take a look at the Cairngorm framework, follow the link below. http://www.iterationtwo.com/open_source_cairngorm.html Dimitrios "Jimmy" Gianninas RIADeveloper Optimal Payments Inc. From:

[flexcoders] % in as

2005-10-19 Thread Rajesh Jayabalan
Hi, Anyone know how to set width=100% in actionscript method for any component? Regards Rajesh J Yahoo! Groups Sponsor ~-- Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.

Re: [flexcoders] flex 2 cf on seperate PC

2005-10-19 Thread Muzak
Thanx for the replies. By going through the docs I figured out a thing or 2, including the fact that the RemoteObject API hasn't been fully implemented yet. I've been fiddling around with some older code a bit that I used for 'querying' a Coldfusion component in order to retrieve a

RE: [flexcoders] How to refresh a tree component explicitly...??

2005-10-19 Thread Arunkumar S
Thanks for your response, but i can't find any method to refresh the tree... I noticed that the 'Change' event of the tree component is trigged when i'm trying to add item to dataProvider, but the new added item is not displayed in the tree... So i thought of calling the refresh method if

RE: [flexcoders] % in as

2005-10-19 Thread Ashish Goyal
There is a property called percentWidth for setting percentage width in AS. Component.percentWidth = 100; Similarly you can use percentHeight to set height in percentage. -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rajesh

RE: [flexcoders] Macromedia's Sho Kuwamoto says he put sample code on flex2 site but it's not there

2005-10-19 Thread Robert Thompson
Thanks Sho. But just so you know, my original question on the post was in regards to the other show case demos not having a link to source code, while your demo already included a link to the code. Any chance of seeing the others? I couldn't see why not as exemplar samples like these are

Re: [flexcoders] TabNavigator styles

2005-10-19 Thread Sreejith Unnikrishnan
Maybe you should consider creating a custom style for each of the TabNavigator. .firstTab { fill-colors: #EE00FF,#FF; } .secondTab { fill-colors: #EE00FF,#FF; } and then apply them to the TabNavigator. Sree Jose Quiles wrote: Hi again, I tried your sample, and the

[flexcoders] How to trigger an Effect in ActionScript code?

2005-10-19 Thread owls_yang
Hello All: I want to trigger the mouseDownEffect of a Button in as functions. I read the doc that mouseDownEffect could be referenced as a property in MXML tag or as functions. Thus, I tried myButton.mouseDownEffect.playEffect(); to trigger it, but it failed. Thanks very much, Owls Yang

RE: [flexcoders] Re: Dividing the mailing list into categories

2005-10-19 Thread Dan Plesse
Is this what you mean? public function setdataProviderDataType() { var sourceArray = [ hello, hello, helllo, hello, money, float, datetime, text]; ComboBoxCellRenderer.dataProvider = sourceArray; transactionGrid.redraw(true); } private function initCellRenderer()

Re: [flexcoders] How to convert DateField from DateObject

2005-10-19 Thread Sreejith Unnikrishnan
The selectedDate property of a dateField component is already a Date Object! jagabcdeff wrote: Hi all, Please let me know about taking the text input from the DateField and converting it into a DateObject. Thanks, jagadish -- Flexcoders Mailing List FAQ:

Re: [flexcoders] Macromedia's Sho Kuwamoto says he put sample code on flex2 site but it's not there

2005-10-19 Thread Mike Chambers
Which examples? mike chambers [EMAIL PROTECTED] Robert Thompson wrote: Thanks Sho. But just so you know, my original question on the post was in regards to the other show case demos not having a link to source code, while your demo already included a link to the code. Any chance of

RE: [flexcoders] cairngorm framework and flex 2.0

2005-10-19 Thread Hans Omli
You can call services however you want with the framework. This is the purpose of the service locator pattern. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dominick_nvn Sent: Wednesday, October 19, 2005 4:43 PM To: flexcoders@yahoogroups.com

Re: [flexcoders] Flex 1.5 mx.events.LowLevelEvents bug(99911) addition

2005-10-19 Thread JesterXL
Track as menu will fix those buttons that get an onRelease with no initial onPress. However, since onPress and onRelease isn't used, mouseUp and down, in Flex 1.5, is controlled by hit testing a movieclip on _root; if you don't move the mouse, but the UI does, it doesn't know whats under you