Re: [flexcoders] Overlay container on panels

2005-07-28 Thread Sreejith Unnikrishnan
Hi, I ran through your code. Looks like you have not quite understood the concept of using mx:Canvas. Also I found that your layout is in total disarray! Use these guidelines for basic layout. 1. You use mx:HBox to layout components horizontally. 2. Use mx:VBox to layout components

Re: [flexcoders] Flex And .NET

2005-07-28 Thread priya s
I m new to Flex, could you elaborate more on what you mean by "right steps".Igor Costa [EMAIL PROTECTED] wrote: Well, following the right steps to write your mxml code will generatefor any version2005/7/27, priya_uvce [EMAIL PROTECTED]: We are using Flex 1.5, which will be accessing.NET

[flexcoders] Re: OT: Flex Team Macromedia :)

2005-07-28 Thread joao_m_fernandes
Sorry to disagree but even if I don't post comments,checking MossyBlog is one of my dayly tasks (at least twice a day just to be sure I didn't miss a thing). :p João Fernandes --- In flexcoders@yahoogroups.com, Rey Bango [EMAIL PROTECTED] wrote: Yep, I'm the one that keeps your page views and

[flexcoders] Re: Custom Error Page

2005-07-28 Thread greenfishinwater
Matt, I copied web.xml from the flex.war file and still get the message about the custom error page. I have also setup another flex environment on my customers server, for production, and the message is appearing there also. These are the relevant lines from my own web.xml servlet

[flexcoders] Re: Combo Box Quirk or Bug

2005-07-28 Thread greenfishinwater
How do you do the data binding to the textbox, can either of the 3 combo boxes populate the text field? I do something similar where I display the description from the combo box: mx:Model id=selectedDescriptions selForecastAge{forecastAgeCBO.selectedItem.label}/selForecastAge Then my label

[flexcoders] Returning an object Array from .NET to Flex

2005-07-28 Thread priya_uvce
Hi all, I want to return an object array from .NET to Flex, and bind the datagrid with the same. I have created an Array variable in ActionScript which will recieve the object array from .NET. I bind this array variable to the DataGrid. The array I am returning is an array of objects of say an

[flexcoders] Databinding to a webservice from within a component

2005-07-28 Thread Steve Cox
Hi, First person, a new flex developer, so bare with me! Im using a webservice defined in index.mxml called eventsService. Now I previously had a datagrid within this file which had the dataprovider set as: service_Events.GetEventDetails.result.diffgram.NewDataSet.Table This all

Re: [flexcoders] Databinding to a webservice from within a component

2005-07-28 Thread Sreejith Unnikrishnan
My experience is that it is always nice to store the result in a variable. Bind this variable to event.result from the webservice. Access this variable from any component anywhere. INDEX.MXML mx:Script var eventDetailsResult; mx:Script mx:WebService id="service_Events

RE: [flexcoders] Databinding to a webservice from within a component

2005-07-28 Thread Steve Cox
Thanks, Sorry, the service was infact called service_Events, just screwed up the email! Thanks for your reply, just realized how stupid I was! Steve -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sreejith Unnikrishnan

[flexcoders] programatically change headerColors? Re: Control Bar Background Color

2005-07-28 Thread stevenkeys2003
How would you programatically change headerColors and footerColors? Need some examples... I'm assuming it involves setStyle somehow? Thx, -Steve --- In flexcoders@yahoogroups.com, jwc_wensan [EMAIL PROTECTED] wrote: Andrew: Yes, I was using the headerColors attribute and was placing it in

[flexcoders] Re: Flex and Databases

2005-07-28 Thread joao_m_fernandes
Hi Ahmed, Flex can't directly connect to databases (Oracle,MSSQL,Access,Excel sheets,etc,etc). In Flex you have 3 ways to access data: Webservices, HTTP services and RemoteObjects. This 3 ways are the only available to retrieve/insert/update/delete data. If you want to connect to Access

[flexcoders] programatically change headerColors? Re: Control Bar Background Color

