[flexcoders] Re: Query Cleansing

2005-08-18 Thread Andrew Spaulding
Hey Scott,

I had to deal with a similar scenario a while ago and posted a
solution on flexdaddy

http://www.flexdaddy.info/2005/06/16/strongly-type-a-cf-return-using-cairngorm/

Let me know if that is what you're kinda after ;-)

Cheers,

Andrew Spaulding
www.flexdaddy.info



--- In flexcoders@yahoogroups.com, Scott Barnes <[EMAIL PROTECTED]> wrote:
> I've come across a small annoyance (easily fixed) but one that kind of
> triggered an initial "extra" level of development.
> 
> Basically I went down the path of returning a query from a CFC to
> FLEX. Nothing overly exciting about that. Except the property
> "character casing" popped its ugly head up the moment I switch my
> SELECT xyz to SELETC xYZ.
> 
> Suddenly a basic Datagrid i was using appeared blank.
> 
> I've since stopped that, and basically "cleanses" the dataproviders
> via my commands..
> ie:
> onResult = iterate over the queryset, create an array of VO per
> queryRow while forcing each initial property key to be uppercase..
> 
> basically its a "cleansing" procedure before storing that data for
> re-use through out my views / shared dataproviders etc.
> 
> Has anyone else done this? what techniques have been implemented? as
> its quite annoying to have mixed results from CFMX to FLEX in terms of
> data (especially when querys and structs are concerned).
> 
> What are some best practices in terms of using Remote Object /
> Recordsets with frameworks  like Cairngorm (which i'm presently using)
> 
> -- 
> Regards,
> Scott Barnes
> http://www.mossyblog.com




 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hsosrad/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124441491/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Query Cleansing

2005-08-18 Thread Dirk Eismann
Hi Scott,

we usually go a different route here. It turns out to be totally transparent 
and if implemented correctly then your Flex app will be able to work with 
either CF or any custom J2EE soultion that returns POJOs or collections thereof

- we have a facade.cfc that wraps calls to the underlying CF business logic 
(either encapsulated inside CFCs or some legacy CFML files)

- the facade.cfc is the one single point Flex connects to and exposes remote 
functions 

- any business logic that returns cfquery (or any other strictly CF "data 
type") gets routed through a data type converter cfc before we send it back to 
Flex

- the data type converter converts queries into an array of 
flashgateway.io.ASObject instances with a specific type so it matches with our 
AS VOs (as they all do Object.registerClass() the same way you would do por 
AS->POJO mapping)

The same works the other way round: custom AS VO instances passed over to CF 
get inspected for their type and get turned into something different if 
necessary.

This removes the need to apply unnecessary "extra care" to objects retrieved 
form CF inside the Flash Player and keeps VO generation where it belongs.

Dirk.


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott 
Barnes
Sent: Friday, August 19, 2005 8:11 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Query Cleansing

I've come across a small annoyance (easily fixed) but one that kind of 
triggered an initial "extra" level of development.

Basically I went down the path of returning a query from a CFC to FLEX. Nothing 
overly exciting about that. Except the property "character casing" popped its 
ugly head up the moment I switch my SELECT xyz to SELETC xYZ.

Suddenly a basic Datagrid i was using appeared blank.

I've since stopped that, and basically "cleanses" the dataproviders via my 
commands..
ie:
onResult = iterate over the queryset, create an array of VO per queryRow while 
forcing each initial property key to be uppercase..

basically its a "cleansing" procedure before storing that data for re-use 
through out my views / shared dataproviders etc.

Has anyone else done this? what techniques have been implemented? as its quite 
annoying to have mixed results from CFMX to FLEX in terms of data (especially 
when querys and structs are concerned).

What are some best practices in terms of using Remote Object / Recordsets with 
frameworks  like Cairngorm (which i'm presently using)

--
Regards,
Scott Barnes
http://www.mossyblog.com



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12heuegne/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124441123/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Changing the wrongLengthError in a DateValidator

2005-08-18 Thread Matt Chotin










The field in 1.x is abstracted away from the
validator so that it’s really only working with the value.  Because of
the way Validators are generated there isn’t even really a field property
on the Validator, it’s just a code-gen construct that is used to register
the Validator in a larger system.  2.0 should give you more exposure to that.

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Kai König
Sent: Thursday, August 18, 2005
6:51 AM
To: Mika Kiljunen
Subject: Re: [flexcoders] Changing
the wrongLengthError in a DateValidator



 

Mika,

thx, this is a very helpful one.

Today I ran into another one, I was trying to
access the field
attribute of a validator inside the class, got an
undefined all the
time. The docs states that the field propery is
not to be set in
ActionScript, is it not accessable at all?

app.mxml:



inside of MyOwnValidator.as:

class MyOwnValidator extens
mx.validators.EmailValidator
{
  public var myfield
= ??? ;
  ...
}


Cheers
Kai


MK> Oops, this is the problem I was trying to
answer to. Sorry folks about the
MK> previous post... :)

MK> Class MyDateValidator extends
mx.validators.DateValidator
MK> {
MK> public function
validationError(errorCode:String,
MK> defaultMessage:String,subfield:String):Void
MK> {
MK>   
If (errorCode == “wrongLength”)
MK> 
defaultMessage = yourTranslatedMessage;

MK>   
super.validationError(errorCode, defaultMessage, subfield);
MK> }
MK> }

MK> Only thing you need to do is catch the
wrongLength error and re-write the
MK> error message yourself.

MK> -Mika

MK> -Original Message-
MK> From: flexcoders@yahoogroups.com
MK> [mailto:flexcoders@yahoogroups.com]
On
MK> Behalf Of Kai König
MK> Sent: 17. elokuuta 2005 16:56
MK> To: flexcoders@yahoogroups.com
MK> Subject: [flexcoders] Changing the
wrongLengthError in a DateValidator

MK> Hi all,

MK> another validator-related question:

MK> Having to validate for a date using a
DateValidator, the requirements
MK> are to just deliver one validation message
if the validation fails.
MK> Following the concept, I'd have to add a
long list of attributes to my
MK> validator call, as in:

MK> 
MK>  
invalidFormatCharsError="blabla" ... />

MK> So we thought it might be nice to subclass
the DataValidator and to
MK> define a defaultErrorMessage which we can
pass into our own validator
MK> class and internally, the class is
responsible to overwrite the values
MK> of the pre-defined errors.

MK> Works quite good, BUT doesn't work for
wrongLengthError. The docs
MK> state:

>>Error message when the length of the date
doesn't match that of the
>>inputFormat. Default is "Please type
the date in the format
>>inputFormat.".

MK> That means the default error might be
something like:
MK> "Please...format mm/dd/"

MK> As far as I understand, I'd expect to be
able to overwrite the default
MK> with anything I like, but regardless to
what I set the value for
MK> wrongLengthError, Flex always adds the
value of inputFormat to my
MK> error message - I end up with something
like

MK> "This is my errortext and I want you
to type it correct mm/dd/"

MK> This is especially annoying with localized
error messages in which the
MK> inputFormat has to be at another place
within the error message by
MK> grammar: "Bitte nutzen Sie das Format
dd.mm. in diesem Feld".

MK> Is there a way to get rid of the automatic
concatenation of the
MK> inputFormat within the wrongLengthError of
this validator?

MK> Cheers
MK> Kai









MK> --
MK> Flexcoders Mailing List
MK> FAQ:
MK> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
MK> Search Archives:
MK> http://www.mail-archive.com/flexcoders%40yahoogroups.com

MK> Yahoo! Groups Links











MK> --
MK> Flexcoders Mailing List
MK> FAQ:
MK> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
MK> Search Archives:
MK> http://www.mail-archive.com/flexcoders%40yahoogroups.com

MK> Yahoo! Groups Links








-- 
Best regards,
Kai   
mailto:[EMAIL PROTECTED]









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] Query Cleansing

2005-08-18 Thread Scott Barnes
I've come across a small annoyance (easily fixed) but one that kind of
triggered an initial "extra" level of development.

Basically I went down the path of returning a query from a CFC to
FLEX. Nothing overly exciting about that. Except the property
"character casing" popped its ugly head up the moment I switch my
SELECT xyz to SELETC xYZ.

Suddenly a basic Datagrid i was using appeared blank.

I've since stopped that, and basically "cleanses" the dataproviders
via my commands..
ie:
onResult = iterate over the queryset, create an array of VO per
queryRow while forcing each initial property key to be uppercase..

basically its a "cleansing" procedure before storing that data for
re-use through out my views / shared dataproviders etc.

Has anyone else done this? what techniques have been implemented? as
its quite annoying to have mixed results from CFMX to FLEX in terms of
data (especially when querys and structs are concerned).

What are some best practices in terms of using Remote Object /
Recordsets with frameworks  like Cairngorm (which i'm presently using)

-- 
Regards,
Scott Barnes
http://www.mossyblog.com


 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hpaflto/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124439082/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Is it possible to return multiple recordsets to Flex from one Remote Object call

2005-08-18 Thread Mika Kiljunen










Why not return an arrray containing recordsets
and then setting the recordsets from the array as dataproviders to your
controls by actionscript as follows:

 

resultArray looks like:

    [0] Recordset1 (an array of
resultobjects from query 1)

    [1] Recordset2 (an array of
resultobjects from query 2)

    [2] Recordset3 (an array of
resultobjects from query 3)

    ….

 

And:

 myGrid.dataProvider
= resultArray[0];

    myOtherGrid.dataProvider =
resultArray[1];

    …

 

 

-Mika

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of coldfs
Sent: 19. elokuuta 2005 3:40
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Is it
possible to return multiple recordsets to Flex from one Remote Object call



 

Hi,

My Flex app connects to a large ColdFusion
application.  When I make 
calls from Flex via RO to CF, I need to return
more than one 
recordset in order to populate my various
datagrids.  I know how to 
return one recordset as an Array of Structures,
but what if I have 5 
different querries that have 5 different
recordsets.  How does one 
deal with this?

Many thanks for any clarification one can give.

Darius












--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] Re: DepthManager

2005-08-18 Thread Rajesh Jayabalan
Hi Jester,

 It does work,

 But I can do that only when I (in code) move the window up, but if
the window comes up due to user action if the user clicks on the
window title, I cannot set it.

Regards
Rajesh J
--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
> Wow... so if you do:
> 
> yourMenu.setDepthAbove(yourTitleWindow);
> 
> It doensn't work?
> 
> - Original Message - 
> From: "Rajesh Jayabalan" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, August 18, 2005 7:41 PM
> Subject: [flexcoders] Re: DepthManager
> 
> 
> Hi Jester,
> 
>  I am using menubar and menu even for these you can use setdepthabove
> and pass a titlewindow object. I am doing this whenever I can (user
> selects a window from the window menu) but I cannot set this when the
> user clicks on the window titlebar, in those cases the window is above
> the menu and menubars.
> 
> Rajesh J
> 
> --- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
> > Popups use a depth that is usually set aside for things that are
modal.
> > Menus' and ComboBox menus tend to go under that so already you can
> see the
> > problem.
> >
> > If you are using Menu, not MenuBar, I'm not sure but you may be-able
> to put
> > that in a PopUp too?
> >
> > - Original Message - 
> > From: "Rajesh Jayabalan" <[EMAIL PROTECTED]>
> > To: 
> > Sent: Thursday, August 18, 2005 2:53 PM
> > Subject: [flexcoders] Re: DepthManager
> >
> >
> > Hi,
> >
> >  I am doing something similar now, since I am maintaining a list of
> > all the windows, I can go thru them and findout which one is on top
> > currently and use the setabovemethod. Using this sometimes windows
> > blackout, and the control is in a different window, and I will need to
> > start fresh.
> >
> >  Also the menu and menubar in the application are appearing below the
> > windows, everytime the window is moved up by me in code (use
> > setdepthabove) I can set the menu and menubar above this (unneceaary
> > should have been the default behaviour) but I cannot control the menu
> > depth when user clicks on the tile of the window.
> >
> > Rajesh J
> >
> > --- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
> > > There are other lower-level ways.
> > >
> > > The way I've handled in the past was to keep a member variable
> > pointing to
> > > the highest window, and then do something like:
> > >
> > > clickedPanel.setDepthAbove(highestPanel);
> > > highestPanel = clickedPanel;
> > >
> > >
> > > - Original Message - 
> > > From: "Rajesh Jayabalan" <[EMAIL PROTECTED]>
> > > To: 
> > > Sent: Thursday, August 18, 2005 1:22 PM
> > > Subject: [flexcoders] Re: DepthManager
> > >
> > >
> > > Hi Jester,
> > >
> > >  I am using popupmanager to create my titlewindows.. (how do I
create
> > > windows without them??)
> > >
> > > Regards
> > > Rajesh J
> > >
> > > --- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
> > > > I dug back to the first message; sounds like he has a TitleWindow
> > being
> > > > created without PopUpManager, and inside a container.  In that
case,
> > > depth
> > > > shouldn't be a question, but rather implementation.  Things in
> > > containers
> > > > can't change depth to any higher since they are in a
container, and
> > > their
> > > > container's depth pretty much dictates their z drawing index
on that
> > > stack.
> > > >
> > > > If you want to use true windows, look into PopUpManager without
> > > modality.
> > > >
> > > > - Original Message - 
> > > > From: "Theodore E Patrick" <[EMAIL PROTECTED]>
> > > > To: 
> > > > Sent: Wednesday, August 17, 2005 2:21 AM
> > > > Subject: RE: [flexcoders] Re: DepthManager
> > > >
> > > >
> > > > The window may be on a different branch of the display list. This
> > > depends on
> > > > the hierarchy of your MXML file and how the controls are
> > instantiated at
> > > > runtime.
> > > >
> > > > Have the window and the menu trace these values:
> > > >
> > > > trace( menu )
> > > > trace( window )
> > > >
> > > > You will see a resulting path something like:
> > > >
> > > > _level0.application.blah.blah.blah.menu
> > > > _level0.application.blah.blah.window
> > > >
> > > > If the two items are at the same level, then this is a depth
issue.
> > > > Otherwise I would bet dollars to donuts that they are on different
> > > paths.
> > > >
> > > > My 2 Cents,
> > > >
> > > > Ted ;)
> > > >
> > > >
> > > >
> > > > > -Original Message-
> > > > > From: flexcoders@yahoogroups.com
> > > [mailto:[EMAIL PROTECTED] On
> > > > > Behalf Of Rajesh Jayabalan
> > > > > Sent: Tuesday, August 16, 2005 10:46 PM
> > > > > To: flexcoders@yahoogroups.com
> > > > > Subject: [flexcoders] Re: DepthManager
> > > > >
> > > > > Hi,
> > > > >
> > > > >  I tried that, it does not work, the window still is showing on
> > top of
> > > > > the menu.
> > > > >
> > > > > Rajesh J
> > > > >
> > > > > --- In flexcoders@yahoogroups.com, "Theodore E Patrick"
<[EMAIL PROTECTED]>
> > > wrote:
>

Re: [flexcoders] After TitleWindow deletePopup(), nothing is accessible on screen

2005-08-18 Thread kreddington1
Does anyone have an example of how to use this removeWindow 
function?  I am trying to get my focus to work.  I placed this 
function in the app file and call it from an eventHandler.  The 
eventHandler gets dispatched in the titlewindow.  Obviously, this 
isn't the right place to call the removeWindow function since I 
can't seem to get the focus to work.

code excerpt:
function showPopUp(){
addressPop = TitleWindow
(PopUpManager.createPopUp(this, newAddress, true, initObj));
addressPop.centerPopUp
(parentDocument.mainSection);
addressPop.addEventListener
("addressReturned", this)
}

function handleEvent(evt:Object):Void {
removeWindow();
//does other stuff
}

function removeWindow()
{
doLater(addressPop, "deletePopUp");
}

--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
Bug.  Do something like this:

function removeWindow()
{
doLater(pop1, "deletePopUp");
}

For some reason, it needs a frame when the removal is triggered by 
an event 
dispatched from the popup.

- Original Message - 
From: "Jordan Snyder" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, June 29, 2005 8:02 PM
Subject: [flexcoders] After TitleWindow deletePopup(), nothing is 
accessible 
on screen


Hello,

I am using code to popup a TitleWindow from the main 
.
 The window pops up fine, and seems to close fine, but after closing,
nothing on the screen can be clicked.  Nothing has focus, so 
rollovers
don't even work, and the only thing clickable is the Link that 
spawned
the popup window in the first place.

I'm using the code from the Flex documentation on popping up 
TitleWindows

function showScreen(screen:String) {
 pop1 = TitleWindow( popupWindow(NewProposalScreen, {title:'New
Proposal', closeButton:true, app: this }) );
}


Any ideas?  Seems to be a focus issue, but I'm a Flash Pro becoming a
Flex noob, so I can't figure out what to do next.

Thanks in advance for any help!

-- 
Jordan Snyder
Applications Developer
ImageAction, USA
http://www.imageaction.com


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
Yahoo! Groups Links
--- End forwarded message ---






 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hh0rv2d/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124422166/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] How to draw a line on the canves which is in the panel?

2005-08-18 Thread Prasad Dhananjaya

Dear all,

I want to draw some lines on the "canves". Location of canves is 
inside the "panel".Without canvas & panel tags it works.
(But if I set "backgroundColor" it didn't appear)
I tried to get some hint from manual.But failed.
 Can someone please tell me how to draw a line on the "canves" 
which is in the "panel", with setting of "backgroundColor".

Thanks
Prasad




http://www.macromedia.com/2003/mxml"; >


  
  








 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12h3fha2b/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124422020/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Accessing cells in a datagrid.

2005-08-18 Thread Tracy Spratt
Rather than loop over the datagrid cells after the fact, why not enable
disable the combobox during instantiation, in the setValue() method?
You have the data you need for the conditional, and you have a direct
reference to the control

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of thisdudenamedjon
Sent: Thursday, August 18, 2005 8:07 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Accessing cells in a datagrid.

I have a datagrid with various cellrenderer's in the different 
columns. One particular cellrenderer uses a combo box. I would like 
to conditionally enable/disable this combo box based on a particular 
field in my datagrid's dataprovider. Currently, I am using the 
following code to iterate through the rows and invoking a 
cellrenderer's method to enable/disable. 

However, I am encountering the problem where the rows array property 
has only length 7 (the visible rows in the datagrid) and anything 
else I access is undefined. I found this rows property using the 
Inspector component. Thus, I am only able to enable/disable the first 
7 (visible) rows in the datagrid and in the event that I have more 
than 7 rows in my datagrid, I don't know how to access the other rows.

// combobox is the 10th cellrenderer (cells[9].combo)
// 
// detail = parent omponent
// detailGrid = datagrid
// gridDp = datagrid dataprovider


// disables appropriate combo box
for(var i:Number = 0; i < gridDp.length; i++)
detail.detailGrid.rows[i].cells[9].combo.enabled = (gridDp
[i].timerecordTrcSequenceNumber > 499) ? true : false;


Is there a better way to do this? Any help would be greatly 
appreciated.

Jon Chiu








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 







 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12h6um9sg/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124421343/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Accessing cells in a datagrid.

2005-08-18 Thread thisdudenamedjon
I have a datagrid with various cellrenderer's in the different 
columns. One particular cellrenderer uses a combo box. I would like 
to conditionally enable/disable this combo box based on a particular 
field in my datagrid's dataprovider. Currently, I am using the 
following code to iterate through the rows and invoking a 
cellrenderer's method to enable/disable. 

However, I am encountering the problem where the rows array property 
has only length 7 (the visible rows in the datagrid) and anything 
else I access is undefined. I found this rows property using the 
Inspector component. Thus, I am only able to enable/disable the first 
7 (visible) rows in the datagrid and in the event that I have more 
than 7 rows in my datagrid, I don't know how to access the other rows.

// combobox is the 10th cellrenderer (cells[9].combo)
// 
// detail = parent omponent
// detailGrid = datagrid
// gridDp = datagrid dataprovider


// disables appropriate combo box
for(var i:Number = 0; i < gridDp.length; i++)
detail.detailGrid.rows[i].cells[9].combo.enabled = (gridDp
[i].timerecordTrcSequenceNumber > 499) ? true : false;


Is there a better way to do this? Any help would be greatly 
appreciated.

Jon Chiu







 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hsds7g9/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124420705/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Is it possible to return multiple recordsets to Flex from one Remote Object call

2005-08-18 Thread coldfs
Hi,

My Flex app connects to a large ColdFusion application.  When I make 
calls from Flex via RO to CF, I need to return more than one 
recordset in order to populate my various datagrids.  I know how to 
return one recordset as an Array of Structures, but what if I have 5 
different querries that have 5 different recordsets.  How does one 
deal with this?

Many thanks for any clarification one can give.

Darius






 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12h0i3810/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124420693/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Re: DepthManager

2005-08-18 Thread JesterXL
Wow... so if you do:

yourMenu.setDepthAbove(yourTitleWindow);

It doensn't work?

- Original Message - 
From: "Rajesh Jayabalan" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, August 18, 2005 7:41 PM
Subject: [flexcoders] Re: DepthManager


Hi Jester,

 I am using menubar and menu even for these you can use setdepthabove
and pass a titlewindow object. I am doing this whenever I can (user
selects a window from the window menu) but I cannot set this when the
user clicks on the window titlebar, in those cases the window is above
the menu and menubars.

Rajesh J

--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
> Popups use a depth that is usually set aside for things that are modal.
> Menus' and ComboBox menus tend to go under that so already you can
see the
> problem.
>
> If you are using Menu, not MenuBar, I'm not sure but you may be-able
to put
> that in a PopUp too?
>
> - Original Message - 
> From: "Rajesh Jayabalan" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, August 18, 2005 2:53 PM
> Subject: [flexcoders] Re: DepthManager
>
>
> Hi,
>
>  I am doing something similar now, since I am maintaining a list of
> all the windows, I can go thru them and findout which one is on top
> currently and use the setabovemethod. Using this sometimes windows
> blackout, and the control is in a different window, and I will need to
> start fresh.
>
>  Also the menu and menubar in the application are appearing below the
> windows, everytime the window is moved up by me in code (use
> setdepthabove) I can set the menu and menubar above this (unneceaary
> should have been the default behaviour) but I cannot control the menu
> depth when user clicks on the tile of the window.
>
> Rajesh J
>
> --- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
> > There are other lower-level ways.
> >
> > The way I've handled in the past was to keep a member variable
> pointing to
> > the highest window, and then do something like:
> >
> > clickedPanel.setDepthAbove(highestPanel);
> > highestPanel = clickedPanel;
> >
> >
> > - Original Message - 
> > From: "Rajesh Jayabalan" <[EMAIL PROTECTED]>
> > To: 
> > Sent: Thursday, August 18, 2005 1:22 PM
> > Subject: [flexcoders] Re: DepthManager
> >
> >
> > Hi Jester,
> >
> >  I am using popupmanager to create my titlewindows.. (how do I create
> > windows without them??)
> >
> > Regards
> > Rajesh J
> >
> > --- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
> > > I dug back to the first message; sounds like he has a TitleWindow
> being
> > > created without PopUpManager, and inside a container.  In that case,
> > depth
> > > shouldn't be a question, but rather implementation.  Things in
> > containers
> > > can't change depth to any higher since they are in a container, and
> > their
> > > container's depth pretty much dictates their z drawing index on that
> > stack.
> > >
> > > If you want to use true windows, look into PopUpManager without
> > modality.
> > >
> > > - Original Message - 
> > > From: "Theodore E Patrick" <[EMAIL PROTECTED]>
> > > To: 
> > > Sent: Wednesday, August 17, 2005 2:21 AM
> > > Subject: RE: [flexcoders] Re: DepthManager
> > >
> > >
> > > The window may be on a different branch of the display list. This
> > depends on
> > > the hierarchy of your MXML file and how the controls are
> instantiated at
> > > runtime.
> > >
> > > Have the window and the menu trace these values:
> > >
> > > trace( menu )
> > > trace( window )
> > >
> > > You will see a resulting path something like:
> > >
> > > _level0.application.blah.blah.blah.menu
> > > _level0.application.blah.blah.window
> > >
> > > If the two items are at the same level, then this is a depth issue.
> > > Otherwise I would bet dollars to donuts that they are on different
> > paths.
> > >
> > > My 2 Cents,
> > >
> > > Ted ;)
> > >
> > >
> > >
> > > > -Original Message-
> > > > From: flexcoders@yahoogroups.com
> > [mailto:[EMAIL PROTECTED] On
> > > > Behalf Of Rajesh Jayabalan
> > > > Sent: Tuesday, August 16, 2005 10:46 PM
> > > > To: flexcoders@yahoogroups.com
> > > > Subject: [flexcoders] Re: DepthManager
> > > >
> > > > Hi,
> > > >
> > > >  I tried that, it does not work, the window still is showing on
> top of
> > > > the menu.
> > > >
> > > > Rajesh J
> > > >
> > > > --- In flexcoders@yahoogroups.com, "Theodore E Patrick" <[EMAIL 
> > > > PROTECTED]>
> > wrote:
> > > > > The method MovieClip.swapDepths accepts both a MovieClip
> > instance and a
> > > > > number. One potential issue with usage of Number.MAX_VALUE
is that
> > > > there are
> > > > > not 1.79769313486231e+308 depths within the Flash Player. The
> error
> > > > has to
> > > > > do with the input data not that swapDepths does not accept
> number as
> > > > input.
> > > > >
> > > > > Try:
> > > > >
> > > > > menu.swapDepths( menu.getNextHighestDepth() )
> > > > >
> > > > > My 2 cents,
> > > > >
> > > > > Ted ;)
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > >

[flexcoders] Re: DepthManager

2005-08-18 Thread Rajesh Jayabalan
Hi Jester,

 I am using menubar and menu even for these you can use setdepthabove
and pass a titlewindow object. I am doing this whenever I can (user
selects a window from the window menu) but I cannot set this when the
user clicks on the window titlebar, in those cases the window is above
the menu and menubars.

Rajesh J

--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
> Popups use a depth that is usually set aside for things that are modal. 
> Menus' and ComboBox menus tend to go under that so already you can
see the 
> problem.
> 
> If you are using Menu, not MenuBar, I'm not sure but you may be-able
to put 
> that in a PopUp too?
> 
> - Original Message - 
> From: "Rajesh Jayabalan" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, August 18, 2005 2:53 PM
> Subject: [flexcoders] Re: DepthManager
> 
> 
> Hi,
> 
>  I am doing something similar now, since I am maintaining a list of
> all the windows, I can go thru them and findout which one is on top
> currently and use the setabovemethod. Using this sometimes windows
> blackout, and the control is in a different window, and I will need to
> start fresh.
> 
>  Also the menu and menubar in the application are appearing below the
> windows, everytime the window is moved up by me in code (use
> setdepthabove) I can set the menu and menubar above this (unneceaary
> should have been the default behaviour) but I cannot control the menu
> depth when user clicks on the tile of the window.
> 
> Rajesh J
> 
> --- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
> > There are other lower-level ways.
> >
> > The way I've handled in the past was to keep a member variable
> pointing to
> > the highest window, and then do something like:
> >
> > clickedPanel.setDepthAbove(highestPanel);
> > highestPanel = clickedPanel;
> >
> >
> > - Original Message - 
> > From: "Rajesh Jayabalan" <[EMAIL PROTECTED]>
> > To: 
> > Sent: Thursday, August 18, 2005 1:22 PM
> > Subject: [flexcoders] Re: DepthManager
> >
> >
> > Hi Jester,
> >
> >  I am using popupmanager to create my titlewindows.. (how do I create
> > windows without them??)
> >
> > Regards
> > Rajesh J
> >
> > --- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
> > > I dug back to the first message; sounds like he has a TitleWindow
> being
> > > created without PopUpManager, and inside a container.  In that case,
> > depth
> > > shouldn't be a question, but rather implementation.  Things in
> > containers
> > > can't change depth to any higher since they are in a container, and
> > their
> > > container's depth pretty much dictates their z drawing index on that
> > stack.
> > >
> > > If you want to use true windows, look into PopUpManager without
> > modality.
> > >
> > > - Original Message - 
> > > From: "Theodore E Patrick" <[EMAIL PROTECTED]>
> > > To: 
> > > Sent: Wednesday, August 17, 2005 2:21 AM
> > > Subject: RE: [flexcoders] Re: DepthManager
> > >
> > >
> > > The window may be on a different branch of the display list. This
> > depends on
> > > the hierarchy of your MXML file and how the controls are
> instantiated at
> > > runtime.
> > >
> > > Have the window and the menu trace these values:
> > >
> > > trace( menu )
> > > trace( window )
> > >
> > > You will see a resulting path something like:
> > >
> > > _level0.application.blah.blah.blah.menu
> > > _level0.application.blah.blah.window
> > >
> > > If the two items are at the same level, then this is a depth issue.
> > > Otherwise I would bet dollars to donuts that they are on different
> > paths.
> > >
> > > My 2 Cents,
> > >
> > > Ted ;)
> > >
> > >
> > >
> > > > -Original Message-
> > > > From: flexcoders@yahoogroups.com
> > [mailto:[EMAIL PROTECTED] On
> > > > Behalf Of Rajesh Jayabalan
> > > > Sent: Tuesday, August 16, 2005 10:46 PM
> > > > To: flexcoders@yahoogroups.com
> > > > Subject: [flexcoders] Re: DepthManager
> > > >
> > > > Hi,
> > > >
> > > >  I tried that, it does not work, the window still is showing on
> top of
> > > > the menu.
> > > >
> > > > Rajesh J
> > > >
> > > > --- In flexcoders@yahoogroups.com, "Theodore E Patrick" <[EMAIL 
> > > > PROTECTED]>
> > wrote:
> > > > > The method MovieClip.swapDepths accepts both a MovieClip
> > instance and a
> > > > > number. One potential issue with usage of Number.MAX_VALUE
is that
> > > > there are
> > > > > not 1.79769313486231e+308 depths within the Flash Player. The
> error
> > > > has to
> > > > > do with the input data not that swapDepths does not accept
> number as
> > > > input.
> > > > >
> > > > > Try:
> > > > >
> > > > > menu.swapDepths( menu.getNextHighestDepth() )
> > > > >
> > > > > My 2 cents,
> > > > >
> > > > > Ted ;)
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > >  The method swapDepths accepts a UIObject as a parameter and
> not a
> > > > number.
> > > > > >
> > > > > > Regards
> > > > > > Rajesh J
> > > > > >
> > > > > > --- In flexcoders@yahoogroups.com, "Philippe Maegerman"
> <[EMAIL PROT

RE: [flexcoders] Is there a simple way of doing this

2005-08-18 Thread Tracy Spratt










And don’t forget the “everything
but ^”, from the docs:

 

If the string
begins with ^, the string specifies the characters that may not be entered into
the control. For example, the string "^a-z" means all upper case letters
may be entered, but no lower case letters are allowed.

 

Tracy

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: Thursday, August 18, 2005
2:34 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Is there
a simple way of doing this



 









 





I think, also, there maybe some of the Validator classes
which offer an extra level of assurance and user feedback.





 





- Original Message - 



From: [EMAIL PROTECTED] 





To: flexcoders@yahoogroups.com






Sent: Thursday, August
18, 2005 2:27 PM





Subject: [flexcoders] Is
there a simple way of doing this







 





Making sure that when someone enters something in a textbox
that they can only enter numbers and that you can only type in numbers?





 











--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] How to programmatically select multiple items in a List control?

2005-08-18 Thread Tracy Spratt
Here is one way:
http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectID=252
Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bob 
Remeika
Sent: Thursday, August 18, 2005 5:04 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to programmatically select multiple items in a List 
control?

Does anybody know how to do this?  I would assume that it has
something to do with pushing an index on the selectedIndices property
but I have been unable to get it to work.  I am able to select a
single element by setting selectedIndex to a valid index though.  I do
also have multipleSelection="true" in my mxml.  Here is my function:

public function selectList(data:Object)
{
var optionGroupList:mx.controls.List = mx.controls.List(optionGroup);
var lastIndex:Number = optionGroupList.length;

//Echo.debug("selectList called with data: " + data + " " +
contentProvider.length);
for (var i:Number = 0; i < contentProvider.length; ++i)
{
//Echo.debug("selectList: " + contentProvider[i].data + " == " +
data);
if (contentProvider[i].data == data.toString()) {
Echo.debug("selecting " + i);
if (optionGroupList.selectedIndices == undefined)
optionGroupList.selectedIndex = i;
else
optionGroupList.selectedIndices.push(i);
//optionGroupList.selectedIndices[lastIndex++] = i;

//optionGroupList.selectedItems.push(contentProvider[i]);
//optionGroupList.selectedIndex = i;
}
}
mx.controls.Alert.show("selected indices: " +
optionGroupList.selectedIndices.length);
//optionGroupList.layoutChildren();
}







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 






 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hrfmiei/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124413457/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] How to programmatically select multiple items in a List control?

