[flexcoders] Re: How to run a sample from docs

2008-05-23 Thread valdhor
The documentation on that page actually tells you: To run the samples: 1. Browse to the files found within the installation_dir\frameworks\javascript\fabridge 2. Place the src and samples folders side by side on any HTTP server. 3. Open a web browser to

[flexcoders] Re: How to run a sample from docs

2008-05-23 Thread valdhor
of Flex Builder so I can learn how it works. --- In flexcoders@yahoogroups.com, valdhor stevedepp@ wrote: The documentation on that page actually tells you: To run the samples: 1. Browse to the files found within the installation_dir\frameworks\javascript\fabridge 2. Place

[flexcoders] What is a classfactory and why would I use one?

2008-05-30 Thread valdhor
This may be a dumb question but I can't seem to find this in any documentation. What is a classfactory and why would I want to use one? What can I do with a classfactory? Any links to documentation/tutorials?

[flexcoders] Re: Not sure what to do here...

2008-05-30 Thread valdhor
If you are using Firefox as your browser the message Transfering data from... will be there all the time even if all data has been returned (This is a firefox bug). If you click on another tab and then return to this tab the messgae will be removed. Now, if you still have the busy cursor, you

[flexcoders] Re: What is a classfactory and why would I use one?

2008-05-30 Thread valdhor
ClassFactory. ItemRenderers are Adobe's big example of this. Jonathon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of valdhor Sent: Friday, May 30, 2008 8:46 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] What is a classfactory and why would I use one

[flexcoders] Re: Air doesn't go full_screen_interactive