2005-07-28 Thread Andrew Spaulding
Hi Steve, Yep, you're on the right track, it does involve use of the setStyle method. Use the following to retrieve the current settings if need be - myPanel.getStyle('headerColor'); Setting the header colours requires an array, so it would be done like this -

RE: [flexcoders] Flex and Databases

2005-07-28 Thread Kelly R
Why did you buy a Flex license if you havent even invested the time or money to upgrade from an excel spreadsheet to a database of any kind? If updgrading to a database why not use a real database like SQL Server or something similar rather then Access? Why are you trying to build it yourself if

[flexcoders] Re: Combo Box Quirk or Bug

2005-07-28 Thread charlespaz1
It is not a seperate text field, but the combo boxes' own text fields that they won't fill in. The data is bound by setting the data provider to an Array of strings. function assignData() { var arrData:Array = new Array(string1, String2); assetMFR.dataProvider = arrData; } mx:ComboBox

Re: [flexcoders] Flex and Databases

2005-07-28 Thread Douglas Knudsen
right? An awefully big expensive sledge-hammer to open a small pecan, eh? DK On 7/28/05, Kelly R [EMAIL PROTECTED] wrote: Why did you buy a Flex license if you havent even invested the time or money to upgrade from an excel spreadsheet to a database of any kind? If updgrading to a

[flexcoders] Re: Flex and Databases

2005-07-28 Thread Andrew Spaulding
Maybe he's got a developer edition, or is building a demo/proof of concept app which needs a quick and dirty solution like MS Access? Don't scare the guy off just yet guys hehe. Andrew Spaulding www.flexdaddy.info --- In flexcoders@yahoogroups.com, Douglas Knudsen [EMAIL PROTECTED] wrote:

[flexcoders] Form Control focus and Default Button

2005-07-28 Thread Allen Manning
Hello Flexcoders, Im working on a simple login form and attempting to accomplish the following: + Assign a default button to login so after page loads and you hit enter the form submits, no need to click in to the page. + Assign selection to the first of the two text fields that

RE: [flexcoders] Re: Flex and Databases

2005-07-28 Thread Jeff Steiner
You can actually connect directly to SQL server by turning on the web listener and pass your SQL statements in an HTTP request. It is pretty easy to do and reduces the overhead of another layer. Jeff Founder Flex Authority http://www.flexauthority.com We are actively

[flexcoders] Encode media files to FLV in real-time from a web page

2005-07-28 Thread Jeff Steiner
I just concluded writing an article for Flex Authority that shows off the power of On2s Flix Engine. This product takes an input file and outputs to SWF or FLV. This is truly a must read article for anyone interested in merging media with your current Flex application.

Re: [flexcoders] Form Control focus and Default Button

2005-07-28 Thread Jeff Tapper
I've got it working, just made a few changes to your code: * I got a handle on the focus manager before setting focus * defaultButton as attribute of Form, not panel. Otherwise, all is well. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;

RE: [flexcoders] Form Control focus and Default Button

2005-07-28 Thread Allen Manning
Jeff, Thanks so much for this. Is there any way that I can set it up so I don't need to click - in to the page. So I could just hit refresh and then enter and the form is submitted? Allen www.prismix.com/ -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

RE: [flexcoders] Re: Flex and Databases

2005-07-28 Thread Kelly R
Not trying to scare anyone. Just trying to make him aware that there might need to be a little more thought involved in the overall process. We are all beginnersat some pointbut tough love speeds up the learning process sometimes. From: "Andrew Spaulding" [EMAIL PROTECTED]Reply-To:

[flexcoders] COLUMNCHART + REPEATER