2005-08-18 Thread Bob Remeika
Does anybody know how to do this?  I would assume that it has
something to do with pushing an index on the selectedIndices property
but I have been unable to get it to work.  I am able to select a
single element by setting selectedIndex to a valid index though.  I do
also have multipleSelection="true" in my mxml.  Here is my function:

public function selectList(data:Object)
{
var optionGroupList:mx.controls.List = mx.controls.List(optionGroup);
var lastIndex:Number = optionGroupList.length;

//Echo.debug("selectList called with data: " + data + " " +
contentProvider.length);
for (var i:Number = 0; i < contentProvider.length; ++i)
{
//Echo.debug("selectList: " + contentProvider[i].data + " == " +
data);
if (contentProvider[i].data == data.toString()) {
Echo.debug("selecting " + i);
if (optionGroupList.selectedIndices == undefined)
optionGroupList.selectedIndex = i;
else
optionGroupList.selectedIndices.push(i);
//optionGroupList.selectedIndices[lastIndex++] = i;

//optionGroupList.selectedItems.push(contentProvider[i]);
//optionGroupList.selectedIndex = i;
}
}
mx.controls.Alert.show("selected indices: " +
optionGroupList.selectedIndices.length);
//optionGroupList.layoutChildren();
}






 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12h27drt5/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124412781/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Flex usability test...your help needed!

