RE: [flexcoders] Trouble with Delegate Pattern

2005-08-18 Thread Matt Chotin










You probably solved this by now, but



This isnt really a problem with the
delegate pattern, its more that access to the RemoteObject itself isnt
working. My guess is that your MyDelegate is getting created before the
MyServices component, therefore it doesnt have access to everything. I
bet if you did a check youd see that
mx.core.Application.application.MyServices.MyCFC is null when you tried to assign
it.



Matt









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Stewart, Ryan
Sent: Monday, August 08, 2005 8:11
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Trouble with
Delegate Pattern





I am using the design
patterns from Cairngorm and Chapter 20 of the Developing Rich Clients with Flex
book (though Im not using the actual Cairngorm framework). I have
a problem that Im not sure how to debug and Im not exactly sure
what parts of my code I should post, so Ill explain the issue and maybe
someone can help me narrow it down. Im kind of an ActionScript
newbie, so I may just be in over my head.



In my delegate file, I
cant set the delegate to anything past mx.core.Application.application.
In my functions I have to actually type out the path to my services and
CFC. I have a function that creates the delegate:




public function MyDelegate(commandCaller:Responder)


{


this.my_delegate = mx.core.Application.application;


this.my_responder = commandCaller;


}



And then I have my operation
calls on the CFCs:




public function MyCFCMethod():Void {


var pendingCall:Object = this.my_delegate.MyServices.MyCFC.MyCFCMethod();


pendingCall.resultHandler = Delegate.create(this.my_responder,
this.my_responder.onResult);


pendingCall.faultHandler = Delegate.create(this.my_responder,
this.my_responder.onFault);


}



If I try to use
this.my_delegate = mx.core.Application.application.MyServices.MyCFC in the
MyDelegate() function, and then use this.my_delegate.MyCFCMethod() in the
MyCFCMethod function, it wont make the connection to the CFC (The
netConnectionDebugger shows a connect event, but no call event).



Any idea what might be
causing this? I know this is a really open-ended question, so any small
piece of advice for helping me track the issue down would be much appreciated.



Thanks in advance for your
help,



-Ryan Stewart









--
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] TileList background transparent

2005-08-18 Thread Matt Chotin










Sorry for the late response, TileList
doesnt support a transparent background.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of maroun_paris
Sent: Monday, August 08, 2005 9:46
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] TileList
background transparent





Hi all,

I have a TileList and I would like that the
background to be 
transparent.

I tried backgroundAlpha = 0 on TileList and
CellRenderer : no result.

When I set alpha=0, I cannot see the images of my
TileList.

Any suggestion, thanks.













--
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] Filtering Dataprovider with Large Datasets

2005-08-18 Thread Matt Chotin










Some of the stuff in Flex 2 may assist in
this a little, but I think for now youre going down the right path.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Allen Manning
Sent: Wednesday, August 10, 2005
3:35 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Filtering
Dataprovider with Large Datasets





Hello Flex Coders,



I want to be able to expand the Type-ahead
filtering concept of a filtering custom dataprovider to a dataset of about
5,000 items.



Im in the early stages of planning this and
am thinking of a combination of an Implicit Paging Dataprovider (aka Matt
Chotins large datasets blog) and a text filtering dataprovider.



This is how Im thinking of tackling the
problem: talk to the server in the beginning of the filter, and then switch to
client side filtering when the filtered dataset is down to one page.



Has anyone tried this before? Any suggestions
before I go down this path? Is Flex2 DG going to help me accomplish this
any easier?



Thanks for any ideas or comments,

Allen

www.prismix.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



  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 handle a returned Java Collection in Flex - RemoteObject call

2005-08-18 Thread Matt Chotin










Sorry, I dont know what might be
going on here. Sounds like a bean-mapping issue though. Maybe your sDesc was
public?











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED]
Sent: Monday, August 08, 2005 2:24
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to
handle a returned Java Collection in Flex - RemoteObject call







