[flexcoders] Set Icon on tree

2005-08-16 Thread digital_eyezed
Hi,

I'm trying to set the icon of the nodes on my tree based on some 
logic and am using the iconFunction tag to do this but it doesn't 
seem to work. The tree is populated from a returned Array of Value 
objects from a remoteObject call. One of the variables within each 
Value Object is called percent_full and is a number between 0 and 
100 inclusive. Here is the icon function I have used:

  [Embed(assets/vgreen.png)] 
  var greenIcon:String; 
  [Embed(assets/vamber.png)] 
  var amberIcon:String;
  [Embed(assets/vred.png)] 
  var redIcon:String;  
public function setIcon(item){
var type:Number = item.percent_full;
if (type = 0  type  33){
return redIcon;
}else if(type = 33  type  66){
return amberIcon;
}else if(type = 66  type = 100){
return greenIcon;
}
}

I get green Icons for ever node!

Regards,

Iain





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h72a7ed/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124193327/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: Set Icon on tree

2005-08-16 Thread digital_eyezed
Sorry, I fixed it:

just changed the first line to:

var type:Number = item.getProperty('percent_full');

Doh!


--- In flexcoders@yahoogroups.com, digital_eyezed 
[EMAIL PROTECTED] wrote:
 Hi,
 
 I'm trying to set the icon of the nodes on my tree based on some 
 logic and am using the iconFunction tag to do this but it doesn't 
 seem to work. The tree is populated from a returned Array of Value 
 objects from a remoteObject call. One of the variables within each 
 Value Object is called percent_full and is a number between 0 and 
 100 inclusive. Here is the icon function I have used:
 
   [Embed(assets/vgreen.png)] 
   var greenIcon:String; 
   [Embed(assets/vamber.png)] 
   var amberIcon:String;
   [Embed(assets/vred.png)] 
   var redIcon:String;  
 public function setIcon(item){
   var type:Number = item.percent_full;
   if (type = 0  type  33){
   return redIcon;
   }else if(type = 33  type  66){
   return amberIcon;
   }else if(type = 66  type = 100){
   return greenIcon;
   }
 }
 
 I get green Icons for ever node!
 
 Regards,
 
 Iain




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h06a4n3/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124193505/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-16 Thread Rick Bullotta





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 
JesterXLSent: Mon 8/15/2005 9:28 PMTo: 
flexcoders@yahoogroups.comSubject: 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
  
  
  

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] What I wish Flex/Flash Player could do...

2005-08-16 Thread Theodore E Patrick










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



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



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



Key.addListener(this) 

function onKeyDown(){

 var
self = arguments.callee

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

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

 self.storage
= self.storage + k

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

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

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

 ti_name.text
= sname

 ti_card.text
= scardbase[0]

 ti_date.text
= scardbase[1] 

 self.storage
=  

 } 

}



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



One less thing for Ethan :)



Cheers,



Ted J















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









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











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











- Barcode readers





- RFID readers





- Card readers





- Others...











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











- Rick Bullotta





 SAP Labs, LLC















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





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

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











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





  




  
  
  YAHOO! GROUPS LINKS



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



  











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

2005-08-16 Thread Rick Bullotta









Thanks for the 
ideas!

I've done similar things in 
the past - but specific "listeners" for various attached input devices would be 
a cleaner way to go, particularly when there are multiple input fields on a form 
that can accept remote or direct input. There are hacks that can be done 
with "prefix" and "suffix" codes to help identify input source, but they're 
messy. And the focus management can be even more painful :(.

Good ideas though!


From: flexcoders@yahoogroups.com on behalf of 
Theodore E PatrickSent: Tue 8/16/2005 6:52 AMTo: 
flexcoders@yahoogroups.comSubject: 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 BullottaSent: Tuesday, August 16, 2005 1:20 
PMTo: 
flexcoders@yahoogroups.com; flexcoders@yahoogroups.comSubject: 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 JesterXLSent: Mon 8/15/2005 9:28 PMTo: flexcoders@yahoogroups.comSubject: 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 
ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
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 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] What I wish Flex/Flash Player could do...