2005-08-18 Thread Kenneth Berger
Hello, 

We're currently working on making the next version of Flex the best it
can be, and we need your help!  We are inviting people to participate in
a usability study at Macromedia's main office at 601 Townsend Street in
San Francisco. Our offices are accessible by public transportation and
free garage parking is available.

Interested?  The sessions will take up to two hours, and you will
receive a cash gift of $150 or your choice of the following software:
Macromedia Dreamweaver 8, Flash 8, Fireworks 8, Contribute 3, Captivate,
or Freehand MX.  The new versions of Dreamweaver, Flash, and Fireworks
won't be available at the time of the study, but we'll get them to you
as soon as they're ready in September.

Please fill out the questionnaire below. If you don't hear back from us,
this means that the openings for this particular usability study have
been filled. We will keep your information on file, with your
permission, for future studies. Note that we don't share any personal
information you provide outside of Macromedia.

Thanks again...

Kenneth Berger

Macromedia Usability Team
Macromedia, Inc. | 601 Townsend Street | San Francisco | 94103

==

Please reply to [EMAIL PROTECTED] and type in between the brackets
to indicate your choices.

1. What is your level of experience with Macromedia Flex?  Please type
an "X" between the brackets to indicate the best choice.

[] I haven't used Flex
[] I've played with Flex, but haven't done any serious work 
[] I've walked through the Flex examples and experimented with the
components 
[] I've built a prototype or simple application using Flex 
[] I've partially built a complex application using Flex 
[] I've built one or more complex applications using Flex