Hi Matt,

I used XMLObjectOutput and found out that the name
returned in the result
was 'sdesc'. I think I was confused by the fact
that I was expecting 'Desc'
or 'desc', which is the getter name for this
attribute --getDesc- in the
Java VO. However, it is returning the name of the
attribute itself but all
lower case. The original name in Java is 'sDesc',
which I originally tried
as well.

Any comments on this?








Matt
Chotin
To: flexcoders@yahoogroups.com


[EMAIL PROTECTED]
cc:


Sent
by:
Subject: RE: [flexcoders] How to handle a returned
Java 

flexcoders@yahoogroups.com
Collection in Flex - RemoteObject
call


08/05/2005 07:45
PM


Please respond
to


flexcoders









Yep, use fdb or FlexBuilder's debugger or the
XMLObjectOutput in the extras
folder or one of the dump utilities that people
have been mentioning over
the last few days.

Matt


From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
Behalf Of [EMAIL PROTECTED]
Sent: Friday, August 05, 2005 10:36 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to handle a returned
Java Collection in Flex
- RemoteObject call



Thanks Matt, that makes sense. However, it still
doesn't work. It might be
coming with a different name. Is there any way to
display the object and
the name of its attributes?

Thanks,
-Oscar.





Matt
Chotin
To:
flexcoders@yahoogroups.com

[EMAIL PROTECTED]
cc:


Sent
by:
Subject: RE: [flexcoders]
How to handle a returned Java

flexcoders@yahoogroups.com
Collection in Flex -
RemoteObject call

08/05/2005 12:41 AM


Please respond to


flexcoders







It's not getProperty(desc) for normal
arrays, only when being used for a
TreeDatatProvider. Try oItem.desc and see if
that works.

Matt


From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
Behalf Of [EMAIL PROTECTED]
Sent: Thursday, August 04, 2005 1:33 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How to handle a returned
Java Collection in Flex
- RemoteObject call



Sorry for the late response, I actually got it
closer to what I need. I can
see the collection that the Remote Object is
returning in a ComboBox.
However, I can see all attributes listed in the
ComboBox separated by
commas. I only want to show one of them, the
Description. So I figured I
will use labelField or labelFuntion, but didn't
work. This is what I have:

Any ideas?

Server side:

public class LookupManager {
...
 public Collection getTheList()
{
 // Set
up default response

Collection response = null;

response = theList // gets the list from a Service

return response;
 }
...
}

client side:

mx:Script
 ![CDATA[


--
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.





---
This e-mail message (including attachments, if
any) is intended for the use
of the individual or entity to which it is
addressed and may contain
information that is privileged, proprietary ,
confidential and exempt from
disclosure. If you are not the intended
recipient, you are notified that
any dissemination, distribution or copying of this
communication is
strictly prohibited. If you have received
this communication in error,
please notify the sender and erase this e-mail
message immediately.
---












--
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 add items to the dragsource?

2005-08-18 Thread Matt Chotin










Sorry for the late response, I believe
that when you get the dataForFormat(items) you receive a copy of
the items *each time.* So the
next time somebody asks for dataForFormat(items) theyre
getting a new copy, thus not seeing your changes. The DragProxy itself I dont
think is going to pay any attention to what you do, its a relatively
static image once it starts dragging.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Douglas Knudsen
Sent: Wednesday, August 10, 2005
7:54 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] how to
add items to the dragsource?





any ideas on this? Seems to pull this off, have to extend the
List
comp with custom dragdrop stuffs.

DK

On 8/8/05, Douglas Knudsen
[EMAIL PROTECTED] wrote:
 http://livedocs.macromedia.com/flex/15/flex_docs_en/0623.htm
 has
 The DataSource object created by Flex
contains the following data objects:
 
 * For a List or
DataGrid control, the first data object contains a
 copy of the selected item or items in the
List or DataGrid control,
 and has a format string of items. The
selected items implement the
 DataProvider API.
 
 that said, DS also has a method addData() (
 http://livedocs.macromedia.com/flex/15/asdocs_en/mx/core/DragSource.html
 ) which doesn't seem to work.
 
 Maybe there is an event that I need to fire
to update the dragproxy display?
 
 DK
 
 On 8/8/05, Allen Manning
[EMAIL PROTECTED] wrote:
  Douglas,
 
  Are you sure that DS is actually a Data
Provider? I think it would exhibit
  that behaviour if you were attaching
dynamic properties onto an Object.
 
  Allen
  www.prismix.com/
 
 
  -Original Message-
  From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
  Behalf Of Douglas Knudsen
  Sent: 08 August 2005 17:04
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] how to add items
to the dragsource?
 
  I'm trying to add items to a dragsource
