[flexcoders] Liquid layout with ActionScript instead of % values in MXML

2007-05-21 Thread keith
QUESTION: Using MXML you can set width and height with percent values. How do I do this with ActionScript only? WHY: Because I'm dynamically generating a Form, filled with nested HBoxes and Vboxes containing InputFields, Buttons that I want to stretch as as the Form's container changes

RE: [flexcoders] Liquid layout with ActionScript instead of % values in MXML

2007-05-21 Thread Jason Hawryluk
Have a look at percentWidth, and percentHeight i think this might be what your looking for. jason -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la part de keith Envoyé : lundi 21 mai 2007 08:24 À : flexcoders@yahoogroups.com Objet : [flexcoders]

[flexcoders] Re: Secuity sandbox violation when SwfLoader is used to load swf file from a URL

2007-05-21 Thread ivansebastiansurya
Thanks for your reply first of all ;) So, what's the sandbox rules when the main app is launched from a web server then? I think the illegal access is when the sub application (loaded swf) tried to access the parent swf. The funny thing is, I don't have any code in my sub application where I

RE: [flexcoders] Navigating away from a Tab

2007-05-21 Thread Thind, Aman
This is how I would do it using Cairngorm: I would have the following in my Model :- 1) static vars representing my viewstate -- public static var VIEWING_RUN_SCENARIOS:uint = 0; public static var VIEWING_DEC:uint = 1; public static var VIEWING_MONITOR_RESULTS:uint = 2; public static

[flexcoders] Re: Getting 500 error on uploading

2007-05-21 Thread kumarpal jain
Hi All, I got the solution for this problem. Yes you were correct the problem was on server side only and we need to increase the max size of file which is being uploaded. By default dotnet supports only 4 mb of file to be uploded and this can be increased through adding below tag in

RE: [flexcoders] Strange SWC behavior!

2007-05-21 Thread Ravi Kumar Gummadi
Yup, I too had the same problem, I cross checked that its properly in the MC!! My fla structure is something like this, Stage - MyMovieClip and AnotherMovieClip

RE: [flexcoders] TextArea: Halo skin draws over top of child controls!

2007-05-21 Thread Mark Ingram
Here is my current code: protected override function childrenCreated():void { super.childrenCreated(); for (var i:Number = 0; i this.numChildren; ++i)

[flexcoders] Re: Strange SWC behavior!

2007-05-21 Thread herklano
I have almost the same thing as Ravi Kumar Gummadi, My structure is Stage MoviClip (SWC) ClipContainer ClipWithStopInTimeline Flex doesn't read the timeline script in the ClipWithStopInTimeline. Looks more like a bug of Flex to me. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL

[flexcoders] Am I using the right technology?

2007-05-21 Thread Mark Ingram
Hi, I often see names like AMF, Flash Remoting, Data Services, Web Services, etc on this list, and it makes me wonder whether I am using the correct technology for the project I'm about to work on. The project is an online tool, allowing multiple users to work collaboratively. I figured I

[flexcoders] Few Questions

2007-05-21 Thread learner
I have some questions which are bit confusing for me. It will great if you guys can put your thoughts on it and help me get the clear picture: * When we create a application in flex builder to use fsd we get these two options , what is the differance : 1) Compile application locally in

[flexcoders] How to keep TextArea from losing focus?

2007-05-21 Thread Mark Ingram
Hi, how can I stop a text area from losing focus? I always want it to show the selection, no matter if the user is in another control. Any clues? Mark

Re: [flexcoders] Am I using the right technology?

2007-05-21 Thread Tom Chiverton
On Monday 21 May 2007, Mark Ingram wrote: I figured I would use Flex + C# WebServices. Flex must poll the web server every x amount of seconds to see if any data has changed. (Flex would use the WebService class to load the WSDL and wait for results before parsing the results and acting on the

Re: [flexcoders] How to keep TextArea from losing focus?

2007-05-21 Thread Tom Chiverton
On Monday 21 May 2007, Mark Ingram wrote: Hi, how can I stop a text area from losing focus? I always want it to show the selection, no matter if the user is in another control. Have you tried the various focus related methods listed in the LiveDoc ? -- Tom Chiverton Helping to