2. How recently have you developed using Macromedia Flex?  Please type
an "X" between the brackets to indicate the best choice.

[] Today
[] Within the past week 
[] Within the past month 
[] Within the past three months 
[] Within the past year 
[] I haven't developed using Flex for one year or more

3. What editor do you use most frequently to develop Flex applications?
Please type an "X" between the brackets to indicate the best choice.

[] Flex Builder
[] Eclipse
   Please list which Eclipse plug-ins you use:  
[] emacs
[] IntelliJ
[] Textpad/Notepad/other basic text editors 
[] Other, please list: 

4. Approximately what percentage of your time developing web
applications do you spending developing using the following
technologies?  Please enter a percentage for each technology you use.

[] ASP
[] ASP.NET
[] ColdFusion
[] DHTML/Ajax
[] Flash
[] Flex
[] Java
[] JSP
[] Laszlo
[] PHP
[] Visual Basic
[] Other __

---

Schedule:

Please mark the times you will be available; marking more times will
increase your chances of being selected.

All times are Pacific Standard Time.

Wed, August 24th

[] 9:00 am
[] 11:30 am
[] 2:00 pm
[] 4:30 pm

Thu, August 25th

[] 9:00 am
[] 11:30 am
[] 2:00 pm
[] 4:30 pm

Fri, August 26th

[] 9:00 am
[] 11:30 am
[] 2:00 pm
[] 4:30 pm

Please fill out your contact information below (all required):

Name: 
Work Email: 
Work Phone: 
Company: 
Job Title: 




 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hgt4p0a/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124412759/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] What I wish Flex/Flash Player could do...

2005-08-18 Thread James










Thanks Ted, 

Maybe I wasn’t plain enough

I have a barcode scanner using the
keyboard wedge (this works Great!)

 

I’m looking for something for the
card reader, that is on the com1 port, and also a cash drawer on the com2 port.
I was thinking about this some more over night and after reading some more on
the list. 

 

I was wondering if there is a
communication component out there, with a class that can be instantiated for
data read/clear etc?

 

Help

James 

 









From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Theodore E Patrick
Sent: Thursday, August 18, 2005
9:16 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] What I
wish Flex/Flash Player could do...



 

The best way to test a wedge driver is
with a Text Editor.

 


 Open NotePad
 Set the focus into Notepad
 Swipe a Card, Scan a barcode,
 Read an RFID.


 

If the wedge driver is working, the reader
should rapidly type a long string of characters into notepad. The string has a
set of delimiters that correspond to encoding. It is very easy to parse these
values into something meaningful with just String.split.

 

It is typical for most input devices to
ship with a wedge driver. This provides the simplest integration as each of
these devices can be viewed as just a very fast keyboard.

 

http://www.google.com/search?q=keyboard+wedge+driver

 

http://www.programbl.com/

 

Plus the free ones that ship with the
devices!

 

Cheers,

 

Ted ;)

 

 

 

 

 











From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of James
Sent: Thursday, August 18, 2005
1:25 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] What I
wish Flex/Flash Player could do...



 

Hello Ted,

 

   
I was looking for a way to read a card reader from comm. port, as the current
configuration I have to deal with uses a barcode scanner on the wedge.

Any help would greatly be appreciated

James

 









From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Theodore E Patrick
Sent: Tuesday, August 16, 2005
6:53 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] What I
wish Flex/Flash Player could do...



 

Flash can handle these via a standard MS Keyboard
Wedge Driver. We shipped a kiosk with a card reader and the Flash Player can
directly parse data entered. Basically all these devices can be reduced to
keyboard input so when you swipe a card or scan a barcode, it just types data
really fast.

 

Actually I believe I have an example that
does just this very thing…

 

Just put 3 V2 TextInput controls on stage
and name the instances: ti_name, ti_card, ti_date and use this code:

 

Key.addListener(this)


function onKeyDown(){

   
var self = arguments.callee

   
var k = String.fromCharCode(Key.getAscii())

   
if(self.storage == undefined) self.storage=””

   
self.storage = self.storage + k

   
if(self.storage.split("?").length == 3 ){

   
var sname =
self.storage.split("^")[1]   


   
var scardbase =
self.storage.split("?;")[1].split("?")[0].split("=")

   
ti_name.text = sname

   
ti_card.text = scardbase[0]

   
ti_date.text =
scardbase[1]


   
self.storage =
""


   
}  


}

 

This will parse the values from a standard
3 phase credit card reader. In the kiosk that used this we tested cards from
starbucks, visa, amex, subway and all worked perfectly. When each type of
device, you just need to know what to look for in parsing the data received.

 

One less thing for Ethan :)

 

Cheers,

 

Ted J

 

 











From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Rick Bullotta
Sent: Tuesday, August 16, 2005
1:20 PM
To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.com
Subject: RE: [flexcoders] What I
wish Flex/Flash Player could do...



 





Here's another one for Ethan then... :)





 





The Flash Player (along with Flex and AS) should have an
input extensibility model that supports input focus management and input from
other mechanisms/devices such as:





 





- Barcode readers





- RFID readers





- Card readers





- Others...





 





This would open up a whole new class of applications for
Flex/Flash.





 





- Rick Bullotta





  SAP Labs, LLC







 







From: flexcoders@yahoogroups.com on behalf of JesterXL
Sent: Mon 8/15/2005 9:28 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] What I
wish Flex/Flash Player could do...





I forwarded your request to
the Central Dev group for Ethan Malasky to 
hopefully pick up.  Since Central is
hopefully the future of Flash, and 
ultimately Flex on the desktop, things like this
are perfect.

It just so happens SQL on the client was requested
by multiple people 
a

RE: [flexcoders] How to programmatically scroll a grid to desired row ?

2005-08-18 Thread Adam Cath
In order to make sure the grid doesn't scroll off the end or beginning,
you may want to use

Math.max(Math.min(desiredPosition, maxVPosition), minVPosition)

-Adam


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: Thursday, August 18, 2005 10:02 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] How to programmatically scroll a grid to
desired row ?

On 8/18/05, Shlomi Cohen <[EMAIL PROTECTED]> wrote:

> is  there a way to scroll a datagrid object to a selected Index row  ?


Set vPosition.

Manish



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12h9nf3u2/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124401717/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [flexcoders] Re: DepthManager

2005-08-18 Thread JesterXL
Popups use a depth that is usually set aside for things that are modal. 
Menus' and ComboBox menus tend to go under that so already you can see the 
problem.

If you are using Menu, not MenuBar, I'm not sure but you may be-able to put 
that in a PopUp too?

- Original Message - 
From: "Rajesh Jayabalan" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, August 18, 2005 2:53 PM
Subject: [flexcoders] Re: DepthManager


Hi,

 I am doing something similar now, since I am maintaining a list of
all the windows, I can go thru them and findout which one is on top
currently and use the setabovemethod. Using this sometimes windows
blackout, and the control is in a different window, and I will need to
start fresh.

 Also the menu and menubar in the application are appearing below the
windows, everytime the window is moved up by me in code (use
setdepthabove) I can set the menu and menubar above this (unneceaary
should have been the default behaviour) but I cannot control the menu
depth when user clicks on the tile of the window.

Rajesh J

--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
> There are other lower-level ways.
>
> The way I've handled in the past was to keep a member variable
pointing to
> the highest window, and then do something like:
>
> clickedPanel.setDepthAbove(highestPanel);
> highestPanel = clickedPanel;
>
>
> - Original Message - 
> From: "Rajesh Jayabalan" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, August 18, 2005 1:22 PM
> Subject: [flexcoders] Re: DepthManager
>
>
> Hi Jester,
>
>  I am using popupmanager to create my titlewindows.. (how do I create
> windows without them??)
>
> Regards
> Rajesh J
>
> --- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
> > I dug back to the first message; sounds like he has a TitleWindow
being
> > created without PopUpManager, and inside a container.  In that case,
> depth
> > shouldn't be a question, but rather implementation.  Things in
> containers
> > can't change depth to any higher since they are in a container, and
> their
> > container's depth pretty much dictates their z drawing index on that
> stack.
> >
> > If you want to use true windows, look into PopUpManager without
> modality.
> >
> > - Original Message - 
> > From: "Theodore E Patrick" <[EMAIL PROTECTED]>
> > To: 
> > Sent: Wednesday, August 17, 2005 2:21 AM
> > Subject: RE: [flexcoders] Re: DepthManager
> >
> >
> > The window may be on a different branch of the display list. This
> depends on
> > the hierarchy of your MXML file and how the controls are
instantiated at
> > runtime.
> >
> > Have the window and the menu trace these values:
> >
> > trace( menu )
> > trace( window )
> >
> > You will see a resulting path something like:
> >
> > _level0.application.blah.blah.blah.menu
> > _level0.application.blah.blah.window
> >
> > If the two items are at the same level, then this is a depth issue.
> > Otherwise I would bet dollars to donuts that they are on different
> paths.
> >
> > My 2 Cents,
> >
> > Ted ;)
> >
> >
> >
> > > -Original Message-
> > > From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
> > > Behalf Of Rajesh Jayabalan
> > > Sent: Tuesday, August 16, 2005 10:46 PM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] Re: DepthManager
> > >
> > > Hi,
> > >
> > >  I tried that, it does not work, the window still is showing on
top of
> > > the menu.
> > >
> > > Rajesh J
> > >
> > > --- In flexcoders@yahoogroups.com, "Theodore E Patrick" <[EMAIL 
> > > PROTECTED]>
> wrote:
> > > > The method MovieClip.swapDepths accepts both a MovieClip
> instance and a
> > > > number. One potential issue with usage of Number.MAX_VALUE is that
> > > there are
> > > > not 1.79769313486231e+308 depths within the Flash Player. The
error
> > > has to
> > > > do with the input data not that swapDepths does not accept
number as
> > > input.
> > > >
> > > > Try:
> > > >
> > > > menu.swapDepths( menu.getNextHighestDepth() )
> > > >
> > > > My 2 cents,
> > > >
> > > > Ted ;)
> > > >
> > > > > Hi,
> > > > >
> > > > >  The method swapDepths accepts a UIObject as a parameter and
not a
> > > number.
> > > > >
> > > > > Regards
> > > > > Rajesh J
> > > > >
> > > > > --- In flexcoders@yahoogroups.com, "Philippe Maegerman"
<[EMAIL PROTECTED]>
> > > wrote:
> > > > > > You might try to manualy adjust your menu's depth to be
the max
> > > depth :
> > > > > > menu.swapDepths(Number.MAX_VALUE)
> > > > > > I hope it helps
> > > > > >
> > > > > > //Philippe
> > >
> > >
> > >
> > >
> > >
> > > --
> > > Flexcoders Mailing List
> > > FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.co

[flexcoders] Re: DepthManager

2005-08-18 Thread Rajesh Jayabalan
Hi,

 I am doing something similar now, since I am maintaining a list of