on th efly.
 
  var DS =
event.dragSource.dataForFormat(items);
  DS.addItem(objectitem);
  alert(DS.length);
 
  It adds it according to the alert, but
nothing is changed in the
  display. In other words, the
dragproxy image thingy is not updated.
  Is this possible?
 
 
  --
  Douglas Knudsen
  http://www.cubicleman.com
  this is my signature, like it?
 
 
 
  --
  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
 
 
 
 
 
 
 
 
 
 --
 Douglas Knudsen
 http://www.cubicleman.com
 this is my signature, like it?
 


-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?








--
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] Text content larger than 16384 bytes may not be included at compile-time (740684

2005-08-18 Thread Matt Chotin










Basically we dont allow super-long
strings (which in your case is a big string of XML to be parsed) to get
compiled into the SWF because its almost guaranteed to cause a 32K
branching limit issue.



Hopefully this limit goes away in Flex 2.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of cnewroth55
Sent: Thursday, August 11, 2005
4:39 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Text content
larger than 16384 bytes may not be included at compile-time (740684





I have an xml file that is
26000 lines long and am trying to read it 
into a datagrid, when i do i get the error listed
as the subject:

Text content larger than 16384 bytes may not be
included at compile-
time (740684)

any idead why i am getting this? have nto seen
this before

thx all












--
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] problem with cell renderer showing data in datagrid twice

2005-08-18 Thread Matt Chotin










Craig, did you solve this or do you still need
help?











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Craig Newroth
Sent: Thursday, August 11, 2005
11:35 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] problem
with cell renderer showing data in datagrid twice









here are the files







cnewroth55
[EMAIL PROTECTED] wrote:





okay, heres one for all; i
have a datagrid and the last cell i 
wanted 
to put a combo box in it with a set of selections
for a user to pick 
from. got the cell renederer to work and it puts
the combo box in 
it, 
however if yu select an item from them combo box,
it will put that 
selection in the next row that is 'invisible' or
below the datagrids 
visible rows.
graphic representation:
__
[][][combo box]-i select an item here 
say
'1'

(say there are 7 visible rows to datagrid)
__
here is the next row (8) that you cannot see
unless you use scroll 
bar
--
[][][combo box] -the item '1' shows up
here...and in 
subsequent selection(s) numbering the amount of
visible rows in the 
dg..?
here is the cellrenderer code file and the main
mxml file
any thoughts as to why or what I am doing wrong?
(guess I will have to attach the files in a
seperate reply to this 
post, dont see where to attach them here)














Start
your day with Yahoo! - make it your home page 







--
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] mxmlc: Error with configuration file... Invalid content starting with...

2005-08-18 Thread Matt Chotin
Title: mxmlc: Error with configuration file... Invalid content starting with...










You figure this out? Whats the
command-line that you used?











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt
Sent: Thursday, August 11, 2005
6:02 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] mxmlc: Error
with configuration file... Invalid content starting with...





Im
trying to use mxmlc to compile an app. I got the error in the subject, so
I reverted to the original flex-config file and still get the error.

The
app compiles fine normally. Any ideas? More of the trace
below.

Tracy

