[flexcoders] Re: Executing commands to other programs?

2009-09-23 Thread valdhor
7;t a clean solution, but > if I have to, that's what I'll do. > > Any more thoughts? > > --- In flexcoders@yahoogroups.com, "valdhor" wrote: > > > > If you are using AIR, you can use Merapi (http://www.merapiproject.net/) > > > >

[flexcoders] Re: Executing commands to other programs?

2009-09-23 Thread valdhor
If you are using AIR, you can use Merapi (http://www.merapiproject.net/) --- In flexcoders@yahoogroups.com, "agaboogaboo" wrote: > > In Flex, how can I have the program execute something through a terminal? > > Basically, I want to fire up a Java application to run some tasks taking > paramete

[flexcoders] Re: Actionscript Questions

2009-09-23 Thread valdhor
Actionscript 3 does not support either of these constructs natively. However, there are ways to implement them. These links should give you some insight: http://blog.petermolgaard.com/2008/11/02/actionscript-3-enums/ http://flexblog.faratasystems.com/?p=100 This is also a good insight into Acti

[flexcoders] Re: AS3 URLRequest issue

2009-09-22 Thread valdhor
escape? http://livedocs.adobe.com/flex/3/langref/package.html#escape%28%29 --- In flexcoders@yahoogroups.com, "Calbeans" wrote: > > Hi All, > > This isn't actually a Flex question but hopefully someone can still answer it > for me. I have a URLRequest set up, and the URL that I'm navigating

[flexcoders] Re: AIR & SQL can any one have material?

2009-09-22 Thread valdhor
http://livedocs.adobe.com/flex/3/langref/localDatabaseSQLSupport.html --- In flexcoders@yahoogroups.com, Prajnith Karra wrote: > > hi friends  how to manipulate database  using SQL for AIR applications? > > does SQL: is pre-installed in AIR alredy? >

SOLVED - [flexcoders] Re: Using Just Some Components of Flexlib

2009-09-21 Thread valdhor
. Don't worry, you'll get there. Always ask the question even if you think it could be obvious to others. Steve --- In flexcoders@yahoogroups.com, Angelo Anolin wrote: > > Thanks Valdhor. > > I think my level of knowledge with regards to the power of Flex is not

[flexcoders] Re: Pop a window with a hyperlink?

2009-09-21 Thread valdhor
Wally Use the HTMLText property and listen for the link event. The following example should help (Note that I am not good with Style Sheets so there is probably a better way of styling the links): http://www.adobe.com/2006/mxml"; creationComplete="onCreationComplete()">

[flexcoders] Re: Hi All

2009-09-21 Thread valdhor
Welcome. I hope you still feel the same in a years time ;-} Have fun. Steve --- In flexcoders@yahoogroups.com, "Calbeans" wrote: > > I just joined the group today and I'm really excited to learn more about Flex > and AS3. >

[flexcoders] Re: Using Just Some Components of Flexlib

2009-09-21 Thread valdhor
"Elementary, my dear Watson". Create a directory named "flexlib" inside your src directory. Inside that directory create a new directory named "controls". Place the PromptingTextInput.as file inside this directory. To use the control, first add the namespace to the component you wish to use it wi

[flexcoders] Re: Trying to convince people to develop with Flex

2009-09-21 Thread valdhor
Perhaps you could do it in your own time? When I first started my job here (A large Multi-National) I was tasked with creating a front end UI to replace an unwieldy PHP/Perl system. They wanted it redone with JavaScript/AJAX. I had completed the first part of this in six months but there were m

[flexcoders] Re: How can we increase web service performance?

2009-09-18 Thread valdhor
getting data (parsing the data). After calling web > method, data will return after few seconds.which i want to solve. >   > Regards, > > > > Krunal Panchal  > > > > > > From: valdhor

[flexcoders] Re: sorting a datagrid column with an itemrenderer

2009-09-18 Thread valdhor
Use a sortCompareFunction (http://livedocs.adobe.com/flex/3/langref/mx/controls/dataGridClasses/DataGridColumn.html#sortCompareFunction) --- In flexcoders@yahoogroups.com, "kpjj31" wrote: > > How would I go about sorting a datagrid taht has one column. > This column has an item renderer. > >

[flexcoders] Re: Set default font size on RichTextEditor

2009-09-18 Thread valdhor
These links should help... http://flexonblog.wordpress.com/2008/01/19/usable-properties-of-richtexteditor-control-in-flex/ http://www.axelscript.com/2008/02/13/mxrichtexteditor-issues-font-too-large/ --- In flexcoders@yahoogroups.com, "gotgoose09" wrote: > > I want to set the default text siz

[flexcoders] Re: How can we increase web service performance?

2009-09-18 Thread valdhor
Is the problem with Flex or with the web service itself? You can check data latency with something like Charles (www.charlesproxy.com). In my experience, web services are not that fast. --- In flexcoders@yahoogroups.com, Krunal Panchal wrote: > > Hi All, > > I have create the web based flex a

[flexcoders] Re: truncateToFit() and concatenated Strings

2009-09-17 Thread valdhor
One of these should help you out... http://thanksmister.com/index.php/archive/flex-truncating-html-text/#more-613 http://www.frontenddeveloper.net/wiki/index.php?title=Truncate_HTMLText --- In flexcoders@yahoogroups.com, "Matthew" wrote: > > Hi - > > I have a Label with truncateToFit set to

[flexcoders] Re: Different behaviour between deployment and IDE execution

2009-09-17 Thread valdhor
an event.statuscode of 0 means that there were no errors. You are checking if the statuscode is NOT equal to 404. Is that what you really wanted to do? --- In flexcoders@yahoogroups.com, "tendancer2000" wrote: > > Just finished my first ever Flex app (yay!) and deployed it to my tomcat > serv

[flexcoders] Re: Lagging Panel title

2009-09-17 Thread valdhor
Possibly... override public function invalidateDisplayList():void { super.invalidateDisplayList(); _title = propertyObject.title + ' Properties'; } --- In flexcoders@yahoogroups.com, "droponrcll" wrote: > > Hi, all; > > I have a component that extends Panel. The panel title is bo

[flexcoders] Re: Creation Complete flag?

2009-09-16 Thread valdhor
onent that you've just now > been given a reference to, that may or may not have created itself already. > > > > --- In flexcoders@yahoogroups.com, "valdhor" wrote: > > > > I should probably clarify a bit. > > > > You could create your own

[flexcoders] Re: Creation Complete flag?

2009-09-16 Thread valdhor
@yahoogroups.com, "valdhor" wrote: > > If it has already fired then your event handler will have run. > > > --- In flexcoders@yahoogroups.com, "dfalling" wrote: > > > > Is there a publicly-exposed property on components that can be inspected to >

[flexcoders] Re: filtering advanced datagrid

2009-09-16 Thread valdhor
This article should help: http://jonathanbranam.net/solutions/filter-hierarchicalcollectionview-parent-child-data and possibly this one: http://jonathanbranam.net/flex3anatomy/class/HierarchicalCollectionView --- In flexcoders@yahoogroups.com, "kaushal.shah05" wrote: > > Here is the link to

[flexcoders] Re: accessing Array created in Private function?

2009-09-16 Thread valdhor
Or, set the return type of the function to array and return the array. --- In flexcoders@yahoogroups.com, "Jake Churchill" wrote: > > Store the array in a bindable variable inside the class instead of in the > function > > > > Jake Churchill > CF Webtools > 11204 Davenport, Ste. 100 > Omaha,

[flexcoders] Re: Creation Complete flag?

2009-09-16 Thread valdhor
If it has already fired then your event handler will have run. --- In flexcoders@yahoogroups.com, "dfalling" wrote: > > Is there a publicly-exposed property on components that can be inspected to > determine if they have finished creation yet? I know I can listen for > creationComplete, but w

[flexcoders] Re: Custom Menu class with a Mask

2009-09-15 Thread valdhor
While looking for something else, I stumbled across this: http://www.neatfilm.com/2009/01/19/menubar-skinning/ Hopefully, that should get you on your way. --- In flexcoders@yahoogroups.com, "valdhor" wrote: > > What you are trying to do is not just a simple change to a fe

[flexcoders] Re: Color of MenuBar text

2009-09-15 Thread valdhor
http://www.neatfilm.com/2009/01/19/menubar-skinning/ should give you a good starting point. --- In flexcoders@yahoogroups.com, "Wally Kolcz" wrote: > > How can you change the color of the text of the very top level of the > MenuBar, but leave the submenus another color? > > Here is my code: >

[flexcoders] Re: Custom Menu class with a Mask

2009-09-14 Thread valdhor
What you are trying to do is not just a simple change to a few items. This is a fairly major undertaking. You will have to extend the PopUpButton class. This class does not have a getMenuAt method to override so you will have to figure out a way to encapsulate the functionality you need. Also, P

[flexcoders] Re: Resizable TitleWindow

2009-09-11 Thread valdhor
Check out FlexMDI (Part of FlexLib http://code.google.com/p/flexlib/) --- In flexcoders@yahoogroups.com, yogesh patel wrote: > > Dear All, > >    How to create "resizable titlewindow" or is there ant > realizable titlewindow component available..??? > > > > Regards, > Yoges

[flexcoders] Re: "Please set up a TomcatValve as described in the documentation" problem

2009-09-11 Thread valdhor
>From the BlazeDS Installation guide at http://opensource.adobe.com/wiki/display/blazeds/Installation+Guide: To use BlazeDS with Tomcat, follow these steps after deploying the BlazeDS WAR files. These steps are not necessary for the integrated Tomcat installation. 1. Increase the maximum mem

[flexcoders] Re: SWF & SWC File extensions. What they stands for..??

2009-09-11 Thread valdhor
http://www.google.com/search?q=.swc+file+extension --- In flexcoders@yahoogroups.com, Manu Dhanda wrote: > > > My understanding about SWF: > SWF(Shockwave Flash) which was later changed to "Small Web Format". > > SWC - ??? > > Can anybody post me the extension details about swc. What it stan

[flexcoders] Re: HTTP Result

2009-09-10 Thread valdhor
import mx.utils.StringUtil; msg = StringUtil.trim(event.result.toString()); --- In flexcoders@yahoogroups.com, Jairo França (Yahoo) wrote: > > I'm using Flex with PHP. > > I got a return from a HTTPService in the following way: > > > > private function httpResult(event:ResultEvent):void {

[flexcoders] Re: Datagrid height problem.

2009-09-10 Thread valdhor
What I do in this situation is to truncate the text in the cell and add elipses. If the user needs to see all the note text, they can click on the cell which opens a new popup. If the text is short enough, I use a tooltip. --- In flexcoders@yahoogroups.com, "turbo_vb" wrote: > > > How can I t

[flexcoders] Re: Sorting XML number values in datagrid

2009-09-10 Thread valdhor
Create a numeric compare function like the following: private function numericCompareFunc(itemA:Object, itemB:Object):int { return ObjectUtil.numericCompare(itemA.itemToCompare, itemB.itemToCompare); } Then set this function to the sortCompareFunction of your datagrid column: --- In flex

[flexcoders] Re: printing off the Adobe Flex References?

2009-09-09 Thread valdhor
Not that I've found. Although, it's a moving target (3.0 - 3.4 so far) so it's probably better left as HTML. --- In flexcoders@yahoogroups.com, Nick Middleweek wrote: > > I've got these PDF's... http://www.adobe.com/support/documentation/en/flex/ > > But is there a good way to print off the l

[flexcoders] Re: soap and cookies with webservice

2009-09-09 Thread valdhor
You are better off using a piece of middleware like PHP. That is how I do it. --- In flexcoders@yahoogroups.com, "stephen_anson" wrote: > > --- In flexcoders@yahoogroups.com, "guy.tomer" wrote: > > > > Not sure what you mean by "standalone player". to the best of my knowledge > > flash uses t

[flexcoders] Re: Referencing dynmically created controls

2009-09-08 Thread valdhor
This should give you an idea... var searchcanvasChildren:Array = searchcanvas.getChildren(); for(var i:int = 0 ; i < searchcanvasChildren.length ; i++) { if( searchcanvasChildren[i] is TextInput) { Alert.show(( searchcanvasChildren[i] as TextInput).id + ":" + ( searchcan

[flexcoders] Re: http request erro

2009-09-08 Thread valdhor
; > Vik > Founder > www.sakshum.com > www.sakshum.blogspot.com > > > On Wed, Sep 2, 2009 at 8:07 PM, valdhor wrote: > > > > > > > Set the breakpoint just before calling the HTTPService.send() method. > > > > Generally the crossdomain.xml file is found at t

[flexcoders] Re: Dot NET or JAVA example to give output as WSDL

2009-09-08 Thread valdhor
I think you are making it way too hard for your self. If you are the only one consuming the data, why go to all the trouble of creating a SOAP service? If it were me, I would use remote objects using a gateway (Such as WebORB - http://www.themidnightcoders.com/products/weborb-for-net/overview.h

[flexcoders] Re: Hello everyone hope all is well.

2009-09-08 Thread valdhor
Use HTTPService - http://livedocs.adobe.com/flex/3/langref/mx/rpc/http/mxml/HTTPService.html --- In flexcoders@yahoogroups.com, "mlow7920" wrote: > > Although i been a member of the group for a while I havent participated much. > But now im actually building a RIA program and i need a little he

[flexcoders] Re: DateField - minYear and maxYear - don't work if they contain calculated valu

2009-09-04 Thread valdhor
Yes, that does appear to be a bug. A simple workaround is to use a selectableRange: http://www.adobe.com/2006/mxml"; layout="vertical" initialize="onInit()"> --- In flexcoders@yahoogroups.com, "flexcoder2008" wrote

[flexcoders] Re: DateField - minYear and maxYear - don't work if they contain calculated value?

2009-09-04 Thread valdhor
I am using SDK 3.3 and this works for me: http://www.adobe.com/2006/mxml"; layout="vertical"> I can only select a date between Jan 2000 and Dec 2009. --- In flexcoders@yahoogroups.com, "flexcoder2008" wrote: > > I have a DateField and if I set the minYear or the m

[flexcoders] Re: What does [Bindable("dataChange")] do?

2009-09-03 Thread valdhor
Check the documentation at http://livedocs.adobe.com/flex/3/langref/mx/core/IDataRenderer.html. --- In flexcoders@yahoogroups.com, Nick Middleweek wrote: > > i'm still new to Flex... I'm going through someone's code and i'm wondering > what *[Bindable("dataChange")]* does. > > It's in an Item

[flexcoders] Re: how to show icon in ToggleButtonBar

2009-09-02 Thread valdhor
also a XMLList, with more subMenus, but same in concept to your example). > So what's going on? > > Thanks > George > > --- In flexcoders@yahoogroups.com, "nathanleewei" nathanleewei@ wrote: > > > > Are icons shown in ToggleButtonBar? > > > >

[flexcoders] Re: how to show icon in ToggleButtonBar

2009-09-02 Thread valdhor
> Are icons shown in ToggleButtonBar? Yes > What's your flex sdk version? 3.3

[flexcoders] Re: http request erro

2009-09-02 Thread valdhor
> > > On Wed, Sep 2, 2009 at 6:51 PM, valdhor wrote: > > > > > > > Possible security sandbox failure? > > > > I know that I had to change my crossdomain.xml file a few weeks ago when > > Flex Builder gave me a security sandbox failure (My XML was suppo

[flexcoders] Re: Instant messaging example

2009-09-02 Thread valdhor
ot;Chat" on this server. > > --- In flexcoders@yahoogroups.com, "valdhor" wrote: > > > > Well, that looks fine. > > > > Can you check the server side services-config.xml file and make sure the > > weborb-rtmp channel is defined ther

[flexcoders] Re: how to show icon in ToggleButtonBar

2009-09-02 Thread valdhor
Works for me. Do you get any errors? --- In flexcoders@yahoogroups.com, "nathanleewei" wrote: > > package com > { > import mx.controls.ToggleButtonBar; > import mx.events.FlexEvent; > > public class MyToggleButtonBar extends ToggleButtonBar > { > [Embed(sou

[flexcoders] Re: http request erro

2009-09-02 Thread valdhor
Possible security sandbox failure? I know that I had to change my crossdomain.xml file a few weeks ago when Flex Builder gave me a security sandbox failure (My XML was supposedly out of date) for a project that has been working for over a year. The console did not display the exact error until

[flexcoders] Re: Show ProgressBar upon loading Modules

2009-08-28 Thread valdhor
The easy way: private function readyEventHandler(e:ModuleEvent):void { pb.visible = false; pb.includeInLayout = false; } --- In flexcoders@yahoogroups.com, "yonghan79" wrote: > > Hi all , i need help please..I've suceeded to show progressbar upon > loading modules within FlexMDI

[flexcoders] Re: Find Actual Width After Setting Percent Width

2009-08-26 Thread valdhor
What does canvas.measuredWidth give when the user clicks the button? --- In flexcoders@yahoogroups.com, "jmfillman" wrote: > > I have a canvas container with="100%". When the user clicks a button, the > container is set to percentWidth=20, and I need to immediately know the new > width so that

[flexcoders] Re: degrafa capacity indicator resizing

2009-08-25 Thread valdhor
Did you try adding the button I mentioned? Do you understand what it does? --- In flexcoders@yahoogroups.com, "kaushal.shah05" wrote: > > I've tried using States to zoom in/out but no luck. Full code below: > > >xmlns:mx="http://www.adobe.com/2006/mxml"; > layout="absolute" >

[flexcoders] Re: Instant messaging example

2009-08-25 Thread valdhor
ass="flex.messaging.endpoints.AMFEndpoint" /> > - > false > > > - class="mx.messaging.channels.SecureAMFChannel"> >class="flex.messaging.endpoints.SecureAMFEndpoint" /> > > - class="weborb.messaging.WeborbMessagingChannel"

[flexcoders] Re: Creating an ArrayCollections dyamically

2009-08-24 Thread valdhor
Try this: private function convert(columns:ArrayCollection, data:ArrayCollection):ArrayCollection { var returnAC:ArrayCollection = new ArrayCollection(); for(var i:int = 0 ; i < data.length ; i += columns.length) { var currentRow:Object = new Object(); for(var j:in

[flexcoders] Re: Auto generate Accessor plugin for Flex 3?

2009-08-24 Thread valdhor
I believe you are thinking of the dash project. http://www.flashfuck.it/2008/10/21/auto-generate-getters-setters-and-custom-code-in-flex-builder/ http://www.dreaminginflash.com/2007/12/21/auto-generate-getters-and-setters-in-flex-builder/ http://www.eclipse.org/dash/ http://eokyere.blogspot.com

[flexcoders] Re: Datagrid - advancing items in a row?

2009-08-24 Thread valdhor
If it were me I would create a "Book" component to hold details, images and text about the book. I would then populate a grid container with each book component. For details see http://livedocs.adobe.com/flex/3/langref/mx/containers/Grid.html And for an overview, see page 504 of the Flex Develo

[flexcoders] Re: Full flex site or not

2009-08-24 Thread valdhor
Carlos I thought I'd have a look at your site and check it out. When I clicked on the drop down menu for languages and selected (I think it was the spanish flag), I got the following error: ArgumentError: Invalid address: "null". at com.google.maps.services::ClientGeocoder/geocode()

[flexcoders] Re: How to add fragments to debug url in Flex Builder

2009-08-21 Thread valdhor
to http://localhost/~johndoe/myproj. Once you do that, your > launch URL should automatically change to the right thing; you can then > modify it and append #anchor. > > > --- In flexcoders@yahoogroups.com, "valdhor" wrote: > > > > I need to debug deep linking i

[flexcoders] Re: Problem with GetDay

2009-08-21 Thread valdhor
getDate() returns the day of the month (an integer from 1 to 31) specified by a Date object according to local time. See http://livedocs.adobe.com/flex/3/langref/Date.html --- In flexcoders@yahoogroups.com, "christophe_jacquelin" wrote: > > Hello, > > I have a problem with GetDay. We are the

[flexcoders] Re: how to wait for more than one httpserivice/remoteobject result to finish?

2009-08-20 Thread valdhor
If you need to wait for both results, then that is the best way. --- In flexcoders@yahoogroups.com, coder3 wrote: > > > Hi > > my application needs to wait until two (or more) resultHandlers to get their > results and use them together. > > for example, > > > > > > > at appl

[flexcoders] How to add fragments to debug url in Flex Builder

2009-08-20 Thread valdhor
I need to debug deep linking in my project (When a user pastes a URL in the browser and presses Go). If I just paste the URL, the browser is not connected to the debugger. So, I need to be able to add the fragments to the debug URL in Flex Builder. I thought I could just do that in the "Run/Debu

[flexcoders] Re: Changing ResultHandler of WebService Operation

2009-08-20 Thread valdhor
Probably not. In ActionScript, you would add an event listener. For a remote object it is... theRemoteObject.theOperation.removeEventListener(ResultEvent.RESULT, firstResultHandler) theRemoteObject.theOperation.addEventListener(ResultEvent.RESULT, secondResultHandler) I would think it would b

[flexcoders] Re: Changing ResultHandler of WebService Operation

2009-08-20 Thread valdhor
Can you get to http://localhost:8084/Projects/projectdelete.do from a browser? ie. Just type the url in the browser. What do you get? Also, what does Charles show? --- In flexcoders@yahoogroups.com, Purnima S wrote: > > Hello, > Iam getting the following error in my application . please help m

[flexcoders] Re: Coding The itemClick event of the List Control

2009-08-20 Thread valdhor
The datagrid is a good example of a list control. There are many examples of the ListEvent.ITEM_CLICK event for a data grid. --- In flexcoders@yahoogroups.com, Angelo Anolin wrote: > > > Hi. > I looked up the documentation for Flex and was not able to find a good sample > of coding for the i

[flexcoders] Re: Instant messaging example

2009-08-20 Thread valdhor
In that case, can you post your weborb-services-config.xml file? --- In flexcoders@yahoogroups.com, "Andrew" wrote: > > Thanks valdhor. > > I have double checked but I am already referencing > 'weborb-services-config.xml' and i and still having the sa

[flexcoders] Re: Module and Application Communication.

2009-08-19 Thread valdhor
, "cuttenv" wrote: > > Hi valdhor, > Thanks for making a sample! I went back and looked at my code again and > realized I was trying to catch an event that was being dispatched via a Popup > inside the module! > > Application: > > http:

[flexcoders] Re: WebService Payload Truncated (#2006 Out of Bounds Error) on Send in Gumbo

2009-08-19 Thread valdhor
ing thing is that I'm seeing much greater volume than > > 60KB being transmitted to the SOAP server when inspecting incoming data > > server side using Wireshark. If this is a quota violation being triggered, > > how would it enforce on the packet data? Would some of it be dr

[flexcoders] Re: WebService Payload Truncated (#2006 Out of Bounds Error) on Send in Gumbo

2009-08-19 Thread valdhor
I wonder if you have hit a windows limitation. This article may give you some ideas... http://blogs.msdn.com/drnick/archive/2006/03/10/547568.aspx --- In flexcoders@yahoogroups.com, "michaelisraelcaplan" wrote: > > I've been looking at this problem for just about a day straight now, and just

[flexcoders] Re: degrafa capacity indicator resizing

2009-08-19 Thread valdhor
>From looking at the source code for that application, the width of the >indicator bar is bound to the value of the capacityWidth slider. Try adding the following button to the controls HBox to see what happens: --- In flexcoders@yahoogroups.com, "kaushal.shah05" wrote: > > Below is the link

[flexcoders] Re: Instant messaging example

2009-08-19 Thread valdhor
ining one? > > --- In flexcoders@yahoogroups.com, "valdhor" wrote: > > > > Well, from that file, there is no channel defined as weborb-rtmp. > > > >

[flexcoders] Re: Module and Application Communication.

2009-08-19 Thread valdhor
What are MyCustomMdoule (Spelling?) and moduleContent ? The following works for me: Application: http://www.adobe.com/2006/mxml"; layout="vertical" creationComplete="onCreationComplete()"> MyMod.mxml: http://www.adobe.com/2006/mxml"; layout="vertical">

[flexcoders] Re: Instant messaging example

2009-08-18 Thread valdhor
Well, from that file, there is no channel defined as weborb-rtmp. --- In flexcoders@yahoogroups.com, "Andrew" wrote: > > Hi valdhor, thanks for any help you can give me. > > From the custom site: > 'services-config.xml' > > > > >

[flexcoders] Re: mx:request equivalent in actionscript??

2009-08-18 Thread valdhor
Create an object and put it in the send methods parameter... var request:Object = new Object(); request.username = username.text; form1.send(request); --- In flexcoders@yahoogroups.com, "luvfotography" wrote: > > Hi, how do I code the 'mx:request' in actionscript? > example: > > resultForm

[flexcoders] Re: Datagrids, radiobutton and scrolling

2009-08-18 Thread valdhor
Note that Flex re-uses item renderers. Check out http://blogs.adobe.com/aharui/item_renderers/ --- In flexcoders@yahoogroups.com, "Trefalgar Bain" wrote: > > I remember reading an article that talked about this problem, but I can't > seem to find it again. > > I have some radio buttons in a i

[flexcoders] Re: httpservice what does this error mean?

2009-08-18 Thread valdhor
Something has not been created when you try to access it. This is probably due to a timing problem. When you get the error in the debugger, check that all the variables you are trying to access are not null. >From the stack trace it looks like it is failing at line 10 of toolHelper.as. >Check a

[flexcoders] Re: Html Form and Flex

2009-08-18 Thread valdhor
I would use HTTPService. Paiement 1500 --- In flexcoders@yahoogroups.com, "christophe_jacquelin" wrote: > > Hello, > > I have a html form that I have to launch to generate a paiement with my bank from my Flex application : > > > > > >

[flexcoders] Re: Instant messaging example

2009-08-18 Thread valdhor
I don't use IIS but I may be able to help. Can you post your services-config.xml file and your remoting-config.xml file both on the flex side as well as the WebORB side. --- In flexcoders@yahoogroups.com, "Andrew" wrote: > > Hi all, > > I am hoping for some help on this one as it has me beat.

[flexcoders] Re: XMLFiltering by attributes and values

2009-08-17 Thread valdhor
I haven't looked at your code too much but what jumped out at me is this line... filterData = filterData.(attribute(prop.name) == prop.value); This will try to evaluate attribute as a function with parameter prop.name and then compare that to prop.value returning a boolean. So, the upshot is tha

[flexcoders] Re: Java/Flex questions answered by James Ward

2009-08-17 Thread valdhor
I don't understand. Each call _IS_ a separate request. Even though Flex batches them up together, each remoteObject call hits the server as a separate request. They will return asynchronously. This is what you want so that you get the data back as fast as possible. --- In flexcoders@yahoogroup

[flexcoders] Re: Moving text in window

2009-08-17 Thread valdhor
Do you mean like auto scrolling a text area? --- In flexcoders@yahoogroups.com, "christophe_jacquelin" wrote: > > Hello, > > How to make a window with some text moving from the bottom to the top like > the infomations ? > > Thank you, > Christopher, >

[flexcoders] Re: regex: keyword search

2009-08-17 Thread valdhor
For AND searches you need to loop over each keyword. This is the way I would do it... var allKeywordsExist:Boolean = true; for each(var keyword:String in keywords) { var regexPattern:RegExp = new RegExp(keyword, "i"); allKeywordsExist = allKeywordsExist && regexPattern.test(myBigText); }

[flexcoders] Re: Event Best Practices

2009-08-17 Thread valdhor
The problem is that pop-up windows are handled by the SystemManger. You need to add your event listener to the system manager. In your application... this.systemManager.addEventListener(Your Event, your event handler); --- In flexcoders@yahoogroups.com, "jdizowat" wrote: > > Thanks for all the

[flexcoders] Re: TabNavigator - events children get on tab show

2009-08-14 Thread valdhor
>From memory, on first show it's creationcomplete. After that, it's show. --- In flexcoders@yahoogroups.com, Tom Chiverton wrote: > > If I have a component in a Tabnavigator what event does that component > receive > when the tab navigator changes to show it ? > It's not FlexEvent.SHOW for in

[flexcoders] Re: Event Best Practices

2009-08-14 Thread valdhor
Sure. I have way more nesting than that. Although it would look more like: For your events, set bubbling to true and the event will bubble up to the application level. HTH Steve --- In flexcoders@yahoogroups.com, "jdizowat" wrote: > > Super Noob Question Incoming - > > So i

[flexcoders] Re: Changing chart "preferred size"

2009-08-14 Thread valdhor
That can't be right. Have you seen the Flex Dashboard app at http://examples.adobe.com/flex3/devnet/dashboard/main.html ? If you minimize all the panels except the pie chart panel, you will note the pie chart gets much larger than 400x400 and piechart is derived from chartbase. You should proba

[flexcoders] Re: What is the best material to learn Flex 3 and AS3?

2009-08-14 Thread valdhor
Start with the Adobe Flex in a Week video training at http://www.adobe.com/devnet/flex/videotraining/ --- In flexcoders@yahoogroups.com, "fred44455" wrote: > > I got 2 books , one Flex 3 cookbook and it seems to difficult to follow. > I purchased Actionscript 3(Lynda.com) video with Joel Lott

[flexcoders] Re: Someone have sometime to help me develop a datagrid before this weekend? Key word is help me - not write for me.

2009-08-14 Thread valdhor
I don't use XML (I use typed objects) but I can help where I can. In answer to your questions... 1. Yes. 2. Yes (Well, I'm pretty sure. I haven't done it myself) 3. Yes. 4. Sure. Steve --- In flexcoders@yahoogroups.com, Raymond Brown wrote: > > Anyone, Wwas wondering if I could ask a couple

[flexcoders] Re: Flex integration with SAP no login

2009-08-13 Thread valdhor
Does the web service allow you to send login credentials as part of the XML? If so, how? (Envelope or headers) --- In flexcoders@yahoogroups.com, "shailesh_natu" wrote: > > Hi, > > I am trying to get data from SAP for my Flex application using webservice. > It ask me to login to system to get

[flexcoders] Re: IS IT POSSIBLE??Load an SWF in another SWF using 2 diff loaderContext appdomain

2009-08-13 Thread valdhor
I don't use loaders - I use modules. Here is a quick and dirty example: http://www.adobe.com/2006/mxml"; layout="vertical" creationComplete="onCreationComplete()"> TestModule.mxml http://www.adobe.com/2006/mxml"; layout="vertical">

[flexcoders] Re: How to make variables persist across application

2009-08-11 Thread valdhor
ave heard of Shared Objects though. Can you point me to a goo resource on > how to do this? > > Thanks, > Lee > > --- In flexcoders@yahoogroups.com, "valdhor" wrote: > > > > Or you could dispatch a custom event to your application that contains a > > u

[flexcoders] Re: Convert Blue Dragon Web Service to ArrayCollection

2009-08-11 Thread valdhor
This code does not look right to me: for (var r:int; r < columns.length; r++) { row += [columns[r] = data[i][r]]; } Given that I don't know how your data/columns are laid out, I have put together a small example that may or may not help. I am sorry if my assumptions are incorrect. Here is my

[flexcoders] Re: open source imageCFC

2009-08-11 Thread valdhor
I don't think anybody here has used imageCFC. You would be better off posting to the imageCFC forum. --- In flexcoders@yahoogroups.com, "stinasius" wrote: > > Helloo any help? >

[flexcoders] Re: PopUp databinding - possible?

2009-08-07 Thread valdhor
You will need to import mx.core.Application --- In flexcoders@yahoogroups.com, Dave Cates wrote: > > Hi Tracey, > > Thanks for your advice. > > The compiler is ing Œaccess of undefined property Application¹ > > Any ideas? > > Thanks, > Dave. > > From: Tracy Spratt > Reply-To: > Date: Fri,

[flexcoders] Re: PopUp databinding - possible?

2009-08-07 Thread valdhor
One way is to extend the popup class and add your RPC calls to this class. This way the popup itself can send and retrieve data. I do this all the time by extending FlexMDI (Part of FlexLib). --- In flexcoders@yahoogroups.com, Dave Cates wrote: > > Hi all, > > I have an mxml component that I

[flexcoders] Re: Embedded Fonts

2009-08-07 Thread valdhor
or something that Flex uses so I could embed it and get > away from this apparent measurement bug. > > > > > > > - Original Message - > From: valdhor > To: flexcoders@yahoogroups.com > Sent: Friday, August 07, 2009 8:43 AM > Subject: [f

[flexcoders] Re: Embedded Fonts

2009-08-07 Thread valdhor
Would these help? http://livedocs.adobe.com/flex/3/langref/flash/text/TextFormat.html (default) font = "Times New Roman" (default font is Times on Mac OS X) http://www.adobe.com/livedocs/flex/3/langref/flash/text/engine/FontDescription.html There may be more references. I just did a quick searc

[flexcoders] Re: how to find a dynamic object in a function?

2009-08-06 Thread valdhor
One way is... var theVBox:VBox = (event.relatedObject as RadioButton).parent as VBox; The way I would probably do it is to create a custom component that is a VBox that has a radiobutton component and then repeat that custom component. You can then encapsulate the functionality you want in each i

[flexcoders] Re: Can I use wireshark to override a crossdomain file?

2009-08-06 Thread valdhor
Basically, no. That would defeat the purpose of the crossdomain file. I see a few options... 1. Get them to open the crossdomain file so your IP address is allowed. 2. Set up a VPN so, in effect, you are on thier local network. 3. Set up a local server that can get the data some other way and set

[flexcoders] Re: How to make variables persist across application

2009-08-06 Thread valdhor
Or you could dispatch a custom event to your application that contains a user info object. Or you could save the user info data to a shared object. --- In flexcoders@yahoogroups.com, Gordon Smith wrote: > > You have several options. Perhaps the simplest is to declare > > public var userid

[flexcoders] Re: Include all classes of a swc in an output swc (not swf)?

2009-08-06 Thread valdhor
That is by design. FLex will only compile in resources if you use them. Think about it...If Flex compiled everything in on the off chance you might use it, then all SWF's and SWC's would be HUGE. --- In flexcoders@yahoogroups.com, Steve Bick wrote: > > > Is it possible to include all classes

[flexcoders] Re: problem to connect with j2ee and WTP in flex

2009-08-06 Thread valdhor
This does not appear to be a Flex problem. Error 404 is a not found error. Basically, the server is saying that there is nothing at /gsn2/ggsn2.html. Try placing a small html file in the gsn2 directory and trying to access it. You would need to look at your Apache/Tomcat settings as to why you

[flexcoders] Re: Amfphp inside module

2009-08-05 Thread valdhor
> > When i debug,in the console doesn't show anything about it..What i'm > curious is if i use it as a component instead of modules,it works > fine,no error at all..Also i'm using flex 3.4 sdk..Does it have > anything related with the sdk?Thanks.. > > On 8/5/0

[flexcoders] Re: Amfphp inside module

2009-08-04 Thread valdhor
Perhaps the problem is with your TextInput named "txtNama". When you hit the breakpoint, is this variable null? --- In flexcoders@yahoogroups.com, "yonghan79" wrote: > > > --- In flexcoders@yahoogroups.com, "valdhor" wrote: > > > > "so

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