2008-05-30 Thread valdhor
In the help there is an example under Displaying full-screen windows: ?xml version=1.0 encoding=utf-8? mx:WindowedApplication xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical applicationComplete=init() backgroundColor=0x003030 focusRect=false mx:Script ![CDATA[

[flexcoders] Re: Air doesn't go full_screen_interactive

2008-05-30 Thread valdhor
In the help there is an example under Displaying full-screen windows: ?xml version=1.0 encoding=utf-8? mx:WindowedApplication xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical applicationComplete=init() backgroundColor=0x003030 focusRect=false mx:Script ![CDATA[

[flexcoders] Re: Air doesn't go full_screen_interactive

2008-05-30 Thread valdhor
I modified the example from the help slightly by adding a couple of simple buttons: ?xml version=1.0 encoding=utf-8? mx:WindowedApplication xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical applicationComplete=init() backgroundColor=0x003030 focusRect=false mx:Script

[flexcoders] Re: Air doesn't go full_screen_interactive

2008-05-30 Thread valdhor
I modified the example from the help slightly by adding a couple of simple buttons: ?xml version=1.0 encoding=utf-8? mx:WindowedApplication xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical applicationComplete=init() backgroundColor=0x003030 focusRect=false mx:Script

[flexcoders] Re: Air doesn't go full_screen_interactive

2008-05-30 Thread valdhor
OK, why did that last post get posted twice (I use the Yahoo web based reader and I clicked the Send button once only)?

[flexcoders] Re: What next after getting FLEX ?

2008-06-02 Thread valdhor
You may be better off looking into the WAMP project. This is a simple installer to get you Apache, MySQL and PHP on Windows. After that, there are many tutorials, books etc to get you up and running. --- In flexcoders@yahoogroups.com, itdanny2002 [EMAIL PROTECTED] wrote: Dear All, Thank

[flexcoders] Re: Casting Problem.. Type Coercion Failed

2008-06-02 Thread valdhor
I don't use WebORB; I use AMFPHP (I found AMFPHP faster, more reliable and easier to use than WebORB). Anyway, you include the UserVO.php file at the top of your PHP file and then never use it (I assume this is the value object for your user). You should create an array of UserVO objects and

[flexcoders] Re: Casting Problem.. Type Coercion Failed

2008-06-02 Thread valdhor
I don't use WebORB; I use AMFPHP (I found AMFPHP faster, more reliable and easier to use than WebORB). Anyway, you include the UserVO.php file at the top of your PHP file and then never use it (I assume this is the value object for your user). You should create an array of UserVO objects and

[flexcoders] Re: Flex 3 - Help sorting formatted data in datagrid

2008-06-02 Thread valdhor
You need a sortCompareFunction: In your script area add... import mx.utils.ObjectUtil; Then add the following function... private function myCompareFunc(itemA:Object, itemB:Object):int { return ObjectUtil.numericCompare(itemA.Quoted_Total, itemB.Quoted_Total); } Now change your

[flexcoders] Re: Flex 3 - Help sorting formatted data in datagrid

2008-06-02 Thread valdhor
You need a sortCompareFunction: In your script area add... import mx.utils.ObjectUtil; Then add the following function... private function myCompareFunc(itemA:Object, itemB:Object):int { return ObjectUtil.numericCompare(itemA.Quoted_Total, itemB.Quoted_Total); } Now change your

[flexcoders] Re: Not sure what to do here...

2008-06-03 Thread valdhor
ASo all you want to do is remove the busy cursor (There is nothing you can do about the Transfering data from... in the status bar) import mx.managers.CursorManager; CursorManager.removeBusyCursor(); --- In flexcoders@yahoogroups.com, mr_delphi_developer [EMAIL PROTECTED] wrote:

[flexcoders] Re: SWFLoader doesn't fire complete event

2008-06-03 Thread valdhor
This may be out of left field but if the SWF needs to be completely loaded before you open a data connection for the SWF to use wouldn't it be a better idea to have the data connection logic inside the SWF that you're loading and have it open the data connection on its creationComplete handler?

[flexcoders] AMFPHP Client.Error.DeliveryInDoubt Error

2008-06-03 Thread valdhor
I have been using RemoteObjects for quite a while now with AMFPHP. Suddenly, I am getting the error: Client.Error.DeliveryInDoubt Error Channel disconnected This error seems to crop up quite a bit but there has never been any definitive answer as to why or what the fix is. The particular

[flexcoders] Re: Getting PropertyChangeEvent to work properly

2008-06-03 Thread valdhor
I had the same sort of problem and found that I forgot to set the bubbles property of my custom event to true (It is false by default). --- In flexcoders@yahoogroups.com, superbokbok [EMAIL PROTECTED] wrote: I'm building a simple app and trying to get the PropertyChangeEvent to work properly

[flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread valdhor
Well, something pops out at me immediately as I look at your XML - it is not well formed. You cannot have stray or symbols inside your XML tags - these have to be encoded (See http://articles.techrepublic.com.com/5100-10878_11-5032714.html). In your case you have: menuitem id=menuDrill

[flexcoders] Re: addChild() (not addChildAt) throws RangeError: Error #2006: Thesupplied inde

2008-06-03 Thread valdhor
There are also UIComponents that must have children added at specific places. I can't remember what these components are off-hand but I did run into this same kind of problem with a window control bar that had to be added as the last child. If another child was added after it, then I got a range

[flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread valdhor
I just tried this: myMenuData..menuitem.(attribute(id)==menuDown)[EMAIL PROTECTED] = false; and it worked - The sub menu item Down was grayed out; So Tracy is correct. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: This won't work:

[flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread valdhor
OK, this is fairly buggy but it does show you can gray out a menu item from actionscript (Check the Down submenu item after clicking the Lock / Unlock menu item). I will leave the bug fixes and extras to you :-)... ?xml version=1.0 encoding=utf-8? mx:Application

[flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread valdhor
OK, this is fairly buggy but it does show you can gray out a menu item from actionscript (Check the Down submenu item after clicking the Lock / Unlock menu item). I will leave the bug fixes and extras to you :-)... ?xml version=1.0 encoding=utf-8? mx:Application

[flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread valdhor
Here is another example that's a lot less buggy and uses an MXLList, XMLListCollection and a MenuBar. This is taken mostly from the example listed in the help: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute

[flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread valdhor
Here is another example that's a lot less buggy and uses an MXLList, XMLListCollection and a MenuBar. This is taken mostly from the example listed in the help: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute

[flexcoders] Re: programmatically using RemoteObject

2008-06-03 Thread valdhor
import mx.rpc.remoting.RemoteObject; import mx.rpc.events.FaultEvent; import mx.rpc.events.ResultEvent; private var myRemoteObject :RemoteObject = new RemoteObject(); myRemoteObject .destination = genericDestination; myRemoteObject .addEventListener(FaultEvent.FAULT, faultHandler);

[flexcoders] Re: programmatically using RemoteObject

2008-06-03 Thread valdhor
import mx.rpc.remoting.RemoteObject; import mx.rpc.events.FaultEvent; import mx.rpc.events.ResultEvent; private var myRemoteObject :RemoteObject = new RemoteObject(); myRemoteObject .destination = genericDestination; myRemoteObject .addEventListener(FaultEvent.FAULT, faultHandler);

[flexcoders] Re: HTTP request sending from IDE(Flex Builder) ERROR

2008-06-04 Thread valdhor
Have you checked the compiler settings for each project? Are they different? --- In flexcoders@yahoogroups.com, Vivian Richard [EMAIL PROTECTED] wrote: Thanks Tracy and all. Actually it worked for me all the time. But now as I copied one of my project's source code and created a

[flexcoders] Re: resizin button with the container Tile

2008-06-05 Thread valdhor
From memory (This is from the training from the source book) you need to use a constraint based layout. In other words, a component can be constrained to stay with a particular side of its parent by setting the top, left, bottom and/or right attributes. --- In flexcoders@yahoogroups.com,

[flexcoders] Re: how to keep slide thumb in hslide can not be dragged

2008-06-05 Thread valdhor
enabled = false? --- In flexcoders@yahoogroups.com, markflex2007 [EMAIL PROTECTED] wrote: Thanks Daniel But mouseEnabled = false doens't work. I hope the value of hslide can be changed with code and do not allow people to change it with draging the slide thumb in visual interface.

[flexcoders] Re: Flex access to Browser Properties

2008-06-05 Thread valdhor
Check out the ExternalInterface class - http://livedocs.adobe.com/flex/3/html/help.html?content=19_External_Interface_04.html --- In flexcoders@yahoogroups.com, grizalum [EMAIL PROTECTED] wrote: I am needing to know some basic information about the browser in which my app is

[flexcoders] Re: Using TitleWindow

2008-06-05 Thread valdhor
Check out FlexMDI (http://code.google.com/p/flexmdi/) --- In flexcoders@yahoogroups.com, kenny14390 [EMAIL PROTECTED] wrote: If I just have a TitleWindow component in my application, is there a way to allow it to be draggable as if it was a popup? I'm not using PopupManager to display the

[flexcoders] Re: Thinking about going to the dark side....Apple Mac Book

2008-06-06 Thread valdhor
Something that I have always noted is that the resale value of used Mac's tends to be a lot higher than a PC. After two years you can generally get 50% of what you paid back when you sell a Mac. With a PC, that value drops to 30% or less.

[flexcoders] Re: PDF into Flex

2008-06-06 Thread valdhor
You can if you are using AIR. From the manual... AIR applications can render not only SWF and HTML content but also PDF content. AIR applications render PDF content using the HTMLLoader class, the WebKit engine, and the Adobe Reader browser plug-in. --- In flexcoders@yahoogroups.com, Jon

[flexcoders] Re: Flex + WebORB for PHP, A very strage problem

2008-06-09 Thread valdhor
I just came across this myself and figured out the problem. PHP retrieved the data from my database and even though the entry in the database was boolean PHP (Because it is a loosely typed language) returned the entry as a string with the value of 0. When this was returned, Flex coerced this

[flexcoders] Re: Flex Css Html Css

2008-06-09 Thread valdhor
This is how I do it: I create an empty component named RepeatedBackgroundBox.mxml: ?xml version=1.0 encoding=utf-8? mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; width=100% height=100% /mx:VBox Next I create an AS file named RepeatedBackground.as: /* RepeatedBackground Use this

[flexcoders] Re: Flex Css Html Css

2008-06-09 Thread valdhor
This is how I do it: I create an empty component named RepeatedBackgroundBox.mxml: ?xml version=1.0 encoding=utf-8? mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; width=100% height=100% /mx:VBox Next I create an AS file named RepeatedBackground.as: /* RepeatedBackground Use this

[flexcoders] Re: changing AIR application width and height

2008-06-09 Thread valdhor
Here is a quick little demo you can look at: ?xml version=1.0 encoding=utf-8? mx:WindowedApplication xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ private function goFullScreen(event:MouseEvent):void {

[flexcoders] Re: changing AIR application width and height

2008-06-09 Thread valdhor
Here is a quick little demo you can look at: ?xml version=1.0 encoding=utf-8? mx:WindowedApplication xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ private function goFullScreen(event:MouseEvent):void {

[flexcoders] Re: Datagrid format row

2008-06-10 Thread valdhor
And, of course, the best blog on item renderers around: http://blogs.adobe.com/aharui/item_renderers/ --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: http://blog.mikenimer.com/index.cfm/2006/10/3/BackgroundRowColor-DataGrid-component -Josh On Tue, Jun 10, 2008

[flexcoders] Re: Wierd problem with Flex debugging

2008-06-10 Thread valdhor
To know that you don't have the debug player installed, you must have gone to this page: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15507 On this page, if you click on the Products Affected link and on this subsequent page click the Additional Downloads Link, you will be taken

[flexcoders] Re: DataGrid selection to populate another datagrid

2008-06-12 Thread valdhor
This blog post should give you a good start: http://blog.paranoidferret.com/index.php/2007/07/27/flex-friday-feature-datagrid-component/ --- In flexcoders@yahoogroups.com, Just give a guess... [EMAIL PROTECTED] wrote: Has anyone here written code that would update the data in another

[flexcoders] Re: Adding event to an image set as titleIcon property

2008-06-12 Thread valdhor
I do this all the time. I have two embedded images that are set as bindable (openNav and closeNav). The image source is dependent on a property named isOpen. I have attached a click handler to the image: mx:Image source={isOpen == false?(openNav):closeNav} useHandCursor=true buttonMode=true

[flexcoders] Re: Adding event to an image set as titleIcon property

2008-06-12 Thread valdhor
I do this all the time. I have two embedded images that are set as bindable (openNav and closeNav). The image source is dependent on a property named isOpen. I have attached a click handler to the image: mx:Image source={isOpen == false?(openNav):closeNav} useHandCursor=true buttonMode=true

[flexcoders] Re: My Web Service with soap headers code no longer work with Flex 3

2008-06-17 Thread valdhor
I work for the same kind of company - It is a real headache to get any kind of new software. I finally had to bite the bullet and pay for Charles personally. This piece of software is just too useful to do without. --- In flexcoders@yahoogroups.com, Mark [EMAIL PROTECTED] wrote: I don't have

[flexcoders] Re: closing and reopening windows in Air App

2008-06-17 Thread valdhor
According to the NativeWindow documentation (Window is a subclass of NativeWindow ), Closed windows cannot be reopened. If the window is already closed, no action is taken and no events are dispatched. Try this instead: private var AboutWin:AboutWindow = null; private

[flexcoders] Re: FlexBook - a couple of questions

2008-06-17 Thread valdhor
Go to http://demo.quietlyscheming.com/book/app.html and download the source. The demo allows you to jump to any page you wish. The function you are probably looking for is turnToPage. From what I can see _turnDuration is the property that sets the page turn speed. It does not appear to be exposed

[flexcoders] Re: Combobox, not be able to update mysql on second time.

2008-06-17 Thread valdhor
It works for me. Have you checked the data that is arriving from your PHP script? Maybe something like Charles could help you out. --- In flexcoders@yahoogroups.com, nash.e2008 [EMAIL PROTECTED] wrote: hi, my name is Jamie, newbie of flex. Im trying to get data from mysql using php. I

[flexcoders] Re: pass in a state name to a compoenet

2008-06-19 Thread valdhor
Just coerce the value (So long as someState is of type State): ns1:MyComponent theState={State(someState)} / --- In flexcoders@yahoogroups.com, dnk [EMAIL PROTECTED] wrote: Hi there... say I have a component like: ?xml version=1.0 encoding=utf-8? mx:Panel

[flexcoders] Re: HTTPService: Not Getting Fault Event When App Server Down

2008-06-19 Thread valdhor
requestTimeout? --- In flexcoders@yahoogroups.com, wwwpl [EMAIL PROTECTED] wrote: When our app server (tomcat) goes down while our Flex application is up, we are not getting the fault event error when making an HTTPService send call. We don't get a result either. We need to handle this

[flexcoders] Re: Passing Values between windows

2008-06-20 Thread valdhor
It may not be best practice but create a public variable in your main (WindowedApplication) file and then access it with Application.application.myPublicVariable. This can be a custom object if you need to have more data. --- In flexcoders@yahoogroups.com, bredwards358 [EMAIL PROTECTED] wrote:

[flexcoders] Re: calling and re-calling with httpservice

2008-06-24 Thread valdhor
Have you tried using Charles (Or another HTTP Proxy) to make sure another HTTPService call is actually being made? I must recommend using Charles for any server data exchange debugging - it is indispensable. Also, it appears that Flex packages up requests and sends them to the server together.

[flexcoders] Re: User loads CSV file

2008-06-24 Thread valdhor
Would this be for an AIR app or a web page? --- In flexcoders@yahoogroups.com, cox.blair [EMAIL PROTECTED] wrote: Hello everyone, I'm new here, so go easy on me. I'm essentially just beginning with Flex, needless to say, I'm ready to learn. Using Flex Builder 3. I've spent a few hours

[flexcoders] Re: line break in Actionscript variable

2008-06-24 Thread valdhor
public var text:String = How are you?\nI am fine. --- In flexcoders@yahoogroups.com, jovialrandor [EMAIL PROTECTED] wrote: I want to be able to display line breaks in an email template that i am seding out from flex. I want to be able to assign a line break in a variable assignment.

[flexcoders] Re: using mailto: in getURL

2008-06-24 Thread valdhor
http://www.ianr.unl.edu/internet/mailto.html --- In flexcoders@yahoogroups.com, jovialrandor [EMAIL PROTECTED] wrote: How do I add CC and BCC information in the following getURL Actionscript code? private function openEmail(email:String, role:String):void{ var url:String = mailto:; +

[flexcoders] Re: line break in Actionscript variable

2008-06-25 Thread valdhor
, role:String):void{ var url:String = mailto:; + email; var urlRequest : URLRequest = new URLRequest( url + ?subject=Role Use Requestbody=+text1); navigateToURL(urlRequest,_self); } it displays: How are you?I am fine --- In flexcoders@yahoogroups.com, valdhor stevedepp@ wrote

[flexcoders] Re: User loads CSV file

2008-06-25 Thread valdhor
PHP and MySQL for the database, if that helps as well. Thanks, Blair --- In flexcoders@yahoogroups.com, valdhor stevedepp@ wrote: Would this be for an AIR app or a web page? --- In flexcoders@yahoogroups.com, cox.blair cox.blair@ wrote: Hello everyone, I'm new here

[flexcoders] Re: User loads CSV file

2008-06-25 Thread valdhor
. It would be saved directly to the database, then be accessible via other modules of the application to trend the data into a graph. The application will just be a graphical version of the spreadsheet really. Thanks, --- In flexcoders@yahoogroups.com, valdhor stevedepp@ wrote: So, let me get

[flexcoders] Re: line break in Actionscript variable

2008-06-26 Thread valdhor
No, I don't believe so. Also, you are limited to 256 characters in the mailto string. Here is a useful tutorial on the mailto syntax: http://www.addressmunger.com/mailto_syntax_tutorial/ --- In flexcoders@yahoogroups.com, jovialrandor [EMAIL PROTECTED] wrote: Thanks valdhor, this is great

[flexcoders] Re: Best way to submit requests and receive responses to AMF server from non-flash?

2008-06-26 Thread valdhor
I have never seen this done but you could probably download WebORB and use its classes to serialize the data and then send a GET request to weborb.php. You would need to delve into the WebORB classes to figure out how it de/serializes data it receives and returns and then implement that in your

[flexcoders] Re: Weird Validate Binding problem

2008-06-26 Thread valdhor
I may be wrong but I didn't think you could use a binding with a function. Try removing the Date.parse function from your binding tag... mx:Binding source={birthdayTI.text} destination=tideContext.user.birthday/ --- In flexcoders@yahoogroups.com, hardaur55 [EMAIL PROTECTED] wrote: Hello all!

[flexcoders] Re: Sleep or Wait command

2008-06-26 Thread valdhor
As Flex is event based you should never have to use a wait/sleep. All you need to do is add an eventlistener to your HTTPService request. When the request returns the event fires and calls the appropriate function. --- In flexcoders@yahoogroups.com, timgerr [EMAIL PROTECTED] wrote: I am in

[flexcoders] Re: Setting unique ID with repeater and custom component

2008-06-27 Thread valdhor
I don't know about most people but I never need to know the id of a repeated item. All of the items I have in a repeater are instances of a specific object. This object has class members and functions and can do everything it needs to do on its own. If I need it to (Which is infrequent) each

[flexcoders] Re: How to Position a Popup relative to the control that invoked the popup?

2008-06-27 Thread valdhor
This should give you an idea: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=onCreationComplete(event) mx:Script ![CDATA[ import mx.controls.Button; import

[flexcoders] Re: Weird Validate Binding problem

2008-06-27 Thread valdhor
This may or may not help. It is a combination of the examples in the help for DateValidator and Binding: ?xml version=1.0 encoding=utf-8? !-- Simple example to demonstrate the DateValidator. -- mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script import

[flexcoders] Re: flex and automation

2008-06-27 Thread valdhor
Am I missing something. Can't you just set the headless server option? From the Manual: A headless server is one that is running UNIX or Linux and often does not have a monitor, keyboard, mouse, or even a graphics card. Headless servers are most commonly encountered in ISPs and ISVs, where

[flexcoders] Re: Using Datagrid Data

2008-06-30 Thread valdhor
It seems to me that the best idea is to use an arraycollection as the dataprovider for your datagrid. When your app receives the random number back it updates the arraycollection which, in turn, updates the datagrid. Now, when you need to send your email, just loop through the arraycollection

[flexcoders] Re: Problem running/debugging in Flex

2008-06-30 Thread valdhor
Older Flex projects would have compiled correctly and the SWF and HTML files created in the bin-debug folder. If you changed something in one of these projects, clicked run, got the error message and click proceed, Flex will not compile the SWF and will, instead, run the older SWF that did compile

[flexcoders] Re: Using Datagrid Data

2008-06-30 Thread valdhor
://www.themidnightcoders.com/weborb/php/gettingStarted.shtm) should get you up and running fairly quickly though. --- In flexcoders@yahoogroups.com, ghus32 [EMAIL PROTECTED] wrote: Thanks Valdhor for your response :) that will indeed work. In fact I am already doing the part with the array collection but the part

[flexcoders] Re: Popup - listening to close

2008-06-30 Thread valdhor
Makes sense to me. Basically, closing the popup just changes its visibility. The object is still available for reuse. Using the PopUpManager to remove a popup destroys the object and removes it from the display list. It hasn't just been closed, it's been blown away. --- In

[flexcoders] Re: Cannot access a property or method of a null object reference at mx.controls::Tree/::buildUpCollectionEvents()

2008-07-01 Thread valdhor
I don't use Flex 2.0.1 (I use Flex 3). I ran your app in Flex 3 and it works fine - ie. no exception is thrown. Could this be a bug in Flex 2.0.1? --- In flexcoders@yahoogroups.com, Sergey Kovalyov [EMAIL PROTECTED] wrote: Hi All! When I add a new item to the tree node and then open this

[flexcoders] Re: Pass a Run Time Composite Component to customize a Pop Up Form?

2008-07-02 Thread valdhor
This may or may not help: The following example uses FlexMDI (Now part of FlexLib - http://code.google.com/p/flexlib/). PopupExample.mxml: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical creationComplete=onCreationComplete(event)

[flexcoders] Re: Socket does not connect on FP9 r45

2008-07-02 Thread valdhor
I can't help you with your problem but do wonder why you felt the need to create your own socket system to implement JSON to PHP. AFAIK there are a number of solutions for this (eg. http://blog.paranoidferret.com/index.php/2007/08/24/flex-php-json-mysql-advanced-updating/). Also, WebORB with

[flexcoders] Re: Can no longer quit my AIR app

2008-07-02 Thread valdhor
Maybe you can add an event listener to the stage and look at keystrokes. If someone presses Apple-Q, dispatch a click event to the close box of the main window. --- In flexcoders@yahoogroups.com, Daniel Gold [EMAIL PROTECTED] wrote: AIR updated itself this morning, and now it seems I can no

[flexcoders] Re: Can no longer quit my AIR app

2008-07-02 Thread valdhor
but have you got Num Lock on, this I remember prevents using short cut keys? Cheers, Simon On 2 Jul 2008, at 15:04, valdhor wrote: Maybe you can add an event listener to the stage and look at keystrokes. If someone presses Apple-Q, dispatch a click event to the close box

[flexcoders] Re: Socket does not connect on FP9 r45

2008-07-02 Thread valdhor
you posted -- Yes, it is very easy to send JSON to PHP and get a JSON response -- we are doing this elsewhere. But HTTPService is, well, HTTP -- the server can't push data back to the client. Thanks! ~sean On Wed, Jul 2, 2008 at 7:42 AM, valdhor [EMAIL PROTECTED] wrote: I can't help

Re: [SPAM] [flexcoders] returning data from a perl script using httpservice

2008-07-02 Thread valdhor
Some things you may want to look at... AMF::Perlhttp://www.simonf.com/flap/ WebORB for .NEThttp://www.themidnightcoders.com/weborb/dotnet/ --- In flexcoders@yahoogroups.com, Cameron [EMAIL PROTECTED] wrote: I figured out my own answer if anyone is interested. The first part of the

[flexcoders] Re: Socket does not connect on FP9 r45

2008-07-02 Thread valdhor
want them to show up instantaneously. A 2 or 4 second poll per client, with each one accessing the database can get hairy pretty fast. Thanks ~sean On Wed, Jul 2, 2008 at 9:51 AM, valdhor [EMAIL PROTECTED] wrote: As far as I understand WebORB, it uses a pseudo push mechanism

[flexcoders] Re: Anyone familiar with CF-Flex remoting?

2008-07-03 Thread valdhor
var objectToSend:Object; objectToSend.userId = userId; objectToSend.filterObj = filterObj; var token:AsyncToken = ro.returnOrders(objectToSend); --- In flexcoders@yahoogroups.com, nwebb [EMAIL PROTECTED] wrote: Hi, I'd like to pass 2 arguments to a remote method called returnOrders.

[flexcoders] Re: Flex Drag Drop Tree Pull and push data into database

2008-07-03 Thread valdhor
1. Why JSON or XML? Have you checked out using Value Objects and WebORB? 2 3. I have not worked with drag/drop or tree's as yet. Maybe someone else can lend a hand here. --- In flexcoders@yahoogroups.com, timgerr [EMAIL PROTECTED] wrote: Hello all, I am working on a project that is using

[flexcoders] Re: Anyone familiar with CF-Flex remoting?

2008-07-03 Thread valdhor
PROTECTED] wrote: Thanks yeah that's the solution we're using, but I'm interested to know, should that be necessary or should we be able to send 2 arguments in to a remoting method? On Thu, Jul 3, 2008 at 2:34 PM, valdhor [EMAIL PROTECTED] wrote: var objectToSend:Object

[flexcoders] Re: What is best way to get data from MySQL database?

2008-07-08 Thread valdhor
Just as an adjunct to this, I used to use AMFPHP but have since moved to WebORB 3.0. This was due primarily to reliability. If you install the AMF module for AMFPHP (AMFEXT http://www.teslacore.it/wiki/index.php?title=AMFEXT), then AMFPHP runs about ten times faster. WebORB 3.0 is now about as

[flexcoders] Re: Creating a hyperlink mailto in advanced data grid

2008-07-08 Thread valdhor
The problem is that anything inside your mx:Component tags are in a different scope to the rest of the items in the file. You have one component trying to talk to another component but it can't because the function is private to the first component. One fix is to make the function public so that

[flexcoders] Re: Want to remove month Navigation buttons from DateChooser control

2008-07-08 Thread valdhor
Check the help... mx:DateChooser nextMonthSkin={null} prevMonthSkin={null} selectedDate={new Date()}/ --- In flexcoders@yahoogroups.com, mazhar iqbal [EMAIL PROTECTED] wrote: HI,   I recently join this group and hope to have a good professional relation. I am new in Flex development

[flexcoders] Re: Flex3 WebService problem?

2008-07-08 Thread valdhor
I haven't done much with Flex's WebService stuff but one of these might work... mx:WebService id=contextRegistryService showBusyCursor=true wsdl={_webServiceBaseUrl}runtime/ContextRegistryService?WSDL useProxy=false mx:operation name=register

[flexcoders] Re: Question: need flex to read text files on another server and display in textArea

2008-07-09 Thread valdhor
I don't know if it's the best way but the way I would do it is with a value object and WebORB. Just read the file in, place the contents into the value object and send it to Flex as a remote object. --- In flexcoders@yahoogroups.com, Body Works Studio [EMAIL PROTECTED] wrote: Hello All, I

[flexcoders] Re: Newbie Nested Remote Object Question

2008-07-09 Thread valdhor
Caveat: I use PHP with WebORB but I have done a lot of C++ in the past. So, to get this straight, you have a value object with a property that contains another value object, right? Try... (project.summary as Summary).budget or Summary(project.summary).budget --- In

[flexcoders] Re: Trouble passing values to a child window

2008-07-09 Thread valdhor
I think it's a timing issue. Try this... ?xml version=1.0 encoding=utf-8? mx:WindowedApplication xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ public var theNote:noteWindow; //** popup selected note public

[flexcoders] Copied project gives security sandbox violation

2008-07-10 Thread valdhor
I have a completed project that is working fine. As a shortcut to building a new project I thought I would copy and paste the entire project and give it a new name. Once this was complete and compiled it gives me a security sandbox violation for every remote call. Cleaning the project has no

[flexcoders] Re: Newbie Nested Remote Object Question

2008-07-10 Thread valdhor
and tutorials about accessing java objects would be a great help to. Thanks for your patience, Adam --- In flexcoders@yahoogroups.com, valdhor stevedepp@ wrote: Caveat: I use PHP with WebORB but I have done a lot of C++ in the past. So, to get this straight, you

[flexcoders] Re: TextInput Reskin = runtime Error! ??

2008-07-10 Thread valdhor
We will need to see what assets.css looks like before we can venture an opinion. --- In flexcoders@yahoogroups.com, nathanpdaniel [EMAIL PROTECTED] wrote: I'm working on an app that's been reskinned. When I use a TextInput inside an Accordian, it causes the app to act funny. I've posted

[flexcoders] Re: Copied project gives security sandbox violation

2008-07-10 Thread valdhor
PROTECTED] wrote: On Jul 10, 2008, at 8:36 AM, valdhor wrote: Once this was complete and compiled it gives me a security sandbox violation for every remote call. Cleaning the project has no effect. Did you per chance modify the compiler options for the first project? I might've seen

[flexcoders] Re: Copied project gives security sandbox violation

2008-07-10 Thread valdhor
=false It worked for me. --- In flexcoders@yahoogroups.com, valdhor stevedepp@ wrote: No, the compiler options are the same for both projects (-locale en_US -services services-config.xml). Adding -use-network=true to the compiler options makes no difference. Any other ideas

[flexcoders] Re: Copied project gives security sandbox violation

2008-07-10 Thread valdhor
[mailto:[EMAIL PROTECTED] On Behalf Of valdhor Sent: Thursday, July 10, 2008 11:00 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Copied project gives security sandbox violation No, the compiler options are the same for both projects (-locale en_US -services services

[flexcoders] Re: Copied project gives security sandbox violation

2008-07-10 Thread valdhor
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of valdhor Sent: Thursday, July 10, 2008 2:11 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Copied project gives security sandbox violation All this does

[flexcoders] Re: Launching Flex Builder Help

2008-07-10 Thread valdhor
I don't think so. It looks like the help is an eclipse plugin that uses a java front end. The actual help files (HTML) are in a zipped archive. You can find them at... C:\Program Files\Adobe\Flex Builder 3\plugins\com.adobe.flexbuilder.help_3.0.194161\doc.zip --- In

[flexcoders] Re: Component ClickEvent weirdness

2008-07-10 Thread valdhor
When you click a button, you generate a mouseEvent, so your function should look like... private function onHelpClicked(event:MouseEvent):void and your button should take this into account... help:HelpButton click=onHelpClicked(event) / event is one of those keywords that Flex automatically

[flexcoders] Re: AS3 function returning true when it only can be false

2008-07-14 Thread valdhor
All that means is that ColdFusion is returning a boolean. When it goes across the pipe and is returned to Flex, it may be a different type altogether. I would suggest using an HTTP Proxy like Charles (www.charlesproxy.com) to see exactly what is being returned over the pipe. As an aside, I find

[flexcoders] Re: Form Processing with Flash/Flex

2008-07-14 Thread valdhor
The Adobe Livedocs at http://livedocs.adobe.com/flex/3/html/help.html?content=layouts_08.html runs you through everything required. --- In flexcoders@yahoogroups.com, brucewhealton [EMAIL PROTECTED] wrote: Hello all, I've recently gotten a good handle on using the spry framework in

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