flex.util.ChainedRuntimeException:
Error with configuration file or starting ser

vices.


at flex.tools.CmdLineOptions.createToolServices(CmdLineOptions.java:441)


at flex.tools.CmdLineOptions.parseArguments(CmdLineOptions.java:139)


at flex.tools.CmdLineOptions.init(CmdLineOptions.java:118)


at flex.tools.CmdLineOptions.init(CmdLineOptions.java:106)


at flex.tools.Mxmlc.main(Mxmlc.java:63)

Caused
by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid conten

t
starting with element 'show-deprecation-warnings'. One of '{http://www.macrom

edia.com/2003/flex-config:show-binding-warnings,
http://www.macromedia.com/200

3/flex-config:web-service-proxy-debug,
http://www.macromedia.com/2003/flex-con

fig:http-service-proxy-debug,
http://www.macromedia.com/2003/flex-config:remo

te-objects-debug,
http://www.macromedia.com/2003/flex-config:show-stacktraces-

in-browser,
http://www.macromedia.com/2003/flex-config:create-compile-report,

http://www.macromedia.com/2003/flex-config:show-source-in-compiler-errors,
ht

tp://www.macromedia.com/2003/flex-config:log-compiler-errors}'
is expected.


at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)


at javax.xml.parsers.SAXParser.parse(Unknown Source)


at javax.xml.parsers.SAXParser.parse(Unknown Source)


at flex.config.ConfiguratorParser.parse(ConfiguratorParser.java:1459)


at flex.config.Configurator.init(Configurator.java:37)


at flex.core.ToolServiceImpl.setupConfigurator(ToolServiceImpl.java:33)


at flex.core.FlexService.start(FlexService.java:22)


at flex.tools.CmdLineOptions.createToolServices(CmdLineOptions.java:437)


... 4 more









--
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] Cannot assign selected value from a radiobutton that was created dynamically.

2005-08-18 Thread Matt Chotin










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











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 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 

?xml version=1.0
encoding=utf-8?

mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml

 mx:Script
 ![CDATA[

 public
var arrayList:Array= new Array();


 private
function getmyList(): Void
 {
 arrayList[0]=item1;

arrayList[1]=item2;

arrayList[2]=item3;

addElement();
 }

 // Add
radiobuttons dynamically
public function addElement() {
 var
totalOptions:Number = arrayList.length;

var isSelected:Boolean;

//mx.controls.Alert.show(String(totalOptions),Total Options);
 for(var
i:Number=0;itotalOptions;i++) {

if (i==0) // Selects the first Radio Button

isSelected=true

else

isSelected=false

receiptHBox.createChild(mx.controls.RadioButton, undefined,
{label:item+i ,
data:item+i ,groupName:group1 ,selected:isSelected}
).addEventListener(click,clickRadioButton);

 }
 }
 public function
clickRadioButton(event)
 {

txtReceipt.text=event.target.data; // This doesn't work

mx.controls.Alert.show(event.target.data,Test); // But the
the data is there .

 }
 public function
changeText()
 {

txtReceipt.text=Button;
 }


 ]]
 /mx:Script



 mx:TextArea
id=txtReceipt /
 mx:HBox
id=receiptHBox initialize=getmyList()

!-- Radio buttons are created dynamically --
 /mx:HBox

 mx:Button
label=Button click=changeText()/


 /mx:Application



---
This e-mail message (including attachments, if
any) is intended for the use
of the individual or entity to which it is
addressed and may contain
information that is privileged, proprietary ,
confidential and exempt from
disclosure. If you are not the intended
recipient, you are notified that
any dissemination, distribution or copying of this
communication is
strictly prohibited. If you have received
this communication in error,
please notify the sender and erase this e-mail
message immediately.
---












--
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] Validation TextInput

