[flexcoders] Viewstack with canvas + centered panel

2006-09-26 Thread Jeroen Beckers
Hi, I'm fairly new to Flex, but I have been developing in Flash for some years now. The reason why I mailed you guys is that I'm having trouble with the viewstack component... This is what I want: -viewstack -Canvas -Panel The Canvas has to cover the entire stage and the Panel has to

RE: [flexcoders] Adding items to a List Box

2006-09-26 Thread Tracy Spratt
The dataProvider for the List should be either an ArrayCollection or an XMLListCollection. Then use the methods of those collections to manipulate the data. The control will automatically update its display as needed. Tracy From: flexcoders@yahoogroups.com

Re: [flexcoders] Re: tabbing in flex

2006-09-26 Thread dordea cosmin
Thanks for your reply. I think you agree it's not clear enough in the documentation. It requires less time tolook in the source code than parsing the documentation. I have been trough theflex getting started , flex developer's guide, developing flex application documentations and I now have a

RE: [flexcoders] Re: Going Bananas, CFC to AS3 Class Mapping

2006-09-26 Thread João Fernandes
Pete, I saw some breeze presentation in the past and I may misunderstood that part, Mike Nimer was talking about cfproperty tags and alias and I may have mix up. João Fernandes From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Peter

Re: [flexcoders] Re: SOAP with attachments aka FileReference- what's the point?

2006-09-26 Thread Tom Ortega
Depending on your uploadID, you can condense the steps.Drop step one.On step two, save the file in the db itself as a BLOB type object. (If you uploadID is an int) Send the uploadID back as the status code. In the event handler for httpStatus, then call your ws from step three with the status

RE: [flexcoders] FlashPlayer security puzzle

2006-09-26 Thread Tracy Spratt
Do you know about the crossdomain.xml security policy file? Tracy From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dima Ulich Sent: Tuesday, September 26, 2006 7:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] FlashPlayer

Re: [flexcoders] Re: parsing xml recursively help.

2006-09-26 Thread aaron smith
well, I actually need reference to the xml from where the selection occurs.. say this is the XML:node label='flash platform' id='1' type='folder' node label='www.somelink.net' id='2' type='item' feedLocation=' http://www.somelink.net' / node label=somelink' id='3' type='item' feedLocation='

[flexcoders] Re: Unable to access UserTransaction in DataService.

2006-09-26 Thread erik_jen5en
Hi Jeff, I don't seem to be able to get access to your JSP file although I do have another application deployed on the application server that uses the UserTransaction during a JAAS login. Since the other application is working I was hoping that it was simply a setup error. --- In

[flexcoders] Re: Lots of images and 403 errors

2006-09-26 Thread b0b0bb0b
I've just had recent problems with something that might be similar. I've been modifying the photo gallery example and I uploaded about 1000 pictures and the majority of them work fine. What happens when I try to dynamically load the images, if their is a few erroneous files then it appears to

[flexcoders] DownloadProgressBar changing the bar color

2006-09-26 Thread Paolo Bernardini
is there a easy way for changing the DownloadProgressBar bar color, using css? I can't find it. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links *

[flexcoders] Re: styling questions

2006-09-26 Thread Tim Hoff
Cool Peter, Your app is the shizzle to begin with, but adding a little more will help all of us. Thanks, Tim --- In flexcoders@yahoogroups.com, aaron smith [EMAIL PROTECTED] wrote: sweet!, can't wait to see something. On 9/25/06, Peter Baird [EMAIL PROTECTED] wrote: By the

[flexcoders] Re: Programmatically edit the css

2006-09-26 Thread Tim Hoff
Hi Pramod, You can't change the CSS file, but you can change style prgrammatically using setStyle in AS. myPanel.setStyle(color,red); -TH --- In flexcoders@yahoogroups.com, Pramod [EMAIL PROTECTED] wrote: Hey All, Is there a way I can edit the css file used in my application? Basically

Re: [flexcoders] DownloadProgressBar changing the bar color

2006-09-26 Thread EECOLOR
Check the Flex 2 language reference pages and check out the styles section of the Progressbar. Greetz Erik __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

Re: [flexcoders] DownloadProgressBar changing the bar color

