[flexcoders] Re: DataGrids and ViewStacks

2009-01-10 Thread Amy
--- In flexcoders@yahoogroups.com, "Tracy Spratt" wrote: > > Whenerver I hear "ViewStack problem", I think "deferred instantiation". > > > > But if the DG is showing rows, then that is probably not the issue. Are > you doing anything clever, like dynamically building the DG columns? > >

Re: [flexcoders]How do I get the key of an Object?

2009-01-10 Thread Nate Beck
If you're trying to compare one object to... the "same object", you can use the strict equality operator (===) http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary044.html "Variables, objects, arrays, and functions are compared by reference. Two variabl

Re: [flexcoders]Need help creating a Singleton with MXML

2009-01-10 Thread dorkie dork from dorktown
Yay! That's the class I needed! :) To answer your question why. First I like to use MXML. Any tool can parse XML. Plus, with this class, I plan to drop it into all my future project and set properties on it. If I had more than one instance it would screw up the application. Other classes use some

Re: [flexcoders]How do I get the key of an Object?

2009-01-10 Thread dorkie dork from dorktown
Graduate from hogwarts. I was thinking of comparing it to another object to see if I had a match. I suppose I could evaluate if (this=objectiamlookingfor). The problem is the object is on the application and the object extends EventDispatcher. If it extended DisplayObject I could enumerate all the

[flexcoders] Re: Flash Remoting Options

2009-01-10 Thread Amy
--- In flexcoders@yahoogroups.com, Alan Klement wrote: > > What version PHP does your shared hosting have? > > I can't run AMFPHP on my shared hosting 'cause they use PHP version > 5.2.2. adn AMFPHP default needs 5.2.3. 4.something. Any options for earlier php versions? Thanks; Amy

Re: [flexcoders]How do I know if a class is on the Application?

2009-01-10 Thread dorkie dork from dorktown
It's a manager class that extends EventDispatcher. On Sat, Jan 10, 2009 at 12:17 AM, Haykel BEN JEMIA wrote: > What do you mean with "on the application"? > If you mean added to the stage, then you can't find this out in the > constructor. Make sure your class is a subclass of DisplayObject and

[flexcoders] Re: Make Enter work as Tab in Flex DataGrid

2009-01-10 Thread Sergey Snovsky
Any ideas, please? --- In flexcoders@yahoogroups.com, "Sergey Snovsky" wrote: > > Hello! > > I'm trying to make Enter work the same as Tab in a DataGrid - commit > changes to the edited cell and move focus to the next one to the > right, then next row, etc. > > I've tried to use something li

[flexcoders] Re: Datagrid columns autosize

2009-01-10 Thread Amy
--- In flexcoders@yahoogroups.com, "Doug McCune" wrote: > > But doing some pretty simple calculations based on data type is easy. For > example, if you know a field is a date and you want to display the full date > and time string, you know how wide that needs to be. Or if a field is a > phone

Re: [flexcoders] DataGrid selectAll problem

2009-01-10 Thread Glenn Jones
I started with the example from your blog dated Feb 2008 (CheckBoxListAndDataGrid). To deselect the other rows, the checkbox column header renderer calls a 'selectAll()' method on the CheckBoxDataGrid with a flag of false. That method builds two arrays - one for all items in the collection and o

Re: [flexcoders] Flash Remoting Options

2009-01-10 Thread Alan Klement
What version PHP does your shared hosting have? I can't run AMFPHP on my shared hosting 'cause they use PHP version 5.2.2. adn AMFPHP default needs 5.2.3. Alan On Jan 10, 2009, at 2:43 PM, Amy wrote: but when I uploaded it to my web host, the Service Browser for AMFPHP wouldn't work.

[flexcoders] Re: Generating random colors, excluding others

2009-01-10 Thread sunild999999
--- In flexcoders@yahoogroups.com, "gr33neye501" wrote: > > Hi guys > > I'm trying to generate a series of random colours, but would like to > exclude certain colour and closely related shade. > > For example, i'd like create any colours except red or similar shades. > Anyone know of how I coul

[flexcoders] Re: Generating random colors, excluding others

2009-01-10 Thread sunild999999
--- In flexcoders@yahoogroups.com, "gr33neye501" wrote: > > Hi guys > > I'm trying to generate a series of random colours, but would like to > exclude certain colour and closely related shade. > > For example, i'd like create any colours except red or similar shades. > Anyone know of how I could

