[flexcoders] Re: Flex application with Microsoft Azure

2010-08-31 Thread valdhor
Take a look at http://phpazure.codeplex.com/ --- In flexcoders@yahoogroups.com, "Christophe" wrote: > > Hello, > > Which library to use to talk with a Microsoft Azure database in the cloud > from a flex application. > > My application use AmfPhp, does its work ? > > Thank you, > Christoph

[flexcoders] Re: Flex validator in action script

2010-08-31 Thread valdhor
Untested but how about... [Bindable] private var textInput:TextInput = new TextInput(); private var val:Validator = new Validator(); textInput.id = "myText"; //Don't know why you need this as you can refer to the TextInput by its variable name (textInput) val.source = textInput.text; val.required

[flexcoders] Re: Updating multiple columns

2010-08-13 Thread valdhor
Update the data provider when editing is complete. --- In flexcoders@yahoogroups.com, "Goutham" wrote: > > Hi, > > I have a datagrid with two columns 'comments' (editable) and 'commentedOn' > (non editable). I wanted to change the 'commentedOn' column which is a date > value(non editable), whe

[flexcoders] Re: Detect Application Root

2010-08-12 Thread valdhor
Use ExternalInterface to call a Javascript function. --- In flexcoders@yahoogroups.com, Angelo Anolin wrote: > > Hi FlexCoders, > > I have a flex application hosted on an html file. How would I be able to > detect > from the Flex application the root url? > > Like for example, the root url g

[flexcoders] Re: Flex and Zend acess https

2010-08-12 Thread valdhor
Sorry, I can't really help except to recommend WebORB. I started out using AMFPHP (Which is what Zend is based upon) and would always get these errors. I switched to WebORB and have not seen these errors since. --- In flexcoders@yahoogroups.com, "Julie" wrote: > > I have a project using Flex as

[flexcoders] Re: AMFPHP Security?

2010-08-11 Thread valdhor
ver know otherwise that you got 13 > points? > > Valdhor: > > I think this is something we approached first. When the HTML page is > generated, a hash is created which must be passed along with the username > for anything to happen. Its just for my brain, whats to stop

[flexcoders] Re: AMFPHP Security?

2010-08-11 Thread valdhor
You could always use a secure connection via https. Also, you could send an encrypted username and password. For example, every thirty minutes generate a new password string. The server can use the same algorithm to generate a string and then you could compare them. --- In flexcoders@yahoogroup

[flexcoders] Re: Adobe AIR - interimittent online/offline storage (à la Google Gears)

2010-08-09 Thread valdhor
I would set up a function with a try catch block that would try to connect with the server together with a timer that runs the function every few minutes. I would store the data locally in a SQL Lite database. Once you get a connection, sync the data. --- In flexcoders@yahoogroups.com, "mark.em

[flexcoders] Re: Flex 4 data management - how do I approach this?

2010-08-09 Thread valdhor
First off, adding this one column datagrid and getting it to line up correctly must be a pain. I wouldn't do that. Just add another column to the datagrid for the quantity. You can add as many columns to the datagrid as you want - they do not have to match the dataprovider. I would design my it

[flexcoders] Re: TCPDF and Flex

2010-08-09 Thread valdhor
I assume you mean PDF files. There is no function per se. What I do is use navigateToURL to go to a PHP page that uses TCPDF to generate the PDF file (Either in a new tab or window). The PHP file grabs data from the database and generates the PDF based on the data. --- In flexcoders@yahoogroups

[flexcoders] Re: Spam Message

2010-08-03 Thread valdhor
Is anybody moderating here? We don't need these spam messages.

[flexcoders] Re: flex debuging

2010-07-29 Thread valdhor
Share what? Set a breakpoint, run app, do something that will invoke the breakpoint, examine the variables to see if they contain what you expect. Simplicity itself. http://learn.adobe.com/wiki/display/Flex/Debugging+tutorial --- In flexcoders@yahoogroups.com, cholid cholid wrote: > > hi all >

[flexcoders] Re: How to write curved text in flex?

2010-07-29 Thread valdhor
A quick Google search reveals... http://blog.shortfusion.com/index.cfm/2009/1/25/Circular-Text-In-Flex-Explained http://blog.shortfusion.com/index.cfm/2008/12/15/Flex-Curved-Text-DisplacementMapFilter-Why-I-Dont-Swing-That-Way http://blog.shortfusion.com/index.cfm/2008/12/20/Curved-Text-In-Flex-

[flexcoders] Re: Air Sub Application installing.