2005-08-16 Thread Theodore E Patrick










lash Player 8 provides an new intrinsic
class called ExternalInterface. This allows you to exchange data with external
application in a standardized way synchronously in both directions. Flash can
call an external function and get the return data and an external app can query
the Flash Player in the opposite manner. With custom instances of input drivers
in an external application, you can fire custom events into the player or query
the external objects to obtain their state. Most input drivers work with
_javascript_ and ActiveX allowing you to pipe data into Flash via
ExternalInterface. 



I doubt that Macromedia would support
custom input drivers now that ExternalInterface exists. The code I posted was
intended to be player version neutral and should work in Flash 5 or higher,
less those fancy v2 controls. This code is also focus neutral but is hardwired
to the instance names of the V2 controls. It would be a trivial change to make
this work through an event model.



Ted ;)

















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









Thanks for the ideas!











I've done similar things in the past -
but specific listeners for various attached input devices would be
a cleaner way to go, particularly when there are multiple input fields on a
form that can accept remote or direct input. There are hacks that can be
done with prefix and suffix codes to help identify
input source, but they're messy. And the focus management can be even
more painful :(.











Good ideas though!















From:
flexcoders@yahoogroups.com on behalf of Theodore E Patrick
Sent: Tue 8/16/2005 6:52 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] What I
wish Flex/Flash Player could do...





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



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



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



Key.addListener(this)


function onKeyDown(){


var self = arguments.callee


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


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


self.storage = self.storage + k


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


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



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


ti_name.text = sname


ti_card.text = scardbase[0]


ti_date.text =
scardbase[1]



self.storage =




}


}



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



One less thing for Ethan :)



Cheers,



Ted J















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









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











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











- Barcode readers





- RFID readers





- Card readers





- Others...











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











- Rick Bullotta





 SAP Labs, LLC















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





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

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






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










YAHOO!
GROUPS LINKS





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
























--

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

2005-08-16 Thread JesterXL





Someone blogged about using a webcam as a barcode 
reader in Flash 8 using the new imaging ActionScript. Not sure about the 
rest.

- Original Message - 
From: Rick Bullotta 
To: flexcoders@yahoogroups.com ; flexcoders@yahoogroups.com 
Sent: Tuesday, August 16, 2005 6:19 AM
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 JesterXLSent: Mon 8/15/2005 9:28 PMTo: 
flexcoders@yahoogroups.comSubject: 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] Testing Flex Applications

2005-08-16 Thread Allen Manning










Hello Flex Coders,



Im using FlexUnit to do unit testing of my Flex
applications. 



The QA team that Im working with would like to use
a screen-reader style tool to check the state of the Flash application and set
it up in regressions. Do any tools exist that do this type of regression
testing. 



If so, has anyone used them?



Many thanks for any help or ideas,

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








  
  
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.



  











--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.9/72 - Release Date: 14/08/2005
 


[flexcoders] Calling RemoteObject declared in a mxml component in an application-The property being referenced does not ...

2005-08-16 Thread Oscar . Cortes


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






 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12he8hip7/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124213196/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] Solid Analysis of RIA Offerings...

2005-08-16 Thread Tariq Ahmed
Hey all, I'm receiving some upper management friction in terms of 
continuing to push Flex deeper into the Enterprise.

I'm basically looking for a document anyone has written that makes a 
quantitative analysis of the various RIA offerings (most importantly 
Flex, Laszlo, and Ajax) and makes the business case (not the technical 
case) for Flex to give me a head start. Between my own knowledge, and 
links to various postings on the matter I could whip something out - but 
figured I can save a ton of time if someone has already had to do this.

Thanks.





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hcssla8/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124216752/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] Best Practice

2005-08-16 Thread Mehdi, Agha
Title: Best Practice







Hi all,


I have an architectural question. Let me tell you the scenario first.


A tree control with bunch of nodes and each node has some attributes in the database, which vary from node to node. The nodes hold IDs and upon selection, the app needs to get all the attributes and build a form with a bunch of check boxes. Each attribute has multiple values. You can have 10 attributes for a node and each attribute with any number of values. Checkboxes represent the values for those attributes.