2005-08-18 Thread Matt Chotin
The problem is that the validators won't fire until they've seen a valid 
(non-empty) value come across.  We explicitly made a decision that tabbing 
through an empty field would not cause an error, so binding doesn't trigger 
validation in this case.  What you can do is programmatically set the value 
temporarily to a non-null value and then set it back.  Maybe you could add a 
focusOut handler on yourself and basically check if the value is , and if so 
set your value to be   and then immediately back to ?

Sorry, definitely a wacky solution for now.

Matt
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kai 
König
Sent: Wednesday, August 17, 2005 5:13 AM
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 ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h7buku1/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124354286/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/a./font
~- 

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

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kai 
König
Sent: Wednesday, August 17, 2005 6:56 AM
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:

mx:DateValidator ... invalidCharError=blabla
  invalidFormatCharsError=blabla ... /

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
iinputFormat/i..

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 ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hl7nb6d/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124354400/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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] menubar bar color

2005-08-18 Thread Matt Chotin
Title: Creating a new Flex component










I think its stuck in 1.x but Im
not 100% sure. Seems like youve played a lot with it though to no
avail. Make sure the Flex Style Explorer didnt solve it but otherwise I
think its stuck.



Matt











From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf Of Robert Brueckmann
Sent: Wednesday, August 17, 2005
9:39 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] menubar bar
color







I searched the archives and it seems a
handful of people have asked how to change the color of the actual bar of the
menubar component but nobody ever got an answershould I take that as a
definitive not possible? Ive tried every color and
fill attribute under the sun to no availmost attributes change the
background color of the menu itself but not the
parent-collapsed-100%-width-across-the-top-of-my-screen menu bar.
Thoughts? Comments?





robert l. brueckmann

senior web developer

merlin
securities

595 madison avenue

new york,ny
10022

p: 212.822.4821
f: 212.822.4820























This message contains information
fromMerlin Securities, LLC, or from one of its affiliates, that may be
confidential and privileged. If you are not an intended recipient, please refrain
from any disclosure, copying, distribution or use of this information and note
that such actions are prohibited. If you have received this transmission in
error, please notify the sender immediately by telephone or by replying to this
transmission.





 





Merlin Securities, LLC is a registered
broker-dealer. Services offered throughMerlin Securities, LLC are not
insured by the FDIC or any other Federal Government Agency, are not deposits of
or guaranteed byMerlin Securities, LLCand may lose value. Nothing
in this communication shall constitute a solicitation or recommendation to buy
or sell a particular security.











--
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] Calling RemoteObject declared in a mxml component in an application-The property being referenced does not ...

2005-08-18 Thread Matt Chotin










You cant use the classname for your
id. Change id=services to something like id=myServices
and then do myServices.myRemoteObject











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, August 16, 2005
8:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Calling
RemoteObject declared in a mxml component in an application-The property being
referenced does not ...







I want to have all my RemoteObject declarations in
a mxml component that I
can later use in another application. I created a
services.mxml file where
I have something like this:

?xml version=1.0
encoding=utf-8?
mx:Canvas xmlns:mx=http://www.macromedia.com/2003/mxml
 !--
services.mxml===
--
 !--

--
 !-- Remote Java
Objects
--
 !--

--

mx:RemoteObject id=myRemoteObject

source=com.remote.object

result=event.call.resultHandler(event.result)

mx:method name=getMyData/mx:method

/mx:RemoteObject

 !--

--
 !-- Web
Services
--
 !--

--

 !--

--
 !-- HTTP
Services
--
 !--

--

/mx:Canvas



Then I call it like this:


?xml version=1.0
encoding=utf-8?

mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml
xmlns:i2=*
 mx:Script
 ![CDATA[

 public
var myList:Array= new Array();

 // Remote call to
getMyData in the Java service. Handler below
 private
function getMyList(): Void
 {

var category:String=something;

var pendingCall = services.myRemoteObject.getMyData(category);

pendingCall.resultHandler =
mx.utils.Delegate.create(this,resultHandler)
 }

function resultHandler(result): Void
 {

myList= result;
 }


 ]]
 /mx:Script

 !--