2010-07-29 Thread valdhor
I don't know about the install and upgrade but you could use merapi to execute other applications. Hmmm...If you can execute other applications you would be able to launch an installer/updater. --- In flexcoders@yahoogroups.com, Wesley Acheson wrote: > > Hi, > I've asked this question here but

[flexcoders] Re: Refresh list with itemRenderer/ComboBox

2010-07-29 Thread valdhor
I don't know of any plans for 3.7 at this time. Customer feedback > will influence. > > > On 7/28/10 12:06 PM, "valdhor" wrote: > > > > > > > Hopefully for quite a while. > > Converting all my code to Flex 4 would be a major undertak

[flexcoders] Re: Refresh list with itemRenderer/ComboBox

2010-07-28 Thread valdhor
Hopefully for quite a while. Converting all my code to Flex 4 would be a major undertaking and something I don't have time to do and won't have for some time. --- In flexcoders@yahoogroups.com, Brendan Meutzner wrote: > > Woah, development is continuing on the 3.x versions? How long will this

[flexcoders] Re: dynamically create xml issue

2010-07-28 Thread valdhor
Create an object with your property and use appendChild to add it to your XML. http://livedocs.adobe.com/flex/3/langref/XML.html --- In flexcoders@yahoogroups.com, j2me_soul wrote: > > I want to create a XMLList using e4x grammar like this: > var list:XMLList = > > LA. > SF.

[flexcoders] Re: Know of any Link Analysis Data Visualization Flash/Flex libraries?

2010-07-28 Thread valdhor
IBM's ILOG Elixir can do those types of charts. See http://visunetdemos.demos.ibm.com/diagramdemos/networkmonitoring/networkmonitoring.html --- In flexcoders@yahoogroups.com, "eb" wrote: > > Does anyone know of any Actionscript libraries that do link analysis charts > like this one: > > http:/

[flexcoders] Re: multiline truncating text field

2010-07-27 Thread valdhor
I haven't used any of these but a Google search yields... http://deepanjandas.wordpress.com/2010/06/13/truncte-text-in-textareatextfield/ http://www.thanksmister.com/index.php/archive/flex-truncating-html-text/ http://blog.flexexamples.com/2009/05/27/truncating-text-with-the-spark-richtext-contr

[flexcoders] Re: PopUpButton with TileList and custom renderer works, but 2 annoyances

2010-07-26 Thread valdhor
The binding errors are due to your item renderer binding to the data property which is an object. As the error says you cannot bind to a plain object. Modify your class as follows: [Bindable]private var myLabel:String; public override function set data(value:Object):voi

[flexcoders] Re: Remote Objects not working with Modules

2010-07-22 Thread valdhor
I don't know what to tell you. My application has over 25 modules and every one of them uses remote objects successfully. Could you post a small example of what you are trying? --- In flexcoders@yahoogroups.com, "ZIONIST" wrote: > > Hi guys, i am experiencing something weired. i have an applica

[flexcoders] Re: e4x and XML in Web Service Calls

2010-07-20 Thread valdhor
I think Tracey said at one stage that the default format was Object and not E4X but I could be wrong ;-} --- In flexcoders@yahoogroups.com, Oleg Sivokon wrote: > > I think that E4X is the default for the WebService. E4X isn't exactly a > format... it's a language extension added to ECMAScript, j

[flexcoders] Re: Determining the Web Service Name on the ResultEvent

2010-07-20 Thread valdhor
AFAIK it doesn't. If I need to remember which call is coming in I use an mx.rpc.AsyncToken. How it works is that you set an AsyncToken instance to your remoteObject (Or Web Service call) then add a property to the data object of the AsyncToken instance. When the call comes back you can get the dat

[flexcoders] Re: 2 PopUpButton questions: force opening upwards + red and black item colors

2010-07-20 Thread valdhor
Take a look at http://shemesh.wordpress.com/category/flex/popupbutton/ to see if it may help. --- In flexcoders@yahoogroups.com, "Alexander" wrote: > > Hello, > > I'm trying to port a bigger project from Flash CS4 to Flex 3 > and have a problem that the PopUpButton, that is located > at the rig

[flexcoders] Re: Flex Affecting Web Server Memory?

2010-07-16 Thread valdhor
I do not believe the Flex SWF's are taking up the memory (There is no way for them to do so). It is more likely the language you are using with Flash remoting and WebORB. Is it Java? I can see an improperly written Java class reserving large amounts of mamory. What is the JVM settings? --- In

[flexcoders] Re: textInput databinding