Attribute1
 CheckBox1 CheckBox2 CheckBox3
 CheckBox4 CheckBox5


Attribute2
 CheckBox1 CheckBox2



The way I structured is that I'd build the forms as mxml from CF instead of hitting the db for every node selection and doing complex processing to figure out the attributes and values that I need and passing the data back to flex to build the UI. The way db is setup is not very friendly to offer easy retrieval of the attributes. Anyways, a nightly process builds the forms as mxml files using CF and compiles the application to make those forms available. It works good if number of forms is not big. But unfortunately, I can end up with over 900 forms that way. 900 cached mxml files, and I don't like it (please let me know if I should like it and I'll change my mind).

What if my nightly process builds the dataprovider for each node and saves it in the db? When I select a node from the UI, I pass that dataprovider back to flex from CF and build the forms on the fly using repeaters (only if I knew how to build forms like this using repeaters).

The structure of DP is:


Attributes (Array)
 Attribute (Structure/Object)
 Attribute[name]
 Attribute[rows] (Array)
  Attribute[rows][1] (Array)
   Attribute[rows][1][1] (Attribute Value)
   .


I need help in coming up with the better architecture for this piece of the app. I will appreciate any help that I can get (like always)

Thanks


Agha Mehdi
IDT - eBusiness Program Manager
Work: 408.284.8239
Fax: 408.284.2766








--
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] FormItemLabel style?

2005-08-16 Thread Jaime Bermudez
Is there a way to set the style of the FormItem's label, other than
the width?  I want to make the text a certain font and color, but I
can't seem to get it to work by setting these properties on the
FormItem tag.


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12he6m3ul/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124219685/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] SOLVED: Re: Tree component help - please

2005-08-16 Thread pat_ryan_99
With all of your suggestions, I have basically got it working.  I
store the node as suggested, and I use the getData method.

However, I had to do something which causes me to think that my
ActionScript skills need some help.

In my OpenTree Command  I basically have the following:

public function onResult( event : Object ) : Void {

  var list1:Array = Array(event.result);
  if(list1[0] instanceof TreeNodeVO ) {
// THIS NEVER GETS TRACED
trace(list1[0] is an instance of TreeNodeVO);
  }
  processTreeNodeVOs( event.result);

}

private function processTreeNodeVOs(list:Array):Void {

 if( list[0] instanceof TreeNodeVO ) {
// THIS TRACE DOES EXIST
trace(list[0] is an instance of TreeNodeVO);
  }
}

I am not sure why in onResult the typecast and instanceof is different
than calling a method with an Array signature and doing an instanceof.

If anyone has any insight into why that is the case, I would be
interested in hearing what I am doing wrong.

In any event, thank you for your help - I am now off to the next set
of challenges.

Pat
 

--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED]
wrote:
 I think the label property need to be at the top level of the
treeNode.  
 So your example:
 var tempNode:TreeNode = treeSelectedNode.addTreeNode(
   treeNode.label, 
   treeNode );
 Should work.
 
 Remember when accessing the treeNode, use the TreeDataProvider API,
like getProperty(label), and getData()
 Tracy
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of pat_ryan_99
 Sent: Monday, August 15, 2005 12:02 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Tree component help - please
 
 
 Thank you for the response, but that produced the same results.
 
 Other thoughts?
 
 I assume that since my TreeNodeVO has a label attribute, that is all
 that is really required?  Is it having trouble understanding this
VO?
 
 Thanks again
 
 Pat
 
 
 --- In flexcoders@yahoogroups.com, Andrew Spaulding [EMAIL PROTECTED]