2006-09-26 Thread Paolo Bernardini
thanks for the reply, I already did that and try to set the bar-color property, but doesn't work. I'm trying to change the color of the bar of the DownloadProgressBar (which is the one the load the application)not Progressbar. __._,_.___ -- Flexcoders Mailing List FAQ:

[flexcoders] Programmatically edit the css

2006-09-26 Thread Pramod
Hey All, Is there a way I can edit the css file used in my application? Basically i want to change the background of the application based on the user input? Any pointers are appreciated. Thanks a lot in advance, Pramod -- Flexcoders Mailing List FAQ:

Re: [flexcoders] Re: Invalid Root problem

2006-09-26 Thread Tom Chiverton
On Monday 25 September 2006 19:35, cheftimbob wrote: Can anyone suggest a different forum where I could get an answer for this? Have you tried the Macrodobe online forum ? -- Tom Chiverton Helping to adaptively disseminate fine-grained technologies

[flexcoders] Re: Flex 2 SWFLoader disable browser cache

2006-09-26 Thread supertodda
Looks like this did the trick! Thank You. --- In flexcoders@yahoogroups.com, Ralf Bokelberg [EMAIL PROTECTED] wrote: You could add a parameter to the url. For example, if you want to completely stop cacheing, you can add the current time to the url. url = test.swf?nocache= + ( new

Re: [flexcoders] Re: Strategies for adworks in Flex2 apps?

2006-09-26 Thread hank williams
On 9/26/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 26 September 2006 03:56, Dan wrote: Right, I am knowing for a solution for that too. Though we are using FLEX1.5 is it a way to intergrate Google Adwords with it? All you need to do is add the code to the HTML wrapper, no ?

Re: [flexcoders] Re: Strategies for adworks in Flex2 apps?

2006-09-26 Thread Tom Chiverton
On Tuesday 26 September 2006 03:56, Dan wrote: Right, I am knowing for a solution for that too. Though we are using FLEX1.5 is it a way to intergrate Google Adwords with it? All you need to do is add the code to the HTML wrapper, no ? -- Tom Chiverton Helping to proactively visualise

Re: [flexcoders] TitleWindow Close Button

2006-09-26 Thread Tom Chiverton
On Tuesday 26 September 2006 01:14, John Kirby wrote: I am try do trap an event when the mouse is over the close button (x) on a TitleWindow. http://livedocs.macromedia.com/flex/2/langref/mx/containers/Panel.html#event:close -- Tom Chiverton Helping to confidentially evolve

[flexcoders] Re: Interlace text over FLV video

2006-09-26 Thread kristian_wright2002
OK, new problem though I've got the text over the video and it looks fine. However I want it to repeatedly scroll from right to left across the video until the video stops playing. I'm using the Move effect, and this works ok, except the height and width of the Panel that the video is added

[flexcoders] Re: How does a component communicate with the Application

2006-09-26 Thread justin_pante
Hey Bruce, As Paul said, i'd assume this is what classes would be used for. An easy way to implement common methods throughout an application is to have one (or more) static classes that have the common methods within them, as long as you have no need to hold any state or instance variables

[flexcoders] Re: SOAP with attachments... not possible?

2006-09-26 Thread ben.clinkinbeard
Should I take this as a yes? Simply not possible? --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: Hello, I came across some info (after unsuccessfully trying myself) stating that it is not possible to make SOAP calls with attachments in Flex because: The

Re: [flexcoders] Re: Architecting a large, modular Flex application

2006-09-26 Thread Carlos Rovira
Hey!, 5,53kb here ;)On 9/26/06, Dimitrios Gianninas [EMAIL PROTECTED] wrote: You got it Dirk, dont know why I forgot to exclude those... down to 5.8k Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: [EMAIL PROTECTED]ups.com

Re: [flexcoders] DownloadProgressBar changing the bar color

2006-09-26 Thread Paolo Bernardini
thanks again, I guess the only way to do it is to create a custom preloaders, I thought we could just set a property on a css file, since the only thing that I want to change is the color of the bar. On 9/26/06, EECOLOR [EMAIL PROTECTED] wrote: In that case, check these links, you might