2005-07-28 Thread david_gal-reyniez
Hi everybody, I try to generate 4 charts thanks to the REPEATER object but I partially success. Can you help me to success totally... The chart contains the good values, the legend generates the good labels et the defined colors. The problem is to get the value for the both axis (in

RE: [flexcoders] Form Control focus and Default Button

2005-07-28 Thread Jeff Tapper
That might require a bit of javaScript to make sure the browser has focus, im not sure that there is much you could do within flex to get that. At 12:52 PM 7/28/2005, you wrote: Jeff, Thanks so much for this. Is there any way that I can set it up so I don't need to click - in to the page. So

Re: [flexcoders] Returning an object Array from .NET to Flex

2005-07-28 Thread Clint Modien
Are you using webservices?On 7/28/05, priya_uvce [EMAIL PROTECTED] wrote: Hi all,I want to return an object array from .NET to Flex, and bind thedatagrid with the same.I have created an Array variable in ActionScript which will recieve theobject array from .NET.I bind this array variable to the

RE: [flexcoders] Form Control focus and Default Button

2005-07-28 Thread Allen Manning
Thanks jeff. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Tapper Sent: 28 July 2005 18:05 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Form Control focus and Default Button That might require a bit of javaScript to make sure

Re: [flexcoders] Event Handlers inside custom components

2005-07-28 Thread Manish Jethani
On 7/28/05, Archibald Scatflinger [EMAIL PROTECTED] wrote: I do not want to use implicit getter/setters because I want the components property to be bindable. To make the component's property bindable, specify a ChangeEvent for the property and dispatch the event when the value changes. e.g.

Re: [flexcoders] Form visibility question

2005-07-28 Thread Manish Jethani
On 7/28/05, Jeff Beeman [EMAIL PROTECTED] wrote: Right now, we've got ActionScript turning the visibility of the form items on and off depending on answers to previous questions. The problem is that the form items still take up physical space. The behavior we'd like would have the form item

[flexcoders] FlashPlayer 8 beta and scriptTimeLimit

2005-07-28 Thread Tracy Spratt
Title: FlashPlayer 8 beta and scriptTimeLimit FP8 seems to not be honoring my ScriptTimeLimit setting. Same SWF, probably even locally cached, since I just installed the player, then restarted my app. I will see if anything changes this behavior. BTW, it appears to be about 30% faster on

[flexcoders] Why can't I package my components

2005-07-28 Thread Sauro, Nick
Hey everyone, gotta simple stupid question, whose answer is ducking me. I making an application, and I am putting customized components in packages. I can use the xmlns=* and reference components that are in the same package from each other. But when I try to reference a component in

[flexcoders] XML Load

2005-07-28 Thread Mehdi, Agha
Title: XML Load Hi All, I am trying to load XML in a class's method, which is called by my Flex app after the app loads and have onLoad function to process the XML once it loads. Code: -- public function

[flexcoders] Problem with auto-selecting Tree Node

2005-07-28 Thread Kevin Conboy
Hello, All. I've searched through the email archives and haven't really found anything exactly solving the problem I'm having... Basically, I have a Tree that lists out an e-learning course, with each unit being the root nodes, with their pages living inside of them. What I want is to pass in

Re: [flexcoders] Event Handlers inside custom components

2005-07-28 Thread Kelly R
I actually figured this out right after I asked but I did it a different way. It does basically the same thing though. Here is an example: !—My application page (TestApp.mxml)--

Re: [flexcoders] XML Load

2005-07-28 Thread Jeff Tapper
Sounds like a scoping issue, try this instead: public function loadPLMS():Void{ tacticsXML.load( URL ); tacticsXML.onLoad = mx.utils.Delegate.create(this,doLoad); } function doLoad( success ) { if(success){ Alert.show( tacticsXML.parentNode.toString()

RE: [flexcoders] sound problem: onSoundComplete

2005-07-28 Thread Tom Fitzpatrick
Just trying to bump this problem up - still looking for a solution. I've tried a bunch of different combinations to make the onSoundComplete method work, none of which do the trick. The docs - which perhaps were repurposed from Flash - make no mention of the scoping issue. Anyone have

[flexcoders] programatically change headerColors? Re: Control Bar Background Color

2005-07-28 Thread stevenkeys2003
Nevermind.. got it.. setStyle(headerColors, [0xFF,0x94FA6A]); --- In flexcoders@yahoogroups.com, stevenkeys2003 [EMAIL PROTECTED] wrote: How would you programatically change headerColors and footerColors? Need some examples... I'm assuming it involves setStyle somehow? Thx, -Steve

[flexcoders] Re: Combo Box Quirk or Bug

2005-07-28 Thread greenfishinwater
maybe it is because you have not called the function assign data, as it is in here that the dataprovider binding is setup. Why not set the binding up on the combo: mx:ComboBox id=assetMFR editable=true dataProvider={arrData}/ and make sure that the array arrData, is defined outside of the

RE: [flexcoders] sound problem: onSoundComplete

2005-07-28 Thread Jeff Tapper
I'm having no problems with this. To test, just replace the url variable with some local sound on your machine. One key difference to note, im using loadSound rather than attachSound. Not sure why that matters, but it might ?xml version=1.0 encoding=iso-8859-1? mx:Application

Re: [flexcoders] sound problem: onSoundComplete

2005-07-28 Thread JesterXL
loadSound will load an mp3 file external to the SWF. attachSound will play a sound that has been embedded in the SWF file. - Original Message - From: Jeff Tapper [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, July 28, 2005 3:10 PM Subject: RE: [flexcoders] sound

Re: [flexcoders] sound problem: onSoundComplete

2005-07-28 Thread Jeff Tapper
Good enough, heres an example reworked using an embeded sound. onSoundComplete still fires flawlessly. Perhaps the problem was that Tom had the Sound variable scoped locally to the function, while I have mine accessible to the whole class. ?xml version=1.0 encoding=iso-8859-1?

[flexcoders] flex developers needed - contract to perm - telecommute

2005-07-28 Thread nnielsen
hi guys looking for more flex developers (or skilled action scripters to convert to flex) for a 3-4 month contract and can convert to perm after (if you are willing). the work will be done 100% telecommute. rate and hours are open at this time also giving a $500 referral bonus, so if you

Re: [flexcoders] sound problem: onSoundComplete

2005-07-28 Thread JesterXL
The Activation Object is the weirdest beast... XML LoadVars will both stay around AND fire their onLoad/onData events even if you declare them as local vars. While this is nice to save on member variables, no one knows what the heck garbage collection does with them, so doing things your way

Re: [flexcoders] sound problem: onSoundComplete

2005-07-28 Thread Jeff Tapper
As I say, not entirely sure why mine works when the original doesnt, but it works, which is good enough for now. At 03:49 PM 7/28/2005, you wrote: The Activation Object is the weirdest beast... XML LoadVars will both stay around AND fire their onLoad/onData events even if you declare them as

[flexcoders] Flex SAP Article in DevNet

2005-07-28 Thread joao_m_fernandes
Hi there, Did anyone take a look here http://www.macromedia.com/software/flex/whitepapers/pdf/sap_flex.pdf ? We actually use SAP and we are hopping to work with this new netweaver version but at the end of this document I noticed in the example some UI Components that aren't standard ones... Is

[flexcoders] menubar question

2005-07-28 Thread Robert Brueckmann
I'm just playing with the MenuBar component and I can't seem to figure out how to make the first menu flush with the left side of my app...there always seems to be a padding of 10 pixels before the start of the first menu item in the menu bar...I've tried setting a handful of attributes to 0 and

Re: [flexcoders] sound problem: onSoundComplete

2005-07-28 Thread Tom Fitzpatrick
Hey - thanks Jeff and Jester. Another difference between Jeff's code and mine is that his uses the delegate to play the sound as well as to call the onSoundComplete method. I was curious why snd.start() was called twice. I removed the snd.start() call in the startSound() function and it worked

RE: [flexcoders] Flex SAP Article in DevNet

2005-07-28 Thread Matt Chotin
They have 1.5 and built their components on top.  No special build of Flex for the components. Their support relationship with us is probably pretty nice though J Note that I dont believe their license allows SAP customers to build Flex apps that use their version of Flex.  You

Re: [flexcoders] Re: Extending custom components

2005-07-28 Thread Douglas Knudsen
Aaron, I need to do this same thing. Were you successful? care to share any hints? DK On 3/10/05, bhaq1972 [EMAIL PROTECTED] wrote: Just an idea add all the child controls in your base class using createchild (during the initialize event say) rather than in mxml. then that will

Re: [flexcoders] sound problem: onSoundComplete

2005-07-28 Thread JesterXL
attachSound I reckon has less overhead because the sound and header are already embedded in the SWF. Additionally, attachSound is a syncronous opertion, where as loadSound, both streaming and non, is asyncronous. attachSound requires a sound asset be embeded in your SWF, increasing compile

[flexcoders] Re: Flex SAP Article in DevNet

2005-07-28 Thread joao_m_fernandes
Matt We already have our Flex 1.5 License for our Intranet. Anyway, if i'm not wrong (but not sure), SAP NetWeaver allows us to leverage any application in a SAP system. Like those BAPIs in the doc, SAP Costumers can build their own applications. We want this version of netweaver not for

[flexcoders] attachSound vs. loadSound (was: onSoundComplete)

2005-07-28 Thread Tom Fitzpatrick
At 05:13 PM 7/28/2005, you wrote: attachSound I reckon has less overhead because the sound and header are already embedded in the SWF. Additionally, attachSound is a syncronous opertion, where as loadSound, both streaming and non, is asyncronous. attachSound requires a sound asset be embeded in

[flexcoders] Macromedia Usability Test

2005-07-28 Thread Matt Chotin
Posting for Val who's having subscriber issues at the moment, do not reply to me: Hello, We are inviting people to come to our Macromedia Facilities at 601 Townsend Street in San Francisco to participate in a usability study. Our offices are accessible by public transportation and free garage

Re: [flexcoders] attachSound vs. loadSound (was: onSoundComplete)

2005-07-28 Thread JesterXL
I'll answer your questions backwards with more information than you'd ever care to know. There are 2 types of sounds in a SWF (not counting Flash Lite's device sounds): Event and Streaming. Event sounds are not tied to the frame based engine of Flash. Therefore, they will play indenpendently

Re: [flexcoders] menubar question

2005-07-28 Thread Manish Jethani
On 7/29/05, Robert Brueckmann [EMAIL PROTECTED] wrote: I'm just playing with the MenuBar component and I can't seem to figure out how to make the first menu flush with the left side of my app...there always seems to be a padding of 10 pixels before the start of the first menu item in the menu

RE: [flexcoders] Trouble Deploying on WebLogic 8.1 [ Brian Deitte ]

2005-07-28 Thread Shahnavaz Alware
Hi Brian Are the internal bug numbers public, or are they only internal to Macromedia? Are there any work arounds for this bug besides deploying exploded? Thanks, Shahnavaz From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Brian Deitte

RE: [flexcoders] flex developers needed - contract to perm - telecommute

2005-07-28 Thread Kelly
I am available about 20-25 hours a week (mostly weekends). I am currently working on a project for Ford and Honda so it would have to be when I am not at work. I am a skilled ColdFusion/Flex developer. Contact me if you want to know more. I also know someone else who would be interested but I

RE: [flexcoders] Overlay container on panels

2005-07-28 Thread dfatta
Title: Message Thanks, Sree. That helps enormously. I'm still a bit confused by the HBox and VBox components. Should one treat the HBox as a row (i.e., tr), and a VBox as a cell (i.e., td)? For instance, if I want two panels to be side by side, do I put them in one HBox with two nested

[flexcoders] flex with coldfusion cfc's

2005-07-28 Thread Jeremy Rottman
I am still working with flex and my database structure. The question I have at hand is this. I have a coldfusion cfc that I have written, and would like to use it as my remote object. Right now I am still in the process of learning to bind the data from my cfc to my flex app. So here my my

RE: [flexcoders] Trouble Deploying on WebLogic 8.1

2005-07-28 Thread Dave Kuncl
Are the internal bug numbers public, or are they only internal to Macromedia? Are there any work arounds for this bug besides deploying exploded? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Brian Deitte Sent: Tuesday, July 26, 2005 9:40 AM

[flexcoders] Repeater

2005-07-28 Thread Mehdi, Agha
Title: Repeater Hi all, Is there anything wrong with the following code? mx:Repeater id=tactics dataProvider={plms.getDivision().getTactics() plms:header headerText={tactics.currentItem.getName()}/ mx:Repeater id=sTactics dataProvider=tactics.currentItem.getSubTactics() plms:row

[flexcoders] Macromedia Usability Test?

2005-07-28 Thread Usability Admin
apologies if this is a duplicate posting Hello, We are inviting people to come to our Macromedia Facilities at 601 Townsend Street in San Francisco to participate in a usability study. Our offices are accessible by public transportation and free garage parking is available.

[flexcoders] Macromedia Usability Test?

2005-07-28 Thread Usability Admin
Hello, We are inviting people to come to our Macromedia Facilities at 601 Townsend Street in San Francisco to participate in a usability study. Our offices are accessible by public transportation and free garage parking is available. Interested? For this90-minute time commitment, you

Re: [flexcoders] Event Handlers inside custom components

2005-07-28 Thread Kelly R
I actually figured this out right after I asked but I did it a different way. It does basically the same thing though. Here is an example: !—My application page (TestApp.mxml)--

[flexcoders] AutoTestFlash updated

2005-07-28 Thread tiago_simoes
Hi List, AutoTestFlash has just been updated: 1.3 Fixed bug with movieclips added statically in frames. Fixed bug loading from test file. 1.2 Support for multi level movies. 1.1 Ability to run saved scripts. Ability to capture test results on tested application. 1.0 First Release I have also

Re: [flexcoders] flex with coldfusion cfc's

2005-07-28 Thread Tariq Ahmed
Hi Jeremy, I didn't see a CFC attached. But in general you define an mx:RemoteObject, and in a really basic sense: ##jeremy.mxml mx:Application init=myRO.getSomething().send() mx:RemoteObject id=myRO endpoint=@ContextRoot()/flashservices/gateway source=jeremy mx:method

RE: [flexcoders] XML Load

2005-07-28 Thread Abdul Qabiz
Yeah it is scoping issue. I will suggest using HTTPService, if you are using MXML, HTTPService provides better mechanism to handle result and fault. Try use to use higher-level API instead of using low-level Flash Player APIs. Applications are more future compatible. -abdul -Original

Re: [flexcoders] Overlay container on panels

2005-07-28 Thread Sreejith Unnikrishnan
"Should one treat the HBox as a row (i.e., tr), and a VBox as a cell (i.e., td)" No, do not take the HTML table example too far. Its really very simple. HBox will layout any number of components horizontally. Inversely, VBox lays out everything vertically. Regarding your question, if you

RE: [flexcoders] Encode media files to FLV in real-time from a web page

2005-07-28 Thread Jeff Steiner
I figured that I would bump this one more time for the night owls. Jeff Founder Flex Authority http://www.flexauthority.com We are actively seeking contributors for the site. Have a sample that you want to share with the world? Send it to us! From:

Re: [flexcoders] Returning an object Array from .NET to Flex

2005-07-28 Thread priya s
no i m not using web services. I am just making a call to a .NET assembly.Clint Modien [EMAIL PROTECTED] wrote: Are you using webservices? On 7/28/05, priya_uvce [EMAIL PROTECTED] wrote: Hi all,I want to return an object array from .NET to Flex, and bind thedatagrid with the same.I have created

Re: [flexcoders] Returning an object Array from .NET to Flex

2005-07-28 Thread Sreejith Unnikrishnan
Priya, you should add as much details you can, preferably with pieces of code that you are willing to share (to help understand problem better) when you ask a question. Because the short answer to your question is NO. You are doing fine. That is indeed how you bind a result to a datagrid. A