wrote:
  Hi,
  
  Maybe try something like this:
  
  mx:Tree nodeOpen=getNodes(event.node) /
  
  you might want to store a reference to this node rather than using
  contentMgmtTree.selectedItem.
  
  So you script block might look like this:
  
  public function getNodes( treeNode )
  {
treeSelectedNode = treeNode;
EventBroadcaster.getInstance().broadcastEvent( getTheNodez,
  treeNode.getData().oid );
  }
  
  
  //and for adding the nodes
  
  public function addTreeNodeUnderSelected(treeNode:TreeNodeVO)
  {
var tempNode:TreeNode = treeSelectedNode.addTreeNode( treeNode
);
//or break it down even further with this
//var tempNode:TreeNode = treeSelectedNode.addTreeNode(
  treeNode.label, treeNode );
  
if( treeNode.hasChildren == true )
{
  tempNode.setProperty( 'isBranch', true, true );
}
else
{
  tempNode.setProperty( 'isBranch', false, true );
}
  }
  
  
  The only real difference is that I store a reference to the
selected
  node from the nodeOpen event using event.node. This is then what I
  would use to add the child nodes to.
  
  See how that goes. 
  
  Andrew Spaulding
  www.flexdaddy.info
  
  
  
  
  --- In flexcoders@yahoogroups.com, pat_ryan_99
[EMAIL PROTECTED]
 wrote:
   Hi Everyone,
   
   I have looked through old messages in this group and did not see
   anything that addresses my question - or at least it was not
clear
   that it did.
   
   Here is what I am trying to do.
   
   Using the Cairngorm framework, I am making a remote call to my
server
   to retrieve something I wrote called a TreeNodeVO ( which has a
public
   label property ).
   
   My ViewHelper adds the Root node like this (which works ):
   
   public function addRootTreeNode(treeNode:TreeNodeVO) : Void {
 view.contentMgmtTree.removeAll();
 var node:Object = view.contentMgmtTree.addTreeNode(treeNode);
 if( treeNode.hasChildren == true ) {
view.contentMgmtTree.setIsBranch(node,true);
 }
   }
   
   when I open the tree node, I make another remote call to get the
   children as an Array of TreeNodeVO objects.
   
   The ViewHelper method to add the other nodes under the opened
node
   looks like:
   
   public function addTreeNodeUnderSelected(treeNode:TreeNodeVO) :
Void {
 trace(treeNode:  + treeNode.toString());
 var node:Object =
   view.contentMgmtTree.selectedItem.addTreeNode(treeNode);
 if( treeNode.hasChildren == true ) {
view.contentMgmtTree.setIsBranch(node,true);
 }
   }
   
   what I see happening is the root node renders correctly as a
folder
   with the right label.  When I open the folder the server is
returning
   the correct array of TreeNodeVO objects but what is rendered
under the
   root node is a document icon ( which is correct ) but with the
label
   [type Function],[type Function],...
   
   Can someone please point me in the right direction on the

[flexcoders] Re: Locking down Flex, Accessing Session Data

2005-08-16 Thread derek
I'm having problems just accessing my session bean in general from
within the flex client.  I'm using JSF and I can verify that the bean
exists in session, yet I can't retrieve it with it's state. 

Could you post some of your code that displays how you are accessing
this information?

Below is my 2nd page that tries to extract this simple helloWorld
data.


%
String jspVal = ((myPackage.HelloBean) 
  session.getAttribute(myName2)).getHelloName();

out.println(\n\nJSP Session value:  + jspVal + \n\n);
%

mm:mxml

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


mx:Script
function updateVal(beanValue) {
  thelabel.text=beanValue;
}
/mx:Script

mx:RemoteObject type=stateful-class id=myName2
 source=com.biomerieux.rdstl.bean.hello.HelloBean 
 result=updateVal(event.result) /

mx:Accordion width=400 height=400
mx:VBox label=Panel 1
mx:Label text=Hello Flex! 
  id=thelabel width=350 x=10/
  mx:Button label=name 
  click=myName2.getHelloName()
  width=150 x=10/
  mx:Button label=reset 
  click=thelabel.text='Hello Flex!' 
  width=150 x=10/  
/mx:VBox
/mx:Accordion
/mx:Application
/mm:mxml