[flexcoders] Re: SOAP with attachments aka FileReference- what's the point?

2006-09-26 Thread ben.clinkinbeard
We are just trying to upload a file and then return some data back to Flash, but apparently that is not possible. Number 2 at http://www.mehtanirav.com/2006/04/29/filereference-on-mac-type-is-not-available/ seems to confirm what I feared about FileReference. Can someone please explain to me

Re: [flexcoders] textfield's alpha

2006-09-26 Thread Daniel Freiman
The docs (i think the dev guide specifically) are mostly complete on how to embed fonts and thus which fonts can be embeded. I can't be more specific because I'm about to run out the door. If you can't find it I might be more help later. - DanOn 9/26/06, Bjorn Schultheiss [EMAIL PROTECTED]

Re: [flexcoders] Re: Strategies for adworks in Flex2 apps?

2006-09-26 Thread hank williams
All you need to do is add the code to the HTML wrapper, no ? Presuming that you dont mind having an html strip that is totally out of context with the style of the rest of your application. Oh, and of course presuming that you dont need the ad words to actually look at any of the text in

Re: [flexcoders] Save XML to file

2006-09-26 Thread EECOLOR
This is not possible because of security reasons. There are a few different things you could do: 1. send the file to the server and let the user download it 2. use a wrapper like zinc and make you app a standalone app 3. communicate directly with an SMTP server to send the xml Greetz Erik

[flexcoders] Problem with freezing video using slider

2006-09-26 Thread kristian_wright2002
I have a VideoDisplay which loads and plays an FLV file, and an HSlider component that shows the progress of the video as it's playing. I've linked the slider to the playhead, so that if a user clicks somewhere on the slider bar, the slider moves to that position, and the playhead of the video

[flexcoders] Adding items to a List Box

2006-09-26 Thread Madhuri Chamarty
hi,I have a problem with adding items to a list box during run time..I have a text input where i enter the item to be added and when i click the add button my itemshould be added to the ListBox. I cant find how to do this...i'm using Flex Builder 2.0... Thanks, Madhuri Get your

[flexcoders] Volume trouble with VideoDisplay

2006-09-26 Thread benjidudu
Hi there, I have a VideoDisplay which plays a list of flv. As soon as a clip is finished playing, it plays the next one. This part works fine. I added a volume control using a HSlider component. This also works fine. When I slide the slider (oh yeah), the volume changes accordingly. But this is

[flexcoders] Why icon in DateField appears rough in some cases like hidden state?

2006-09-26 Thread Sergey Kovalyov
Hi All! Run the application below and click the Switch state button. DateField icon appears rough. It looks correct only after mouse over. ?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=onCreationComplete() width=100%

[flexcoders] Save XML to file

2006-09-26 Thread Luis Arias
If I create a Flex App that is locally trusted, is it possible to save an xml object to a file on the disk. The local shared object saves objects but it doesnt allow the user to say save the file as an xml file and then be able to email that file to someone else. And I would rather not have to

Re: [flexcoders] Re: SOAP with attachments... not possible?

2006-09-26 Thread Tom Ortega
We ended up having to use a servlet in which we upload the file too and pass any non-file data as url vars.Are you changing the file within the same call?-Tom2On 9/26/06, ben.clinkinbeard [EMAIL PROTECTED] wrote: Should I take this as a yes? Simply not

Re: [flexcoders] Re: SOAP with attachments... not possible?

2006-09-26 Thread Phil Marston
Ben, I know nothing about this, but have you looked at what can be done with amf? I haven't looked into it much in Flex, but I kind of thought of it synonymously with soap when I was doing purely Flash dev. Just a thought out loud, Phil ben.clinkinbeard wrote: Should I take this as a

Re: [flexcoders] Duplicate/Copy Object

2006-09-26 Thread Tom Ortega
mx.utils.ObjectUtil.copy is what you're looking for, I believe. http://livedocs.macromedia.com/flex/2/langref/mx/utils/ObjectUtil.html#copy() On 9/25/06, Travis Anderson [EMAIL PROTECTED] wrote: When I started this, I thought it would be simple, but I'm

[flexcoders] Resize Object