all the windows, I can go thru them and findout which one is on top
currently and use the setabovemethod. Using this sometimes windows
blackout, and the control is in a different window, and I will need to
start fresh. 

 Also the menu and menubar in the application are appearing below the
windows, everytime the window is moved up by me in code (use
setdepthabove) I can set the menu and menubar above this (unneceaary
should have been the default behaviour) but I cannot control the menu
depth when user clicks on the tile of the window. 

Rajesh J

--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
> There are other lower-level ways.
> 
> The way I've handled in the past was to keep a member variable
pointing to 
> the highest window, and then do something like:
> 
> clickedPanel.setDepthAbove(highestPanel);
> highestPanel = clickedPanel;
> 
> 
> - Original Message - 
> From: "Rajesh Jayabalan" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, August 18, 2005 1:22 PM
> Subject: [flexcoders] Re: DepthManager
> 
> 
> Hi Jester,
> 
>  I am using popupmanager to create my titlewindows.. (how do I create
> windows without them??)
> 
> Regards
> Rajesh J
> 
> --- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
> > I dug back to the first message; sounds like he has a TitleWindow
being
> > created without PopUpManager, and inside a container.  In that case,
> depth
> > shouldn't be a question, but rather implementation.  Things in
> containers
> > can't change depth to any higher since they are in a container, and
> their
> > container's depth pretty much dictates their z drawing index on that
> stack.
> >
> > If you want to use true windows, look into PopUpManager without
> modality.
> >
> > - Original Message - 
> > From: "Theodore E Patrick" <[EMAIL PROTECTED]>
> > To: 
> > Sent: Wednesday, August 17, 2005 2:21 AM
> > Subject: RE: [flexcoders] Re: DepthManager
> >
> >
> > The window may be on a different branch of the display list. This
> depends on
> > the hierarchy of your MXML file and how the controls are
instantiated at
> > runtime.
> >
> > Have the window and the menu trace these values:
> >
> > trace( menu )
> > trace( window )
> >
> > You will see a resulting path something like:
> >
> > _level0.application.blah.blah.blah.menu
> > _level0.application.blah.blah.window
> >
> > If the two items are at the same level, then this is a depth issue.
> > Otherwise I would bet dollars to donuts that they are on different
> paths.
> >
> > My 2 Cents,
> >
> > Ted ;)
> >
> >
> >
> > > -Original Message-
> > > From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
> > > Behalf Of Rajesh Jayabalan
> > > Sent: Tuesday, August 16, 2005 10:46 PM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] Re: DepthManager
> > >
> > > Hi,
> > >
> > >  I tried that, it does not work, the window still is showing on
top of
> > > the menu.
> > >
> > > Rajesh J
> > >
> > > --- In flexcoders@yahoogroups.com, "Theodore E Patrick" <[EMAIL 
> > > PROTECTED]>
> wrote:
> > > > The method MovieClip.swapDepths accepts both a MovieClip
> instance and a
> > > > number. One potential issue with usage of Number.MAX_VALUE is that
> > > there are
> > > > not 1.79769313486231e+308 depths within the Flash Player. The
error
> > > has to
> > > > do with the input data not that swapDepths does not accept
number as
> > > input.
> > > >
> > > > Try:
> > > >
> > > > menu.swapDepths( menu.getNextHighestDepth() )
> > > >
> > > > My 2 cents,
> > > >
> > > > Ted ;)
> > > >
> > > > > Hi,
> > > > >
> > > > >  The method swapDepths accepts a UIObject as a parameter and
not a
> > > number.
> > > > >
> > > > > Regards
> > > > > Rajesh J
> > > > >
> > > > > --- In flexcoders@yahoogroups.com, "Philippe Maegerman"
<[EMAIL PROTECTED]>
> > > wrote:
> > > > > > You might try to manualy adjust your menu's depth to be
the max
> > > depth :
> > > > > > menu.swapDepths(Number.MAX_VALUE)
> > > > > > I hope it helps
> > > > > >
> > > > > > //Philippe
> > >
> > >
> > >
> > >
> > >
> > > --
> > > Flexcoders Mailing List
> > > FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links




 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12htr2s2h/M=362329.6886308.7839368.1510227/D=groups/S=170500

Re: [flexcoders] Is there a simple way of doing this

2005-08-18 Thread JesterXL






 
I think, also, there maybe some of the Validator classes which offer an 
extra level of assurance and user feedback.
 
- Original Message - 
From: [EMAIL PROTECTED] 

To: flexcoders@yahoogroups.com 
Sent: Thursday, August 18, 2005 2:27 PM
Subject: [flexcoders] Is there a simple way of doing 
this

Making sure that when someone enters something in a textbox that they can 
only enter numbers and that you can only type in numbers?
 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Is there a simple way of doing this

2005-08-18 Thread nostra72




Making sure that when someone enters something in a textbox that they can only enter numbers and that you can only type in numbers?
 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Re: DepthManager

2005-08-18 Thread JesterXL
There are other lower-level ways.

The way I've handled in the past was to keep a member variable pointing to 
the highest window, and then do something like:

clickedPanel.setDepthAbove(highestPanel);
highestPanel = clickedPanel;


- Original Message - 
From: "Rajesh Jayabalan" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, August 18, 2005 1:22 PM
Subject: [flexcoders] Re: DepthManager


Hi Jester,

 I am using popupmanager to create my titlewindows.. (how do I create
windows without them??)

Regards
Rajesh J

--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
> I dug back to the first message; sounds like he has a TitleWindow being
> created without PopUpManager, and inside a container.  In that case,
depth
> shouldn't be a question, but rather implementation.  Things in
containers
> can't change depth to any higher since they are in a container, and
their
> container's depth pretty much dictates their z drawing index on that
stack.
>
> If you want to use true windows, look into PopUpManager without
modality.
>
> - Original Message - 
> From: "Theodore E Patrick" <[EMAIL PROTECTED]>
> To: 
> Sent: Wednesday, August 17, 2005 2:21 AM
> Subject: RE: [flexcoders] Re: DepthManager
>
>
> The window may be on a different branch of the display list. This
depends on
> the hierarchy of your MXML file and how the controls are instantiated at
> runtime.
>
> Have the window and the menu trace these values:
>
> trace( menu )
> trace( window )
>
> You will see a resulting path something like:
>
> _level0.application.blah.blah.blah.menu
> _level0.application.blah.blah.window
>
> If the two items are at the same level, then this is a depth issue.
> Otherwise I would bet dollars to donuts that they are on different
paths.
>
> My 2 Cents,
>
> Ted ;)
>
>
>
> > -Original Message-
> > From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> > Behalf Of Rajesh Jayabalan
> > Sent: Tuesday, August 16, 2005 10:46 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: DepthManager
> >
> > Hi,
> >
> >  I tried that, it does not work, the window still is showing on top of
> > the menu.
> >
> > Rajesh J
> >
> > --- In flexcoders@yahoogroups.com, "Theodore E Patrick" <[EMAIL PROTECTED]>
wrote:
> > > The method MovieClip.swapDepths accepts both a MovieClip
instance and a
> > > number. One potential issue with usage of Number.MAX_VALUE is that
> > there are
> > > not 1.79769313486231e+308 depths within the Flash Player. The error
> > has to
> > > do with the input data not that swapDepths does not accept number as
> > input.
> > >
> > > Try:
> > >
> > > menu.swapDepths( menu.getNextHighestDepth() )
> > >
> > > My 2 cents,
> > >
> > > Ted ;)
> > >
> > > > Hi,
> > > >
> > > >  The method swapDepths accepts a UIObject as a parameter and not a
> > number.
> > > >
> > > > Regards
> > > > Rajesh J
> > > >
> > > > --- In flexcoders@yahoogroups.com, "Philippe Maegerman" <[EMAIL 
> > > > PROTECTED]>
> > wrote:
> > > > > You might try to manualy adjust your menu's depth to be the max
> > depth :
> > > > > menu.swapDepths(Number.MAX_VALUE)
> > > > > I hope it helps
> > > > >
> > > > > //Philippe
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links







 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12htedioj/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124395289/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: DepthManager

2005-08-18 Thread Rajesh Jayabalan
Hi Jester,

 I am using popupmanager to create my titlewindows.. (how do I create
windows without them??)

Regards
Rajesh J

--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
> I dug back to the first message; sounds like he has a TitleWindow being 
> created without PopUpManager, and inside a container.  In that case,
depth 
> shouldn't be a question, but rather implementation.  Things in
containers 
> can't change depth to any higher since they are in a container, and
their 
> container's depth pretty much dictates their z drawing index on that
stack.
> 
> If you want to use true windows, look into PopUpManager without
modality.
> 
> - Original Message - 
> From: "Theodore E Patrick" <[EMAIL PROTECTED]>
> To: 
> Sent: Wednesday, August 17, 2005 2:21 AM
> Subject: RE: [flexcoders] Re: DepthManager
> 
> 
> The window may be on a different branch of the display list. This
depends on
> the hierarchy of your MXML file and how the controls are instantiated at
> runtime.
> 
> Have the window and the menu trace these values:
> 
> trace( menu )
> trace( window )
> 
> You will see a resulting path something like:
> 
> _level0.application.blah.blah.blah.menu
> _level0.application.blah.blah.window
> 
> If the two items are at the same level, then this is a depth issue.
> Otherwise I would bet dollars to donuts that they are on different
paths.
> 
> My 2 Cents,
> 
> Ted ;)
> 
> 
> 
> > -Original Message-
> > From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> > Behalf Of Rajesh Jayabalan
> > Sent: Tuesday, August 16, 2005 10:46 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: DepthManager
> >
> > Hi,
> >
> >  I tried that, it does not work, the window still is showing on top of
> > the menu.
> >
> > Rajesh J
> >
> > --- In flexcoders@yahoogroups.com, "Theodore E Patrick" <[EMAIL PROTECTED]>
wrote:
> > > The method MovieClip.swapDepths accepts both a MovieClip
instance and a
> > > number. One potential issue with usage of Number.MAX_VALUE is that
> > there are
> > > not 1.79769313486231e+308 depths within the Flash Player. The error
> > has to
> > > do with the input data not that swapDepths does not accept number as
> > input.
> > >
> > > Try:
> > >
> > > menu.swapDepths( menu.getNextHighestDepth() )
> > >
> > > My 2 cents,
> > >
> > > Ted ;)
> > >
> > > > Hi,
> > > >
> > > >  The method swapDepths accepts a UIObject as a parameter and not a
> > number.
> > > >
> > > > Regards
> > > > Rajesh J
> > > >
> > > > --- In flexcoders@yahoogroups.com, "Philippe Maegerman" <[EMAIL 
> > > > PROTECTED]>
> > wrote:
> > > > > You might try to manualy adjust your menu's depth to be the max
> > depth :
> > > > > menu.swapDepths(Number.MAX_VALUE)
> > > > > I hope it helps
> > > > >
> > > > > //Philippe
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links




 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12ho18ffv/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124392965/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] How to programmatically scroll a grid to desired row ?

2005-08-18 Thread Manish Jethani
On 8/18/05, Shlomi Cohen <[EMAIL PROTECTED]> wrote:

> is  there a way to scroll a datagrid object to a selected Index row  ? 

Set vPosition.

Manish


 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12htk91l0/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124391695/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Has anyone ever made a card game in Flex

2005-08-18 Thread Roger Gonzalez





Flash is not peer-to-peer; neither is your web 
browser.
 
You need a server.  It would be straightforward to write 
a tiny little servlet to do nothing other than pass XML blobs around between all 
connected clients.
 
See http://www.globulos.com/ for an amazing 
example of what can be done with multiplayer gaming in 
Flash.
 
