RE: [flexcoders] Object Aliasing?

2005-02-09 Thread Matt Chotin
Its not quite like that. Turn on the keep-generated-as in flex-config and then compile your MXML file andyoull see a generated.as file that gives you a sense of the code layout. The big thing to notice is the variable declarations for any object that has an id. Later on when the objects

RE: [flexcoders] mx:Link component

2005-02-09 Thread Matt Chotin
But have you also considered letting the HTTPService parse the XML for you? Check out Christophes blog reader example, you can see him parsing the RSS in there. Matt From: JesterXL [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 08, 2005 1:53 PM To: [EMAIL PROTECTED]

Re: [flexcoders] Question about Macromedia Flexbuilder

2005-02-09 Thread Jeff Steiner
Upon calling a mxml - a timedate request is sent to the server to see if the file on the server is newer than the cache. Make sure that you are refreshing the browser when you try to view the updated file. Jeff http://www.flexauthority.com - Original Message - From: [EMAIL PROTECTED]

RE: [flexcoders] Validating datagrids

2005-02-09 Thread Matt Chotin
OK, this wasnt trivial to figure out because I had issues getting it to work with binding involved. SoI took out the binding. Youll also see what I did to avoid some of the resetting due to mouse movement. It may not be perfect, I didnt test every scenario, but this should get you farther.

Re: [flexcoders] Installing Flex on OS X

2005-02-09 Thread Andrew Muller
Jasper We've had some design issues with small fonts and tight layouts that have made it necessary to make some small changes for Windows OS that didn't show up on our OS X machines that we've been prototyping with. Due to the size of the application we've chosen not to embed fonts. Andrew

Component input for Macromedia

2005-02-09 Thread Lucian Beebe
Thanks to your many postings on Flexcoders, we have a pretty good idea of the problems you experience with components in Flex. However, wed like to ask for some more general guidance on our components development. We have a quick and simple survey that will help us understand where to

RE: [flexcoders] couple of things needed for dropdown

2005-02-09 Thread Srikanth Duvvuri
Hi Abdul This problem of not being able to scroll using the Scroll wheel on the mouse is causing a real pain. My machine is a Toshiba Portage A 100 Laptop with Windows 2000 Advanced Server with SP4 I am still getting the problem. What could the cause be?? Srikanth -Original

Re: [flexcoders] Question: Generic Forms and Resizing

2005-02-09 Thread Manish Jethani
extensive_systems wrote: I'd like to be able, in effect, to say something like MyForm width=75% (and get a smaller form with shorter fields that could be fit into less screen space). AFAIK, specifying a width percentage at runtime does nothing in the case of Form. mx:Form id=form width=100%

Re: [flexcoders] couple of things needed for dropdown

2005-02-09 Thread Manish Jethani
Srikanth Duvvuri wrote: Note: we are able to set focus to the combobox if we generate the alert message from flex but are unable to set focus to combobox if the alert message is generated from a javascript function, which is invoked on clicking a button. Set the focus to the Flash object from

RE: [flexcoders] Increment Date

2005-02-09 Thread Dirk Eismann
Unfortunately it's not that straightforward. You need to call the setTime()method of the Date object you want to modify and pass in the new time in milliseconds. To add one hour (60 * 60 * 1000 ms) to dateObj dateObj.setTime(dateObj.getTime() + 360); To add a day (24 * 60 * 60 * 1000 ms)

Re: [flexcoders] mx:Link component

2005-02-09 Thread Manish Jethani
JesterXL wrote: It's because the Link component's label is not html enabled. Why, this seems to work fine for me: mx:Link id=link / mx:Button label=Set Link Label click=setLinkLabel() / mx:Script function setLinkLabel() { link.label = Manishapos;s link; } /mx:Script I think the problem is

Re: [flexcoders] Re: Multiple Row/Column Headers in a datagrid

2005-02-09 Thread Manish Jethani
dhiren9 wrote: HeaderCol11 HeaderCol21 HeaderCol12 HeaderCol22 HeaderRow11 HeaderRow12 Data Data HeaderRow21 HeaderRow22 Data Data HeaderRow31 HeaderRow32 Data Data |---scroll bar-| http://www.richinternetapps.com/archives/000101.html So you can use the same thing. Instead of a DataGrid

Re: [flexcoders] Object Aliasing?

2005-02-09 Thread Manish Jethani
JesterXL wrote: Before I go digging to figure it out, I wanted to see how close I was. If I put a button called submit_pb in a ViewStack, I can still reference my submit_pb normally; I don't have to do myView.submit_pb to access the methods properties on submit_pb. That's because submit_pb is

Re: [flexcoders] Increment Date

2005-02-09 Thread Manish Jethani
Dirk Eismann wrote: To add a day (24 * 60 * 60 * 1000 ms) to dateObj dateObj.setTime(dateObj.getTime() + 8640); Why, it's not that bad! // add a day to Jan 31, 2005 var d:Date = new Date(2005, 0, 31); d.setDate(d.getDate() + 1); alert(d.toString()); // displays Feb 1, 2005! Manish

1st App - Questions

2005-02-09 Thread John C. Bland II
Well, I fumbled my way through the help docs and put together a pretty coo lil' app (for my first one at least; file attached). I couldn't think of anything useful to do so I looked at the samples and saw the Blog Reader. So, I figured I'd read the MXNA feeds and display them. If someone could

Adding elements to TabBar dynamically

2005-02-09 Thread al77_t
Hi, Not sure why the code below doesn't work, i.e. it doesn't create a new Tab. Many thanks, Alex ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Script ![CDATA[ function addIt() { mytab.dataProvider.addItem({label:test,data:test});

closing a popup window

2005-02-09 Thread Srikanth Duvvuri
Hi I have a jsp (popup_jsp.jsp) which embeds a mxml (popup_mxml.mxml) within it. Clicking a button on this mxml opens a popup window using showmodaldialog to open another jsp (popup1_jsp.jsp) which embeds a mxml (popup1_mxml.mxml). clicking the close button on this popup mxml is not closing

Flex resource requirement @ CMM

2005-02-09 Thread madhuri_gopinath
Hi, There is a requirement for flex resources with 1 year - 4 years of total IT experience in an MNC in Chennai. It is one of the very few companies in the world to achieve SEI CMM® Level 5 and SEI's People Capability Maturity Model (PCMM®) Level 5. The development centers at Chennai,

Re: [flexcoders] DataGrid headerRenderer placeSortArrow

2005-02-09 Thread Marien van Os
I'm experiencing the same problem, headerRenderer works fine, but can't find anything about the arrow... Did anybody had the same problem? Is there a solution for it? tnx, Marien On Thu, 03 Feb 2005 19:27:20 -, matthewtsmith [EMAIL PROTECTED] wrote: Anyone know how to successfully

Problem when changing size of hslider

2005-02-09 Thread Sjors Pals
I have a small problem. When i dynamically change the size of a HSlider i noticed that something goes wrong with rendering. The low active part of the slider does resize, but the thumbs stay on the same position. When i move the right tumb to left, and then back again, the screen is updated

RE: [flexcoders] Dynamic model

2005-02-09 Thread ibibas
Thanks, Abdul..it works! Isaac Bibás Forado Abdul Qabiz [EMAIL PROTECTED] Para: flexcoders@yahoogroups.com a.com cc: Asunto: RE: [flexcoders] Dynamic model 08/02/2005 11:49 Por favor, responda a flexcoders Hi, Please ignore my previous example, that example

FW: Adding elements to TabBar dynamically

2005-02-09 Thread al77_t
Figured it out. Haven't initialized dataProvider initially ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; theme=themes/mywsc.swc mx:Script ![CDATA[ function addIt() { mytab.dataProvider.addItem({label:test,data:test}); } var arr:Array=[]; ]]

RE: [flexcoders] closing a popup window

2005-02-09 Thread Abdul Qabiz
Hi Srikanth, It seems getURL(..) is not working properly in IE Modal dialog windows. That's why its not closing window. You can use the fscommand(..) instead of getURL(...). Bottom line is, to close a IE Modal dialog window use fscommand rather then getURL(..). Look at the attached files, I

RE: [flexcoders] Problem when changing size of hslider

2005-02-09 Thread Abdul Qabiz
Hi, What code your are using to resize the Hslider? Are you using hslider.setSize(w,h) ? Please give some more detail? -abdul -Original Message- From: Sjors Pals [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 09, 2005 3:50 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

Browser/ Flex Application crashes under stress

2005-02-09 Thread Vali Tomba
I've managed to build an application with complex UI and it looks that somehowworks for now...I'm in system testing. I have the application deployed on a server with development license/ Windows XP/ Websphere 5.0 For some reasons if I start to use intensively the app the browser crashes and get

Re: [flexcoders] 1st App - Questions

2005-02-09 Thread JesterXL
Title: Message Very interesting to see the opposite approach of me; no Script tags. Your app itself seems to work very well; the service itself is dog slow, but you have the cursor, resizing, alert on error... nice! 1. It's already selectable; do you mean editable? It's set to false by

RE: [flexcoders] 1st App - Questions

2005-02-09 Thread Matt Horn
Title: Message John, I'll take the easy one (question #1). :) You can make a TextArea clickable by embedding a call to getURL in the mouseDown event handler. Here's a simplified version that links to a new website when you click on the TextArea. There is a little AS code, but it's inline

Dynamic form example

2005-02-09 Thread Clint Tredway
Awhile back someone had an example of taking an array and making a form out of it, and based onthe datatype of the array values determined what form elements were presented... I need tofind this example for a co-worker as I don't have time to write it myself... anyone know where this

Re: [flexcoders] Browser/ Flex Application crashes under stress

2005-02-09 Thread Jeff Steiner
Can you give a copy of the error / or maybe better describe what is happening. Jeff http://www.flexauthority.com - Original Message - From: Vali Tomba [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, February 09, 2005 6:06 AM Subject: [flexcoders] Browser/ Flex

Class Diagram for Cairngorm?

2005-02-09 Thread Robert Moss
Does anyone happen to have a class diagram for Cairngorm? As a coldfusion programmer brand new to Flex/AS/Java, Iunderstand the basics of what Cairngorm is doing and have been able to create a few simple appsadding my own views and events, but it's still pretty much a black box. I'm ready to get

RE: [flexcoders] 1st App - Questions

2005-02-09 Thread John C. Bland II
Title: Message Hey thx Jester. I found the script tag fast but quickly went away from it because I was falling back on my crutch (AS) and wanted to learn mxml. 1. Nah, I mean making a URL of the text. Ex - Click here to blah blah blah. 'Click here' would be a link. Like wrapping a

RE: [flexcoders] 1st App - Questions

2005-02-09 Thread John C. Bland II
Title: Message Coo on that but how about just one piece of text. 1 side? based no your code. Can I put AS inside of the text="" attribute? mx:Box id="box" width="200" height="200"/ mx:TextArea id="ta1" text="Math.Round(4000.2342441814)"

Re: [flexcoders] 1st App - Questions

2005-02-09 Thread JesterXL
Title: Message 1. Use the Link component; not sure how toget that in a TextArea without doing what you said about using anchor tags. - Original Message - From: John C. Bland II To: flexcoders@yahoogroups.com Sent: Wednesday, February 09, 2005 11:45 AM Subject: RE: [flexcoders] 1st

RE: [flexcoders] mx:Link component

2005-02-09 Thread Robert Brueckmann
Guysthe problem with my input is its coming in from the RSS feed like this: JPMorgans Vice President blah blah blah as the title of the article and when I set that title string to the value of the mx:Link labels value, it the title ends up looking like JPMorganapos;s Vice President blah

RE: [flexcoders] FW: Adding elements to TabBar dynamically

2005-02-09 Thread Tracy Spratt
Using the array methods does not cause the dataProvider events to fire, which are need to update the control. This is true for all dataProviders. Because of this it is best to always use the dataProvider API to work with the dataProvider. (duh!) If you really want to use the underlying methods,

Regular Expression

2005-02-09 Thread David Gassner
Are there any known ActionScript 2 classes available to support Regular Expression parsing? I know some developers had basic RegExp for Flash 5/MX, but haven't been able to locate any upgrades. Thanks, David

RE: [flexcoders] 1st App - Questions

2005-02-09 Thread Matt Horn
Title: Message #1: Have you tried the htmlText property? ?xml version="1.0"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" initialize="initApp();"mx:VBox width="500" height="400"mx:Text width="100%" id="t1" htmlText="lt;a href=''gt;Click

RE: [flexcoders] 1st App - Questions

2005-02-09 Thread John C. Bland II
Title: Message oho k. So just do the html code for the tabs. That'll work. Lemme give that a shot. Thx... -Original Message-From: Matt Horn [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 09, 2005 10:45 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] 1st App -

RE: [flexcoders] mx:Link component

2005-02-09 Thread Matt Chotin
The XML object probably converted the characters into entities. The toString() does not convert it back. If you use resultFormat=object like Christophe I dont think youll have this issue. Matt From: Robert Brueckmann [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 09,

Re: [flexcoders] Flex and FlashCom = Referencing the MediaDisplay

2005-02-09 Thread Kevin Towes (New Toronto Group)
The Media Display has a video within it already. For Flashcom, you need to use: MediaDisplay.contentPath, then specify the full RTMP line.mx:MediaDisplay contentPath="rtmp://fcs.macromedia.com/application/instance/MyVideo" height="400" width="400" /\application: the name of the FCS

RE: [flexcoders] 1st App - Questions

2005-02-09 Thread John C. Bland II
Title: Message Sweet. This worked: mx:TextArea x="0" y="0" htmlText="lt;a href='' target='_blank'gt;View Entrylt;/agt;lt;brgt;lt;brgt;{info.selectedItem.excerpt}" width="100%" height="100%" editable="false"/ It's not the prettiest but at least I know it's there. Thx Matt!

Re: [flexcoders] Flex and FlashCom = Referencing the MediaDisplay

2005-02-09 Thread dave buhler
Whoa. I feel like someone when I can get Kevin to respond. Indeed, what we did was to use Chris's source-file with Matt's hack. I asked some of the FlashCom gurus if they knew a workaround, but they didn't. I posted a request for added documentation on integrating the Media components with Flex.

Re: [flexcoders] Validating datagrids

2005-02-09 Thread BenSteiner
Hi Matt, thank you very much for your help! Now it all works successfully... Cheerio Benjamin

FlexTagLib with NitroX

2005-02-09 Thread Rob
So, Ive updated web.xml (for FlexTagLib URI and location), added flex-bootstrap.jar to necessary paths However, when I run this I get an NPE from bootstrap..stack trace begins with: java.lang.NullPointerException flex.bootstrap.BootstrapTag.init(BootstrapTag.java:25)

WebService Connection Keeps Resetting... ?

2005-02-09 Thread Speer, Dustin
When I load and run my flex app, the connection to my backend .NET web service keeps resetting after about 30 seconds or less. Any ideas how I can handle these connections better? DS Dustin Speer Special Projects Analyst Vestcom US South

RE: [flexcoders] FlexTagLib with NitroX

2005-02-09 Thread Cathy Murphy
In order to use the FlexTagLibrary, your web application must include the entire Flex application. For information on adding Flex to your application, http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flex_Documentationfile=0903.htm -

RE: [flexcoders] form databinding strategies

2005-02-09 Thread Matt Chotin
The List classes dont choose selected items based on text. Youll need to find the compute the selectedIndex yourself. mx:Script function search(arrToSearch : Array, field : String, value) : Number { for (var idx = 0;idx arrToSearch.length; ++idx) { if (arrToSearch[idx][field]

RE: [flexcoders] Class Diagram for Cairngorm?

2005-02-09 Thread Steven Webster
Hi Robert, Someone did produce a class diagram and sequence diagram for Cairngorm; I'll see if I can find itfor you, but there's a handful of classes to get your head around, so I doubt it shoudl be a stumbling block. As for how to pronounce Cairngorm -- here's an excerpt from

Re: [flexcoders] RE: How to email

2005-02-09 Thread Manish Jethani
Matt Horn wrote: mx:Script var fred:String = lt;a href='mailto:[EMAIL PROTECTED]'gt;Fredlt;/agt;; /mx:Script mx:Text id=t2 htmlText={fred} / Wouldn't using a Link component and calling getURL(mailto:[EMAIL PROTECTED]) in the click handler work too? I think so. Manish

Re: [flexcoders] DataGrid headerRenderer placeSortArrow

2005-02-09 Thread Manish Jethani
Marien van Os wrote: I'm experiencing the same problem, headerRenderer works fine, but can't find anything about the arrow... Which headerRenderer are you using? Is it the column reordering one? If yes, then you can enable sorting by doing what Dirk mentions here:

Re: [flexcoders] OT: Flex Position in Montreal, Canada

2005-02-09 Thread Nils Dhring
Is 'points' the currency in Canada? Nils (only having a pipe bag) Stacy Young wrote: Bonus points to folks that show up in a kilt and bag pipes *From:* Steven Webster [mailto:[EMAIL PROTECTED] *Sent:* Monday, February 07,