2010-07-15 Thread valdhor
That would never have worked in Flex 3. You are trying to use a binding expression in ActionScript code which will never work. Binding expressions like that will only work in MXML code. --- In flexcoders@yahoogroups.com, "mark.embrey" wrote: > > Adobe, in their infinite wisdom, removed the "dat

[flexcoders] Re: Flash Debugger crashing in Firefox?

2010-07-15 Thread valdhor
to run potentially killing the browser. This isn't as bad as it > seems as this was always the case before firefox 3.6 anyway. > > Regards, > > Wesley Acheson > > On Thu, Jul 15, 2010 at 3:23 PM, valdhor wrote: > > > After a day of trying this "fix", I c

[flexcoders] Re: Flash Debugger crashing in Firefox?

2010-07-15 Thread valdhor
After a day of trying this "fix", I can confirm that it works. Of course, I don't know what else it will break ;-} --- In flexcoders@yahoogroups.com, "valdhor" wrote: > > I'll give this a go and see what happens. > > --- In flexcoders@yahoogroups.com,

[flexcoders] Re: who know flex builder2 download location??

2010-07-14 Thread valdhor
Why? --- In flexcoders@yahoogroups.com, "sevengeon" wrote: > > i want flex builder2.. >

[flexcoders] Re: Sign in using flex Mr flash

2010-07-14 Thread valdhor
My personal opinion is that it is not necessary but it depends on the application. In my case I use PHP as the back end and set up a session variable. I then create a timer that fires every 30 minutes to check this session variable and send the user to the corporate login page if it has expired

[flexcoders] Re: Flash Debugger crashing in Firefox?

2010-07-14 Thread valdhor
owser > > (Flash or not). Very annoying. I hope they fix this soon as this > > didn't happen for me before 10.1 > > > > > > On Tue, Jul 13, 2010 at 7:12 PM, valdhor > > > > > wrote: > > > Yes. I am getting this a lot and not just my own

[flexcoders] Re: Flash Debugger crashing in Firefox?

2010-07-13 Thread valdhor
Yes. I am getting this a lot and not just my own code. The crash report happens on pretty much any site that has flash content. I don't know if this is a problem with the Flash debugger or Firefox but it did not happen before the latest update to Firefox. --- In flexcoders@yahoogroups.com, Rick

[flexcoders] Re: Setting Different Style on ComboBox DropdownList

2010-07-12 Thread valdhor
Use an Item Renderer... Test1.mxml: http://www.adobe.com/2006/mxml"; layout="vertical"> Test1ItemRenderer.as: package { import mx.controls.*; public class Test1ItemRenderer extends Text { private var colorHex:String; public functio

[flexcoders] Re: Child of a child custom event handler

2010-07-12 Thread valdhor
Popup windows are parented by the system manager. What you would need to do is add an event listener to the system manager at the application level. When that event fires, you would then inject it into your component. --- In flexcoders@yahoogroups.com, "Scott" wrote: > > > > I've got a pare

[flexcoders] Re: stopping accodion animation

2010-07-12 Thread valdhor
Have a look at the TweenEvent.TWEEN_END, EffectEvent.EFFECT_END and TweenEvent.TWEEN_UPDATE events. They may send you in the right direction. --- In flexcoders@yahoogroups.com, "flexwdw" wrote: > > Hey all, > > I have to be able to dynamically remove children from an accordion container. > Pr

[flexcoders] Re: any word on smooth mouse wheel scrolling?

2010-07-12 Thread valdhor
I would add an event listener for the mouse wheel event and then change the delta (You'll have to experiment with the number to get it the way you like; You may even need to change the += to a -=)... addEventListener(MouseEvent.MOUSE_WHEEL, onMouseWheelEvent); private function onMouseWheelEvent(e

[flexcoders] Re: Flex Project Management App

2010-07-09 Thread valdhor
I would create a custom component that has all of the features of the milestone encapsulated. ie. The plus button, the label, the datagrid, the add and remove tasks buttons etc. I would also have a custom component comprising of the datagrid and its sub components. All you would need to do whe

[flexcoders] Re: FileSystemComboBox + FileSystemHistoryButton slow?

2010-07-06 Thread valdhor
How many files/folders are in the directory that gets opened? I have seen slowness when the default directory contains a lot of files. The OS takes a while to read everything in for display. --- In flexcoders@yahoogroups.com, Roy Pardi wrote: > > Hi - > > I've been testing out the FileSystemCo

[flexcoders] Re: datagrid column sorting

2010-07-02 Thread valdhor
vanced list object. > > Is there a way to sort as items are placed in the arraycollection? > > ________ > > From: flexcoders@yahoogroups.com on behalf of valdhor > Sent: Thu 7/1/2010 8:11 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders]