-RogerRoger 
Gonzalez[EMAIL PROTECTED] 
 

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  [EMAIL PROTECTED]Sent: Thursday, August 18, 2005 8:56 
  AMTo: flexcoders@yahoogroups.comSubject: Re: 
  [flexcoders] Has anyone ever made a card game in Flex
  What your saying is that with just raw Flex this is not possible to 
  do. I know you can write a card game with Flex the question is can you do it 
  and actually put it on the net so people can play it. Is this possible to do 
  with Flex, just flex that is 
  





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] getting error when running Flex1.5 on Dev env.

2005-08-18 Thread Jawad Anwar










Can anyone explain why I’m getting this error message when
running flex app. on our WSAD App Server even after changing this variable to
true.

 

“An error occurred because there is
no graphics environment available. Please set the headless-server setting in
the configuration file to true.”

 

Though it works fine on my local env. w/o changing anything

 

Any help will be appreciated.

Thanks

 

Jawad Anwar

RIA Developer

ForeSee
Results

http://www.foreseeresults.com

 









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] How to programmatically scroll a grid to desired row ?

2005-08-18 Thread Shlomi Cohen
Title: Mercury Email Signature





Hi
 
is 
there a way to scroll a datagrid object to a selected Index row 
?
i saw 
there is a property named focusedCell that do this if you focus on a cell but i don't have the Cell 
object to assign to it.
only 
the row index number.
 
how can i obtain 
a reference to a Cell object if i have the x,y (row and column) numbers 
?
 
thanks
 
Shlomi
 
 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  










RE: [flexcoders] Re: Service Call Timeouts in Cairngorm

2005-08-18 Thread Stacy Young










Just picked up this thread in the archives…I’m
about to approach this same task…was wondering if you guys have made progress,
if so,  willing to share your wisdom? :)

 

Cheers,

Stace

 









From: Steven Webster
[mailto:[EMAIL PROTECTED] 
Sent: Friday, June 10, 2005 4:34 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re:
Service Call Timeouts in Cairngorm



 

Hi Todd,

Good to see your thinking on this .. thanks for
sharing.

> With all that said, this implementation
forces the developer to change the
way he or she > invokes the remote service.
Instead of service.method(arg1[,
arg2] ...), they need 
> service.invoke("method", arg1[,
arg2] ...); What do you think about this
limitation?

Actually, you've just reminded me what it was
about the FAST implementation
that I didn't like; and that's the idea of the
passing of the method name
and arguments to the invoke() method strategy.

I don't like the idea of compile-time checking
becoming run-time failures;
ie if "method" does not exist, this will
be caught at run-time not
compile-time.  Similarly, passing arguments
as you do, we lose compile-time
type-checking on the argument list.  Again,
this is a sacrifice that makes
me think "there has to be a better
implementation".

21:30 on a Friday evening is not the time to think
about this; ask me on
Monday :)

What do you think -- you share my concerns ?

Best,

Steven

--
Steven Webster
Technical Director
iteration::two

This e-mail and any associated attachments
transmitted with it may contain
confidential information and must not be copied,
or disclosed, or used by
anyone other than the intended recipient(s). If
you are not the intended
recipient(s) please destroy this e-mail, and any
copies of it, immediately.

Please also note that while software systems have
been used to try to ensure
that this e-mail has been swept for viruses,
iteration::two do not accept
responsibility for any damage or loss caused in
respect of any viruses
transmitted by the e-mail. Please ensure your own
checks are carried out
before any attachments are opened.











--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











Re: [flexcoders] DividedBox BoxDivider width or height

2005-08-18 Thread Manish Jethani
On 8/18/05, zipo13 <[EMAIL PROTECTED]> wrote:

> Does anyone know if the width or height of the BoxDivider in the
> DividedBox  can be controlled.
> The default width of a VDividedBox is a bit fat and I wondered if it
> can be reduced.

What about the dividerThickness and dividerAffordance styles?

Manish


 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hbc411a/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124388450/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Has anyone ever made a card game in Flex

2005-08-18 Thread Dirk Eismann
Freecell and Solitaire should be pretty easy to implement.

Sorry, couldn't resist :)
Dirk.



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Thursday, August 18, 2005 5:56 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Has anyone ever made a card game in Flex


What your saying is that with just raw Flex this is not possible to do.
I know you can write a card game with Flex the question is can you do it
and actually put it on the net so people can play it. Is this possible
to do with Flex, just flex that is 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 





YAHOO! GROUPS LINKS 


*Visit your group "flexcoders
 " on the web.
  
*To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
 
  
*Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service  . 







 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hrtg5kl/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124388248/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Has anyone ever made a card game in Flex

2005-08-18 Thread nostra72



What your saying is that with just raw Flex this is not possible to do. I know you can write a card game with Flex the question is can you do it and actually put it on the net so people can play it. Is this possible to do with Flex, just flex that is





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Has anyone ever made a card game in Flex

2005-08-18 Thread Philippe Maegerman





You would need something like Flash Communication Server to 
perform that.
It can hold your game values and functions server-side, so 
that would be secure enough.
 
I think some xmlSocket server can do that as well, but I have no 
experience with such tools.
 
Philippe 
Maegerman

 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
[EMAIL PROTECTED]Sent: jeudi 18 août 2005 17:39To: 
flexcoders@yahoogroups.comSubject: [flexcoders] Has anyone ever made 
a card game in Flex
Has anyone ever written a program where someone can play cards with 
someone else online using Flex? I mean I would think it would be hard because 
how do you set it up to where you do not see someone elses cards? 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






--**STATEMENT OF CONFIDENTIALITY** 
This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.
We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.--


[flexcoders] Has anyone ever made a card game in Flex

2005-08-18 Thread nostra72



Has anyone ever written a program where someone can play cards with someone else online using Flex? I mean I would think it would be hard because how do you set it up to where you do not see someone elses cards?





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Constructor not called when calling

2005-08-18 Thread grady.haynes
Hi, Chiel.

Could you post some of the code from your  tag whose
constructor wasn't being called?  afaik, the no-args constructor should
have been called; is there a possibility of a typo (or incorrect
capitalization) in the constructor name?  Also, make sure that your
constructor isn't declared with a return type -- otherwise it's not
really a constructor and won't be called!

Your  code isn't working because all statements have to be
inside of a method -- try this instead (note the change of "myClass" to
"MyClass" -- capitalization of class names is strongly encouraged in
AS):





Then, to get createMyClassObject() to be called when your form's
elements are finished being created, add
creationComplete="createMyClassObject()"
as an attribute to your root MXML tag.

HTH.

Grady Haynes
Senior Systems Engineer, IT Services
817.252.4891
[EMAIL PROTECTED]

Practitioners Publishing Company
A Thomson Business
801 Cherry Street, Suite 1300
Fort Worth, Texas 76102
ppc.thomson.com


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of trumpet1971
Sent: Thursday, August 18, 2005 10:13 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Constructor not called when calling 

Hi all,

I am pretty new at Flex and working on my first project. 
I read some Macromedia tutorials and in one of them they created their
own CalculatorHandler-class and instantiated this through a
 tag in the main mxml file. 

I tried something similar by building my own class and found out the
constructor is not called at all when i instantiate it with a 
tag.

I need this constructor to be called to initialize some of the
properties of my class.
I also tried this code:





but then i get some compilation error "a class's instance variable may
not be initialized to compile-time constant expressions".

Can someone tell me how to create an instance of myClass ?

Thanks in advance,

Chiel Pauw
Amsterdam






 Yahoo! Groups Sponsor ~-->
http://us.ard.yahoo.com/SIG=12hpdggqf/M=362335.6886445.7839731.151
0227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124385839/A=2894361/R=0/SIG=1
3jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?
source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In low income
neighborhoods, 84% do not own computers. At Network for Good, help
bridge the Digital Divide!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links



 




 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12h4h5lle/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124386605/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Constructor not called when calling

2005-08-18 Thread trumpet1971
Hi all,

I am pretty new at Flex and working on my first project. 
I read some Macromedia tutorials and in one of them they created their
own CalculatorHandler-class and instantiated this through a
 tag in the main mxml file. 

I tried something similar by building my own class and found out the
constructor is not called at all when i instantiate it with a
 tag.

I need this constructor to be called to initialize some of the
properties of my class.
I also tried this code:





but then i get some compilation error "a class's instance variable may
not be initialized to compile-time constant expressions".

Can someone tell me how to create an instance of myClass ?

Thanks in advance,

Chiel Pauw
Amsterdam






 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hpdggqf/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124385839/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Cannot assign selected value from a radiobutton that was created dynamically.

2005-08-18 Thread Oscar . Cortes


Thanks, this worked. I will read more about EventListener and Delegate



   

   
 "Matt Chotin" To: flexcoders@yahoogroups.com   
   
 <[EMAIL PROTECTED]>  cc:   
  
 Sent by:  Subject:  RE: [flexcoders] 
Cannot assign selected value from a  
 flexcoders@yahoogroups.com  radiobutton that was created 
dynamically. 
 08/18/2005 02:33 AM
   
 Please respond to  
   
 flexcoders 
   

   

   




addEventListener("click", mx.utils.Delegate.create(this, clickRadioButton);


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, August 16, 2005 12:23 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cannot assign selected value from a radiobutton that
was created dynamically.



I am creating radioButtons dynamically using an array. When I try to
assign the selected value into a Text or TextArea it doesn't work. It seems
that I am using addEventListener correctly since I am able to see the
event.target.data in an Alert.

  This application shows what I mean:

1. The radiobuttons are created out of an array.
2. When you click on any of them you get an Alert showing the data you
have clicked. However, it doesn't change the text of the TextArea.
Eventually I want to assign this value, to some place else.
3. If you execute the same code  txtReceipt.text="Button" - by clicking on
the Button it does change the text.

the code below is runnable and shows the problem ...

Thanks 



http://www.macromedia.com/2003/mxml"; >


RE: [flexcoders] What I wish Flex/Flash Player could do...

2005-08-18 Thread Rick Bullotta










Also, there are plenty of “generic”
COM port-to-keyboard wedge applications out there.

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Theodore E Patrick
Sent: Thursday, August 18, 2005
9:16 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] What I
wish Flex/Flash Player could do...



 

The best way to test a wedge driver is
with a Text Editor.

 


 Open
 NotePad
 Set
 the focus into Notepad
 Swipe
 a Card, Scan a barcode, Read an RFID.


 

If the wedge driver is working, the reader
should rapidly type a long string of characters into notepad. The string has a
set of delimiters that correspond to encoding. It is very easy to parse these
values into something meaningful with just String.split.

 

It is typical for most input devices to ship
with a wedge driver. This provides the simplest integration as each of these
devices can be viewed as just a very fast keyboard.

 

http://www.google.com/search?q=keyboard+wedge+driver

 

http://www.programbl.com/

 

Plus the free ones that ship with the
devices!

 

Cheers,

 

Ted ;)









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











Re: [flexcoders] Changing the wrongLengthError in a DateValidator

2005-08-18 Thread Kai König
Mika,

thx, this is a very helpful one.

Today I ran into another one, I was trying to access the field
attribute of a validator inside the class, got an undefined all the
time. The docs states that the field propery is not to be set in
ActionScript, is it not accessable at all?

app.mxml:



inside of MyOwnValidator.as:

class MyOwnValidator extens mx.validators.EmailValidator
{
  public var myfield = ??? ;
  ...
}


Cheers
Kai


MK> Oops, this is the problem I was trying to answer to. Sorry folks about the
MK> previous post... :)

MK> Class MyDateValidator extends mx.validators.DateValidator
MK> {
MK> public function validationError(errorCode:String,
MK> defaultMessage:String,subfield:String):Void
MK> {
MK>If (errorCode == “wrongLength”)
MK>  defaultMessage = yourTranslatedMessage;

MK>super.validationError(errorCode, defaultMessage, subfield);
MK> }
MK> }