--- In flexcoders@yahoogroups.com, Stacy Young [EMAIL PROTECTED]
wrote:
 Noticed how the call was made by flex
 
  
 
 8/12 17:26:0 [INFO] RemoteObject_AMF: /merchantsales.session()
returned
 { }
 
  
 
 so I tried the following and it worked:
 
  
 
 unnamed
 
sourcecom.optimal.raven.client.*/source
 
sourcemerchantsales/source
 
 /unnamed
 
  
 
 Where the second source listed is the context name...strange this
isn't
 documented anywhere (form what I could see) - but it works!
 
  
 
 Stace
 
  
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:flexcod
[EMAIL PROTECTED] On
 Behalf Of Stacy Young
 Sent: Friday, August 12, 2005 5:06 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Locking down Flex, Accessing Session Data
 
  
 
 Locking down my server here...flex only has access to a collection
of
 client classes. All is well in that regard. Problem is, what do I
need
 to enter in the whitelist in order to allow the client to lookup
session
 data? I've tried this servlet, but to no avail..
 
  
 
 servlet
 
 servlet-namesession/servlet-name
 
 display-nameProvides access to the current session; for
use
 with RemoteObject/display-name
 
 servlet-classflex.bootstrap.BootstrapS
ervlet/servlet-class
 
 init-param
 
 param-nameservlet.class/param-name
 
 param-valueflex.server.j2ee.remote
.Session/param-value
 
 /init-param
 
 /servlet
 
  
 
 Any ideas appreciated!
 
 Stace
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/fi
les/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 
 
 
 
 SPONSORED LINKS 
 
 Computer software testing
 http://groups.yahoo.com/gads?t=msk=Computer+so
ftware+testingw1=Comput
 er+software+testingw2=Macromedia+flexw3=Develo
pmentw4=Software+develo
 perc=4s=93.sig=kh2CguJwmatU5oBXjFo9Rg  
 
 Macromedia flex
 http://groups.yahoo.com/gads?t=msk=Macromedia+
flexw1=Computer+softwar
 e+testingw2=Macromedia+flexw3=Developmentw4=S
oftware+developerc=4s=
 93.sig=dAUcEV7do91-wrRtVS641g  
 
 Development
 http://groups.yahoo.com/gads?t=msk=Development
w1=Computer+software+te
 stingw2=Macromedia+flexw3=Developmentw4=Softw
are+developerc=4s=93.
 sig=AlxNUQBOI7Io7S7nhmxV0Q  
 
 Software developer
 http://groups.yahoo.com/gads?t=msk=Software+de
veloperw1=Computer+soft
 ware+testingw2=Macromedia+flexw3=Developmentw
4=Software+developerc=4
 s=93.sig=QWIit8JayomoIHLVkV3FDg  
 
  
 
  
 
  
 
 
 
 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=12hqvtjlj/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124221542/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

[flexcoders] How to install multiple Flash Player versions?

2005-08-16 Thread Brett Palmer
I'm trying to profile a flex application.  What is the easiest way to
run and install multiple Flash player versions?  I'm interested in
running Flash 7, Flash 7 debug, and Flash 8.

Thanks,

Brett


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hj1d5oi/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124223587/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] Testing Flex Applications

2005-08-16 Thread Todd Rein










Hi Allen,



We cant announce any details yet,
but I can let you know that we are working on functional UI testing support in
Flex for an upcoming release. If you need something sonner, we have
helped other customers with some short term solutions via consulting.



Thanks,

Todd











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Allen Manning
Sent: Tuesday, August 16, 2005
7:30 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Testing Flex
Applications





Hello Flex Coders,



Im using FlexUnit to do unit testing of my
Flex applications. 



The QA team that Im working with would like
to use a screen-reader style tool to check the state of the Flash application
and set it up in regressions. Do any tools exist that do this type of
regression testing. 



If so, has anyone used them?



Many thanks for any help or ideas,

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.



  











--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.9/72 - Release Date: 14/08/2005
 

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

2005-08-16 Thread David Mendels





Hi,

good requests. 

The problem of local storage (beyond local shared objects) 
and the problem of local system access/input extensibility (as below) are things 
we are very interested in.