--
 !--
View
--
 !--

--

mx:ComboBox dataProvider={myList}
id=cb_1
initialize=getMyList()
width=200 /

 !--

--
 !-- Remote Java
Objects
--
 !--

--
 i2:services
id=services /




/mx:Application


 However I get this error message:


The property being referenced does not have the static
attribute.

 I have tried to call it like this,

 var pendingCall =
mx.core.Application.application.services.myRemoteObject.getMyData(category);

 which doesn't give any error but doesn't
return any data.

Any ideas?

 Thanks


---
This e-mail message (including attachments, if any)
is intended for the use
of the individual or entity to which it is
addressed and may contain
information that is privileged, proprietary ,
confidential and exempt from
disclosure. If you are not the intended
recipient, you are notified that
any dissemination, distribution or copying of this
communication is
strictly prohibited. If you have received
this communication in error,
please notify the sender and erase this e-mail
message immediately.
---












--
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] 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 mx:DateValidator ... invalidCharError=blabla
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
iinputFormat/i..

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 ~-- 
font face=arial size=-1a 
href=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!/a./font
~- 

--
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 ~-- 
font face=arial size=-1a 
href=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!/a./font
~- 

--
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 ~-- 
font face=arial size=-1a 
href=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=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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 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 ~-- 
font face=arial size=-1a 
href=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!/a./font
~- 

--
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 
Prototypehttp://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.--


[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

--
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; 
initialize=drawSqure()

mx:Script
![CDATA[
function drawSqure() {
this.createEmptyMovieClip(triangle_mc, 1);
triangle_mc.lineStyle(5, 0xff00ff, 100);
triangle_mc.moveTo(200, 200);
triangle_mc.lineTo(300, 300);
triangle_mc.lineTo(100, 300);
triangle_mc.lineTo(200, 200);
}
]]
/mx:Script
/mx:Application

---




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=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=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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 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
Webdeveloper
+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--?xml 
version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" 
initialize="drawSqure()"mx:Script![CDATA[function 
drawSqure() {  
this.createEmptyMovieClip("triangle_mc", 1); 
 triangle_mc.lineStyle(5, 0xff00ff, 
100);  
triangle_mc.moveTo(200, 200); 
 triangle_mc.lineTo(300, 
300);  
triangle_mc.lineTo(100, 300); 
 triangle_mc.lineTo(200, 
200);  
}]]/mx:Script/mx:Application---





--
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] 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] 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.



  









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 ~-- 
font face=arial size=-1a 
href=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/a./font
~- 

--
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 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:

mx:DateValidator ... invalidCharError=blabla
  invalidFormatCharsError=blabla ... /

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
iinputFormat/i..

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 ~-- 
font face=arial size=-1a 
href=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!/a./font
~- 

--
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










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

Ineed 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 (http://www.joangarnet.com)
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 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] 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 ~-- 
font face=arial size=-1a 
href=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!/a./font
~- 

--
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
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:

MyOwnValidator field=model.bla /

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 {
MKIf (errorCode == “wrongLength”)
MK  defaultMessage = yourTranslatedMessage;

MKsuper.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 mx:DateValidator ... invalidCharError=blabla
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
iinputFormat/i..

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 ~-- 
font face=arial size=-1a 
href=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/a./font
~- 

--
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 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] 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 

?xml version=1.0 encoding=utf-8?

mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; 
mx:Script
![CDATA[

 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h750kns/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124384081/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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 myClass

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
CalculatorHandler 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
myClass tag.

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

mx:Script
![CDATA[
var myInstance = new myClass();
]]
/mx:Script

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 ~-- 
font face=arial size=-1a 
href=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=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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] Constructor not called when calling myClass

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

Could you post some of the code from your myClass 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 mx:Script 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):

mx:Script
![CDATA[
private var myInstance: MyClass;

private function createMyClassObject(): Void
{
myInstance = new myClass();
}
]]
/mx:Script

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 myClass

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
CalculatorHandler 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 myClass
tag.

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