MK> Only thing you need to do is catch the wrongLength error and re-write the
MK> error message yourself.

MK> -Mika

MK> -Original Message-
MK> From: flexcoders@yahoogroups.com
MK> [mailto:[EMAIL PROTECTED] On
MK> Behalf Of Kai König
MK> Sent: 17. elokuuta 2005 16:56
MK> To: flexcoders@yahoogroups.com
MK> Subject: [flexcoders] Changing the wrongLengthError in a DateValidator

MK> Hi all,

MK> another validator-related question:

MK> Having to validate for a date using a DateValidator, the requirements
MK> are to just deliver one validation message if the validation fails.
MK> Following the concept, I'd have to add a long list of attributes to my
MK> validator call, as in:

MK>invalidFormatCharsError="blabla" ... />

MK> So we thought it might be nice to subclass the DataValidator and to
MK> define a defaultErrorMessage which we can pass into our own validator
MK> class and internally, the class is responsible to overwrite the values
MK> of the pre-defined errors.

MK> Works quite good, BUT doesn't work for wrongLengthError. The docs
MK> state:

>>Error message when the length of the date doesn't match that of the
>>inputFormat. Default is "Please type the date in the format
>>inputFormat.".

MK> That means the default error might be something like:
MK> "Please...format mm/dd/"

MK> As far as I understand, I'd expect to be able to overwrite the default
MK> with anything I like, but regardless to what I set the value for
MK> wrongLengthError, Flex always adds the value of inputFormat to my
MK> error message - I end up with something like

MK> "This is my errortext and I want you to type it correct mm/dd/"

MK> This is especially annoying with localized error messages in which the
MK> inputFormat has to be at another place within the error message by
MK> grammar: "Bitte nutzen Sie das Format dd.mm. in diesem Feld".

MK> Is there a way to get rid of the automatic concatenation of the
MK> inputFormat within the wrongLengthError of this validator?

MK> Cheers
MK> Kai









MK> --
MK> Flexcoders Mailing List
MK> FAQ:
MK> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
MK> Search Archives:
MK> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
MK> Yahoo! Groups Links



 







MK> --
MK> Flexcoders Mailing List
MK> FAQ:
MK> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
MK> Search Archives:
MK> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
MK> Yahoo! Groups Links



 




-- 
Best regards,
 Kaimailto:[EMAIL PROTECTED]



 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12h6vcbsa/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124380306/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] DividedBox BoxDivider width or height

2005-08-18 Thread zipo13
Hi,
Does anyone know if the width or height of the BoxDivider in the
DividedBox  can be controlled.
The default width of a VDividedBox is a bit fat and I wondered if it
can be reduced.

I did:

var div:mx.containers.dividedboxclasses.BoxDivider = 
myDivider.getDividerAt(0);
div.width = 40;
div.height = 20;

but it didn't seem to do anything.
Any ideas?




 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12h1cmcsa/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124380191/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] What I wish Flex/Flash Player could do...

2005-08-18 Thread Theodore E Patrick










The best way to test a wedge driver is
with a Text Editor.

 


 Open
 NotePad
 Set
 the focus into Notepad
 Swipe
 a Card, Scan a barcode, Read an RFID.


 

If the wedge driver is working, the reader
should rapidly type a long string of characters into notepad. The string has a
set of delimiters that correspond to encoding. It is very easy to parse these
values into something meaningful with just String.split.

 

It is typical for most input devices to
ship with a wedge driver. This provides the simplest integration as each of
these devices can be viewed as just a very fast keyboard.

 

http://www.google.com/search?q=keyboard+wedge+driver

 

http://www.programbl.com/

 

Plus the free ones that ship with the
devices!

 

Cheers,

 

Ted ;)

 

 

 

 

 











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of James
Sent: Thursday, August 18, 2005
1:25 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] What I
wish Flex/Flash Player could do...



 

Hello Ted,

 

   
I was looking for a way to read a card reader from comm. port, as the current
configuration I have to deal with uses a barcode scanner on the wedge.

Any help would greatly be appreciated

James

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Theodore E Patrick
Sent: Tuesday, August 16, 2005
6:53 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] What I
wish Flex/Flash Player could do...



 

Flash can handle these via a standard MS
Keyboard Wedge Driver. We shipped a kiosk with a card reader and the Flash
Player can directly parse data entered. Basically all these devices can be
reduced to keyboard input so when you swipe a card or scan a barcode, it just
types data really fast.

 

Actually I believe I have an example that
does just this very thing…

 

Just put 3 V2 TextInput controls on stage
and name the instances: ti_name, ti_card, ti_date and use this code:

 

Key.addListener(this)


function onKeyDown(){

   
var self = arguments.callee

   
var k = String.fromCharCode(Key.getAscii())

   
if(self.storage == undefined) self.storage=””

   
self.storage = self.storage + k

   
if(self.storage.split("?").length == 3 ){

   
var sname =
self.storage.split("^")[1]   


   
var scardbase =
self.storage.split("?;")[1].split("?")[0].split("=")

   
ti_name.text = sname

   
ti_card.text = scardbase[0]

   
ti_date.text =
scardbase[1]


   
self.storage =
""


   
}  


}

 

This will parse the values from a standard
3 phase credit card reader. In the kiosk that used this we tested cards from
starbucks, visa, amex, subway and all worked perfectly. When each type of
device, you just need to know what to look for in parsing the data received.

 

One less thing for Ethan :)

 

Cheers,

 

Ted J

 

 











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick Bullotta
Sent: Tuesday, August 16, 2005
1:20 PM
To: flexcoders@yahoogroups.com;
flexcoders@yahoogroups.com
Subject: RE: [flexcoders] What I wish
Flex/Flash Player could do...



 





Here's another one for Ethan then... :)





 





The Flash Player (along with Flex and AS) should have an
input extensibility model that supports input focus management and input from
other mechanisms/devices such as:





 





- Barcode readers





- RFID readers





- Card readers





- Others...





 





This would open up a whole new class of applications for
Flex/Flash.





 





- Rick Bullotta





  SAP Labs, LLC







 







From:
flexcoders@yahoogroups.com on behalf of JesterXL
Sent: Mon 8/15/2005 9:28 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] What I
wish Flex/Flash Player could do...





I forwarded your request to
the Central Dev group for Ethan Malasky to 
hopefully pick up.  Since Central is
hopefully the future of Flash, and 
ultimately Flex on the desktop, things like this
are perfect.

It just so happens SQL on the client was requested
by multiple people 
already there, so your request from a different
demographic WITH the 
keywords of "occasionally connected"
just adds mad credence.













--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











[flexcoders] SplitPane in Flex

2005-08-18 Thread Shlomi Cohen
Title: Mercury Email Signature





Hi
 
I need a 
splitpane control in Flex, something with the ability to be closed immediately 
not just dragged to the end.
(like the one we 
have in Flex Builder)
 
i've 
looked into a SplitPane written by Joan Garnet ()
and i 
think this component is only for Flash 
applications.
 
Did 
anyone wrote something similar in Flex ? extended the DividedBox class for example 
?
 
 
thanks
 
Shlomi

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  










RE: [flexcoders] What I wish Flex/Flash Player could do...

2005-08-18 Thread James










Hello Ted,

 

    I
was looking for a way to read a card reader from comm. port, as the current
configuration I have to deal with uses a barcode scanner on the wedge.

Any help would greatly be appreciated

James

 









From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Theodore E Patrick
Sent: Tuesday, August 16, 2005
6:53 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] What I
wish Flex/Flash Player could do...



 

Flash can handle these via a standard MS
Keyboard Wedge Driver. We shipped a kiosk with a card reader and the Flash
Player can directly parse data entered. Basically all these devices can be
reduced to keyboard input so when you swipe a card or scan a barcode, it just
types data really fast.

 

Actually I believe I have an example that
does just this very thing…

 

Just put 3 V2 TextInput controls on stage
and name the instances: ti_name, ti_card, ti_date and use this code:

 

Key.addListener(this)


function onKeyDown(){

   
var self = arguments.callee

   
var k = String.fromCharCode(Key.getAscii())

   
if(self.storage == undefined) self.storage=””

   
self.storage = self.storage + k

   
if(self.storage.split("?").length == 3 ){

   
var sname =
self.storage.split("^")[1]   


   
var scardbase =
self.storage.split("?;")[1].split("?")[0].split("=")

   
ti_name.text = sname

   
ti_card.text = scardbase[0]

   
ti_date.text =
scardbase[1]


   
self.storage =
""


   
}  


}

 

This will parse the values from a standard
3 phase credit card reader. In the kiosk that used this we tested cards from
starbucks, visa, amex, subway and all worked perfectly. When each type of
device, you just need to know what to look for in parsing the data received.

 

One less thing for Ethan :)

 

Cheers,

 

Ted J

 

 











From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Rick Bullotta
Sent: Tuesday, August 16, 2005
1:20 PM
To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.com
Subject: RE: [flexcoders] What I
wish Flex/Flash Player could do...



 





Here's another one for Ethan then... :)





 





The Flash Player (along with Flex and AS) should have an
input extensibility model that supports input focus management and input from
other mechanisms/devices such as:





 





- Barcode readers





- RFID readers





- Card readers





- Others...





 





This would open up a whole new class of applications for
Flex/Flash.





 





- Rick Bullotta





  SAP Labs, LLC







 







From: flexcoders@yahoogroups.com on behalf of JesterXL
Sent: Mon 8/15/2005 9:28 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] What I
wish Flex/Flash Player could do...





I forwarded your request to
the Central Dev group for Ethan Malasky to 
hopefully pick up.  Since Central is
hopefully the future of Flash, and 
ultimately Flex on the desktop, things like this
are perfect.

It just so happens SQL on the client was requested
by multiple people 
already there, so your request from a different
demographic WITH the 
keywords of "occasionally connected"
just adds mad credence.












--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] Changing the wrongLengthError in a DateValidator

2005-08-18 Thread Mika Kiljunen
Oops, this is the problem I was trying to answer to. Sorry folks about the
previous post... :)

Class MyDateValidator extends mx.validators.DateValidator
{
public function validationError(errorCode:String,
defaultMessage:String,subfield:String):Void
{
   If (errorCode == “wrongLength”)
 defaultMessage = yourTranslatedMessage;

   super.validationError(errorCode, defaultMessage, subfield);
}
}

Only thing you need to do is catch the wrongLength error and re-write the
error message yourself.

-Mika

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kai König
Sent: 17. elokuuta 2005 16:56
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Changing the wrongLengthError in a DateValidator

Hi all,

another validator-related question:

Having to validate for a date using a DateValidator, the requirements
are to just deliver one validation message if the validation fails.
Following the concept, I'd have to add a long list of attributes to my
validator call, as in:



So we thought it might be nice to subclass the DataValidator and to
define a defaultErrorMessage which we can pass into our own validator
class and internally, the class is responsible to overwrite the values
of the pre-defined errors.

Works quite good, BUT doesn't work for wrongLengthError. The docs
state:

>Error message when the length of the date doesn't match that of the
>inputFormat. Default is "Please type the date in the format
>inputFormat.".

That means the default error might be something like:
"Please...format mm/dd/"

As far as I understand, I'd expect to be able to overwrite the default
with anything I like, but regardless to what I set the value for
wrongLengthError, Flex always adds the value of inputFormat to my
error message - I end up with something like

"This is my errortext and I want you to type it correct mm/dd/"

This is especially annoying with localized error messages in which the
inputFormat has to be at another place within the error message by
grammar: "Bitte nutzen Sie das Format dd.mm. in diesem Feld".

Is there a way to get rid of the automatic concatenation of the
inputFormat within the wrongLengthError of this validator?

Cheers
Kai









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 






 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12het67b5/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124367794/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Validation TextInput