It helps the team more if you provide details on what you 
want to do, what problem you want to solve, what the "use case" is, rather than 
just "feature requests". Give us as much context as possible. These 
are areas we are very interested in.

-David

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Rick 
  BullottaSent: Tuesday, August 16, 2005 3:20 AMTo: 
  flexcoders@yahoogroups.com; flexcoders@yahoogroups.comSubject: 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 
  JesterXLSent: Mon 8/15/2005 9:28 PMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] What I wish 
  Flex/Flash Player could do...
  I forwarded your request to the Central Dev group for Ethan Malasky 
  to hopefully pick up. Since Central is hopefully the future of 
  Flash, and ultimately Flex on the desktop, things like this are 
  perfect.It just so happens SQL on the client was requested by multiple 
  people already there, so your request from a different demographic WITH 
  the keywords of "occasionally connected" just adds mad 
  credence.





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





  




  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] How to install multiple Flash Player versions?

2005-08-16 Thread John Dowdell
Brett Palmer wrote:
 I'm trying to profile a flex application.  What is the easiest way to
 run and install multiple Flash player versions?  I'm interested in
 running Flash 7, Flash 7 debug, and Flash 8.

Any particular browser and operating system? (I think there's a 
plugin-switching extension for Firefox now... for IE/Win, it's extended 
by system-level extensions which can be trickier to replace on the fly.)

jd




-- 
John Dowdell . Macromedia Developer Support . San Francisco CA USA
Weblog: http://www.macromedia.com/go/blog_jd
Aggregator: http://www.macromedia.com/go/weblogs
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h5dfatm/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124226638/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] embeding swf that takes parameters

2005-08-16 Thread maricnkg
I have a swf that takes 2 parameters: a and b.
To open it in a browser:
my.swf?a=1b=text

How can I embed this swf only once and reuse it in the flex app with 
different parameters in different places?
I mean that I would like to show it in one place
my.swf?a=1b=text1
And then in another place
my.swf?a=2b=text2





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h70v12g/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124227184/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] How to install multiple Flash Player versions?

2005-08-16 Thread Abdul Qabiz
I think, there is a third party software available to switch between
different version of Macromedia Flash Players for IE/FireFox/NetScape or
Standalone on the fly.


FlashPluginSwitcher
www.kewbee.de/FlashPluginSwitcher/index.php 

-abdul

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of John Dowdell
Sent: Wednesday, August 17, 2005 12:40 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] How to install multiple Flash Player versions?

Brett Palmer wrote:
 I'm trying to profile a flex application.  What is the easiest way to
 run and install multiple Flash player versions?  I'm interested in
 running Flash 7, Flash 7 debug, and Flash 8.

Any particular browser and operating system? (I think there's a 
plugin-switching extension for Firefox now... for IE/Win, it's extended 
by system-level extensions which can be trickier to replace on the fly.)

jd




-- 
John Dowdell . Macromedia Developer Support . San Francisco CA USA
Weblog: http://www.macromedia.com/go/blog_jd
Aggregator: http://www.macromedia.com/go/weblogs
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, 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



 




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hnikog7/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124227230/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 install multiple Flash Player versions?

2005-08-16 Thread JesterXL
Check it:

http://www.kewbee.de/FlashPluginSwitcher/index.php

- Original Message - 
From: Brett Palmer [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, August 16, 2005 2:19 PM
Subject: [flexcoders] How to install multiple Flash Player versions?


I'm trying to profile a flex application.  What is the easiest way to
run and install multiple Flash player versions?  I'm interested in
running Flash 7, Flash 7 debug, and Flash 8.

Thanks,

Brett



--
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=12hcbku57/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124227465/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] Cannot assign selected value from a radiobutton that was created dynamically.

2005-08-16 Thread Oscar . Cortes


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






 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12honjvkp/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124227515/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-16 Thread Rajesh Jayabalan
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




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12havgnav/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124228753/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] embeding swf that takes parameters