2006-09-26 Thread KP
Sorry I didnt mention subject From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of KP Sent: Tuesday, September 26, 2006 7:37 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Hi All, Below is the image which shows different

[flexcoders] Re: Invalid Root problem

2006-09-26 Thread cheftimbob
I have tried to post there, but, it keeps asking for a nickname. No matter what I put in for a nickname, it keeps telling me it's in use. So I haven't been able to post there. --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Monday 25 September 2006 19:35,

Re: [flexcoders] DownloadProgressBar changing the bar color

2006-09-26 Thread EECOLOR
The application has not been loaded, neither has the css manager thingy, the progressbar is loading it. So css contents are not available i think, i might be wrong though, just a guess. Greetz Erik __._,_.___ -- Flexcoders Mailing List FAQ:

RE: [flexcoders] Volume trouble with VideoDisplay

2006-09-26 Thread rick
I don't know what's happening there, but I can offer some possible quick and dirty workarounds: 1. Set volumeControl minimum attribute to 0.001 instead of 0. You might still be able to hear it though, you'd have to try it. 2. At beginning of each flv, if pubs.volume==0, set pubs.volume=0

Re: [flexcoders] Compilation Error with createClassObject

2006-09-26 Thread EECOLOR
The method does not exist, use something like this: check = new CheckBox(); addChild(check); Greetz Erik __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

Re: [flexcoders] Re: Invalid Root problem

2006-09-26 Thread Tom Chiverton
On Tuesday 26 September 2006 13:59, cheftimbob wrote: matter what I put in for a nickname, it keeps telling me it's in use. So I haven't been able to post there. What, even '17d153f224b170230e842dde34b9dcb1' ? -- Tom Chiverton Helping to vitalistically entrench principle-centered convergence

Re: [flexcoders] Re: Programmatically edit the css

2006-09-26 Thread aaron smith
http://www.onflex.org/code/ - check out the code on 8/25/06 - change background color on the fly.. this isn't editing the css file, rather setting the style of the background smithOn 9/26/06, Tim Hoff [EMAIL PROTECTED] wrote: Hi Pramod, You can't change

RE: [flexcoders] Re: Strategies for adworks in Flex2 apps?

2006-09-26 Thread rick
Isn't there an API for Adwords? I don't know, but I would check Google's site. If not, you could add a hidden frame to your html wrapper for the Adwords script, (or put it in a display:none div) then write a small HTML scraper to get the adwords text and link. Use External Interface to

[flexcoders] Add an object via DataService.createItem() to a DataGrid

2006-09-26 Thread Benno Kittelmann
Hello all, I have the following (simplified) setup: An ArrayCollection is bound to the dataProvider attribute of a DataGrid. The values of the ArrayCollection are loaded by a DataService during startup of the application. Additionally, there is a form which is used to create new managed objects.

Re: [flexcoders] Re: Strategies for adworks in Flex2 apps?

2006-09-26 Thread Tom Chiverton
On Tuesday 26 September 2006 12:48, hank williams wrote: you dont mind having an html strip that is totally out of context with the style of the rest of your application Only if you write (and style) it so that it is, no ? Oh, and of course presuming that you dont need the ad words to

Re: [flexcoders] Comments appreciated

2006-09-26 Thread Brian Dunphy
I've seen things like this done with Flash PHP in the past, so it should be quite straightforward to do with Flex your backend language of choice (Java, C#, PHP, etc).Brian On 9/26/06, cheftimbob [EMAIL PROTECTED] wrote: I'd like to create an application

Re: [flexcoders] Re: SOAP with attachments aka FileReference- what's the point?

2006-09-26 Thread Tom Ortega
You gotta be creative. =)You get the http Status code back from fileReference. Use that to communicate what you want back to the client.We have 4 messages in my flex code that we show depending on what http status code the servlet sends back. You could do something similar:status code 200 - all

[flexcoders] Comments appreciated

2006-09-26 Thread cheftimbob
I'd like to create an application that displays an image and has a couple widgets on the side. This app is to mimic putting a stamp, or annotation, on an image. I'd like to drag one of the widgets onto the image and grab the coordinates of the widget drop relative to the image. The coordinates

[flexcoders] Re: Duplicate/Copy Object