mx:Script
![CDATA[
var myInstance = new myClass();
]]
/mx:Script

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 ~--
font face=arial size=-1a
href=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=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In low income
neighborhoods, 84% do not own computers. At Network for Good, help
bridge the Digital Divide!/a./font
~- 

--
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 ~-- 
font face=arial size=-1a 
href=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!/a./font
~- 

--
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] 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] 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.
Itcan 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.--


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 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
http://groups.yahoo.com/group/flexcoders  on the web.
  
*To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
  
*Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service http://docs.yahoo.com/info/terms/ . 







 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=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!/a./font
~- 

--
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: Service Call Timeouts in Cairngorm

2005-08-18 Thread Stacy Young










Just picked up this thread in the archivesIm
about to approach this same taskwas 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.



  











[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.



  










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

2005-08-18 Thread Jawad Anwar










Can anyone explain why Im 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.



  











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.



  









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 ~-- 
font face=arial size=-1a 
href=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!/a./font
~- 

--
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: flexcoders@yahoogroups.com
 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 ~-- 
font face=arial size=-1a 
href=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!/a./font
~- 

--
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
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: flexcoders@yahoogroups.com
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: flexcoders@yahoogroups.com
 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 ~-- 
font face=arial size=-1a 
href=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!/a./font
~- 

--
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 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] Is there a simple way of doing this

2005-08-18 Thread JesterXL





mx:TextInput restrict="0123456789" /

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.



  









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: flexcoders@yahoogroups.com
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: flexcoders@yahoogroups.com
 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: flexcoders@yahoogroups.com
  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





--
Flexcoders Mailing List
FAQ: 

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 ~-- 
font face=arial size=-1a 
href=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=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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 wasnt plain enough

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



Im 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 
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








  
  
SPONSORED LINKS
  
  
   

[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 ~-- 
font face=arial size=-1a 
href=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=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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 ~-- 
font face=arial size=-1a 
href=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/a./font
~- 

--
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 select multiple items in a List control?

2005-08-18 Thread Tracy Spratt
Here is one way:
http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectID=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 ~-- 
font face=arial size=-1a 
href=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!/a./font
~- 

--
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 there a simple way of doing this

2005-08-18 Thread Tracy Spratt










And dont 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







mx:TextInput restrict=0123456789 /











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.



  











[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: flexcoders@yahoogroups.com
 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: flexcoders@yahoogroups.com
  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: flexcoders@yahoogroups.com
   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:
  

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: flexcoders@yahoogroups.com
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: flexcoders@yahoogroups.com
 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: flexcoders@yahoogroups.com
  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: flexcoders@yahoogroups.com
   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 :
   

[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 ~-- 
font face=arial size=-1a 
href=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!/a./font
~- 

--
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 ~-- 
font face=arial size=-1a 
href=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!/a./font
~- 

--
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 ~-- 
font face=arial size=-1a 
href=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=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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



?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; 

mx:Panel width=432 title=MyPanel
  mx:Canvas width=415 height=208 backgroundColor=#FF  
initialize=drawlines() visible=true
  /mx:Canvas
/mx:Panel
mx:Script
![CDATA[
function drawlines() {
var lines = this.createEmptyMovieClip(line_mc, 1);
with (lines) {
lineStyle(5, 0xff, 100);
moveTo(350, 100);
lineTo(400, 120);
}
}
]]
/mx:Script
/mx:Application



 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=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=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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] 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: flexcoders@yahoogroups.com
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 
mx:Application.
 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 ~-- 
font face=arial size=-1a 
href=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=YAHOOcmpgn=GRPRTP=http://groups.yahoo.com/;In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!/a./font
~- 

--
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,

 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: flexcoders@yahoogroups.com
 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: flexcoders@yahoogroups.com
  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: flexcoders@yahoogroups.com
   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: flexcoders@yahoogroups.com
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.
 
 

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.