RE: [flexcoders] How to keep TextArea from losing focus?

2007-05-21 Thread Mark Ingram
I've tried using systemManager.stage.focus and the various setFocus and MOUSE_FOCUS_CHANGE / KEY_FOCUS_CHANGE (with preventDefault) being called. But the focus is still lost from the Text Area. This is what I'm doing currently: this.addEventListener(FocusEvent.MOUSE_FOCUS_CHANGE,

[flexcoders] Re: Am I using the right technology?

2007-05-21 Thread bhaq1972
I'd be intersted to know, does LiveCycle Data Services use polling internally? --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Monday 21 May 2007, Mark Ingram wrote: I figured I would use Flex + C# WebServices. Flex must poll the web server every x amount

Re: [flexcoders] Re: Am I using the right technology?

2007-05-21 Thread Johannes Nel
remote shared object would be my guess On 5/21/07, bhaq1972 [EMAIL PROTECTED] wrote: I'd be intersted to know, does LiveCycle Data Services use polling internally? --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Monday 21 May

[flexcoders] Forms advantages

2007-05-21 Thread borekbe
Hi, I'm new to Flex and wanted to ask a beginner's question - what are the pros and cons of using mx:Form versus the set of input fields, labels etc.? I like the required=true functionality but on the other hand, layout possibilities are somehow limited (the form is always one column only, what

[flexcoders] Re:Navigating away from a Tab

2007-05-21 Thread James Wilson
See the Change event for the tabnavigator. http://groups.yahoo.com/group/flexcoders/message/74877;_ylc=X3oDMTJzcW1 1NGIwBF9TAzk3MzU5NzE1BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2d JZAM3NDg3NwRzZWMDZG1zZwRzbGsDdm1zZwRzdGltZQMxMTc5NzI1NTQ5 Navigating away from a Tab Posted by:

Re: [flexcoders] Re: Am I using the right technology?

2007-05-21 Thread Tom Chiverton
On Monday 21 May 2007, bhaq1972 wrote: I'd be intersted to know, does LiveCycle Data Services use polling internally? In what way ? You mean on the wire ? It's not AMF3, if that's what you mean. -- Tom Chiverton Helping to paradigmatically orchestrate high-end m-commerce on:

[flexcoders] Re: Am I using the right technology?

2007-05-21 Thread bhaq1972
Basically, our flex app polls every 'n' seconds to see if there's been any changes to a db. What does LiveCycle do to check if there's been any changes. thats all. --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Monday 21 May 2007, bhaq1972 wrote: I'd be

[flexcoders] Zoom effect added from code...how?

2007-05-21 Thread flashcrow2000
Hello, Here is my current problem: I have a ModuleLoader object (which I'm using in an AS file, so no MXML there). This ModuleLoader gets initialized then is sent to another application (I have access to a DisplayObject from that application, and I'm adding the ML to the DisplayObject's

[flexcoders] Re: how to work with AS3

2007-05-21 Thread flashcrow2000
you certainly have a lot of code... 1. when building states you might want to use the Design, if you are a beginner (which you probably did) 2. going from state to state is as simple as : Button label=go to state leadState click=this.currentState='leadState' / try to explain the problem before

RE: [flexcoders] Re: Am I using the right technology?

2007-05-21 Thread Mark Ingram
Also, what is the difference between using Flash Media Server and LiveCycle Data Services? $4000 vs $2 per CPU - what do I get for difference in price? For collaborative / data push aspect, I assume FMS will be just what we need? Thanks, From:

Re: [flexcoders] Forms advantages

2007-05-21 Thread Flexing...
The form is not one columed.. You can place multiple form items in a container like HBox, VBox etc. e.g. mx:Form mx:HBox mx:FormItem label=item1 mx:VBox mx:RadioButton/ mx:RadioButton/

[flexcoders] How to protect a checkbox in a grid from being clicked

2007-05-21 Thread boy_trike
I am using a drop in checkbox in a datagrid. I do NOT want the user to be able to change it. When I set enabled=false it is greyed out. How do I have it displayed without being greyed out and still have it protected? Thanks Bruce

[flexcoders] Re: Am I using the right technology?

2007-05-21 Thread barry.beattie
Hang on a sec... in giving Mark an answer, he's been landed with more jargon. Mark, I'm nowhere near the expert that Tom or others here are on this subject ... ... and there are some good blog posts around (and the Adobe site itself) with decent detail on all of it ... but... I work at a

[flexcoders] Re: Forms advantages

2007-05-21 Thread borekbe
Yeah, I figured that out although even this is not completely perfect (for example, visual designer in Flex Builder doesn't support containers inside mx:Form very well). What about the second problem - more complicated labels, e.g. labels containing graphics? Can this be solved? I didn't find any

[flexcoders] Usage and Functionaly of OOPS

2007-05-21 Thread [EMAIL PROTECTED]@yahoo.com
hI, Thanks in Advance. How to Write OOPS CONCEPTS OF CODING. Any pdf file for this for learning OOPS CONCEPTS. Please do the needful. Thanking you, Regards, R.Denesh Kumar - Need Mail bonding? Go to the Yahoo! Mail QA

Re: [flexcoders] Am I using the right technology?

2007-05-21 Thread Derrick Anderson
yeah if your company (or you yourself) can afford the 20k/CPU price tag of FDS Enterprise (or the 6k/cpu for = 100 concurrent users edition) then go for it. personally i work for a pretty big web software company and they have scrapped the idea of FDS just based on price, am i the only one

[flexcoders] Catching all EFFECT_ENDs?

2007-05-21 Thread Matt
I know I can listen for all ADD events via the following: systemManager.addEventListener(FlexEvent.ADD, onEvent, true); However, I would like to listen for all EFFECT_END events as well. I've tried: systemManager.addEventListener(EffectEvent.EFFECT_END, onEvent, true); It doesn't seem to catch

Re: [flexcoders] Re: Forms advantages

2007-05-21 Thread Flexing...
I think the solution to this would be to override FormItem class. Have a look at the source code of FormItem in FlexSDK/frameworks/source There is a class FormItemLabel which is used to render the label but for some reason it has been kept private. See if you can override the commitProperties

Re: [flexcoders] Am I using the right technology?

2007-05-21 Thread Tom Chiverton
On Monday 21 May 2007, Derrick Anderson wrote: yeah if your company (or you yourself) can afford the 20k/CPU price tag of FDS Enterprise (or the 6k/cpu for = 100 concurrent users edition) then go for it. personally i work for a pretty big web software company and they have scrapped the idea

[flexcoders] How to set message bar in browser

2007-05-21 Thread j_lentzz
Hi, Does anyone know how (or if it possible) to put a message in the bottom message bar of a browser. Right now it shows the url of a link, or Done when the page is finished. I'd like to use it to indicate that a save function was successful, without having to use a popup that would require

RE: [flexcoders] Re: Am I using the right technology?

2007-05-21 Thread Mark Ingram
Hi Barrie, thanks for the response. In terms of collaboration, anything will do. I tried a great example using Flash Media Server 2, which was a chat client. Each client was informed when a new client joined or typed a message. That's exactly what I was looking for, as we created one the other

RE: [flexcoders] Re: Am I using the right technology?

2007-05-21 Thread Mark Ingram
I should also state that the reason I want to use ASP.NET Web Services or .NET Components is because I want to access a database (the result of all collaborative work will be stored there). Thanks, Mark From: flexcoders@yahoogroups.com

Re: {Disarmed} RE: [flexcoders] Re: Am I using the right technology?

2007-05-21 Thread Jurgen Beck
Hi Mark, Seeing that you want to use ASP.NET, WebORB would be the way to go. It is pricey and Midnightcoders would make a killing if they would reduce the pricing for it as more firms would jump on the boat. I've been working with WebORB and must say that the tools that come with it beat

[flexcoders] Lucene Query AS3

2007-05-21 Thread Jon Bradley
Has anyone built a Lucene query class in AS3 for use with Flex? I found only one mention of Flex and Lucene in the same sentence - a posting by Ted on his blog about Lucene and Flex. Apparently there was a talk at MAX about it. cheers, jon

Re: [flexcoders] Re: Am I using the right technology?

2007-05-21 Thread William Klotz
Mark, I'm currently using Java EJB 3.0 and Web Services for my server back-end, but I've been looking at two open source project to replace my Web Services. One is called Red 5 http://osflash.org/red5, which supports media streaming, shared object and AMF objects. The other is called Granite

Re: {Disarmed} RE: [flexcoders] Re: Am I using the right technology?

2007-05-21 Thread Jurgen Beck
I'm doing this right now with the Standard version of WebORB. I've written my class library (wrapped in a DLL) that connects to the database. If you need full data management, you need to be looking at the Professional version at minimum. Check out the examples on the WebORB site. Go to:

[flexcoders] Re: Am I using the right technology?

2007-05-21 Thread Mark Piller
Hi Mark, A few more data points with regards to WebORB: In addition to the per-CPU/box WebORB Enterprise licensing, there's also connection-based pricing: $99/concurrent connection. This will get you data push, remote shared objects, streaming, data management and remoting. If you want to

Re: [flexcoders] Re: Am I using the right technology?

2007-05-21 Thread Daniel Grace
FDS and polling are not your only options. Write a back-end server that answers socket connections above 1024, responds to the permissions query (or alternately, write your flash to first request a crossdomain.xml file, so that it never asks the socket for permissions) and then talks XML with

RE: [flexcoders] Re: Am I using the right technology?

2007-05-21 Thread Mark Ingram
What do you mean by full data management? I can't seem to get any of the service examples to work, I just get a dialog saying access denied and a load of other text. So does your setup look something similar to: Flex - WebOrb - .NET Library ? Thanks, Mark

[flexcoders] Re: How to protect a checkbox in a grid from being clicked

2007-05-21 Thread scalenine
mouseEnabled=false ? Juan scalenine.com --- In flexcoders@yahoogroups.com, boy_trike [EMAIL PROTECTED] wrote: I am using a drop in checkbox in a datagrid. I do NOT want the user to be able to change it. When I set enabled=false it is greyed out. How do I have it displayed without being

[flexcoders] Re: How to set message bar in browser

2007-05-21 Thread scalenine
I'm not sure, but from a usability stand point you might just want to add your own to your app. The reason being that not all browsers have the Status Bar at the bottom and it's something that can be turned on and off by a user. Also, saving something is a pretty big deal and having an indicator

[flexcoders] Re: using custom components

2007-05-21 Thread bill.fogarty17
I resolved the problem, here is the solution if anyone is interested: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical xmlns:fnw=assets.src.components.* creationComplete=addChildren (); mx:Style source=assets/src/styles/fnw.css/

[flexcoders] Re: How to set message bar in browser

2007-05-21 Thread j_lentzz
Thanks. That's a good point. Not sure if I can spare the line of the browser for this, but it is something to consider. The users weren't liking the popup box that needed clicking to continue. John --- In flexcoders@yahoogroups.com, scalenine [EMAIL PROTECTED] wrote: I'm not sure, but from a

[flexcoders] Re: Does Drag Drop Only Update the DataProvider?

2007-05-21 Thread Geoffrey
collectionChange doesn't appear to be a valid DataGrid event, but I tried dataChanged, added, add, valueCommit, and updateComplete. None of these did what I wanted, and actually, I have verified that the __employees ArrayCollection does not update after a DD event. Looking through everything in

[flexcoders] Re: doPrint and ViewStack

2007-05-21 Thread tkacyndra
.

Re: {Disarmed} RE: [flexcoders] Re: Am I using the right technology?

2007-05-21 Thread Jurgen Beck
I'll let Mark Piller chime in on the data management aspect. They've implemented a FDS equivalent that is very nifty. On the workflow: To pull data from a data store, the flow goes like this: Flex - WebORB - .NET Library - Data Store - .NET Library - WebORB - Flex WebORB serializes the

{Disarmed} RE: [flexcoders] Re: Am I using the right technology?

2007-05-21 Thread mark_j_ellul
Hi, WebOrb have released a free version which should satisfy most users who need .NET back ends. Regards Mark --- In flexcoders@yahoogroups.com, Jurgen Beck [EMAIL PROTECTED] wrote: Hi Mark, Seeing that you want to use ASP.NET, WebORB would be the way to go. It is pricey and

RE: [flexcoders] Re: Does Drag Drop Only Update the DataProvider?

2007-05-21 Thread Alex Harui
collectionChange is dispatched from the collection and not the DataGrid. Binding to private variables is not recommended, but not the problem either. Can you fit an entire example in two screens of text? If so, post it. From:

RE: [flexcoders] Re: How to protect a checkbox in a grid from being clicked

2007-05-21 Thread Alex Harui
Or disable it, and set its disabledSkin to be the upSkin. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of scalenine Sent: Monday, May 21, 2007 9:10 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to protect a checkbox in

RE: [flexcoders] Catching all EFFECT_ENDs?

2007-05-21 Thread Alex Harui
A hide effect should reset the visible to true and back to false after the effect ends so capturing hide should still work for you. Maybe some logic about whether it gets set to false and true in the same frame can further filter out what you need. From:

RE: [flexcoders] Re: Strange SWC behavior!

2007-05-21 Thread Alex Harui
Of that structure, whose timeline are you trying to stop? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of herklano Sent: Monday, May 21, 2007 3:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Strange SWC behavior! I

RE: [flexcoders] TextArea: Halo skin draws over top of child controls!

2007-05-21 Thread Alex Harui
So by halo skin do you mean the blue focus rectangle or just the border of the TextArea? The blue focus rectangle is floated over the component and is parented by the component's parent. I assume your floating toolbar is outside the bounds of the TextArea? You either have to have the TextArea

RE: [flexcoders] Re: Secuity sandbox violation when SwfLoader is used to load swf file from a URL

2007-05-21 Thread Alex Harui
I don't have the exact answer, but in my model of the world, swfs from the file system don't have a domain so there's no way to check the crossdomain and allow sandbox importing. Once you are in the web tier, you do have a domain name and crossdomain.xml takes effect. If the sub-swf is a Flex

RE: [flexcoders] Re: Strange SWC behavior!

2007-05-21 Thread Alex Harui
A colleague says this is a Flex bug. A patch is available here: http://www.adobe.com/go/kb401493 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of herklano Sent: Monday, May 21, 2007 3:01 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Re: How to set message bar in browser

2007-05-21 Thread Tracy Spratt
If you know your host browser has a status bar, you can use ExternalInterface to set it. Alternatively, you could display your pop-up message and then remove it automatically using a timer. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] SWFLoader bytesLoaded?

2007-05-21 Thread herklano
hi, using this method: SWFLoader.bytesLoaded does not give a real bytesLoaded number of the swf being loaded! SWFLoader.loaderInfo.bytesLoaded also does not work! Anyway to use bytesLoaded in a SWFLoader component without using a ProgressEvent? I'm using a Event.ENTER_FRAME to build a smooth

[flexcoders] Re: How to set message bar in browser

2007-05-21 Thread scalenine
What about a message that pops up then fades away? No click required or workflow disruption ;) Juan scalenine.com --- In flexcoders@yahoogroups.com, j_lentzz [EMAIL PROTECTED] wrote: Thanks. That's a good point. Not sure if I can spare the line of the browser for this, but it is something

[flexcoders] How to read from properties file.

2007-05-21 Thread Praveen Saxena
Hi, How to achieve internationalization in flex, I have tried it in Basic Flex application, But How to do it in Flex Data Services project (Web application).i.e getting the value from properties file. Can any one please tell me how to set up web application the project to read from the

[flexcoders] Re: Resource Bundle hell

2007-05-21 Thread Praveen Saxena
Hi, I am also facing the same problem, have you found the solution, please post the solution. -Regards, Praveen --- In flexcoders@yahoogroups.com, Dmitry Miller [EMAIL PROTECTED] wrote: Hi, I am trying to localize my application. I am running FDS and compiling everything on the

[flexcoders] Forbidden protocol in URL -- using flash.display.Loader

2007-05-21 Thread jay.baird
Hi, While trying to use loader (with crossdomain files in place, with -use-network=true ) with a custom value loaded from a style sheet to reference what a Loader() should be loading I get the following error: *** Security Sandbox Violation *** SecurityError: Error #2147: Forbidden protocol

[flexcoders] Adobe flex2 Web service

2007-05-21 Thread Parthasarathy, Balavinayakam
I would to like if any one have used a array kind of tags or a Sequence in sending the request from Adobe Flex2 to a Web service. Example : In the request Tag. NAME PRD_EQ /NAME STATUS P /STATUS DETAIL MPID E /MPID Date

[flexcoders] Re: tree event using cairngorm

2007-05-21 Thread achegedus
Thanks Tom! I was able to pass the tree into the events and it worked as I had hoped. I ran into another problem, and I thought I'd ask you about it. In my original tree code, i have a method that calls the webservice and looks like this: var token:Object =

[flexcoders] Re: Resource Bundle hell

2007-05-21 Thread Praveen Saxena
Hi, I am also facing the same problem, have you found the solution, please post the solution. -Regards, Praveen --- In flexcoders@yahoogroups.com, Dmitry Miller [EMAIL PROTECTED] wrote: Hi, I am trying to localize my application. I am running FDS and compiling everything on the

[flexcoders] XML, does it have to be RSS?

2007-05-21 Thread Jason
Does the XML data HAVE to be an RSS? If I change rss version=2.0 xmlns:content=http://purl.org/rss/1.0/modules/content/; xmlns:wfw=http://wellformedweb.org/CommentAPI/; xmlns:dc=http://purl.org/dc/elements/1.1/; To ?xml version=1.0 encoding=UTF-8 ? The load fails. I haven't worked to much

[flexcoders] Your Flexcoders post on radial fills for a PieChart

2007-05-21 Thread thegators_2002
I just wanted to let you know that the post you made in January about how to create an array for radial gradient fills used by a piechart via databinding was heaven-sent. I couldn't figure that out for the life of me! I was fortunate to find your excellent post to get me on the right track.

[flexcoders] ListCollectionView.addItemAt Bug?

2007-05-21 Thread Jurgen Beck
It seems that there is a problem with the ListCollectionView class when using it with an ArrayCollection. Using the addItemAt method produces an index out of bounds error when an item is added with an index that is beyond the length of the collection. However, the Flex Reference states that:

[flexcoders] Re: How to set message bar in browser

2007-05-21 Thread j_lentzz
Thanks. I kind of like the timer idea, since they might have the message bar part of the browser turned off. John --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: If you know your host browser has a status bar, you can use ExternalInterface to set it.

Re: {Disarmed} [flexcoders] ListCollectionView.addItemAt Bug?

2007-05-21 Thread Jurgen Beck
Well, it looks like either the documentation is wrong, or the code. The ListCollectionView class has the following method defined: public function addItemAt(item:Object, index:int):void { if (index 0 || !list || index length) throw new

RE: {Disarmed} [flexcoders] ListCollectionView.addItemAt Bug?

2007-05-21 Thread Matt Chotin
The docs are wrong if that's what it says. Only addItemAt(length()) will allow it to grow. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jurgen Beck Sent: Monday, May 21, 2007 1:38 PM To: flexcoders@yahoogroups.com Subject: Re:

Re: {Disarmed} RE: {Disarmed} [flexcoders] ListCollectionView.addItemAt Bug?

2007-05-21 Thread Jurgen Beck
Hey Matt, The Flex reference will definitely need to be updated then. Should I create a report, or are you passing it along to the right person/team? Jurgen Matt Chotin wrote: The docs are wrong if that's what it says. Only addItemAt(length()) will allow it to grow.

[flexcoders] Compc Problem

2007-05-21 Thread Eric Guesdon
Hi to all, I'm going to use my best english to explain my problem... :) I have a fds flex projet I have a flex lib projet In flex lib project I have a class within I call a RemoteObject I compile this class using ant like this. At last I have a .swf that my first projet load and execute My

RE: {Disarmed} RE: {Disarmed} [flexcoders] ListCollectionView.addItemAt Bug?

2007-05-21 Thread Matt Chotin
Just comment on the livedocs and it will get dealt with. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jurgen Beck Sent: Monday, May 21, 2007 2:05 PM To: flexcoders@yahoogroups.com Subject: Re: {Disarmed} RE: {Disarmed} [flexcoders]

[flexcoders] Simple URL Parameters

2007-05-21 Thread mazarflex
i am trying to GET parameters from a url string into my flex application. Such as www.michaelazar.com/TestPage.html?fname='Michael'lname='Azar' i have tried many helps but all seem to use XML i just need a simple GET method to work. Maybe even bindable thanks

RE: [flexcoders] SWFLoader bytesLoaded?

2007-05-21 Thread Alex Harui
How are you reading from bytesLoaded, and what do you mean by real number? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of herklano Sent: Monday, May 21, 2007 12:42 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] SWFLoader

RE: [flexcoders] Simple URL Parameters

2007-05-21 Thread Tracy Spratt
The html file by itself does not know to do anything with the querystring parameters. You need to take those values and pass them the the embedded swf using flashvars. Someone recently posted a javascript example that does this. Search the archives. Or have the wrapper generated by

RE: [flexcoders] Simple URL Parameters

2007-05-21 Thread Tracy Spratt
Here is the javascript solution I was thinking of, posted by Doug Lowder: You can also use a bit of JavaScript code to simply pass whatever URL parameters have been specified for the HTML on to your SWF, if that's what you're after. I usually edit the HTML template and include the

[flexcoders] Re: Does Drag Drop Only Update the DataProvider?

2007-05-21 Thread Geoffrey
Why is binding to private variables not recommended? Should I bind to the employees pseudo property? I figured out why it wasn't working. Binding is one way. I'm binging the DataGrids dataProvider to the ArrayCollection, so only changes to the ArrayCollection would effect the dataProvider. It

RE: [flexcoders] Re: Does Drag Drop Only Update the DataProvider?

2007-05-21 Thread Alex Harui
Binding just converts a variable into a property by wrapping in function get/set. The best practice to dispatch an event from the setter and declare the event name in the [Bindable] metadata. I thought there was a warning for binding to private, but maybe we got around it somehow. Binding

[flexcoders] Re: XML, does it have to be RSS?

2007-05-21 Thread Anthony DeBonis
On your httpService setresultFormat=xml Then use debugger to see what you get back in result event to then see how to pick out what your looking for. Should work with out a problem. --- In flexcoders@yahoogroups.com, Jason [EMAIL PROTECTED] wrote: Does the XML data HAVE to be an RSS?

[flexcoders] Re: SWFLoader bytesLoaded?

2007-05-21 Thread herklano
my bad :( it seems it was working, but it was very fast cause of my connection and size of swf. one thing though, is that i have a preloader made with an Event.ENTER_FRAME so i can slow down the speed of the preloader and the first 3 or 4 readings of the evt.target.bytesLoaded it returns NaN,

[FlexCoders] makeObjectBindable

2007-05-21 Thread Eric Guesdon
I'solved my problem about compc but i have know a other Type Coercion Error In fact server return me an ObjectProxy. That the case when server do not have the reference to my custom object but I set [RemoteClass] correctly I set an empty constructor in both java and as classes Of course I import

[flexcoders] Re: Does Drag Drop Only Update the DataProvider?

2007-05-21 Thread Geoffrey
I read (Migrating Applications to Flex 2 by Adobe, page 108) that if you have private variables with getter/setter, you can omit the event name as the compiler would automatically generate an event named propertyChanged. What that example shows that I didn't do is it put the [Bindable] metadata

[flexcoders] google adwords in my flex app

2007-05-21 Thread JClouz
Enterprise RIA Development with Macromedia FlexHas anyone figured out a decent way to load google adwords (preferably google image ads) into a flex app? Thanks, Jamie

[flexcoders] Re: Secuity sandbox violation when SwfLoader is used to load swf file from a URL

2007-05-21 Thread ivansebastiansurya
Hi everyone, I did manage to get my application working. What I had to do was put Security.allowDomain(*) in my parent swf movie. However, I got two issues: 1. The sub movie doesn't get scaled properly (no scrollbar although it's needed as the submovie is bigger than the space if not scaled)

Re: [flexcoders] Smooth Preloader

2007-05-21 Thread Tim Walling
This should help: http://www.onflex.org/ted/2006/07/flex-2-preloaders-swf-png-gif-examples.php On 5/20/07, herklano [EMAIL PROTECTED] wrote: Hi, Any tips on how to make a smooth preloader on Flex for an SWF, without the big jumps. Or instead is there a away to check if a SWF is already in

[flexcoders] popup a module

2007-05-21 Thread Luis Eduardo
Hello, i am trying to do a mx:Module being Popuped but i am finding this very dificult. My classes are like this: MyWindow - MyTitleWindow - mx:TitleWindow The code works very fine if i run it all together (without modules). But when i split the swf i cannot popup MyWindow class.

RE: [flexcoders] Re: Does Drag Drop Only Update the DataProvider?

2007-05-21 Thread Alex Harui
There are two common bindable patterns: [Bindable] public var foo And [Bindable(someEvent)] public function get foo():... public function set foo(value:...) { _foo = value; dispatchEvent(new Event(someEvent)); } Otherwise, in your case you ended

[flexcoders] Re: doPrint and ViewStack

2007-05-21 Thread tkacyndra
hi :) Thanks for the Reply, here is my code: Please help. [code] ?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; backgroundGradientColors=[#dbdbdb, #808080] layout=absolute clipContent=false mx:Script ![CDATA[ import mx.events.*; import mx.controls.*; import

RE: [flexcoders] Re: Secuity sandbox violation when SwfLoader is used to load swf file from a URL

2007-05-21 Thread Alex Harui
That's the catch 22 of crossdomain swfs. We expect to have better support for crossdomain flex apps, but not in the next release as it is quite a bit of work. If the two apps are in the same sandbox, you can get to loader.content and call setActualSize to size it differently.

[flexcoders] Re: How to keep TextArea from losing focus?

2007-05-21 Thread dfortenberry
Mark, Just to clarify when you say 'focus', do you mean that you want the users cursor to always be in a specific form item? Are you looking for a Flex equivalent of the following javascript?: onblur=this.focus() so that the cursor stays in the specific form input? --- In

RE: [flexcoders] popup a module

2007-05-21 Thread Alex Harui
There's an example on my blog blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Luis Eduardo Sent: Monday, May 21, 2007 6:10 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] popup a module Hello, i am

Re: [flexcoders] Re: Resource Bundle hell

2007-05-21 Thread Flexing...
Try adding locale/en_US as the source folder. On May 22, 2007, at 1:31 AM, Praveen Saxena wrote: Hi, I am also facing the same problem, have you found the solution, please post the solution. -Regards, Praveen --- In flexcoders@yahoogroups.com, Dmitry Miller [EMAIL PROTECTED] wrote: Hi,

RE: [flexcoders] Re: How to set message bar in browser

2007-05-21 Thread Phillip Kerman
You could do it like this: In JavaScript for your html, do: function setStatus(toWhat){ window.status = toWhat } Then in your app, do: flash.external.ExternalInterface.call(setStatus, my message); (I'm not 100% sure that's the classpath to ExternalItnerface) Note, too, that this won't

Re: [flexcoders] popup a module

2007-05-21 Thread Luis Eduardo
Cool! i was able to find just the .ppt presentation before. Now that you give the link to your blog i found the sample codes. Will try again with a better start. thank you very much Alex! btw, the presentation was amazing. Very clarificate about the under hood :) Alex Harui escreveu:

Re: [flexcoders] google adwords in my flex app

2007-05-21 Thread Flexing...
Few options which I can think of are: 1. Add support to show Adwords ad in application's HTML file which loads the application swf. You can show the ad on the left, right (like yahoo email), top or bottom. You can add some invisible static content/metadata to the HTML based on which

[flexcoders] more OT: separating dev't, testing prod machines...Flex/CF/PHP/MySQL/Apache

2007-05-21 Thread shawn.gibson
Hi Guys, I'm trying to separate out my system: development machine runs CF PHP-based backends running MySQL,and the hope is to get both running Flex 2 front ends, with the occasional html-based front end (i.e., Ray Camden's Blog, LinPHA for a couple of friend's simple photo galleries, etc.).

[flexcoders] how to acces columns in a ArrayCollection

2007-05-21 Thread jolugarciado
I want to access all the cells in a especific column. It is a way to make it? Right now Im accessing the cells usin getItemAt and a cycle Example: for(var:uint = 0;i=ElArrayCollection.length; i++) { ElArrayCollection.getItemAt(i).ClvUsuario; } Somebody knows another way to access all cells

  1   2   >