2006-09-26 Thread Travis Anderson
The text for the copy() method is as follows: This method is designed for copying data objects, such as elements of a collection. It is not intended for copying a UIComponent object, such as a TextInput control. If you want to create copies of specific UIComponent objects, you can create a

[flexcoders] Re: SOAP with attachments aka FileReference- what's the point?

2006-09-26 Thread ben.clinkinbeard
Hey Tom, Thanks for your input. Unfortunately, I need more back than a status code (I was just using those messages and an example). What we are actually doing is allowing the user to upload an Excel file and sending back the parsed data. Here is the approach we are taking now, knowing the

Re: [flexcoders] DownloadProgressBar changing the bar color

2006-09-26 Thread aaron smith
http://examples.adobe.com/flex2/consulting/styleexplorer/Flex2StyleExplorer.html check out the style explorer adobe released.. you can find the progress bar in there, and what styles you can change. On 9/26/06, EECOLOR [EMAIL PROTECTED] wrote: The application

RE: [flexcoders] Re: tabbing in flex

2006-09-26 Thread Stephen Gilson
There is some mention of implementing IFocusManager in the doc. In the Creating Components book when describing how to implement AS components: http://livedocs.macromedia.com/flex/2/docs/1727.html And an example in the doc on creating item editors:

[flexcoders]

2006-09-26 Thread KP
Hi All, Below is the image which shows different coordinates for resizing. This image is taken from flex editor. Can we some how implement same thing at the run time for any other component lets say image can we resize this Please suggest some approach for this.

RE: [flexcoders] Re: tabbing in flex

2006-09-26 Thread Stephen Gilson
There is some mention of implementing IFocusManager in the doc. In the Creating Components book when describing how to implement AS components: http://livedocs.macromedia.com/flex/2/docs/1727.html And an example in the doc on creating item editors:

[flexcoders] When are Accordian Components instantiated?

2006-09-26 Thread Wally Randall
Problem: I have a form with an accordian component. As the workflow progresses I need to enable buttons and components in accordian panels which have not yet been openned. That is not possible until the panel containing the component is openned. Can someone explain how the accordian

RE: [flexcoders] html params

2006-09-26 Thread Matt Horn
It's also covered in the documentation: http://livedocs.macromedia.com/flex/2/docs/1001.html hth, matt horn flex docs -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flex-guitar Sent: Sunday, September 24, 2006 11:22 AM To:

RE: [flexcoders] bug in Array.splice?

2006-09-26 Thread Tracy Spratt
The for each loop does not process the array in order. The traversal order is documented as not reliable, but actually seems to always return elements in the order which they are added to the array. Try this using a straight for loop. (I havent, so you could be correct about a bug)

[flexcoders] Re: Save XML to file

2006-09-26 Thread wayneposner
If you're looking to create a desktop application, you can write to the file system using Zinc. Just google MDM Zinc and you'll get the information you're looking for. wayne --- In flexcoders@yahoogroups.com, Luis Arias [EMAIL PROTECTED] wrote: If I create a Flex App that is locally

[flexcoders] Save XML to file

2006-09-26 Thread Luis Arias
If I create a Flex App that is locally trusted, is it possible to save an xml object to a file on the disk. The local shared object saves objects but it doesnt allow the user to say save the file as an xml file and then be able to email that file to someone else. And I would rather not have to

[flexcoders] Building tests for the UI ...

2006-09-26 Thread Paul Dale
Hi all, I'm curious what strategies/tools people are using for testing their flex applications, specifically the UI? We'd like to be able to build some automated testing into our release cycle ... but haven't found any attractive options for testing the UI at this point. Any tips? Paul --

RE: [flexcoders] Re: Architecting a large, modular Flex application

2006-09-26 Thread Dimitrios Gianninas
You got it Dirk, dont know why I forgot to exclude those... down to 5.8k Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dirk EismannSent: Monday, September 25, 2006 7:47 AMTo:

[flexcoders] Compilation Error with createClassObject