[flexcoders] Re: datagrid column sorting

2010-07-01 Thread valdhor
Are you expecting the datagrid to sort when first shown or when you click on the column header? The code you have will only be called when you click on the column header. To sort when first shown you will need a creation complete function where you would create a new sort and refresh. --- In f

[flexcoders] Re: Could not resolve * to a component implementation.

2010-07-01 Thread valdhor
One other thing to check. Make sure you are not using a reserved name for your component. --- In flexcoders@yahoogroups.com, "turbo_vb" wrote: > > A couple things that you can check that might help: > > • Make sure that you have an import statement for the component > in the parent

[flexcoders] Re: line returns in a tooltip field

2010-06-28 Thread valdhor
Works for me in Flex 3.5. I copied and pasted your tooltip and got 3 lines. --- In flexcoders@yahoogroups.com, "Scott" wrote: > > I'm scratching my head on this one... Can't be any more simple than it > is... > > > > http://livedocs.adobe.com/flex/3/html/help.html?content=tooltips_3.html >

[flexcoders] Re: Can DataGrids multiply columns

2010-06-25 Thread valdhor
One way might be (Caveat: I haven't tried this and I'm just thinking off the top of my head) to add itemEditEnd listeners that update and refresh the dataprovider, --- In flexcoders@yahoogroups.com, "Stephen" wrote: > > I have a dataGrid as bellow and need to have the total of each row be > ca

[flexcoders] Re: How to Convert FLV files to DVD on Mac OS X ?

2010-06-25 Thread valdhor
If you were on a PC I would not hesitate to recommend MediaCoder - http://www.mediacoderhq.com. For Mac, you may like to look at http://www.any-video-converter.com/products/mac_video_converter_freeware/ --- In flexcoders@yahoogroups.com, Ahmed Ismail wrote: > > Question: > I have downloaded 2

[flexcoders] Re: Is possible to display any Collection within another Collection using anyone fle

2010-06-24 Thread valdhor
display the items in subcollection? > > --- In flexcoders@yahoogroups.com, "valdhor" wrote: > > > > This looks like the perfect use case for an Advanced Datagrid with a > > Grouping Collection. > > > > --- In flexcoders@yahoogroups.com, "Jesus

[flexcoders] Re: Is possible to display any Collection within another Collection using anyone fle

2010-06-24 Thread valdhor
This looks like the perfect use case for an Advanced Datagrid with a Grouping Collection. --- In flexcoders@yahoogroups.com, "Jesus Saad" wrote: > > > Is possible to display any Collection within another Collection using > anyone flex component? > > Ex.: I have a ArrayCollection’PersonsWO an

[flexcoders] Re: Text Effect in Flex+Moving from Bottom to Top

2010-06-24 Thread valdhor
You could use an auto scrolling Text Area. Something like... http://blog.flexexamples.com/2008/11/27/auto-scrolling-a-textarea-control-in-flex/ http://blog.flexexamples.com/2008/08/26/programmatically-scrolling-a-textarea-control-in-flex/ You may need to modify those examples to get the animation

[flexcoders] Re: How to get GlobelErrorHandling working.

2010-06-21 Thread valdhor
I haven't looked it up but does the uncaught error event bubble? if so, I would add the event listener to both the main app and the systemManager. this.addEventListener("uncaughtError", globalErrorHandler); systemManager.addEventListener("uncaughtError", globalErrorHandler); --- In flexcoders@y

[flexcoders] Re: Problem with bindings in nested array collections

2010-06-21 Thread valdhor
I have found it much easier to create a custom component and repeat that. I would try creating your VBox as a custom component with a bindable public array collection to hold your assignedpeople then just pass that to your custom component during the repeat. --- In flexcoders@yahoogroups.com, "

[flexcoders] Re: Flex 3 : Equivalent of HTML onload()

2010-06-18 Thread valdhor
On first load of a component you would monitor the creationComplete event. On subsequent loads, you would monitor the show event. For timers, look at the Timer class http://livedocs.adobe.com/flex/3/langref/flash/utils/Timer.html --- In flexcoders@yahoogroups.com, Ankur Kumar wrote: > > Hi, >

[flexcoders] Re: flex3 upload function seems not calling the php script

2010-06-18 Thread valdhor
see something wrong or have any simple > working code to compare with, it would be much wellcome... > Thnx. > > > > > > > De: valdhor > Para: flexcoders@yahoogroups.com > Enviado: jue,17 junio, 2010 18:29 > Asunto: [flexcoders] Re: flex3 upload function s