2005-08-16 Thread Roger Gonzalez
 I have a swf that takes 2 parameters: a and b.
 To open it in a browser:
 my.swf?a=1b=text
 
 How can I embed this swf only once and reuse it in the flex app with 
 different parameters in different places?
 I mean that I would like to show it in one place
 my.swf?a=1b=text1
 And then in another place
 my.swf?a=2b=text2

You can't.  Embed is a compile-time action that involves reaching into
the SWF and brutally mashing its symbols into your application, and if
you embed the entire SWF, trying to pretend that it can be treated as a
simple MovieClip, which is generally only true for very simple SWFs.  If
there is any nontrivial code in there, you're already asking for
trouble, because SWFs don't keep track of dependencies between symbols,
and there is no guarantee that post-Embed the original SWF would have
any definitions in the same order.

It sounds to me like you need to be loading your SWF at runtime, and not
embedding it.

Or, change the code of your embedded SWF to provide an API, and export a
SWC instead of a SWF.

-Roger

Roger Gonzalez
mailto:[EMAIL PROTECTED]


 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hu3n6hh/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124230863/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: validator styles

2005-08-16 Thread Drew Falkman
Never Mind: http://groups.yahoo.com/group/flexcoders/message/16410

-Drew

-Original Message-
From: Drew Falkman [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 16, 2005 1:15 PM
To: 'flexcoders@yahoogroups.com'
Subject: validator styles

Hey---

Does anyone know how to edit the styles for the validation failures, that is
the color/width of the border around the control and the font/color of the
message?

Thanks,

Drew Falkman




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hevjfm4/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124231031/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/
 




[flexcoders] validator styles

2005-08-16 Thread Drew Falkman
Hey---

Does anyone know how to edit the styles for the validation failures, that is
the color/width of the border around the control and the font/color of the
message?

Thanks,

Drew Falkman




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hb6d98u/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124231031/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] Flex developer needed ASAP!

2005-08-16 Thread delaquae
I need a Flex Developer for a small flex-based UI prototype that I 
estimate to require approximately 20-30 hours of effort.  It needs to 
be completed within the next 10 days and might result in a larger 
contract/job opportunity.  The person working on this would 
preferrably be located in the San Francisco, Bay Area.  The rate would 
be somewhere between $75 - $100/hr based on experience.  Please send 
any responses to:

[EMAIL PROTECTED]





 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12h4hf7a9/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124233321/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] Re: How to render a foreground color on an mx:Image

2005-08-16 Thread Gordon Smith
Using a Panel to simply draw a rounded rectangle seems awfully wasteful.

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish 
Jethani
Sent: Wednesday, August 10, 2005 2:29 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: How to render a foreground color on an mx:Image

On 8/11/05, Donal Carroll [EMAIL PROTECTED] wrote:

 I'm also listing the Laszlo code snippet so you'll see what I'm talking
 about: 
   
 canvas
 view name=TestView 
 simplelayout axis=y spacing=3/ 
 
 view name=chip_fill
 resource=common/browse/color_chip_fill.swf
 fgcolor=red/
 view name=chip_fill
 resource=common/browse/color_chip_fill.swf
 fgcolor=green/
 view name=chip_fill
 resource=common/browse/color_chip_fill.swf
 fgcolor=yellow/ 
 
 /view 
 /canvas

OK, I wonder why you need to load an external SWF to do this.  Anyway,
here's the Flex equivalent:

?xml version=1.0?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
  xmlns=* backgroundColor=white horizontalAlign=left
  mx:Style
LaszloStyleView {
  header-height: 0;
  panel-border-style: roundCorners;
  corner-radius: 8;
  drop-shadow: false;
}
  /mx:Style
  mx:Panel width=100 height=100
styleName=LaszloStyleView backgroundColor=red /
  mx:Panel width=100 height=100
styleName=LaszloStyleView backgroundColor=green /
  mx:Panel width=100 height=100
styleName=LaszloStyleView backgroundColor=yellow /
/mx:Application

You style a Panel so that it shows round corners.  No need to load external SWF.

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=12hl2ss43/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124260116/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/