2005-08-18 Thread Mika Kiljunen
Yep, I had the same problem earlier. Matt posted this solution that works:

Class MyDateValidator extends mx.validators.DateValidator
{
public function validationError(errorCode:String,
defaultMessage:String,subfield:String):Void
{
   If (errorCode == “wrongLength”)
 defaultMessage = yourTranslatedMessage;

   super.validationError(errorCode, defaultMessage, subfield);
}
}

Only thing you need to do is catch the wrongLength error and re-write the
error message yourself.

-Mika


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kai König
Sent: 17. elokuuta 2005 15:13
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Validation TextInput

Hi all,

I want a bunch of TextInputs within a form to be required and to
validate against a common mx:Validator. This works fine in general, but
the customer wants that the validation comes up even if someone just
sets the focus to the particular TextInput, doesn't type anything and
immediately removes the focus from that field.

An example would be to just use the tab key to speedo through the
whole form... But obviously, the validation shouldn't trigger before
that (so - not loading a form which is full of failed validations)

To fullfill another requirement (validation during typing) I
subclassed TextInput and made the change Event committing as Steven
and Allister explained in their book on pg. 189:

[ChangeEvent("change")]

So, my idea of triggering the validation for my particular issue
was to broadcast the focusOut event in the subclass as committing
as well:

[ChangeEvent("focusOut")]

But, it doesn't work out. What works is to add

focusOut="mx.validators.Validator.isValid(this,'mymodel.myfield')"

as an attribute to my subclassed MyTextInput. But that doesn't seem
to be the best way doing it as there might be a bunch of input fields,
isn't there a better solution?

Cheers
Kai





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 





 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hdlp4jc/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124367329/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] LeftTabNavigator woes (was: Cairngorm woes)

2005-08-18 Thread Steven Webster





Nate,
 
There is nothing about your problem I can see here that has 
any relation to Cairngorm
 
The error message suggests that there is no method called 
getInstance() on a class that one of your developers has written, called 
LeftTabNavigator.as or LeftTabNavigator.mxml
 
I'd go and look at the code for LeftTabNavigator, and start 
from there...
 
Steven
 


--
Steven WebsterTechnical 
Director
iteration::two
 
This e-mail and any associated attachments 
transmitted with it may contain confidential information and must not be copied, 
or disclosed, or used by anyone other than the intended recipient(s). If you are 
not the intended recipient(s) please destroy this e-mail, and any copies of it, 
immediately. Please also note that while software systems have been 
used to try to ensure that this e-mail has been swept for viruses, 
iteration::two do not accept responsibility for any damage or loss caused in 
respect of any viruses transmitted by the e-mail. Please ensure your own checks 
are carried out before any attachments are 
opened.
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Nate 
NielsenSent: 18 August 2005 11:51To: 
flexcoders@yahoogroups.comSubject: [flexcoders] Cairngorm woes 
=\

Hi all,
 
Having a tough time with a cairngorm app that's 
been inherited.  I didn't write the cairngorm adaptation, so I'm a bit 
lost.  This is what we're getting :
 
 
Error C:\Inetpub\wwwroot\bidfly\com\bidfly\view\BrowseViewHelper.as:100 

There is no method with the name 'getInstance'.


  
  
99:
function showView(Void):Void{ 
  
100:
var 
  nav:LeftTabNavigator=LeftTabNavigator.getInstance();
  
101:
nav.selectedIndex = 
  nav.getChildIndex(UIObject(view)); 
 
 
The odd part about it is that the same 
code works on another server, or the same server but some setup changes were 
made.
 
Is it possible I need to include some 
of the framework into the user classes area or something?
 
Any help anyone can provide would be 
greatly appreciated and I'll paypal ya so you're next round of brews are on 
me!
 
 
Thanks,
 
-Nate





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Cairngorm woes =\

2005-08-18 Thread Nate Nielsen





Hi all,
 
Having a tough time with a cairngorm app that's 
been inherited.  I didn't write the cairngorm adaptation, so I'm a bit 
lost.  This is what we're getting :
 
 
Error C:\Inetpub\wwwroot\bidfly\com\bidfly\view\BrowseViewHelper.as:100 

There is no method with the name 'getInstance'.


  
  
99:
function showView(Void):Void{ 
  
100:
var 
  nav:LeftTabNavigator=LeftTabNavigator.getInstance();
  
101:
nav.selectedIndex = 
  nav.getChildIndex(UIObject(view)); 
 
 
The odd part about it is that the same 
code works on another server, or the same server but some setup changes were 
made.
 
Is it possible I need to include some 
of the framework into the user classes area or something?
 
Any help anyone can provide would be 
greatly appreciated and I'll paypal ya so you're next round of brews are on 
me!
 
 
Thanks,
 
-Nate





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] How to draw a Trangle??

2005-08-18 Thread Philippe Maegerman





function 
drawTriangle() { var triangle = 
this.createEmptyMovieClip("triangle_mc", 1); with (triangle) 
{  lineStyle(5, 0xff00ff, 100);  moveTo(200, 
200);  lineTo(300, 300);  lineTo(100, 
300);  lineTo(200, 200); }}
 
Philippe 
Maegerman
Web developer
+32 2 400 40 
39
+32 472 35 28 
10
Avoir des rêves, 
c'est continuer d'exister... 
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Prasad 
DhananjayaSent: jeudi 18 août 2005 11:22To: 
flexcoders@yahoogroups.comSubject: [flexcoders] How to draw a 
Trangle??
Hello all,Can someone tell me how to draw a triangle. I 
started to use Flex & Actionscript from yesterday. So less experience 
& knowledge.There is a sample code(only a part) in Flex 
[help].But  don't knowhow to define "triangle_mc"(see code)?Is 
there any other errors in this code?Please help... Best 
regards,Prasad--http://www.macromedia.com/2003/mxml" 
initialize="drawSqure()">---





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






--**STATEMENT OF CONFIDENTIALITY** 
This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.
We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.--


[flexcoders] How to draw a Trangle??

2005-08-18 Thread Prasad Dhananjaya
Hello all,

Can someone tell me how to draw a triangle. I started to use 
Flex & Actionscript from yesterday. So less experience & knowledge.

There is a sample code(only a part) in Flex [help].But  don't know
how to define "triangle_mc"(see code)?

Is there any other errors in this code?

Please help... 

Best regards,
Prasad

--

http://www.macromedia.com/2003/mxml"; 
initialize="drawSqure()">






---




 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hurcfbl/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124364366/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Ladislav Zigo Tweening Prototype in Flex

2005-08-18 Thread Philippe Maegerman





State of the art Tween machine ;)
http://www.alex-uhlmann.de/flash/animationpackage/
 
Philippe 
Maegerman


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
[EMAIL PROTECTED]Sent: jeudi 18 août 2005 
10:44To: flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] Ladislav Zigo Tweening Prototype in Flex
>>Does anybody know how to use this Ladislav Zigo 
Prototype>>http://laco.wz.cz/tween/ in Flex?The 
TEC Tweening library plays well with Flex, and is easy to implement.You 
can take a look at it here:http://magnus.te-consulting.dk/flash/index.htmlAnd 
check it out from here:http://svn.sourcesecure.co.uk/torkristensen/tectweeningcheers,t





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






--**STATEMENT OF CONFIDENTIALITY** 
This e-mail and any attached files are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of author and do not necessarily represent those the Emakina Company. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.
We also inform you that we have checked that this message does not contain any virus but we decline any responsability in case of any damage caused by an a non detected virus.--


RE: [flexcoders] Ladislav Zigo Tweening Prototype in Flex

2005-08-18 Thread tor.kristensen
>>Does anybody know how to use this Ladislav Zigo Prototype
>>http://laco.wz.cz/tween/ in Flex?

The TEC Tweening library plays well with Flex, and is easy to implement.

You can take a look at it here:
http://magnus.te-consulting.dk/flash/index.html

And check it out from here:
http://svn.sourcesecure.co.uk/torkristensen/tectweening

cheers,
t


 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12h9pu6f1/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124361894/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] onKeyDown method cannot capture Escape key

2005-08-18 Thread owls_yang
Hello all,

I'm working about keyboard shortcuts and want to capture the even 
when Escape key is down. I use this listener to test, most keys work 
fine unless the "Escape". It's on Windows 2000 Professional. Is 
Escape key unavailable for Flex on Windows? 

class mgr.MyKeyListener implements mx.core.MXMLObject {
public var view;

function initialized(document : Object, id : String) : Void 
{
view = document;
}

function createListener() : Void {
Key.addListener(this);
}

function onKeyDown() : Void {
mx.controls.Alert.show(String(Key.getCode
()));
}
}


Thanks very much,

Y. Yang





 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12h95v6j2/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124361089/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Ladislav Zigo Tweening Prototype in Flex

2005-08-18 Thread Stanislav Zayarsky
Does anybody know how to use this Ladislav Zigo Prototype
http://laco.wz.cz/tween/ in Flex?

Best regards
Stanislav


 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hifjn8i/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124360815/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Changing the wrongLengthError in a DateValidator

2005-08-18 Thread Kai König
Hi Matt,

if you're thinking about the validators in general, another thing I'd
love to have is something like a defaultErrorMessage attribute which
automatically sets the value for all the more specific error
attributes if one doesn't specify those in particular.

Cheers
Kai

MC> I think someone else ran into this (maybe Mika?) but I don't
MC> remember if it had a work around.  This is something we're fixing
MC> in 2.0, I don't have a solution for you off the top of my head.

MC> Matt

MC> -Original Message-
MC> From: flexcoders@yahoogroups.com
MC> [mailto:[EMAIL PROTECTED] On Behalf Of Kai König
MC> Sent: Wednesday, August 17, 2005 6:56 AM
MC> To: flexcoders@yahoogroups.com
MC> Subject: [flexcoders] Changing the wrongLengthError in a DateValidator

MC> Hi all,

MC> another validator-related question:

MC> Having to validate for a date using a DateValidator, the requirements
MC> are to just deliver one validation message if the validation fails.
MC> Following the concept, I'd have to add a long list of attributes to my
MC> validator call, as in:

MC>invalidFormatCharsError="blabla" ... />

MC> So we thought it might be nice to subclass the DataValidator and to
MC> define a defaultErrorMessage which we can pass into our own validator
MC> class and internally, the class is responsible to overwrite the values
MC> of the pre-defined errors.

MC> Works quite good, BUT doesn't work for wrongLengthError. The docs
MC> state:

>>Error message when the length of the date doesn't match that of the
>>inputFormat. Default is "Please type the date in the format
>>inputFormat.".

MC> That means the default error might be something like:
MC> "Please...format mm/dd/"

MC> As far as I understand, I'd expect to be able to overwrite the default
MC> with anything I like, but regardless to what I set the value for
MC> wrongLengthError, Flex always adds the value of inputFormat to my
MC> error message - I end up with something like

MC> "This is my errortext and I want you to type it correct mm/dd/"

MC> This is especially annoying with localized error messages in which the
MC> inputFormat has to be at another place within the error message by
MC> grammar: "Bitte nutzen Sie das Format dd.mm. in diesem Feld".

MC> Is there a way to get rid of the automatic concatenation of the
MC> inputFormat within the wrongLengthError of this validator?

MC> Cheers
MC> Kai









MC> --
MC> Flexcoders Mailing List
MC> FAQ:
MC> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
MC> Search Archives:
MC> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
MC> Yahoo! Groups Links



 






MC> --
MC> Flexcoders Mailing List
MC> FAQ:
MC> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
MC> Search Archives:
MC> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
MC> Yahoo! Groups Links



 




-- 
Best regards,
 Kaimailto:[EMAIL PROTECTED]



 Yahoo! Groups Sponsor ~--> 
http://us.ard.yahoo.com/SIG=12hpdvqk2/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124357529/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!.
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/