2006-09-26 Thread Ghose, Sanjucta
Hi, class CheckCellRenderer extends UIComponent { var check : MovieClip; var listOwner : MovieClip; // the reference we receive to the list var getCellIndex : Function; // the function we receive from the list var getDataLabel : Function; // the function we receive from the

[flexcoders] Re: Webservices from actionscript...

2006-09-26 Thread Jason
Hey Ken, You can check my example at http://blog.wrench.com.au/2006/09/05/flex-2-unit-converter-part-ii/ View Source to see what's going on. Please note: I can't get the webservice to communicate with the Flash Player in Firefox. --- In flexcoders@yahoogroups.com, Ken Bromberger [EMAIL

[flexcoders] Selecting all in a List component with Ctrl + a

2006-09-26 Thread Matti Bar-Zeev
Hi list, I have a problem with the List component. I want that the keys combination Ctrl + a will select all the fields in the list (using the KeyboardEvent), but it seems to be blocked. Any other combination seems to work fine. Did any one come across this kind of behavior? Thnx.

Re: [flexcoders] Lots of images and 403 errors

2006-09-26 Thread Clint Modien
403 is a security error. Check the ntfs permissions on the files. On 9/25/06, David Harris [EMAIL PROTECTED] wrote: I'm not sure if this is a Flex issue or maybe my server set up...butif any of you have any ideas, I'm be glad to hear them!I have a Flex Movie that is loading a lot of

[flexcoders] bug in Array.splice?

2006-09-26 Thread Pan Troglodytes
Either there is a bug in Array.splice, or the documentation is off.From the help:Example The following code creates the Array object vegetables with the elements [spinach, green pepper, cilantro, onion, avocado]. The splice() method is then called with the parameters 2 and 2, which assigns

[flexcoders] Line Chart

2006-09-26 Thread Chris Alvarado
Hello all, First time posting to the list here. I am working with the Line Chart component and having some problems. I am delivering the data through an XML document. I have: Employees Date Hours The selected dataset changes based on some input criteria such as which

[flexcoders] Re: MXML Constructor

2006-09-26 Thread tobiaspatton
I think you just need a public function in your component with the same name as the component with no arguments. This will be called as the constructor of your component. You can't have a constructor that takes parameters though. eg. MyComp.mxml mx:Script ![CDATA[ public function

[flexcoders] syntax for addressing components in a loop

2006-09-26 Thread Phil Marston
Hi All, I have a series of checkboxes with the ids checkbox1, checkbox2 ... checkboxN I want to set there selected property to false for (i:int; inumOfCheckboxes; i++){ // in flash the syntax would be something like ['checkbox'+i].selected = false; //how should I write this in flex?

[flexcoders] Re: Viewstack with canvas + centered panel

2006-09-26 Thread joshuajnoble
I think you mean: To get the Panel centered on the stage (Canvas), set horizontalCenter and verticalCenter properties on the Canvas to 0. Setting those props on the Panel will only affect children inside the Panel. --- In flexcoders@yahoogroups.com, Ashish Goyal [EMAIL PROTECTED] wrote: To

Re: [flexcoders] bug in Array.splice?

2006-09-26 Thread Ralf Bokelberg
The current behaviour of splice is the same as it ever was in flash, so probably it's a bug in the documentation. Cheers,Ralf. On 9/26/06, Tracy Spratt [EMAIL PROTECTED] wrote: The for each loop does not process the array in order. The traversal order is documented as not

Re: [flexcoders] When are Accordian Components instantiated?

2006-09-26 Thread Ralf Bokelberg
Or create a model, which reflects the state of your forms without having to instantiate every form. Cheers,Ralf. On 9/26/06, Steve Cox [EMAIL PROTECTED] wrote: Add creationPolicy=all to the accordion. This will make it create all the children at initial load. You

Re: [flexcoders] bug in Array.splice?

2006-09-26 Thread John Grden
that's in case of using a for..in loop with objects. Arrays are index based and in a for loop you're just asking for the index based on what i equals: for(var i:Number=0;iary.length;i++) { trace(ary[i]); } it'll trace in order that you pushed the values in. On 9/26/06, Tracy Spratt [EMAIL

Re: [flexcoders] bug in Array.splice?

2006-09-26 Thread John Grden
I read the help, and it pretty well spells out that you send optional arguments in the sample, but I could see where it states [, value:Object] that someone could find that confusing. The sample at the bottom of the help file shows exactly what you ended up finaly doing:var

[flexcoders] Complie Time Constant expressions Exception

2006-09-26 Thread akash
Hi, I have created a main application file in which I have methods createUI and DestroyUI. When I click on a link its child component appears in that main window. Now the problem is inside this component I have a label. So when I tracks mouseDown event for this label I call the

Re: [flexcoders] bug in Array.splice?

2006-09-26 Thread Ralf Bokelberg
Ah, so maybe you are referring to a different documentation? Here is what the livedocs say about the optional parameters: one or more comma-separated values, or an array, to insert into the arrayCheers, Ralf. On 9/26/06, John Grden [EMAIL PROTECTED] wrote: I read the help, and it pretty well

Re: [flexcoders] bug in Array.splice?

2006-09-26 Thread Pan Troglodytes
The point of the for each loops was that the splice put an object (the Array) into the vegetables array rather than putting each element from the arrray named spliced into the vegetables array, as the line The splice() method is called a second time using the parameters 1, 0, and the spliced

Re: [flexcoders] Complie Time Constant expressions Exception

2006-09-26 Thread Ralf Bokelberg
You can't initialize a member variable with a complex _expression_ like a constructor call: var leftAccord:leftAccordian=new leftAccordian(); // Main Application FileYou have to initialize it in one of the early handlers like the initialize handler instead. CheersRalf. On 9/26/06, akash

Re: [flexcoders] bug in Array.splice?

2006-09-26 Thread Pan Troglodytes
As Ralf said, I'm not sure what documentation you are referring to. Let me be more specific and say the Flex Builder 2.0 documentation (as well as the LiveDocs at http://livedocs.macromedia.com/flex/2/langref/Array.html).Does that help clear things up?On 9/26/06, John Grden [EMAIL PROTECTED]

[flexcoders] FDS headless-server error

2006-09-26 Thread Daniel Cascais
Hi all, I've got FDS installed in a Weblogic 8.1 server. When executing the Flex app I get the following error message: --- Errors, warnings or exceptions were found while compiling /AutoconsultaVentas/acv.mxml. Visit the online Flex documentation or API reference for further information. 1

[flexcoders] Re: Add an object via DataService.createItem() to a DataGrid

2006-09-26 Thread passive_thoughts
I just happen to be at the same stage you are, and I ran into the exact same problem. I used your syntax and also tried using the syntax: var newCountry: Country = new Country(); newCountry.code = CAN newCountry.description = Great White North; countries.addItem(newCountry); And ran into the

[flexcoders] Flexcoders mail archive?

2006-09-26 Thread rigidcode
Do I have the right URL for the flexcoders mail archive? http://www.mail-archive.com/flexcoders@yahoogroups.com/ Or is it just down... I'm looking for a tutorial on building my own Flex 2 components. Widget how-to -- Flexcoders Mailing List FAQ:

[flexcoders] Missing from Flex Eclipse

2006-09-26 Thread Roger
Hey, Does anyone have any info on how to get back these two bits of functionality I really miss from FDT? I've been looking through eclipse plugins for something simple, and haven't found what I was looking for. = Templates From FDT or TextMate, typing the name of the template and hitting expand

[flexcoders] Introducing Flex in a HTML page - suggestions

2006-09-26 Thread josephanishalex
Hi, The website i work for plans to introduce Flex in a step-by-step fashion - ie currently, the pages are HTML based and we want to introduce some features alone in Flex. I'm looking for a solution where the server-side code can combine JSP and MXML/AS. It seems that the JSP tag library for

[flexcoders] Re: HTTP Status 500 Error using SSL endpoint

2006-09-26 Thread syndrake7
Tom, thanks for the reply. Background: I can browse to http://me.com/flex2gateway/ and receive a blank page with no errors. I cannot browse to https://me.com/flex2gateway/ - I get an HTTP: Status 500 error. The SSL cert is setup correctly on the server (I can browse pages in the same site via

[flexcoders] 45 hindrances or problems against superb software development

2006-09-26 Thread Jignesh M. Dodiya
Sorry this is off-track post here at Flex coder. But I think the list of the problems given on the blog i have given below and some tricks or solutions to overcome from that is just superb. I got benefit personally so like to share it with this, one of the best community on the net. visit

[flexcoders] How do you handle many transitions between many states

2006-09-26 Thread Sam Shrefler
I'm trying to figure out a way to clean up the transitions from my application.mxml file. I'd like to specify many custom transitions between different states. As my number of states grows, so does my number of transitions, all defined in my application.mxml. I'm looking for ideas on how

[flexcoders] Re: Add an object via DataService.createItem() to a DataGrid

2006-09-26 Thread passive_thoughts
How to change the default class generator for your Hibernate Code Generator:Add the hibernate-tools.jar to your java project.Create this class in your project (i used the default package):import org.hibernate.cfg.reveng.*;public class MyRevEngStrategy extends DefaultReverseEngineeringStrategy {

RE: [flexcoders] bug in Array.splice?

2006-09-26 Thread Francis Cheng
Hi Jason, This is a mistake in the documentation. Thanks for pointing it out. Ill file a documentation bug to ensure that it gets fixed. Thanks, Francis Cheng | Senior Technical Writer | Adobe Systems, Inc. From: flexcoders@yahoogroups.com

[flexcoders] currentState index?

2006-09-26 Thread bghoward3
i am trying to change the state of one component from a differnt one(a TabNavigator). i am currrently using a captured IndexChangedEvent on the tabnavigator to trigger afunction that will change other component state, i have no problem targeting this component but would like to match the

Re: [flexcoders] bug in Array.splice?

2006-09-26 Thread John Grden
OYE, geez, sorry list, I could have SWORN this was FLASHCODERS, Not Flexcoders my bad. Bad John. Rock on \m/ On 9/26/06, Ralf Bokelberg [EMAIL PROTECTED] wrote: Ah, so maybe you are referring to a different documentation? Here is what the livedocs say about the optional parameters: one

RE: [flexcoders] Re: using an OCX with Flex

2006-09-26 Thread Mitch Grasso
You might want to check out Zinc from MDM (http://www.multidmedia.com/) It's astandalone flash player that can also host activex controls. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of boy_trikeSent: Monday, September 25, 2006 1:43 PMTo:

[flexcoders] LocalConnection quirks with AVM1-AVM2 communication?

2006-09-26 Thread fi_heidi
I have an application developed in Flex 2 that loads another application built in Flash 8. Since they need to send some small data back and forth, I am using two LocalConnections - one for sending data from the Flex app to the Flash 8 app, and one for the reverse. Each uses a hard-coded name

RE: [flexcoders] adding effects in action script

2006-09-26 Thread Gordon Smith
A showEffect is actually a style whose value is an Effect, so you'd do imgNewImage.setStyle(showEffect, fadeIn); - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of David Harris Sent: Monday, September 25, 2006 5:30 PM To:

RE: [flexcoders] When are Accordian Components instantiated?

2006-09-26 Thread Gordon Smith
Setting creationPolicy=all is ALMOST NEVER the right thing to do in Flex. It disables the Deferred Instantiation feature, which enables Flex apps to minimize their startup time by not instantiating components until the user can see them. Do you have a suggestion for how to enable a

RE: [flexcoders] Re: MXML Constructor

2006-09-26 Thread Gordon Smith
You can't write a constructor for an MXML component because the MXML compiler autogenerates one. What do you need to do in the constructor? - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of tobiaspatton Sent: Tuesday, September 26,

[flexcoders] Re: Stack Overflow with circular managed associations.

2006-09-26 Thread thunderstumpgesatwork
Jeff, Thanks for the response. I've sent the details (my data-management-config.xml, and debug output) to you in a private email, as the information is sensitive. The stack overflow was occuring after the call to fill, but before the result came back. I have adjusted my destinations to only

RE: [flexcoders] Viewstack with canvas + centered panel

2006-09-26 Thread Gordon Smith
I really can't figure out how to center the panel and 'stretch' the canvas ... mx:Canvas width=100% height=100% mx:Panel width=300 height=300 horizontalCenter=0 and verticalCenter=0/ /mx:Canvas - Gordon From: flexcoders@yahoogroups.com

  1   2   >