[flexcoders] Re: flex3 upload function seems not calling the php script

2010-06-17 Thread valdhor
gt; > thnks for the help...i continued trying but still have no hint...:( > > > > > > > > De: valdhor > Para: flexcoders@yahoogroups.com > Enviado: mié,16 junio, 2010 14:47 > Asunto: [flexcoders] Re: flex3 upload function se

[flexcoders] Re: flex3 upload function seems not calling the php script

2010-06-16 Thread valdhor
What alerts actually show? Does the try block produce an error? If so, what error? What happens if you include the try block inside the subeArchivo function rather than using getChildByName? What does Charles (http://www.charlesproxy.com) show? --- In flexcoders@yahoogroups.com, David Parient

[flexcoders] Re: what's happen with my 'array' ?

2010-06-16 Thread valdhor
e '[]' > when it split with ',' it doesn't work > > > > > > From: valdhor valdhorli...@... > To: flexcoders@yahoogroups.com > Sent: Wed, June 16, 2010 1:39:54 AM > Subject: [flexcoders] Re: what's happen with my 'array' ? > > > You

[flexcoders] Re: Coloring a column

2010-06-15 Thread valdhor
Try this... Application: http://www.adobe.com/2006/mxml"; layout="vertical"> ItemRenderers.ColorRenderer.as: package ItemRenderers { import mx.controls.Text; import mx.controls.dataGridClasses.DataGridLi

[flexcoders] Re: what's happen with my 'array' ?

2010-06-15 Thread valdhor
You don't have an array - all you have is a string. You need to convert it to an array. Try this: http://www.adobe.com/2006/mxml"; layout="absolute" creationComplete='test()'> --- In flexcoders@yahoogroups.com

[flexcoders] Re: Combobox as itemEditor

2010-06-15 Thread valdhor
Add a change event listener to the combo box and dispatch a custom event to the owner to update the data provider. --- In flexcoders@yahoogroups.com, "jonbehr" wrote: > > I have a combobox as an itemEditor in a datagrid. I have an event listener on > the datagrid (DataGridEvent.ITEM_EDIT_END) t

[flexcoders] Re: flex 4 - NavigatorContent question / element parent

2010-06-15 Thread valdhor
When i do viewstack.removeChild(nc), how do i make sure nc (naviagtorcontent) > is destroyed? > thanks > > > --- In flexcoders@yahoogroups.com, "valdhor" wrote: > > > > Or make nc a property of the class so you can use it in any method. > > > &

[flexcoders] Re: Strange and Frustrating amfPHP behaviour "Unsupported Datatype: array"

2010-06-15 Thread valdhor
I return arrays of objects (Or just single objects) all the time although I use WebORB instead of PHP. What does Charles (http://www.charlesproxy.com) say? What does the PHP error log show? --- In flexcoders@yahoogroups.com, "ouaqa" wrote: > > Hello all, > > I've been stuck for a couple of da

[flexcoders] Re: flex 4 - NavigatorContent question / element parent

2010-06-09 Thread valdhor
Or make nc a property of the class so you can use it in any method. --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > Try myPanel.owner > > > On 6/9/10 8:23 AM, "bhaq1972" wrote: > > > > > > > I added a Panel component into a NavigatorContent > > public function aMethod():void >

[flexcoders] Re: How to populate itemeditor with popup value

2010-06-08 Thread valdhor
You will need to create an event listener on the System Manager to trigger on the window close event (Will probably have to be at the application level). once the event triggers, grab the data that you need and inject it into the component that needs it. NB. System Manager handles all window eve

[flexcoders] Re: Is it ok to load in a sub-application using a swfloader?

2010-06-08 Thread valdhor
If it were me, I would create an application stub with no display objects and a module loader to load in different modules as required. On application complete event, load in the initial module. Then, if the user wants to continue, load in the main module. If you break up your application into dif

[flexcoders] Re: dispatchEvent import

2010-06-08 Thread valdhor
27;t > have a dispatchEvent() method. He'll have to change thel class to extend > EventDispatcher. > > -TH > > --- In flexcoders@yahoogroups.com, "valdhor" wrote: > > > > The component itself has a dispatchEvent method. The this keyword is > >

[flexcoders] Re: dispatchEvent import

2010-06-04 Thread valdhor
The component itself has a dispatchEvent method. The this keyword is implicit in the call. It could have been written as this.dispatchEvent. --- In flexcoders@yahoogroups.com, Marco Catunda wrote: > > Hi, > > I'm learning swiz framework and stumble upon this code > http://www.pastebin.org/3073

[flexcoders] Re: Setting preferences on the browser in the release folder

2010-06-04 Thread valdhor
That is what the html-template directory is for. Modify the index.template.html file to how you want it. Flex Builder will use this file to build the index.html file. --- In flexcoders@yahoogroups.com, "Quintjer" wrote: > > Hello All, > I am trying to set up my browser in the bin-debug fo

[flexcoders] Re: Ctrl+Enter to complete url

2010-06-01 Thread valdhor
Add a key up (or down) event listener to the text field (or whatever). In the function, check for CTRL+Enter and act appropriately. --- In flexcoders@yahoogroups.com, Shabir Gilkar wrote: > > Hi Thompson, > i know that prepend and addpends relation. But i wanna to know how to write > listener fo

[flexcoders] Re: Showing tooltip on the line

2010-06-01 Thread valdhor
If it were me, I would create a custom tooltip; add a mouseover event listener to your line; check the color directly under the mouse pointer and show the tooltip. --- In flexcoders@yahoogroups.com, "akshar" wrote: > > i have a line in my application. i require that a tooltip should come > only

[flexcoders] Re: StyleName property ignored : when precisely and workarround ?

2010-06-01 Thread valdhor
If you are looking for ways to style a component I would recommend looking at the Flex 3 Style Explorer at http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.html Note that colors #11 and #22 are so close to black that you probably wouldn't notice the difference

[flexcoders] Re: Problem with wizard Flex---don't know the librairy flashmatticomponents.swc

2010-06-01 Thread valdhor
Please do not hijack other people's threads. I have created a new thread for you. --- In flexcoders@yahoogroups.com, Nini7016 Nini7016 wrote: > > > Hello > > I found a site which shows how to build a wizard : > http://code.google.com/p/flashmatticomponents/wiki/Wizard > > and i added the li

[flexcoders] Re: Problem with wizard Flex---don't know the librairy flashmatticomponents.swc

2010-06-01 Thread valdhor
First off, you should download the source from SVN and compile it yourself. Once you do that you will notice immediately that the example posted in the wiki does not include the files in the correct path. You need to change the xmlns in the example from: com.flashmattic.framework.wizard.* to:

[flexcoders] Re: DisplayList order problem

2010-05-27 Thread valdhor
Just thinking out loud... I am assuming that the event listeners for MOUSE_OVER and MOUSE_OUT are attached to the checkbox. When a MOUSE_OVER triggers you move your sprite over the checkbox. A MOUSE_OUT will never trigger on the checkbox. You would need to attach the MOUSE_OUT event listener to

[flexcoders] Re: Is it possible to integrate the CTRL+F browser search with flex text?

2010-05-26 Thread valdhor
I would but I would need to break everything out and make it more generic. At the moment, I don't have the time. Someday, I will. --- In flexcoders@yahoogroups.com, Baz wrote: > > valdhor, are you going to open source your solution :) :) :) :) :) > > > On Wed, May 26, 2010

[flexcoders] Re: Data grid vary column sizes

2010-05-26 Thread valdhor
derer = new ClassFactory(Text); myDataGridColumnsArray.push(currentColumn); } myDataGrid.columns = myDataGridColumnsArray; HTH. Steve --- In flexcoders@yahoogroups.com, "valdhor" wrote: > > I never found any examples on the web. > > I am trying to do this now and have my own strategy w

[flexcoders] Re: how to adjust mouse wheel scrolling for custom itemrender?

2010-05-26 Thread valdhor
24, 2010 at 8:27 AM, valdhor valdhorli...@...wrote: > > > > > > > private function onMouseWheelEvent(event:MouseEvent):void > > { > > event.delta += event.delta < 0 ? -50 : 50; > > } > > > > &

[flexcoders] Re: Custom keyboard navigation on AdvancedDataGrid

2010-05-26 Thread valdhor
Try: switch(event.keyCode) { case KeyBoard.RIGHT: myADG.horizontalScrollPosition += 1; break; case KeyBoard.LEFT: myADG.horizontalScrollPosition -= 1; break; } http://livedocs.adobe.com/flex/3/langref/mx/controls/AdvancedDataGridBas\ eEx.html#horizontalScroll

[flexcoders] Re: Flash Player Detection / ServerSide

2010-05-26 Thread valdhor
I don't use SOAP directly from Flex - I use AMF calls to PHP and PHP to call the Web Service. I can detect an AMF call at the server from the Content-Type header (application/x-amf). --- In flexcoders@yahoogroups.com, "jamesfin" wrote: > > Does anyone have any knowledge of how to detect whet

[flexcoders] Re: AdvancedDataGrid custom drawRowBackground with HierarchicalCollectionView

2010-05-26 Thread valdhor
Have you tried using an item renderer? --- In flexcoders@yahoogroups.com, "csmarvz" wrote: > > Hi, > > I have to color the nodes shown in my adg. The code below do the job but > the performances insanely decrease. Any idea how to improve it please? > > Best regards, > > Henry > > override pr

[flexcoders] Re: ItemRenderer factories, on the fly resetting

2010-05-26 Thread valdhor
Wow, Amy. This is the first time I have seen you top post. Have you been assimilated? (Resistance was futile) --- In flexcoders@yahoogroups.com, "Amy" wrote: > > Check out TileList_withStyle. > http://flexdiary.blogspot.com/2008/08/tilelist-with-stylefunction.html. > > I think this will do wha

[flexcoders] Re: Security sandbox violation

2010-05-26 Thread valdhor
ingle SWF (plus companion > wrapper html and config xml that can either be hosted on a web server, or > unzipped and run locally? Or would the end user have to use that page you > linked to? > > On Tue, May 25, 2010 at 6:18 AM, valdhor wrote: > > > > > > > Wh

[flexcoders] Re: Is it possible to integrate the CTRL+F browser search with flex text?

2010-05-26 Thread valdhor
gt; On Tue, May 25, 2010 at 6:01 AM, valdhor wrote: > > > > > > > Yes, openSearchWindow() is my own custom "find" functionality coded in flex > > and manually searches contents on the page. > > > > The browsers search box is part of the browser that has n

[flexcoders] Re: Data grid vary column sizes

2010-05-26 Thread valdhor
I never found any examples on the web. I am trying to do this now and have my own strategy which may or may not be the best. In my case, my Data Grid has a max of around 30 rows - I don't think my strategy would work for large data sets. So, what I am thinking is to use a mono-spaced embedded f

[flexcoders] Re: Security sandbox violation

2010-05-25 Thread valdhor
What I do for debugging purposes is to set my debug folder as a trusted source in http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html To do this... Click "Edit Locations->Add Location" Click "Browse for Folder" Browse to your bin-debug folder This allows

[flexcoders] Re: Is it possible to integrate the CTRL+F browser search with flex text?

2010-05-25 Thread valdhor
() is your own custom "find" functionality > coded in flex and manually searches contents on the page, right? You haven't > found a way to integrate directly with a browser's search box? > > Baz > > > On Mon, May 24, 2010 at 10:48 AM, valdhor wrote: > > > openSearchWindow(); >

[flexcoders] Re: Detecting Browser Re-Size

2010-05-25 Thread valdhor
I don't have any experience with this but thinking about it I can see using ExternalInterface with JavaScript to achieve this. The basic idea... Set up a JS event listener for the resize event. On resize, call a Flex method to grab the screen coordinates of your Flex app. Position the IFrame appr

[flexcoders] Re: Is it possible to integrate the CTRL+F browser search with flex text?

2010-05-24 Thread valdhor
In the main part of my application (Not in any of the modules) I have: private function onApplicationComplete(event:FlexEvent):void { stage.addEventListener(KeyboardEvent.KEY_DOWN, onKeyDown, true, ); stage.addEventListener(KeyboardEvent.KEY_DOWN, onKeyDown, false, ); } Then onK

[flexcoders] Getting text of dynamically added textinputs

2010-05-24 Thread valdhor
Something like... var formChildren:Array = emailInfoForm.getChildren(); for(var i:int = 0 ; i < formChildren.length ; i++) { if(formChildren[i] is FormItem) { var formItemChildren:Array = formChildren[i].getChildren(); if(formItemChildren[0] is TextInput) {

[flexcoders] Re: Is it possible to integrate the CTRL+F browser search with flex text?

2010-05-24 Thread valdhor
Yes. I capure the keyboard event, check if it is a CTRL+F, and display a popup window. I also do it for CTRL+T to open a new tab in the browser. --- In flexcoders@yahoogroups.com, Baz wrote: > > All browsers have some text search functionality triggered by CTRL+F. Is it > possible to use that t

[flexcoders] Re: how to adjust mouse wheel scrolling for custom itemrender?

2010-05-24 Thread valdhor
private function onMouseWheelEvent(event:MouseEvent):void { event.delta += event.delta < 0 ? -50 : 50; } --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > I'm pretty sure at least one person claimed victory by modifying the delta of the MouseEv

[flexcoders] Re: How to Control the state of external window browser from FLEX/Javascript

2010-05-21 Thread valdhor
In your navigateToURL, use a specific name for the window and use this name for subsequent calls. navigateToURL(new URLRequest("http://www.adobe.com";), '_MyNewWindow'); _blank tells the browser to use a new window every time. --- In flexcoders@yahoogroups.com, athota wrote: > > > I am trying

[flexcoders] Re: Calling a ComboBox Change Event from TextInput TextChanged event

2010-05-19 Thread valdhor
If you just want to run the code in the comboChanged function, you can just change the default value for the evt parameter... private function comboChanged(evt:Event = null) :void and then call the function with no parameters in your myTextChanged function... private function myTextChanged(evt:E

[flexcoders] Re: "type was not found or was not a compile-time constant" Error

2010-05-19 Thread valdhor
class in the class) > and when i try to run the flex side, it only shows me options to run as java > application or applet. > --- In flexcoders@yahoogroups.com, "valdhor" wrote: > > > > Have you tried checking out the examples from > > http://code.go

[flexcoders] Re: "type was not found or was not a compile-time constant" Error

2010-05-18 Thread valdhor
Have you tried checking out the examples from http://code.google.com/p/merapi-examples/source/checkout --- In flexcoders@yahoogroups.com, "heygapdol" wrote: > > Hello, I'm new to the Flex scene and I'm trying out an open source > project called "Merapi" ( http://merapiproject.net/index.php ), wh

[flexcoders] Re: Web Service Error

2010-05-17 Thread valdhor
If you type the WSDL's location in the URL of a browser window, what do you get? --- In flexcoders@yahoogroups.com, "Krunal" wrote: > > Hello Friends !! > I want to use java web service to Flex > i hv made program for it > my web service is running on java nice > but in flex it throws error that

[flexcoders] Re: Help wanted with HTTPService with SSL and unsigned certificates

2010-05-14 Thread valdhor
Our company uses its own self signed certificates extensively. In Firefox, it pops up a page that allows you to permanently trust a certificate. If you do that first and then try with Flex, what happens? --- In flexcoders@yahoogroups.com, "Paul Sanders" wrote: > > Our app sends data to a Java w

[flexcoders] Re: how to handle remote requests the never return or get lost?

2010-05-04 Thread valdhor
What is wrong with the requestTimeout property of a remoteobject? --- In flexcoders@yahoogroups.com, Baz wrote: > > You confirmed my suspicions. I believe that very few developers employ this, > but it seems quite important as requests can get lost relatively often. > Anyone think it would be ben

[flexcoders] Re: Cube animation

2010-05-03 Thread valdhor
How about http://www.switchonthecode.com/tutorials/getting-started-with-adobe-flex-and-away3d --- In flexcoders@yahoogroups.com, "Christophe" wrote: > > Hello, > > I am searching an example of a flax animation of a rotating cube with a image > on each side. > > Thank you, > Christophe, >

[flexcoders] Re: Flex 4: Advice on tricky extending problem, architecturing help needed

2010-04-29 Thread valdhor
OK, maybe I'm not understanding what you are trying to achieve but, to me, the easiest way would be to create a public variable in your component (I'd make it of type array). Now, when you create a new instance of your component, set the public variable to an array of objects that describe what

[flexcoders] Re: Yahoogroups really sucks - let's go somewhere else.

2010-04-29 Thread valdhor
I actually use the Yahoo Web GUI exclusively. Other responses in line... > There's no way to add a screen shot to a post, sometimes it's easier showing a visual bug/problem with a small picture. Not true. I haven't done it myself but I've seen others attach files/screen shots. > The Search bar a

[flexcoders] Re: What is the Correct Type of Component For This?

2010-04-22 Thread valdhor
> Now I can simply edit my filter function which filters my links tilelist in > the main app so that it uses my new category id var as the filter paramater > and I think I'll be set :-) Is that how you'd do it? Seems about right. > I'm from Liverpool in England (like the beatles). I suppose I'

[flexcoders] Re: DataGrid | ItemRenderers | Validation

2010-04-22 Thread valdhor
I would be inclined to extend the datagrid and add a variable to handle this. You can compute the total from the dataprovider when it arrives from the server and pass that in as a bound variable to the custom datagrid. Example follows... Application: http://www.adobe.com/2006/mxml"; layout="verti

<    1   2   3   4   5   6   7   8   9   10   >