[flexcoders] Flash Remoting Options

2009-01-10 Thread Amy
Hi, all; I built a great little example file using AMFPHP. It works great on my local installation of WampServer, but when I uploaded it to my web host, the Service Browser for AMFPHP wouldn't work. I contacted my host, and they said that was because my hosting is Windows (which I did on pur

Re: [flexcoders] recompiling framework shared library?

2009-01-10 Thread Doug McCune
oh, ha, I thought that was the original poster asking that. My bad. On Sat, Jan 10, 2009 at 10:49 AM, Doug McCune wrote: > yup, that would work just fine > > > On Sat, Jan 10, 2009 at 10:00 AM, Sam Lai wrote: > >> Could you subclass that class and make the changes there? That way you >> don't

Re: [flexcoders] recompiling framework shared library?

2009-01-10 Thread Doug McCune
yup, that would work just fine On Sat, Jan 10, 2009 at 10:00 AM, Sam Lai wrote: > Could you subclass that class and make the changes there? That way you > don't need to change the Flex class, and hence the RSL. > > 2009/1/10 luvfotography > > >: > > > Hi, I've made a change to mx.controls.vi

RE: [flexcoders] Get html source code of mx.controls.HTML control (AIR)

2009-01-10 Thread Jim Hayes
yourHtmlComponentInstance.htmlLoader.window.document.documentElement.outerHtml (probably!) -Original Message- From: flexcoders@yahoogroups.com on behalf of thedauntless_ff Sent: Sat 10/01/2009 15:42 To: flexcoders@yahoogroups.com Subject: [flexcoders] Get html source code of mx.controls.

Re: [flexcoders] recompiling framework shared library?

2009-01-10 Thread Sam Lai
Could you subclass that class and make the changes there? That way you don't need to change the Flex class, and hence the RSL. 2009/1/10 luvfotography : > Hi, I've made a change to mx.controls.videoClasses.VideoPlayer.as and > placed it in my 'src' folder under the folders 'mx', then 'controls', >

Re: [flexcoders] Custom Tree Item Renderer

2009-01-10 Thread Dan Vega
Tracy you are genius! :) Are there cases like this where you just need to do this or is it bad practice? Thank You Dan Vega danv...@gmail.com http://www.danvega.org

Re: [flexcoders] Custom Tree Item Renderer

2009-01-10 Thread Dan Vega
Thats exactly what I am looking for, a way to access public variables from within the custom item renederer. Thank You Dan Vega danv...@gmail.com http://www.danvega.org On Fri, Jan 9, 2009 at 5:27 PM, Tracy Spratt wrote: >I am not exactly sure what you are trying to do. Are you trying to

[flexcoders] Get html source code of mx.controls.HTML control (AIR)

2009-01-10 Thread thedauntless_ff
Hi, Situation: I've loaded a webpage into the control and it displays just fine. What I want now, is the sourcecode of the loaded document, without loading the document again. Is this possible ? I found this tutorial: http://labs.adobe.com/wiki/index.php/Apollo:Articles:Using_HTML_in_Flex-based_

[flexcoders] Error: Access of undefined property

2009-01-10 Thread freak182
Hello, It just kinda weird that i encounter and here is the cscenario: I create a StringUtils.as; package com.buspinoy.utils { public class StringUtils { public static function isEmpty(str:String):Boolean { return

[flexcoders] Timer Solution

2009-01-10 Thread vinod kumar
i am working with video. I know the framerate of a video.My problem is, if the framerate is 15 the value have to be shown every second. That is for every second value 1 to 15 has to be displayed. How to do this. Please help me Connect with friends all over the world. Get Yahoo! India Me

Re: [flexcoders] Cairngorm and ChangeWatcher

2009-01-10 Thread claudiu ursica
http://weblogs.macromedia.com/auhlmann/archives/2007/02/creating_a_popu.html#more This should give you some directions... Claudiu From: lampei To: flexcoders@yahoogroups.com Sent: Saturday, January 10, 2009 1:34:25 AM Subject: [flexcoders] Cairngorm and Chang

Re: [flexcoders]How do I get the key of an Object?

2009-01-10 Thread Paul Andrews
- Original Message - From: dorkie dork from dorktown To: flexcoders@yahoogroups.com Sent: Saturday, January 10, 2009 5:54 AM Subject: [flexcoders]How do I get the key of an Object? Whilst I'm debugging I see this key or id in next to each instance name: com.flexcapacitor