RE: [flexcoders] Difference between WebService and Remote Object

2006-02-09 Thread Shlomi Cohen






I've 
already tried this and even Object Copy.


I 
think you don't understand the problem ,the returned object is good , BUT when 
sending the same returned object to server i get convertion 
error.

Attached are the two VOs that participate in 
this.




From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Clint 
ModienSent: Wednesday, February 08, 2006 20:50To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Difference 
between WebService and Remote Object
I'm not sure that I understand the problem. Is there anyway you 
can post the value object definitions?The public static final member 
"may" be causing a problem.I noticed this line of code may also be the 
problem. var userVO:UserVO = event.result;try this 
insteadvar userVO:UserVO 
= UserVO(event.result);if(userVO == null) trace("Error: the cast 
failed");
On 2/8/06, Shlomi Cohen 
[EMAIL PROTECTED] 
wrote:

  
  How , i create the VO using 
  Ant task (code generation) 
  except for 1 public 
  static final member - could that be the diff ?
  
  Shlomi
  
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Clint 
  ModienSent: Wednesday, February 08, 2006 20:07To: flexcoders@yahoogroups.comSubject: Re: 
  [flexcoders] Difference between WebService and Remote 
  Object
  More than likely the definitions 
  for your java UserVO and your ActionScript UserVO 
  are 
  different.
  On 2/8/06, Shlomi 
  Cohen [EMAIL PROTECTED] wrote: 
  
Hi


while testing the 
performance of our application , i changed the way we work with the server 
from WS to RemoteObjects 
i found that there 
is a difference in the way data is being received / transmitted although we 
use theregisterClass (as the POJO2AS does 
foryou).
for example a 
method that was saving user info toDB did not work with RO - saying it 
could not convert ASObject to typed 
object.

what is 
wrong here ?

here is a short 
snapshot 


mx:RemoteObject 
id="service"
 mx:method 
result="getUser(event)
 mx:method 
result="saveUser
/mx:RemoteObject

function 
sendRequest(){

 
service.getUser(111);
}

function 
getUser(event){
 var 
userVO:UserVO = event.result;

 // we save 
with the save object we got.
 
saveUser(userVO);
}

function 
saveUser(userVO){
 
service.saveUser(userVO); ///fails to convert ASobject to typed 
object
}


Shlomi__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__--Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 

SPONSORED 
LINKS 

  
  
Web site design development 
Computer software development 
Software design and development 
  
Macromedia flex 
Software development best practice 
  


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 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __--Flexcoders 
  Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  
  SPONSORED 
  LINKS 
  


  Web site design development 
  Computer software development 
  Software design and development 

  Macromedia flex 
  Software development best practice 
  
  
  
  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 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 

RE: [flexcoders] Flex 2.0 beta TextArea question

2006-02-09 Thread Jonas Windey
Thanks, validateNow() did the trick.

Still weird though that calling the same function from a button did the
event, but from code didn't work. Probably because all client-events trigger
the validateNow() function automatically?

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Gordon Smith
Sent: donderdag 9 februari 2006 8:29
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex 2.0 beta TextArea question

There should be no need for callLater() or a Timer. These are
workarounds from Flex 1.X that we want to banish in Flex 2.

Mac Martine wrote:
 I believe you will find a detailed answer in the thread
 from Feb 1 with  the Subject:
 [flexcoders] Scrolling a TextArea to the bottom?

This thread explained that setting a property like the 'text' of a
TextArea does not immediately update other properties such as
maxVPosition; by default this happens latter, for performance reasons.

However, you can force all properties to update immediately by calling
validateNow() on a UIComponent. So if you set the text, call
validateNow(), and then set the vPosition to the maxVPosition, it should
scroll to the bottom.

If there are problem with making this work, please file bugs.

- Gordon




-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: Wednesday, February 08, 2006 12:10 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 2.0 beta TextArea question

On 2/8/06, Manish Jethani [EMAIL PROTECTED] wrote:

 Okay, the problem is that the TextArea's maxVPosition is 0 even after
 the text is set.  The new value of maxVPosition is calculated only on
 the next screen update.

. and the solution for now is to use callLater() or a timer or
something.


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

* 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] Localizing Flex 2 app

2006-02-09 Thread Benoit Hediard





I could not find any 
documentation on localization in the Flex 2 beta live docs.

Here it the reason 
why and the link to the doc:
http://www.deitte.com/archives/2006/02/localizing_flex.htm

Cool!

Benoit 
Hediard





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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] Flex store services in web browser cache?

2006-02-09 Thread Barrau Antoine
Hi everyone,
During my study on Flex security, i see something that
bother me, and i want to know if there is anyway to
disable it.
We have a classic store application that use some ATG
services to get a catalog of items.
As we were looking in the web browser cache, we see
that it contain 2 things : 
a main.mxml.swf file (everything is fine here)
and several files, one for each of my named services :


handsetsServiceImpl
OfferServiceImpl
resourceServiceImpl
etc..

if i open one of this file with a classic editor, i
can see many uncrypted informations that i don't want
everyone to see! (as the result of the last service
request, name of the java class used, etc...)
It is critical since if i get some personnal data, i
don't want everyone to be able to consult my data just
by opening a cached service file..

That look strange to me, so if anyone can tell me if
it is normal, and if there is a way to disable it, i
would be very pleased!

Thanks a lot

Antoine









___ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.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

* 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: datagrid.selectedIndex not correct in cellPress - flex2

2006-02-09 Thread bhaq1972
Feedback...and followup questions.

firstly, thanks once again Manish for the suggestion.  The behaviour 
in CellPress event has changed from flex1.5. because before the 
selectedindex was set at the cellpress event stage. 

a couple of follow up questions; 

1) everything is now alot more strictly typed. then why isn't 
the 'event' parameter strictly typed ?(in the 2nd datagrid example in 
livedocs) eg

mx:DataGrid cellPress=cellPressEvt(event);

2) i want dg.focusedCell = {rowIndex:2, columnIndex:2}  no matter 
where the user clicks on the editable datagrid. any ideas?

thanks
bod


--- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] 
wrote:

 On 2/8/06, bhaq1972 [EMAIL PROTECTED] wrote:
 
  If you run my test in flex 1.5 the result is different. the
  selectedIndex and event.itemIndex (aka rowIndex in flex2 beta) are 
the
  same, as long as your dg.selectable=true.
 
  i'm sure this is a bug in flex2 beta.
 
 In Flex 2.0, the cellPress event is dispatched before the selection
 is changed.  If you want to do something after the selection is
 changed, you should do it in the change event.  That works?







--
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] Difference between WebService and Remote Object

2006-02-09 Thread Shlomi Cohen






Hi

i 
manage to find the problem to at least one of the cases that we had trouble 
with. 

1. RO 
result that was sentright back to 
the server and failed - this problem was solved , it caused by a 
Public Static final variable in the Java class therefore Flex 
thought it is a different object. 

2. RO 
result that was set as the dataProvider to a datagrid and then pulled out from 
the grid and sent back to server - i didn't managed to find the problem here 
.
only creating the object from scratch - 
does the dataProvider changes the objects it gets 
??

thanks

Shlomi


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Shlomi 
CohenSent: Thursday, February 09, 2006 11:26To: 
'flexcoders@yahoogroups.com'Subject: RE: [flexcoders] Difference 
between WebService and Remote Object


I've 
already tried this and even Object Copy.


I 
think you don't understand the problem ,the returned object is good , BUT when 
sending the same returned object to server i get convertion 
error.

Attached are the two VOs that participate in 
this.




From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Clint 
ModienSent: Wednesday, February 08, 2006 20:50To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Difference 
between WebService and Remote Object
I'm not sure that I understand the problem. Is there anyway you 
can post the value object definitions?The public static final member 
"may" be causing a problem.I noticed this line of code may also be the 
problem. var userVO:UserVO = event.result;try this 
insteadvar userVO:UserVO 
= UserVO(event.result);if(userVO == null) trace("Error: the cast 
failed");
On 2/8/06, Shlomi Cohen 
[EMAIL PROTECTED] 
wrote: 

  
  How , i create the VO using 
  Ant task (code generation) 
  except for 1 public 
  static final member - could that be the diff ?
  
  Shlomi
  
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Clint 
  ModienSent: Wednesday, February 08, 2006 20:07To: flexcoders@yahoogroups.comSubject: Re: 
  [flexcoders] Difference between WebService and Remote 
  Object
  More than likely the definitions 
  for your java UserVO and your ActionScript UserVO 
  are 
  different.
  On 2/8/06, Shlomi 
  Cohen [EMAIL PROTECTED] wrote: 
  
Hi


while testing the 
performance of our application , i changed the way we work with the server 
from WS to RemoteObjects 
i found that there 
is a difference in the way data is being received / transmitted although we 
use theregisterClass (as the POJO2AS does 
foryou).
for example a 
method that was saving user info toDB did not work with RO - saying it 
could not convert ASObject to typed 
object.

what is 
wrong here ?

here is a short 
snapshot 


mx:RemoteObject 
id="service"
 mx:method 
result="getUser(event)
 mx:method 
result="saveUser
/mx:RemoteObject

function 
sendRequest(){

 
service.getUser(111);
}

function 
getUser(event){
 var 
userVO:UserVO = event.result;

 // we save 
with the save object we got.
 
saveUser(userVO);
}

function 
saveUser(userVO){
 
service.saveUser(userVO); ///fails to convert ASobject to typed 
object
}


Shlomi__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__--Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 

SPONSORED 
LINKS 

  
  
Web site design development 
Computer software development 
Software design and development 
  
Macromedia flex 
Software development best practice 
  


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 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __--Flexcoders 
  Mailing ListFAQ: 

[flexcoders] Flex and Flash Media server

2006-02-09 Thread brownd_92
Hi guys,
Does any one have an example of a flex app working with a Media server 
video conf embedded in it?

Cheers

Davy





--
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 use SharedObject.getRemote with Flex 2 / AS3

2006-02-09 Thread Philippe Maegerman
I haven't played with flex 2 yet, but from what I read here, there are already 
2 frustrating limitations to me:
-You can connect to FMS but can't use remote Shared Objects
-You can embed Flash8 movies but you can't access their methods
Philippe



From: flexcoders@yahoogroups.com on behalf of Brian Lesser
Sent: Wed 2/8/2006 22:43
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: How to use SharedObject.getRemote with Flex 2 / 
AS3


Hi Philippe,
I went back and tried creating the SharedObject on the server side 
first. It didn't make any difference. Since SharedObject.getRemote() 
returns null al the time I can't check the data property on the client 
side. I've checked and the server is doing what it should.
Yours truly,
-Brian

Philippe Maegerman wrote:

Have you tried creating the SO server side first? in the applicationStart 
handler maybe, and see if it make any difference?
Maybe also try to check SO.data.length.
 
Philippe



From: flexcoders@yahoogroups.com on behalf of Matt Chotin
Sent: Mon 2/6/2006 6:45
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: How to use SharedObject.getRemote with Flex 2 / 
AS3


http://www.macromedia.com/go/wish.  I'm not sure how much testing has
been done yet with AS3 and FMS.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Brian Lesser
Sent: Saturday, February 04, 2006 8:15 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: How to use SharedObject.getRemote with
Flex 2 / AS3

Yeah,
It looks broken to me too. I went and tried a simple test and got the 
following error:

TypeError: Error #1009: null has no properties.
at flex2FMS/flex2FMS::netStatus()

Where do we file bug reports again?
Yours truly,
-Brian


flexargg wrote:

  

Hi Brian,

After adding your three lines, SharedObject.getRemote return NULL 
again !!!

--- In flexcoders@yahoogroups.com, Brian Lesser [EMAIL PROTECTED] wrote:


  



-- 
__
Brian Lesser
Assistant Director, Teaching and Technology Support
Computing and Communications Services
Ryerson University
350 Victoria St.
Toronto, Ontario   Phone: (416) 979-5000 ext. 6835
M5B 2K3Fax: (416) 979-5220
Office: AB48D  E-mail: [EMAIL PROTECTED]
(Enter through LB66)   Web: http://www.ryerson.ca/~blesser
__



--
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 
Web site design development 
http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ
 Computer software development 
http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw
 Software design and development 
http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ
 
Macromedia flex 
http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw
 Software development best practice 
http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw
   



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






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

Re: [flexcoders] Re: datagrid.selectedIndex not correct in cellPress - flex2

2006-02-09 Thread Manish Jethani
On 2/9/06, bhaq1972 [EMAIL PROTECTED] wrote:

 a couple of follow up questions;

 1) everything is now alot more strictly typed. then why isn't
 the 'event' parameter strictly typed ?(in the 2nd datagrid example in
 livedocs) eg

 mx:DataGrid cellPress=cellPressEvt(event);

event is of type DataGridEvent.

 2) i want dg.focusedCell = {rowIndex:2, columnIndex:2}  no matter
 where the user clicks on the editable datagrid. any ideas?

 I think you'll have to dispatch your own event.


--
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] Date sorting in datagrid [1.5]

2006-02-09 Thread Tom Fitzpatrick
In a datagrid, there a way to sort dates independently from the display 
formatting?

I have a datagrid with dates displayed in the format 11 Feb 2006. Is 
there a way to sort the dates in the correct chronological order and still 
have them display in this format?

- Tom






--
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] Date sorting in datagrid [1.5]

2006-02-09 Thread Manish Jethani
On 2/9/06, Tom Fitzpatrick [EMAIL PROTECTED] wrote:

 I have a datagrid with dates displayed in the format 11 Feb 2006. Is
 there a way to sort the dates in the correct chronological order and still
 have them display in this format?

See if this helps:
http://weblogs.macromedia.com/mesh/archives/2005/04/sorting_date_fi.cfm


--
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] New Inline cell renderers

2006-02-09 Thread Jonathan Miranda










Where can someone log this?



_

Jonathan Miranda

Flexible Master of the Web

In the
game of chess, it's important to never let your opponent see your pieces.







From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: Wednesday, February 08, 2006
11:49 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] New
Inline cell renderers





Does sound like a bug I guess, probably
the dataObject is being reset when you click on the row and thats
overriding the click behavior on the checkbox. Try overriding set
dataObject and see if its getting called a little too often. If so
you can maybe react in there and just update the selected checkbox manually
instead of through binding? Or some other workaround might appear if you
figure out how to predict the double behavior.



And please get a bug filed.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Wednesday, February 08, 2006
7:39 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] New
Inline cell renderers





Sorry to shamelessly bump this, but can
anyone think of a fix solution for this since it seems to be a
bug? If the CheckBox is tied to something actually in the dataProvider, it
takes 2 clicks (one for row focus, one to click the box) to change even though
Im using a isCellEditor and not an editorClass (if I change
dataObject.compare to dataObject.somevar, it worksbut then doesnt
save the state obviously for sorting/scrolling the datagrid). Im trying
right now to work with the change function of the Datagrid,
seeing if the mouse position is in the correct column then toggling the
checkbox, but then I cant figure out how to disable the checkbox so it
doesnt double toggle.

Ideas for a fix for this?





_

Jonathan Miranda

Flexible Master of the Web

In the
game of chess, it's important to never let your opponent see your pieces.







From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Tuesday, February 07, 2006
12:09 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] New
Inline cell renderers





This may be right in theory, but not in
practice. Try this out  in the dataProvider is a field called
compare that is always false. Everything takes 2 clicks.

mx:DataGrid editable=true width=100%
height=80% id=resultsDG
dataProvider={searchService.result.hospitals.hospital}


 
mx:columns


 
mx:Array 





mx:DataGridColumn textAlign=center columnName=compare
headerText=Compare width=75
isCellEditor=true editorProperty=selected


 

mx:cellRenderer


mx:Component


mx:HBox horizontalAlign=center


mx:Boolean id=selected


nbs p; {checkBox.selected}


/mx:Boolean 


mx:CheckBox id=checkBox


nbs p; selected={dataObject.compare}
/


/mx:HBox


/mx:Component



/mx:cellRenderer 





/mx:DataGridColumn


 
mx:DataGridColumn
editable=false textAlign=center cellRenderer=nameRenderer
columnName=name headerText=Hospital Name/


 
mx:DataGridColumn
editable=false textAlign=center columnName=distance
headerText=Distance width=100
id=distance/


 
mx:DataGridColumn
editable=false textAlign=center
cellRenderer=swfRenderer columnName=quality headerText=Quality
width=100/


 
/mx:Array




/mx:columns



 
/mx:DataGrid







_

Jonathan Miranda

Flexible Master of the Web

In the
game of chess, it's important to never let your opponent see your pieces.







From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Manish Jethani
Sent: Tuesday, February 07, 2006
11:58 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] New
Inline cell renderers





On 2/7/06, Jonathan Miranda
[EMAIL PROTECTED] wrote:
 Awesome man, thanks - saved me an hour of
banging my head on the table.
 I've no clue why your example and mine cause
a different amount of
 clicks needed though.

If you use editorClass, it needs two
clicks - one for activating the
cell editor and one for selecting the
CheckBox. If you use
cellRenderer and set
isCellEditor to true, it needs only one click
(because the cell editor and the cell renderer are
one and the same,
so there's no need for activation).











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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! 

[flexcoders] Re: Got embed SWF to call a function in Flex

2006-02-09 Thread sufibaba
Jester,

Things are not what they seem when we need to do funny tricks to make
things work.  From reading all of your blogs and postings from the
past, one knows that you are quite a master of tricks.  

To answer your question about the popup box.  Yes, it does work. 

Try it and see.  If not let me know.

Cheers,

Tim

--- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote:

 Hrm... this line:
 
 myMC.myRect = this.source();   //get function reference.
 
 I think is backwards.  Like, this.source() fires the function that
shows the 
 alert.  You're writing it like myMC is supposed to hold the return
value of 
 the source function, but the source function doesn't return anything. 
 Additionally, while myMC.myRect is a reference to the function, does
the box 
 actually get drawn in the SWF when you click the button?
 
 :: goes to try this + Jason's code ::
 
 
 - Original Message - 
 From: sufibaba [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, February 08, 2006 9:47 PM
 Subject: [flexcoders] Got embed SWF to call a function in Flex
 
 
 Hi guys,
 
 Check this out, if you make the following changes to Jason Wong's
 little example, then SWF is able to call a function in Flex2.  I got
 it to fire a function -- no sending of arguments yet.
 
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml;
 xmlns=* layout=absolute
mx:Script
![CDATA[
 import mx.controls.Alert;
 public var arg:String;
 
 private function onClick(): void
 {
 var swf: MovieClip = MovieClip(myLoader.content);
 var myMC: MovieClip = MovieClip(swf.getChildByName(myMC));
 myMC.myRect = this.source();   //get function reference.
 
 }
 
  public function  source():void {
   Alert.show (callback);
 }
 
 ]]
 /mx:Script
 
 mx:Loader id=myLoader x=5 y=5 source=SimpleSWF.swf/
 mx:Button x=10 y=167 label=Button click=onClick()/
 /mx:Application
 
 
 In the myClip.as file -- By the way, in order to get jason's
 Simple.swf to compile in the flash IDE, you'll need to change the
 following:
 
 1. MyClip movie Linkage from MyClip to myClip
 2. Change the MyClip.as file name to myClip
 
 
 Make the following changes to myClip.as
 -
 
 class myClip extends MovieClip
 
 {
 
 
 function set myRect(funcRef: Object): Void
 {
 _parent.lineStyle(2, 0xff);
 _parent.moveTo(60, 60);
 _parent.lineTo(200, 60);
 _parent.lineTo(200, 100);
 _parent.lineTo(60, 100);
 _parent.lineTo(60, 60);
 
 
 funcRef;
 
 }
 
 
 }
 
 -
 
 What should happen  If you click on the button it should popup an
 Alert box displaying the word callback
 
 Cheers,
 
 Tim
 
 
 
 
 
 
 
 
 
 
 
 
 
 --
 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

* 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 2 Beta 1 - i18n

2006-02-09 Thread javanatic23
Would be possible runtime i18n with Flex 2 Beta 1 ?







--
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] Flex and Flash Media server

2006-02-09 Thread Daniel Cascais
Christophe Coenraets has an example here:

http://coenraets.com/viewarticle.jsp?articleId=90

On 2/9/06, brownd_92 [EMAIL PROTECTED] wrote:
 Hi guys,
 Does any one have an example of a flex app working with a Media server
 video conf embedded in it?

 Cheers

 Davy
--
Daniel Cascais
Tel: +56 (0)2  4589495
Cel: +56 (0)9  9417355


--
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] Singleton inline initialization problem?

2006-02-09 Thread Sergey Kovalyov
Hi All!

Sometimes application doesn't work correctly when I initialize singleton
inline like this:

private static var authenticationManager : AuthenticationManager =
AuthenticationManager.getInstance();

And then use authenticationManager in class instead of
AuthenticationManager.getInstance().

Could you please tell whether I deal with some kind of Flex/Flash
bug/feature or such an inline initialization is a mistake by its nature?

Thank you in advance!

Sergey.



--
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] embed a movieclip

2006-02-09 Thread nacho



perfectthanks for allit's exactly what i neednow let's play with flex, it's greatOn 2/9/06, Jason Y. Kwong 
[EMAIL PROTECTED] wrote:


For what it's worth, here's a quick little example:http://corefile.net/LoadSimpleSWF.zip







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


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  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
.



  








-- // nacho






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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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] Image loader from thumbnail repeater

2006-02-09 Thread Stephane B.






Hello 
everyone,

I use a repeater to 
display a list of image thumbnails. I would like the main image to change when a 
thumbnail is clicked. This is a classic scenario of image gallery.I tried 
the following code which does not work, please note I'm new to Flex and my 
knowledge of Action Script or programming syntax is limited (designer here). Any 
advice?

Flex 2.0 b1/ 
AC3

mx:Repeater id="repImages" 
dataProvider="{product.image}" mx:Image 
source="images/th/{repImages.currentItem}" width="69" height="93" 
click="img.load('images/booking/' + repImages.currentItem);" 
//mx:Repeater

Thanks!





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Cairngorm ViewHelpers

2006-02-09 Thread Alberto Albericio Salvador
Hi,

When using Cairngorm 2.0a2, how can I make use of the ViewHelpers?

Trying to attach a viewhelper to the login example, I write this class:

// loginViewHelper.as
package org.nevis.cairngorm.samples.login.view {
import org.nevis.cairngorm.view.ViewHelper;
import mx.controls.Alert;
public class loginViewHelper extends ViewHelper
{
public function loginViewHelper() : void
{
}
public function sayPo() : void
{
mx.controls.Alert.show('Popopopopopop');   
}
}
}

What am I doing wrong here that the compiler is arguing about Cairngorm 
ViewHelper.as and Cairngorm ViewLocator.as?

Thanks

-- 
Alberto Albericio Salvador
Aura S.A. Seguros
Departamento Informática



--
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 2 Charts Licensing

2006-02-09 Thread Brendan Meutzner
Hi,

Can anybody clear up the following question:

In order to use charts in Flex 2.0 (when it's released) will you be
required to have an FES license?  If so, will this be the ~15,000
dollar license?  

When examining the various classes for charts within the Flex MXML
Language Reference documentation, they all have Flex Enterprise
Services only next to them... however, the charts.swc file is
included with the Beta install, so

Thanks in advance,

Brendan





--
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] Recommended testing tool ? /Flex1.5

2006-02-09 Thread KOMON Kazuya

Hi Matt,


Thank you for the reply.

I will try to use MS Application Stress(WAS) because it could be used 
successful in local.

 We are working with Mercury on getting a solution for Flex 2, it's in Alpha 
 right now.
Does it means Flex Enterprise Services 2 Beta ? If so, I have already 
participated. (Thanks!)
Can that use for 1.5 ? 


Best Regards,
KAZUYA KOMON


- Original Message -
From : Matt Chotin [EMAIL PROTECTED]
To : flexcoders@yahoogroups.com
Sent : Wed, 08 Feb 2006 22:15:11 -0800
Subject : RE: [flexcoders] Recommended testing tool ? /Flex1.5

Unfortunately there really isn't one for 1.5.  We are working with
Mercury on getting a solution for Flex 2, it's in Alpha right now.  If
you'd be interested in testing that with us please contact me and I'll
forward you on to the right person.

Matt


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kazuya Komon
Sent: Sunday, February 05, 2006 10:24 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Recommended testing tool ? /Flex1.5

Hi all,


Anyone have any ideas what to use testing tool ?

I trid to use QTP whick Mercury provided.
But I found it could not. Following is reason.

1) It cannot recognize individual object in Flash.
2) It cannot synchronize with application speed, positions of 
components and so on when it plays.

Any help is greatly appreciate.   :)



Thanks,
KAZUYA KOMON


--
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 1.5 : Problem updating value columnCount in TileList

2006-02-09 Thread More García
I have a problem with the values of columnCount and rowCount properties 
of a TileList. 
It only show me the correct value of properties, when i resize the 
window navigator. 

When load the application, the values of columnCount and rowCount are 4 
* 4, when really i have 9 * 6 in the screen. If i resize the window of 
the application, it show me the correct values: 9* 6.

Anyone know why?





--
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] Difference between WebService and Remote Object

2006-02-09 Thread Clint Modien



The format of these classes should work for ya... at least they have for me in the past.class com.mercury.onyx.client.services.vo.UserVO extends com.mercury.onyx.client.services.vo.BasicUserVO {  public static var regClass = 
Object.registerClass(com.mercury.onyx.client.services.vo.UserVO,com.mercury.onyx.client.services.vo.UserVO); public function UserVO(){}  public var customerId : String; public var email : String;
 public var password : String; public var userPermissions : Array = new Array(); public var userRoles : Array = new Array(); public var userSettingsVO : com.mercury.onyx.client.services.vo.UserSettingsVO
; public var userViews : Array = new Array();}class com.mercury.onyx.client.services.vo.UserSettingsVO extends Object { public static var regClass = Object.registerClass(com.mercury.onyx.client.services.vo.UserSettingsVO
,com.mercury.onyx.client.services.vo.UserSettingsVO); public function UserSettingsVO(){} public var changesPageSize : Number; public var landingPage : String; public var userLocale : String;
 public var userTZ : String;}On 2/9/06, Shlomi Cohen [EMAIL PROTECTED] wrote:










Hi

i 
manage to find the problem to at least one of the cases that we had trouble 
with. 

1. RO 
result that was sentright back to 
the server and failed - this problem was solved , it caused by a 
Public Static final variable in the Java class therefore Flex 
thought it is a different object. 

2. RO 
result that was set as the dataProvider to a datagrid and then pulled out from 
the grid and sent back to server - i didn't managed to find the problem here 
.
only creating the object from scratch - 
does the dataProvider changes the objects it gets 
??

thanks

Shlomi


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Shlomi 
CohenSent: Thursday, February 09, 2006 11:26To: 
'flexcoders@yahoogroups.com'Subject: RE: [flexcoders] Difference 
between WebService and Remote Object


I've 
already tried this and even Object Copy.


I 
think you don't understand the problem ,the returned object is good , BUT when 
sending the same returned object to server i get convertion 
error.

Attached are the two VOs that participate in 
this.




From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Clint 
ModienSent: Wednesday, February 08, 2006 20:50To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Difference 
between WebService and Remote Object
I'm not sure that I understand the problem. Is there anyway you 
can post the value object definitions?The public static final member 
may be causing a problem.I noticed this line of code may also be the 
problem. var userVO:UserVO = event.result;try this 
insteadvar userVO:UserVO 
= UserVO(event.result);if(userVO == null) trace(Error: the cast 
failed);
On 2/8/06, Shlomi Cohen 
[EMAIL PROTECTED] 
wrote: 

  
  How , i create the VO using 
  Ant task (code generation) 
  except for 1 public 
  static final member - could that be the diff ?
  
  Shlomi
  
  
  
  From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Clint 
  ModienSent: Wednesday, February 08, 2006 20:07To: flexcoders@yahoogroups.com
Subject: Re: 
  [flexcoders] Difference between WebService and Remote 
  Object
  More than likely the definitions 
  for your java UserVO and your ActionScript UserVO 
  are 
  different.
  On 2/8/06, Shlomi 
  Cohen [EMAIL PROTECTED] wrote: 
  
Hi


while testing the 
performance of our application , i changed the way we work with the server 
from WS to RemoteObjects 
i found that there 
is a difference in the way data is being received / transmitted although we 
use theregisterClass (as the POJO2AS does 
foryou).
for example a 
method that was saving user info toDB did not work with RO - saying it 
could not convert ASObject to typed 
object.

what is 
wrong here ?

here is a short 
snapshot 


mx:RemoteObject 
id=service
 mx:method 
result=getUser(event)
 mx:method 
result=saveUser
/mx:RemoteObject

function 
sendRequest(){

 
service.getUser(111);
}

function 
getUser(event){
 var 
userVO:UserVO = event.result;

 // we save 
with the save object we got.
 
saveUser(userVO);
}

function 
saveUser(userVO){
 
service.saveUser(userVO); ///fails to convert ASobject to typed 
object
}


Shlomi__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__--Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 


Re: [flexcoders] Recommended testing tool ? /Flex1.5

2006-02-09 Thread Clint Modien



I remembered reading this a while back. This might be what your looking for.http://www.macromedia.com/devnet/flex/articles/amf_perftest_04.html
On 2/6/06, Kazuya Komon [EMAIL PROTECTED] wrote:
Hi all,Anyone have any ideas what to use testing tool ?I trid to use QTP whick Mercury provided.But I found it could not. Following is reason. 1) It cannot recognize individual object in Flash.
 2) It cannot synchronize with application speed, positions ofcomponents and so on when it plays.Any help is greatly appreciate. :)Thanks,KAZUYA KOMON--Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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] IFrame Example for Flex 2?

2006-02-09 Thread David Mendels





Hi,

Brian Deitte posted a port of this sample to Flex 2 a few 
days ago on his blog.

-David
Adobe



  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Mark 
  WalesSent: Wednesday, February 08, 2006 9:05 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] IFrame Example for 
  Flex 2?
  Like a few before me I have tried to get the IFrame example 
  thatChristophe Coenraets put together for an earlier version of Flex. 
  Hasanyone been able to successfully port this to either the Alpha or 
  Beta?Also, as a conceptual question, might a working example of this 
  allowDrag and Drop from the HTML pages that are loaded to Flex? I'm afraid 
  Ido not yet understand the Flex-HTML-_javascript_ combination well 
  enoughto grasp what is technically possible or not.Thanks for 
  anyone who can provide some insights...-Mark





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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] Recommended testing tool ? /Flex1.5

2006-02-09 Thread Matt Horn
  We are working with Mercury on getting a solution for Flex 
 2, it's in Alpha right now.
 Does it means Flex Enterprise Services 2 Beta ? If so, I 
 have already participated. (Thanks!) Can that use for 1.5 ? 

No, it's a separate alpha specifically targeted at the Mercury/Flex
integration.

Matt Horn


--
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] Flex 2 Beta 1 - i18n

2006-02-09 Thread Dirk Eismann
Yes, that is possible. I'll post an example shortly.

Dirk.

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of javanatic23
 Sent: Thursday, February 09, 2006 12:31 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Flex 2 Beta 1 - i18n
 
 Would be possible runtime i18n with Flex 2 Beta 1 ?
 
 
 
 
 
 
 
 --
 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

* 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] embed a movieclip

2006-02-09 Thread Joe Berkovitz
I have to say, I think you have all missed my point.

OK, we've found something clever and we're pleased that it works.  That 
is not the end of the story.  Don't just go away and assume that this is 
going to keep working, because it is totally undocumented and 
unsupported.  If you want it, then ask Adobe, very loudly, to preserve 
this behavior!

By the way, it's much easier to just do this in your movie's main 
timeline script to expose some code as a setter/getter function:

this.addProperty(someProperty,
 function() { ... },
 function(value) { ... });

That way, you don't need to call getChildByName() from AS3 (one more 
undocumented thing that can break) or fuss with making a dummy movie 
clip whose only purpose is to expose setters and getters.

... .  ..   .j


nacho wrote:
 perfect
 thanks for all
 it's exactly what i need
 
 now let's play with flex, it's great
 
 On 2/9/06, *Jason Y. Kwong*  [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:
 
 For what it's worth, here's a quick little example:
 
 http://corefile.net/LoadSimpleSWF.zip
 
 
 
 
 --
 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
 Web site design development
 
 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ
   Computer software development
 
 http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw
   Software design and development
 
 http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ
 
 Macromedia flex
 
 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw
   Software development best practice
 
 http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw
 
 
 
 
 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/ .
 
 
 
 
 
 
 
 -- 
 
 // nacho
 
 --
 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
 Web site design development 
 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ
  
   Computer software development 
 http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw
  
   Software design and development 
 http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ
  
 
 Macromedia flex 
 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw
  
   Software development best practice 
 

[flexcoders] Useful Videos

2006-02-09 Thread Jonathan Miranda










Thought Id pass this along  my buddy sent me
this link and I never saw the link for this on the labs Flex sitebut
these are definitely some very useful videos.

http://labs.macromedia.com/flexproductline/videos/#



Im now a Control-O, Alt-Left, Alt-Right fanatic.

_

Jonathan Miranda

Flexible Master of
the Web

In the game of
chess, it's important to never let your opponent see your pieces.











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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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] Flex 2 Beta - KeyboardEvent - Problem

2006-02-09 Thread Scott Langeberg



I can't get the following keyboardevent to fire, unless you click into the textarea on the stage. Any ideas why that would be?Note: I've tried adding the listener to: application, Application.application, the canvas on the stage, etc...
?xml version=1.0 encoding=utf-8?mx:Application  xmlns:mx=http://www.macromedia.com/2005/mxml  xmlns=* 
 layout=absolute creationComplete=init() mx:Script  ![CDATA[   import com.imagetrend.containers.debug.*;   import mx.core.Application
;   import flash.events.KeyboardEvent;   import mx.controls.Alert;   private function init() {this.addEventListener(KeyboardEvent.KEY_DOWN, trapKeys);
   }   private function trapKeys(e:KeyboardEvent) {textArea.text = String(e.charCode) + / + String(e.keyCode);Debugger.show();
Alert.show(trapKeys());   }  ]] /mx:Script  mx:Canvas id=mainCanvas width=100% height=100%  mx:TextArea id=textArea width=236 height=196
 /mx:TextArea /mx:Canvas /mx:Application-- : : ) Scott






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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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] referencing functions within a component

2006-02-09 Thread rgwilson26
I am fairly new to Flex and wondering how to get one component to 
call a function within another component. How do I reference the 
function in component #1 from #2?

**component #1*
mx:Form xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns=*
private function delete():Void{
   Alert.Show(you have been deleted);
}
mx:Vbox
  component2 id=c2
/mx:Vbox

/mx:Form


**component #2*
?xml version=1.0 encoding=utf-8?
mx:HBox height=25 xmlns:mx=http://www.macromedia.com/2003/mxml;

mx:TextInput id=txtRCAParticipants1 width=150 text= /
mx:Button label=Delete click=delete(); /
/mx:HBox





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

2006-02-09 Thread Jonas Windey










Nice, would be cool if someone could post
the code if the transition demo.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: donderdag 9 februari 2006
16:39
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Useful
Videos





Thought Id pass this along  my buddy sent me
this link and I never saw the link for this on the labs Flex sitebut
these are definitely some very useful videos.

http://labs.macromedia.com/flexproductline/videos/#



Im now a Control-O, Alt-Left, Alt-Right fanatic.

_

Jonathan Miranda

Flexible Master of
the Web

In the game of chess,
it's important to never let your opponent see your pieces.











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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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: How to use SharedObject.getRemote with Flex 2 / AS3

2006-02-09 Thread Dominick Accattato



if remote sharedObjects aren't working, how does DataServices work. On 2/9/06, Philippe Maegerman [EMAIL PROTECTED]
 wrote:I haven't played with flex 2 yet, but from what I read here, there are already 2 frustrating limitations to me:
-You can connect to FMS but can't use remote Shared Objects-You can embed Flash8 movies but you can't access their methodsPhilippeFrom: 
flexcoders@yahoogroups.com on behalf of Brian LesserSent: Wed 2/8/2006 22:43To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: How to use SharedObject.getRemote
 with Flex 2 / AS3Hi Philippe,I went back and tried creating the SharedObject on the server sidefirst. It didn't make any difference. Since SharedObject.getRemote()returns null al the time I can't check the data property on the client
side. I've checked and the server is doing what it should.Yours truly,-BrianPhilippe Maegerman wrote:Have you tried creating the SO server side first? in the applicationStart handler maybe, and see if it make any difference?
Maybe also try to check SO.data.length.PhilippeFrom: flexcoders@yahoogroups.com on behalf of Matt Chotin
Sent: Mon 2/6/2006 6:45To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: How to use SharedObject.getRemote with Flex 2 / AS3
http://www.macromedia.com/go/wish.I'm not sure how much testing hasbeen done yet with AS3 and FMS.Matt-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of Brian LesserSent: Saturday, February 04, 2006 8:15 PM
To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: How to use SharedObject.getRemote withFlex 2 / AS3Yeah,It looks broken to me too. I went and tried a simple test and got the
following error:TypeError: Error #1009: null has no properties.at flex2FMS/flex2FMS::netStatus()Where do we file bug reports again?Yours truly,-Brian
flexargg wrote:Hi Brian,After adding your three lines, SharedObject.getRemote return NULLagain !!!--- In 
flexcoders@yahoogroups.com, Brian Lesser [EMAIL PROTECTED] wrote:--__
Brian LesserAssistant Director, Teaching and Technology SupportComputing and Communications ServicesRyerson University350 Victoria St.Toronto, Ontario Phone: (416) 979-5000 ext. 6835
M5B 2K3Fax: (416) 979-5220Office: AB48DE-mail: [EMAIL PROTECTED](Enter through LB66) Web: 
http://www.ryerson.ca/~blesser__--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKSWeb site design development 
http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ
 Computer software development 
http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw
 Software design and development 
http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ
Macromedia flex 
http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw
 Software development best practice 
http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw
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]?subject=Unsubscribe*Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/
 .--**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 

[flexcoders] Icon bug and tree Control (Flex 2.0 beta)

2006-02-09 Thread sourcecoderia

When custom icons are used, and you hover over the icon, the item is not
selected. If you use built in icons it is. So a click/double click
directly on/over a custom icon has no effect for said item. I'm sure
it'll be fixed.

Just thought I'd pass that along.








--
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] Flex 2 Beta - KeyboardEvent - Problem

2006-02-09 Thread Matt Horn





it seems to be something with having focus. when you first 
start the app, there's no focus on any control inside the app. I added a Button 
and click the Button. after that it works fine... so it doesn't appear 
torequire that you click on the TextArea, just that you provide focus to 
something in the app... maybe someone else can chime in with a reason why or a 
workaround.

matt h

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Scott 
  LangebergSent: Thursday, February 09, 2006 10:54 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Flex 2 Beta - 
  KeyboardEvent - Problem
  I can't get the following keyboardevent to fire, unless you click 
  into the textarea on the stage. Any ideas why that would be?Note: I've 
  tried adding the listener to: application, Application.application, the canvas 
  on the stage, etc... ?xml version="1.0" 
  encoding="utf-8"?mx:Application  
  xmlns:mx="http://www.macromedia.com/2005/mxml" 
   xmlns="*"  
  layout="absolute" 
  creationComplete="init()" 
  mx:Script  
  ![CDATA[   
  import com.imagetrend.containers.debug.*; 
import mx.core.Application 
  ;   import 
  flash.events.KeyboardEvent;  
   import mx.controls.Alert; 
private function init() 
  {   
   this.addEventListener(KeyboardEvent.KEY_DOWN, 
  trapKeys);   
 
   }  
   private function trapKeys(e:KeyboardEvent) 
  {
  textArea.text = String(e.charCode) + "/" + 
  String(e.keyCode);   
   Debugger.show();  

  Alert.show("trapKeys()");  
   }  
  ]] /mx:Script 
   mx:Canvas id="mainCanvas" width="100%" 
  height="100%"  mx:TextArea 
  id="textArea" width="236" height="196"  
 
   /mx:TextArea 
  /mx:Canvas   
/mx:Application-- : : ) Scott 
  





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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] Recommended testing tool ? /Flex1.5

2006-02-09 Thread Johannes Nel



i saw something which macromedia/adobe consulting has called the event tester which allows you to write junit tests for a flex app and then triger certain application states by setting properties, calling methods and dispatching events. it ain't no winrunner or QTP but it seems to do the job. 
added to this we are currently looking at unit testing mxml components with asunit (i don't know if flexunit does this, i expect it might) and if you abstract that a bit more you can write unit tests to test a functional process (like the event tester). this is heavy code reliant which makes it a bit bla. 
lastly look at xray which allows opens up some interesting testing possibilities as well but is as yet unexplored IMO (the ability to take snapshots and compare them with the expected result)
On 2/9/06, Matt Horn [EMAIL PROTECTED] wrote:
  We are working with Mercury on getting a solution for Flex 2, it's in Alpha right now. Does it means Flex Enterprise Services 2 Beta ? If so, I have already participated. (Thanks!) Can that use for 
1.5 ?No, it's a separate alpha specifically targeted at the Mercury/Flexintegration.Matt Horn--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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/
-- j:pn 






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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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] Date sorting in datagrid [1.5]

2006-02-09 Thread Tom Fitzpatrick
At 07:07 AM 2/9/2006, you wrote:


See if this helps:
http://weblogs.macromedia.com/mesh/archives/2005/04/sorting_date_fi.cfm

Looks like it should help - but I'm having problems.

I'm guessing this is because I'm setting the date in the dataprovider using 
the DateField class, so it's not returning the date in a format the script 
can use.

But this is only a guess - any help appreciated!

- Tom 






--
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 use SharedObject.getRemote with Flex 2 / AS3

2006-02-09 Thread Brian Lesser
Hi Dominick,
Just a guess but Flash Media Server uses AMF0 to send/receive 
ActionScript data. DataServices uses AMF3. So I would guess that 
getRemote is only broken for AMF0??? Maybe someone at Adobe could say 
more though as there might be a lot more to it.
Yours truly,
-Brian

Dominick Accattato wrote:

if remote sharedObjects aren't working, how does DataServices work.

On 2/9/06, Philippe Maegerman [EMAIL PROTECTED] wrote:
  

I haven't played with flex 2 yet, but from what I read here, there are
already 2 frustrating limitations to me:
-You can connect to FMS but can't use remote Shared Objects
-You can embed Flash8 movies but you can't access their methods
Philippe



From: flexcoders@yahoogroups.com on behalf of Brian Lesser
Sent: Wed 2/8/2006 22:43
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: How to use SharedObject.getRemote with Flex
2 / AS3


Hi Philippe,
I went back and tried creating the SharedObject on the server side
first. It didn't make any difference. Since SharedObject.getRemote()
returns null al the time I can't check the data property on the client
side. I've checked and the server is doing what it should.
Yours truly,
-Brian

Philippe Maegerman wrote:



Have you tried creating the SO server side first? in the applicationStart
  

handler maybe, and see if it make any difference?


Maybe also try to check SO.data.length.

Philippe



From: flexcoders@yahoogroups.com on behalf of Matt Chotin
Sent: Mon 2/6/2006 6:45
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: How to use SharedObject.getRemote with Flex
  

2 / AS3


http://www.macromedia.com/go/wish.  I'm not sure how much testing has
been done yet with AS3 and FMS.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Brian Lesser
Sent: Saturday, February 04, 2006 8:15 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: How to use SharedObject.getRemote with
Flex 2 / AS3

Yeah,
It looks broken to me too. I went and tried a simple test and got the
following error:

TypeError: Error #1009: null has no properties.
   at flex2FMS/flex2FMS::netStatus()

Where do we file bug reports again?
Yours truly,
-Brian


flexargg wrote:



  

Hi Brian,

After adding your three lines, SharedObject.getRemote return NULL
again !!!

--- In flexcoders@yahoogroups.com, Brian Lesser [EMAIL PROTECTED] wrote:




  

--
__
Brian Lesser
Assistant Director, Teaching and Technology Support
Computing and Communications Services
Ryerson University
350 Victoria St.
Toronto, Ontario   Phone: (416) 979-5000 ext. 6835
M5B 2K3Fax: (416) 979-5220
Office: AB48D  E-mail: [EMAIL PROTECTED]
(Enter through LB66)   Web: http://www.ryerson.ca/~blesser
__



--
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
Web site design development 
http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ
Computer software development 
http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw
Software design and development 
http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ


Macromedia flex 
http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw
Software development best practice 
http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw




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 

[flexcoders] Flex and ColdFusion

2006-02-09 Thread cfeditor
Ben Forta is doing a tour promoting Flex 2 and ColdFusion, and I
really think people should contact their local user group, find out
when he's going to be there, and go. (Details are available on
http://www.forta.com.) I'd like to invite anyone in the New York area
to come to the NYCFUG Meeting on Tuesday, February 21st, at 6:30 PM.
Seating is limited, so please RSVP at http://www.nycfug.org as early
as possible.

Attend this presentation (or one in your local area) to learn about
the new Flex, as well as the new ColdFusion integration functionality,
which will make ColdFusion an ideal back-end for Flex. Flex 2 is on
the way, and this is your invitation to be one of the first to
experience the future of rich Internet application development.

A lot has changed in Flex 2, and you can read more about it on
http://labs.macromedia.com/. With new pricing options, new deployment
options, new back-end integration options, and a slew of new features,
Flex 2 is going to change the way we build applications. And for
ColdFusion developers, there has never been a better time to
experience it.

When? Tuesday, February 21st, 2006, 6:30 PM (the third Tuesday of the
month)
Where? NYU Medical Center, 550 1st Avenue (corner of E. 31st Street)
Room: Alumni Hall A 

A copy of ColdFusion 7 Standard will be raffled off to one lucky
attendee! We will be ordering food. Please RSVP on our site
(http://www.nycfug.org) so that we can plan accordingly.

Judith Dinowitz
Co-Manager
New York ColdFusion User Group (NYCFUG)http://www.nycfug.org







--
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] referencing functions within a component

2006-02-09 Thread Jason Hawryluk





Dispatch an event and add/use a listener to recive 
it.

i.e.

In 
component # 2 put this after the Hbox

mx:Metadata[Event("deleted")]/mx:Metadata

and 
then dispatch it in you button like so.

mx:Button label="Delete" 
click="dispatchEvent(new Event('deleted'));" 
/

now in 
component #1 you can get at it. Like so

component2 
deleted="delete()"id="c2"
or

on 
init of #1 add a function

private function myinit(){
 c2.addEventListener("deleted", 
delete);
}

and in 
the form tag add

mx:Form initialize="myinit();"

This 
is all off the top of my head but should work (un tested 
etc..)

Respondif you need more help...

Jason


  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de rgwilson26Envoyé: jeudi 9 février 2006 
  16:39À: flexcoders@yahoogroups.comObjet: 
  [flexcoders] referencing functions within a 
  componentI am fairly new to Flex and wondering how to 
  get one component to call a function within another component. How do I 
  reference the function in component #1 from 
  #2?**component #1*mx:Form 
  xmlns:mx="http://www.macromedia.com/2003/mxml" 
  xmlns="*"private function 
  delete():Void{ Alert.Show("you have 
  been deleted");}mx:Vbox component2 
  id="c2"/mx:Vbox/mx:Form**component 
  #2*?xml version="1.0" 
  encoding="utf-8"?mx:HBox height="25" xmlns:mx="http://www.macromedia.com/2003/mxml"mx:TextInput 
  id="txtRCAParticipants1" width="150" text="" /mx:Button 
  label="Delete" click="delete();" 
//mx:HBox





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







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

2006-02-09 Thread Teoti Graphix



Hello,

I am writting this more as a comment then question.

I have spent 2 days experimenting with the mx.collections classes and
it has been fun. Now, I have a project where I need the tree's root to
be;

ClassPaths
 -  c:/classes
 -  dir structure
 -  c:/mm/classes ...
 -  dir structure..

I am loading all the xml tree structure form php fine. What is the
method for creating the root now ClassPaths ONCE, then on each new
'loadCLassPath() call, add the new xml to the CLassPaths root node.

I have almost got it but, the tree gives me node opne errors after I get 2 nodes inserted.

Am I doing something wrong?


  protected function loadDir(evt:ResultEvent):void
  {
   
   var newList:XMLList = new XMLList(evt.result);

   if (dataProvider == null) {

  
 dataProvider = classpaths label=Class
Paths/classpaths;
   } 

   dataProvider.source[0].appendChild(newList);
 }

Peace, Mike

PS the error when click to open the root node is...

TypeError: Error #1010: undefined has no properties.
 at mx.controls::Tree/setIsOpen()
 at mx.controls.treeclasses::TreeCellRenderer/disclosurePress()







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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







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

2006-02-09 Thread Trey Long
If someone has any experience with drawing gradients with the GRAPHICS 
object please, your input would be invaluable.

My issue is with the RATIO attribute of beginGradientFill(). I can't 
seem to understand exactly what the numbers in that array represent.

For instance, to get a gradient all the way across a rectangle I would 
specify, according to the docs, [0,255] or [0x00,0xFF]. That I can 
understand, but what happens on the screen doesn't appear to be anything 
like what the docs say.

If anyone has had any experience, or could figure out the example I have 
included I would be forever grateful.

This draws a rectangle in which the white is truncated abruptly instead 
of fading out to nothing gracefully like I would think.

var grad:UIComponent = new UIComponent();
grad.graphics.beginGradientFill(GradientType.LINEAR,[0xFF,0xFF],[0,1],[0,255]);
grad.graphics.drawRect(0,0,200,20);
grad.graphics.endFill();
addChild(grad);

-Trey


--
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: Date sorting in datagrid [1.5]

2006-02-09 Thread douglowder
What is the format of the date before you set it in the dataprovider?
 If you already have the date in a numeric format similar to what is
returned by Date.getTime(), then take a look at Peter Ent's approach.
 The idea is to set the dataprovider with numeric time value to
preserve the sort order, and then use a cell renderer to format the
field for display purposes.  Worked nicely for me, since I already had
dates provided as millisecond values throughout the backend code.

The article is referenced in the link Manish gave, and here's a direct
link:

http://weblogs.macromedia.com/pent/archives/2004/12/sorting_by_date.cfm


Doug


--- In flexcoders@yahoogroups.com, Tom Fitzpatrick [EMAIL PROTECTED] wrote:

 At 07:07 AM 2/9/2006, you wrote:
 
 
 See if this helps:
 http://weblogs.macromedia.com/mesh/archives/2005/04/sorting_date_fi.cfm
 
 Looks like it should help - but I'm having problems.
 
 I'm guessing this is because I'm setting the date in the
dataprovider using 
 the DateField class, so it's not returning the date in a format the
script 
 can use.
 
 But this is only a guess - any help appreciated!
 
 - Tom







--
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: e4x XML question - possible bug?

2006-02-09 Thread thunderstumpgesatwork
Good thought, and I saw this suggestion in another related post,
however this always returns an empty list.

Is this possibly a bug?

Do you know that this should in fact work? I have not seen any
documentation stating that it should or shouldn't.

thanks,
Thunder

--- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED]
wrote:

 On 2/8/06, thunderstumpgesatwork [EMAIL PROTECTED] wrote:
 
  x.employee.(lastName == McGee) // nodes with lastName McGee
 
  I need to do this dynamically.. what if I don't know the element name
  (the 'lastName' portion above) ? How can I substitute a String
  variable for the 'lastName' ?
 
 Try this:
 
  x.employee.([variable] == McGee)







--
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 dataObject() and null properties

2006-02-09 Thread tobiaspatton
Hi Manish;

As always, your response was prompt and, even better, helpful! 

Is it fair to say that the documentation included with Beta 1 is 
incorrect with respect to this procedure? The sample code I was 
working from can be found at

Flex Help-Developing Flex Applications-Using Cell Renderers and 
Cell Editors-Overriding the dataObject property

The procedure outlined here makes the implicit assumption that the 
child objects of an HBox have all been created at the time the 
dataObject setter is called.

(It's also doing something else I think is weird. It only calls 
super.dataObject=value if value is not NULL. If the goal of the 
override is to supplement the base class's behaviour, not replace 
it, shouldn't this call always be made?)

Thanks.
Tobias.

--- In flexcoders@yahoogroups.com, Manish Jethani 
[EMAIL PROTECTED] wrote:

 On 2/8/06, tobiaspatton [EMAIL PROTECTED] wrote:
 
  override public function set dataObject
  (value:Object):void
  {
  super.dataObject = value;
  trace( value.image, image);
 
  if( image != null )
  {
  image.source = 
value.image;
  }
  }
 
 [snip]
  From the output we can see that the dataObject setter function is
  being called once when the image parameter is a real value, but 
for
  all subsequent calls, the image parameter is null.
 
  Why would this be? It's hard to set the source parameter of null.
 
 Child objects are created in the component's createChildren 
method,
 which is called only when the component is added to the display 
list -
 which, in the case of cell renderers, is after their dataObject
 property is set.  Property setters should be coded to assume that
 child objects have not been created.  This is what I'd do:
 
  function set dataObject(value)
  {
super.dataObject = value;
invalidateDisplayList();
  }
 
  function updateDisplayList()
  {
   image.source = value.image;
  }
 
 It's also more efficient if you set the image's source in 
updateDisplayList.







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

2006-02-09 Thread Trey Long
Well, I just happened to figure out what the problem was. Much to my 
dismay and exuberance.

For those of you interested in this I will give you the quick definition.

This quote: This value defines the percentage of the width where the 
color is sampled at 100%. I assumed that this meant the width of the 
gradient, when it actually means the width of the gradient box. Gradient 
box isn't a required parameter and I am not sure what the defaults are 
but when you create a gradient box with the width of the gradient the 
ratios work properly as per my example here.

gMat.createGradientBox(127,20,0,0,0);
grad.graphics.beginGradientFill(GradientType.LINEAR,[0xFF,0xFF],[0,1],[0,255],gMat);
grad.graphics.drawRect(0,0,127,refButton.height);

-Trey

Trey Long wrote:
 If someone has any experience with drawing gradients with the GRAPHICS 
 object please, your input would be invaluable.
 
 My issue is with the RATIO attribute of beginGradientFill(). I can't 
 seem to understand exactly what the numbers in that array represent.
 
 For instance, to get a gradient all the way across a rectangle I would 
 specify, according to the docs, [0,255] or [0x00,0xFF]. That I can 
 understand, but what happens on the screen doesn't appear to be anything 
 like what the docs say.
 
 If anyone has had any experience, or could figure out the example I have 
 included I would be forever grateful.
 
 This draws a rectangle in which the white is truncated abruptly instead 
 of fading out to nothing gracefully like I would think.
 
 var grad:UIComponent = new UIComponent();
 grad.graphics.beginGradientFill(GradientType.LINEAR,[0xFF,0xFF],[0,1],[0,255]);
 grad.graphics.drawRect(0,0,200,20);
 grad.graphics.endFill();
 addChild(grad);
 
 -Trey
 
 
 --
 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

* 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] populate a dataGrid

2006-02-09 Thread rgwilson26
How do you populate a datagrid from another 
datagrid? dgMyDataGrid.selectedItem will only send a selected item 
within a data grid, but I want all item within a given datagrid to be 
sent regardless of selection.

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

* 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] New Inline cell renderers

2006-02-09 Thread Manish Jethani
On 2/9/06, Jonathan Miranda [EMAIL PROTECTED] wrote:

 Where can someone log this?

Somebody from the Flex team in Adobe will log it.  I'm travelling.


--
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] Image loader from thumbnail repeater

2006-02-09 Thread Manish Jethani
On 2/9/06, Stephane B. [EMAIL PROTECTED] wrote:

  mx:Repeater id=repImages  dataProvider={product.image}
  mx:Image  source=images/th/{repImages.currentItem} width=69 
 height=93  click=img.load('images/booking/' + repImages.currentItem);  /
  /mx:Repeater

Where does img come from?  I think you meant event.target.

currentItem is not available in the click handler.  Instead of
current item, use getItemAt() and pass it the object's
repeaterIndex.


--
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: set dataObject() and null properties

2006-02-09 Thread Manish Jethani
On 2/9/06, tobiaspatton [EMAIL PROTECTED] wrote:

 Is it fair to say that the documentation included with Beta 1 is
 incorrect with respect to this procedure? The sample code I was
 working from can be found at

 Flex Help-Developing Flex Applications-Using Cell Renderers and
 Cell Editors-Overriding the dataObject property

The example seems a little outdated.  There should be no need to
override dataObject in that case.  This'll work:

[remove line breaks]
 Image source={dataObject.SalePrice ?
'http://myCompany.com/icons/saleIcon.jpg' :
'http://myCompany.com/icons/noSaleIcon.jpg'} /


--
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] Icon bug and tree Control (Flex 2.0 beta)

2006-02-09 Thread Manish Jethani
Thanks - that sounds like a bug.

On 2/9/06, sourcecoderia [EMAIL PROTECTED] wrote:

 When custom icons are used, and you hover over the icon, the item is not
 selected. If you use built in icons it is. So a click/double click
 directly on/over a custom icon has no effect for said item. I'm sure
 it'll be fixed.

 Just thought I'd pass that along.


--
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] Filters, Contributing

2006-02-09 Thread Trey Long
I created my own bitmap filter from scratch. I was hoping that I could 
follow the MM framework on this one but there is no info in the API nor 
is there an interface that I can follow.

If any Adobe / MM guys have any advice on this one please let me know. I 
would like to just use it in the same way that standard Flex filters are 
used. I also wouldn't mind contributing the filter if it pleases anyone.

-Trey

Standard way filters are used to me is the following:
Copy filters array out of DisplayObject, push filter on array, set back 
to filters array of display object.


--
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] Filters, Contributing

2006-02-09 Thread JesterXL
Here is the 1.5 way; 2 shouldn't be that different:

http://www.jessewarden.com/archives/2006/01/how_to_use_the.html


- Original Message - 
From: Trey Long [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, February 09, 2006 1:54 PM
Subject: [flexcoders] Filters, Contributing


I created my own bitmap filter from scratch. I was hoping that I could 
follow the MM framework on this one but there is no info in the API nor 
is there an interface that I can follow.

If any Adobe / MM guys have any advice on this one please let me know. I 
would like to just use it in the same way that standard Flex filters are 
used. I also wouldn't mind contributing the filter if it pleases anyone.

-Trey

Standard way filters are used to me is the following:
Copy filters array out of DisplayObject, push filter on array, set back 
to filters array of display object.


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

* 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] Flex 2 Charts Licensing

2006-02-09 Thread Phil Costa
No, we're planning to sell the charting components by developer seat,
similar to the way you buy other GUI libraries.

Phil Costa
Group Product Manager, Flex


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Brendan Meutzner
Sent: Thursday, February 09, 2006 9:04 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2 Charts Licensing

Hi,

Can anybody clear up the following question:

In order to use charts in Flex 2.0 (when it's released) will you be
required to have an FES license?  If so, will this be the ~15,000 dollar
license?  

When examining the various classes for charts within the Flex MXML
Language Reference documentation, they all have Flex Enterprise
Services only next to them... however, the charts.swc file is included
with the Beta install, so

Thanks in advance,

Brendan





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

* 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] Rich text Editor ...

2006-02-09 Thread Jeremy Rottman
I have a rich text editor component in my app, that allows users to
input text for news and the such. However, I can not figure out how to
get the RTE component to insert the data into the database as html and
no as flat plain text. Has anyone got this to work at all yet?





--
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] FW: link specific mouse pointer

2006-02-09 Thread Stephane B.





Hello everyone,

Any idea how to 
change mouse pointer icon when rolling over clickable component, in a similar 
fashion as regular browser with arrow fornon clickable and the hand when 
clickable.

Thanks





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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: Array serialization for Webservice

2006-02-09 Thread Dmitry Miller
I am not sure if you can customize Flex serialization. I assume you
are using Axis. If that's the case, you need to go and modify your
service descriptor in services.wsdd (Don't remember on top of my
header where it is located in JRun) file where you explicitly map your
ranges  member of the return Object to type Array. Please, visit
http://ws.apache.org/axis/java/index.html on how to do that. 

Good luck, 

--- Dmitry






--
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: Flex 2 Charts Licensing

2006-02-09 Thread Brendan Meutzner
Phil,

Thanks... any idea on the cost yet?


Brendan


--- In flexcoders@yahoogroups.com, Phil Costa [EMAIL PROTECTED] wrote:

 No, we're planning to sell the charting components by developer seat,
 similar to the way you buy other GUI libraries.
 
 Phil Costa
 Group Product Manager, Flex
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Brendan Meutzner
 Sent: Thursday, February 09, 2006 9:04 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Flex 2 Charts Licensing
 
 Hi,
 
 Can anybody clear up the following question:
 
 In order to use charts in Flex 2.0 (when it's released) will you be
 required to have an FES license?  If so, will this be the ~15,000 dollar
 license?  
 
 When examining the various classes for charts within the Flex MXML
 Language Reference documentation, they all have Flex Enterprise
 Services only next to them... however, the charts.swc file is included
 with the Beta install, so
 
 Thanks in advance,
 
 Brendan
 
 
 
 
 
 --
 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

* 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: Flex and ColdFusion

2006-02-09 Thread Brendan Meutzner
Just relocated to the Boston area... anyone around here know where to
check for things like this?

Thanks,

Brendan


--- In flexcoders@yahoogroups.com, cfeditor [EMAIL PROTECTED] wrote:

 Ben Forta is doing a tour promoting Flex 2 and ColdFusion, and I
 really think people should contact their local user group, find out
 when he's going to be there, and go. (Details are available on
 http://www.forta.com.) I'd like to invite anyone in the New York area
 to come to the NYCFUG Meeting on Tuesday, February 21st, at 6:30 PM.
 Seating is limited, so please RSVP at http://www.nycfug.org as early
 as possible.
 
 Attend this presentation (or one in your local area) to learn about
 the new Flex, as well as the new ColdFusion integration functionality,
 which will make ColdFusion an ideal back-end for Flex. Flex 2 is on
 the way, and this is your invitation to be one of the first to
 experience the future of rich Internet application development.
 
 A lot has changed in Flex 2, and you can read more about it on
 http://labs.macromedia.com/. With new pricing options, new deployment
 options, new back-end integration options, and a slew of new features,
 Flex 2 is going to change the way we build applications. And for
 ColdFusion developers, there has never been a better time to
 experience it.
 
 When? Tuesday, February 21st, 2006, 6:30 PM (the third Tuesday of the
 month)
 Where? NYU Medical Center, 550 1st Avenue (corner of E. 31st Street)
 Room: Alumni Hall A 
 
 A copy of ColdFusion 7 Standard will be raffled off to one lucky
 attendee! We will be ordering food. Please RSVP on our site
 (http://www.nycfug.org) so that we can plan accordingly.
 
 Judith Dinowitz
 Co-Manager
 New York ColdFusion User Group (NYCFUG)http://www.nycfug.org








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

2006-02-09 Thread Michael Montagna
What you're doing is correct, so this is probably a bug.  If we find a
workaround I'll post it. 

Thanks,

-Michael


--- In flexcoders@yahoogroups.com, Teoti Graphix [EMAIL PROTECTED]
wrote:

 Hello,
 
 I am writting this more as a comment then question.
 
 I have spent 2 days experimenting with the mx.collections classes
and it has
 been fun. Now, I have a project where I need the tree's root to be;
 
 ClassPaths
-  c:/classes
  -  dir structure
-  c:/mm/classes ...
  -  dir structure..
 
 I am loading all the xml tree structure form php fine. What is the
method
 for creating the root now ClassPaths ONCE, then on each new
'loadCLassPath()
 call, add the new xml to the CLassPaths root node.
 
 I have almost got it but, the tree gives me node opne errors after I
get 2
 nodes inserted.
 
 Am I doing something wrong?
 
 
 protected function loadDir(evt:ResultEvent):void
 {
 
 var newList:XMLList = new XMLList(evt.result);
 
 if (dataProvider == null) {
 
 dataProvider = classpaths label=Class
 Paths/classpaths;
 }
 
 dataProvider.source[0].appendChild(newList);
   }
 
 Peace, Mike
 
 PS the error when click to open the root node is...
 
 TypeError: Error #1010: undefined has no properties.
 at mx.controls::Tree/setIsOpen()
 at mx.controls.treeclasses::TreeCellRenderer/disclosurePress()
 






--
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: FW: link specific mouse pointer

2006-02-09 Thread douglowder
Someone asked a while ago if there were any default cursors besides 
the busy cursor (the ticking clock), but I never saw a response so 
I'll take that to mean there is no predefined hand cursor.  If that's 
the case, you'll need to create your own cursor and use your 
component's mouseOver and mouseOut events to display it.  Check out 
CursorManager.setCursor() and CursorManager.removeCursor().

Doug

--- In flexcoders@yahoogroups.com, Stephane B. [EMAIL PROTECTED] wrote:

 Hello everyone,
  
 Any idea how to change mouse pointer icon when rolling over clickable
 component, in a similar fashion as regular browser with arrow for non
 clickable and the hand when clickable.
  
 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

* 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 get data from mySQL database

2006-02-09 Thread flashmxfreak
Hi all Flex users.
I am new user of Flex Builder 2.
I work with Flash 8 now and I would like know how is possible to get 
data from mySQL database.
I will create e.g. simly adress book as example of using Flex.
Thank you for any examples or help.





--
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: Flex and ColdFusion

2006-02-09 Thread Douglas Knudsen
http://www.macromedia.com/cfusion/usergroups/index.cfm

DK

On 2/9/06, Brendan Meutzner [EMAIL PROTECTED] wrote:
 Just relocated to the Boston area... anyone around here know where to
 check for things like this?

 Thanks,

 Brendan


 --- In flexcoders@yahoogroups.com, cfeditor [EMAIL PROTECTED] wrote:
 
  Ben Forta is doing a tour promoting Flex 2 and ColdFusion, and I
  really think people should contact their local user group, find out
  when he's going to be there, and go. (Details are available on
  http://www.forta.com.) I'd like to invite anyone in the New York area
  to come to the NYCFUG Meeting on Tuesday, February 21st, at 6:30 PM.
  Seating is limited, so please RSVP at http://www.nycfug.org as early
  as possible.
 
  Attend this presentation (or one in your local area) to learn about
  the new Flex, as well as the new ColdFusion integration functionality,
  which will make ColdFusion an ideal back-end for Flex. Flex 2 is on
  the way, and this is your invitation to be one of the first to
  experience the future of rich Internet application development.
 
  A lot has changed in Flex 2, and you can read more about it on
  http://labs.macromedia.com/. With new pricing options, new deployment
  options, new back-end integration options, and a slew of new features,
  Flex 2 is going to change the way we build applications. And for
  ColdFusion developers, there has never been a better time to
  experience it.
 
  When? Tuesday, February 21st, 2006, 6:30 PM (the third Tuesday of the
  month)
  Where? NYU Medical Center, 550 1st Avenue (corner of E. 31st Street)
  Room: Alumni Hall A
 
  A copy of ColdFusion 7 Standard will be raffled off to one lucky
  attendee! We will be ordering food. Please RSVP on our site
  (http://www.nycfug.org) so that we can plan accordingly.
 
  Judith Dinowitz
  Co-Manager
  New York ColdFusion User Group (NYCFUG)http://www.nycfug.org
 







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


--
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: Flex and Flash Media server

2006-02-09 Thread flashmxfreak
Requested page cannot be displayed

--- In flexcoders@yahoogroups.com, Daniel Cascais [EMAIL PROTECTED] 
wrote:

 Christophe Coenraets has an example here:
 
 http://coenraets.com/viewarticle.jsp?articleId=90
 
 On 2/9/06, brownd_92 [EMAIL PROTECTED] wrote:
  Hi guys,
  Does any one have an example of a flex app working with a Media 
server
  video conf embedded in it?
 
  Cheers
 
  Davy
 --
 Daniel Cascais
 Tel: +56 (0)2  4589495
 Cel: +56 (0)9  9417355







--
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 get data from mySQL database

2006-02-09 Thread JesterXL
I've been using AMFPHP; works pretty well.
http://www.jessewarden.com/archives/2005/12/amfphp_10_works.html

- Original Message - 
From: flashmxfreak [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, February 09, 2006 3:23 PM
Subject: [flexcoders] How to get data from mySQL database


Hi all Flex users.
I am new user of Flex Builder 2.
I work with Flash 8 now and I would like know how is possible to get 
data from mySQL database.
I will create e.g. simly adress book as example of using Flex.
Thank you for any examples or help.





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

* 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] embed a movieclip

2006-02-09 Thread Roger Gonzalez





Um, so don't fall in love with any of this.

Just sayin'.

-rg

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  JesterXLSent: Wednesday, February 08, 2006 2:06 
  PMTo: flexcoders@yahoogroups.comSubject: Re: 
  [flexcoders] embed a movieclip
  
  ...whoa... so, if I have an MC inside of the 
  Flash 8 SWF, I can in fact run code through a Flash Player 8.5 SWF? Can 
  you post your example somewhere, this would be really valuable!
  
  - Original Message - 
  From: Jason Y. 
  Kwong 
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, February 08, 2006 4:42 PM
  Subject: Re: [flexcoders] embed a movieclip
  Yes, I was able to successfully call a setter property. I 
  put arbitrary code in the function and it worked out fine. The only 
  gotcha is that the getter/setter must be attached to a MovieClip instance 
  inside the SWF. So you have to associate a class with a library MC, 
  place it on the stage and give it an instance name. Then in the Flex 
  code: var swf: MovieClip = MovieClip(myloader.content);var mc: 
  MovieClip = MovieClip(swf.getChildByName("myMC"));mc.myText = 
  "xxx"; //setterI'm really hoping there's an easier 
  wayor this gets fixed in the next release. 
  On 2/8/06, JesterXL 
  [EMAIL PROTECTED] 
  wrote: 
  
Have you successfully set a getter/setter 
property?

- 
Original Message - 
From: 
Jason Y. Kwong 
To: flexcoders@yahoogroups.com 
Sent: Wednesday, February 08, 2006 3:08 PM
Subject: Re: [flexcoders] embed a movieclip

Ok, I found something interesting 
about this. You can actually access properties in the loaded swf but 
trying to call a function messes up. The function is actually there, 
but it isn't recognized as a function. For example, my Flash8 swf has 
a function named "callMe". I load this into my Flex2 app and then 
trace " swf.callMe" and I actually get "[object Object]". But if try 
to call it via swf.callMe(), I get a runtime error: Call attempted on an 
object that is not a function.Ironically, you can actually access 
getter/setter functions. Since they're considered properties, I guess 
they're good to go. It's a useable workaround at this point. 

On 2/8/06, Jason Y. 
Kwong [EMAIL PROTECTED] wrote: 
I'm 
  actually trying to do something similar. What I've found so far 
  should be able to help you. You need to load the SWF via the Loader 
  component and then use its content property:mx:Loader 
  id="myloader" source=" SimpleSWF.swf" 
  complete="onComplete()"/private function onComplete(): 
  void{ var swf: MovieClip = 
  MovieClip(myloader.content); 
  swf.gotoAndPlay(...);}My problem is that I can't access 
  additional methods/properties that are declared in the loaded swf. 
  I've seen a Flex 1.5 example where you can just go ahead and call those 
  methods on the MovieClip instance, but that doesn't seem to work in Flex 
  2. I've tried casting it to an Object to get around the compiler, 
  but I just end up with a runtime error. 
  
  On 2/8/06, nacho  [EMAIL PROTECTED] 
  wrote: 
  what 
I want to do is load a .SWF file and control the timeline of this 
movieclip, with gotoAndPlay, etc...but i don't know how to load 
  it
--Flexcoders Mailing 
ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 

SPONSORED 
LINKS 

  
  
Web site design development 
Computer software development 
Software design and development 
  
Macromedia flex 
Software development best practice 
  


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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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] embed a movieclip

2006-02-09 Thread JesterXL





...I'm not, but your RSL stuff takes awhile, and 
I'm niccin', so no choice bro!

- Original Message - 
From: Roger Gonzalez 

To: flexcoders@yahoogroups.com 
Sent: Thursday, February 09, 2006 4:07 PM
Subject: RE: [flexcoders] embed a movieclip

Um, so don't fall in love with any of this.

Just sayin'.

-rg

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  JesterXLSent: Wednesday, February 08, 2006 2:06 
  PMTo: flexcoders@yahoogroups.comSubject: 
  Re: [flexcoders] embed a movieclip
  
  ...whoa... so, if I have an MC inside of the 
  Flash 8 SWF, I can in fact run code through a Flash Player 8.5 SWF? Can 
  you post your example somewhere, this would be really valuable!
  
  - Original Message - 
  From: Jason Y. 
  Kwong 
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, February 08, 2006 4:42 PM
  Subject: Re: [flexcoders] embed a movieclip
  Yes, I was able to successfully call a setter property. I 
  put arbitrary code in the function and it worked out fine. The only 
  gotcha is that the getter/setter must be attached to a MovieClip instance 
  inside the SWF. So you have to associate a class with a library MC, 
  place it on the stage and give it an instance name. Then in the Flex 
  code: var swf: MovieClip = MovieClip(myloader.content);var mc: 
  MovieClip = MovieClip(swf.getChildByName("myMC"));mc.myText = 
  "xxx"; //setterI'm really hoping there's an easier 
  wayor this gets fixed in the next release. 
  On 2/8/06, JesterXL 
  [EMAIL PROTECTED] 
  wrote: 
  
Have you successfully set a getter/setter 
property?

- 
Original Message - 
From: 
Jason Y. Kwong 
To: flexcoders@yahoogroups.com 
Sent: Wednesday, February 08, 2006 3:08 PM
Subject: Re: [flexcoders] embed a movieclip

Ok, I found something interesting 
about this. You can actually access properties in the loaded swf but 
trying to call a function messes up. The function is actually there, 
but it isn't recognized as a function. For example, my Flash8 swf has 
a function named "callMe". I load this into my Flex2 app and then 
trace " swf.callMe" and I actually get "[object Object]". But if try 
to call it via swf.callMe(), I get a runtime error: Call attempted on an 
object that is not a function.Ironically, you can actually access 
getter/setter functions. Since they're considered properties, I guess 
they're good to go. It's a useable workaround at this point. 

On 2/8/06, Jason Y. 
Kwong [EMAIL PROTECTED] wrote: 
I'm 
  actually trying to do something similar. What I've found so far 
  should be able to help you. You need to load the SWF via the Loader 
  component and then use its content property:mx:Loader 
  id="myloader" source=" SimpleSWF.swf" 
  complete="onComplete()"/private function onComplete(): 
  void{ var swf: MovieClip = 
  MovieClip(myloader.content); 
  swf.gotoAndPlay(...);}My problem is that I can't access 
  additional methods/properties that are declared in the loaded swf. 
  I've seen a Flex 1.5 example where you can just go ahead and call those 
  methods on the MovieClip instance, but that doesn't seem to work in Flex 
  2. I've tried casting it to an Object to get around the compiler, 
  but I just end up with a runtime error. 
  
  On 2/8/06, nacho  [EMAIL PROTECTED] 
  wrote: 
  what 
I want to do is load a .SWF file and control the timeline of this 
movieclip, with gotoAndPlay, etc...but i don't know how to load 
  it
--Flexcoders Mailing 
ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 

SPONSORED 
LINKS 

  
  
Web site design development 
Computer software development 
Software design and development 
  
Macromedia flex 
Software development best practice 
  


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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  

RE: [flexcoders] Image loader from thumbnail repeater

2006-02-09 Thread Stephane B.





The Image component in the code extract (initial post 
below) relates tothe thumbnails. The"img" idrefers to the full 
size image component on the same view. Whena thumb within the repeater is 
clicked, it is expected to change the source of the full size image "img" 
accordingly. Thumb and full size image are two physical images but share the 
same exact name,it is the path that differs: /images/thand 
/images/full.

Would you have a syntax recommendation (actual code) 
for thesuggestion (first reply below)? Meanwhile, I will try to figure it 
out and will post a reply if I succeed.

Thanks for helping, and congrat to the group owner for 
such effective initiative!

Steph


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Manish 
JethaniSent: Thursday, February 09, 2006 10:40 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Image loader from 
thumbnail repeater
On 2/9/06, Stephane B. [EMAIL PROTECTED] 
wrote: mx:Repeater id="repImages" 
dataProvider="{product.image}" 
mx:Image source="images/th/{repImages.currentItem}" width="69" 
height="93" click="img.load('images/booking/' + 
repImages.currentItem);" / 
/mx:RepeaterWhere does "img" come from? I think you meant 
"event.target"."currentItem" is not available in the click 
handler. Instead ofcurrent item, use getItemAt() and pass it the 
object's"repeaterIndex".





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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: Flex and Flash Media server

2006-02-09 Thread Daniel Cascais
Try this:
http://coenraets.com/

And on the menu to the left, look for:
Collaboration-Enabled RIAs using Flex and Flash Communication Server

On 2/9/06, flashmxfreak [EMAIL PROTECTED] wrote:
 Requested page cannot be displayed


--
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: Array serialization for Webservice

2006-02-09 Thread Pablo Apanasionek
Is there a way to change the item label of the resultant serialized
items of the array? Or add more than one instance of an object with the
same name to the main parameter object?

Thanks,
Pablo Apanasionek



-Mensaje original-
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En
nombre de Dmitry Miller
Enviado el: Jueves, 09 de Febrero de 2006 16:50
Para: flexcoders@yahoogroups.com
Asunto: [flexcoders] Re: Array serialization for Webservice

I am not sure if you can customize Flex serialization. I assume you are
using Axis. If that's the case, you need to go and modify your service
descriptor in services.wsdd (Don't remember on top of my header where
it is located in JRun) file where you explicitly map your ranges 
member of the return Object to type Array. Please, visit
http://ws.apache.org/axis/java/index.html on how to do that. 

Good luck, 

--- Dmitry






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

* 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: Flex and Flash Media server

2006-02-09 Thread JesterXL
His site does that all the time, just refresh one time; always works the 2nd 
time.

- Original Message - 
From: flashmxfreak [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, February 09, 2006 3:25 PM
Subject: [flexcoders] Re: Flex and Flash Media server


Requested page cannot be displayed

--- In flexcoders@yahoogroups.com, Daniel Cascais [EMAIL PROTECTED]
wrote:

 Christophe Coenraets has an example here:

 http://coenraets.com/viewarticle.jsp?articleId=90

 On 2/9/06, brownd_92 [EMAIL PROTECTED] wrote:
  Hi guys,
  Does any one have an example of a flex app working with a Media
server
  video conf embedded in it?
 
  Cheers
 
  Davy
 --
 Daniel Cascais
 Tel: +56 (0)2  4589495
 Cel: +56 (0)9  9417355







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

* 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: Flex and Flash Media server

2006-02-09 Thread ccoenraets
I just posted an updated example with Flex 2 and Flash Media Server 2.

http://coenraets.com

Christophe

--- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote:

 His site does that all the time, just refresh one time; always works
the 2nd 
 time.
 
 - Original Message - 
 From: flashmxfreak [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Thursday, February 09, 2006 3:25 PM
 Subject: [flexcoders] Re: Flex and Flash Media server
 
 
 Requested page cannot be displayed
 
 --- In flexcoders@yahoogroups.com, Daniel Cascais daniel.cascais@
 wrote:
 
  Christophe Coenraets has an example here:
 
  http://coenraets.com/viewarticle.jsp?articleId=90
 
  On 2/9/06, brownd_92 david@ wrote:
   Hi guys,
   Does any one have an example of a flex app working with a Media
 server
   video conf embedded in it?
  
   Cheers
  
   Davy
  --
  Daniel Cascais
  Tel: +56 (0)2  4589495
  Cel: +56 (0)9  9417355
 
 
 
 
 
 
 
 --
 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

* 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] Filters, Contributing

2006-02-09 Thread Trey Long
I read through that, from what I understand it didn't exactly cover what 
I wanted to do.

I was hoping to do something like the following:

MyNewFilter would extend from the BitMapFilter class:

var f:MyNewFilter = new MyNewFilter();
var filtsCopy:Array = DisplayObject.filters;
filtsCopy.push(MyNewFilter);
DisplayObject.filters = filtsCopy;

If that was covered in there, please correct me. It's possible that I 
missed something.

-Trey

JesterXL wrote:
 Here is the 1.5 way; 2 shouldn't be that different:
 
 http://www.jessewarden.com/archives/2006/01/how_to_use_the.html
 
 
 - Original Message - 
 From: Trey Long [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Thursday, February 09, 2006 1:54 PM
 Subject: [flexcoders] Filters, Contributing
 
 
 I created my own bitmap filter from scratch. I was hoping that I could 
 follow the MM framework on this one but there is no info in the API nor 
 is there an interface that I can follow.
 
 If any Adobe / MM guys have any advice on this one please let me know. I 
 would like to just use it in the same way that standard Flex filters are 
 used. I also wouldn't mind contributing the filter if it pleases anyone.
 
 -Trey
 
 Standard way filters are used to me is the following:
 Copy filters array out of DisplayObject, push filter on array, set back 
 to filters array of display object.
 
 
 --
 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

* 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 - - Flash Projector(.exe) Question (?)

2006-02-09 Thread jadiazguti
Hi everyone. I'm new in this world of Flex. I'm a Action Script 
student and seeing Flex i've learned lot of thigs that could help me 
on my projects. I used to develop Macromedia Flash 8's projectors and 
here is my question:

Can I use a FLEX 1.5 project in a  Macromeia Flash (7.0 + ...) desktop 
projector(.exe)???

Thanks for any help.





--
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: Array serialization for Webservice

2006-02-09 Thread Dmitry Miller
Hmmm... I have noticed that WebService Tag has a wsdl attribute. You
try specifying [web service URL]?wsdl for this attribute

ie. mx:WebService wsdl=[your WS URL ]?wsdl ...

Let me know if that works

--- Dmitry


--- In flexcoders@yahoogroups.com, Pablo Apanasionek
[EMAIL PROTECTED] wrote:

 Is there a way to change the item label of the resultant serialized
 items of the array? Or add more than one instance of an object with the
 same name to the main parameter object?
 
 Thanks,
 Pablo Apanasionek
 
 
 
 -Mensaje original-
 De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En
 nombre de Dmitry Miller
 Enviado el: Jueves, 09 de Febrero de 2006 16:50
 Para: flexcoders@yahoogroups.com
 Asunto: [flexcoders] Re: Array serialization for Webservice
 
 I am not sure if you can customize Flex serialization. I assume you are
 using Axis. If that's the case, you need to go and modify your service
 descriptor in services.wsdd (Don't remember on top of my header where
 it is located in JRun) file where you explicitly map your ranges 
 member of the return Object to type Array. Please, visit
 http://ws.apache.org/axis/java/index.ht



ml on how to do that. 
 
 Good luck, 
 
 --- Dmitry
 
 
 
 
 
 
 --
 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

* 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] populate datagrid from object of object

2006-02-09 Thread deepu_verma
Hi,
I am trying to populate a datagrid from object object as in the below
example  (this is a dummy example, i am getting the result from a VO)

var arr = new Array()
arr[0] = new Object()
arr[0].j=10;
arr[0].k=new Object()
arr[0].k.l=20;

mx:DataGrid dataProvider={arr} 
mx:columns
mx:Array
   mx:DataGridColumn columnName=j headerText=j /
   mx:DataGridColumn columnName=k.l headerText=k l 
/
/mx:Array
/mx:columns
/mx:DataGrid

The second column is not displayed (k.l is not picked by the data grid)





--
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 get data from mySQL database

2006-02-09 Thread Teoti Graphix



Hello,

I agree with jesse, I am making an as2, as3 class/interface parser/documenter in Flex and it fully uses AMFPHP and mysql!

I have a nice service class that accesses php's file handling. So it's like virtual file opening/editing etc with AMFPHP. 

Heh, yeah a php guy here but man, with Flex's UI stuff and php as a
more low level accesor, there is quite a bit of things that can be done
in Flex  PHP  mySQL now.

If you get AMFPHP working, see jesse's post and it's that simple.

PS

If not using amf php, you could just use the URLLoader() class to recieve xml generated by php from mySQL.

Peace, MikeOn 2/9/06, JesterXL [EMAIL PROTECTED] wrote:




I've been using AMFPHP; works pretty well.
http://www.jessewarden.com/archives/2005/12/amfphp_10_works.html


- Original Message - 
From: flashmxfreak [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, February 09, 2006 3:23 PM
Subject: [flexcoders] How to get data from mySQL database


Hi all Flex users.
I am new user of Flex Builder 2.
I work with Flash 8 now and I would like know how is possible to get 
data from mySQL database.
I will create e.g. simly adress book as example of using Flex.
Thank you for any examples or help.





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









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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] Filters, Contributing

2006-02-09 Thread JesterXL
Ohhh, you want to actually have it be a filter vs. using another one.  Sorry 
about that; I reckon if your class doesn't extend at least a class in the 
flash.filters.* package, it won't work.

- Original Message - 
From: Trey Long [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, February 09, 2006 5:15 PM
Subject: Re: [flexcoders] Filters, Contributing


I read through that, from what I understand it didn't exactly cover what
I wanted to do.

I was hoping to do something like the following:

MyNewFilter would extend from the BitMapFilter class:

var f:MyNewFilter = new MyNewFilter();
var filtsCopy:Array = DisplayObject.filters;
filtsCopy.push(MyNewFilter);
DisplayObject.filters = filtsCopy;

If that was covered in there, please correct me. It's possible that I
missed something.

-Trey

JesterXL wrote:
 Here is the 1.5 way; 2 shouldn't be that different:

 http://www.jessewarden.com/archives/2006/01/how_to_use_the.html


 - Original Message - 
 From: Trey Long [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Thursday, February 09, 2006 1:54 PM
 Subject: [flexcoders] Filters, Contributing


 I created my own bitmap filter from scratch. I was hoping that I could
 follow the MM framework on this one but there is no info in the API nor
 is there an interface that I can follow.

 If any Adobe / MM guys have any advice on this one please let me know. I
 would like to just use it in the same way that standard Flex filters are
 used. I also wouldn't mind contributing the filter if it pleases anyone.

 -Trey

 Standard way filters are used to me is the following:
 Copy filters array out of DisplayObject, push filter on array, set back
 to filters array of display object.


 --
 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: 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: populate datagrid from object of object

2006-02-09 Thread Doug Lowder
One way to get the value you want displayed is with a cell 
renderer.  You can use a cell renderer by changing your 
DataGridColumn to this:

mx:DataGridColumn columnName=k headerText=k l 
cellRenderer=MyCellRenderer/

Then create a file named MyCellRenderer.as and insert this:

  import mx.controls.Label;

  class MyCellRenderer extends Label {

function setValue(str:String, obj:Object, state:String) : Void {
if (obj != undefined) {
this.text = obj.k.l;
}
}
  }

Note that this may not give you the desired effect when sorting the 
grid by the k l column.


Doug

--- In flexcoders@yahoogroups.com, deepu_verma [EMAIL PROTECTED] 
wrote:

 Hi,
 I am trying to populate a datagrid from object object as in the 
below
 example  (this is a dummy example, i am getting the result from a 
VO)
 
 var arr = new Array()
 arr[0] = new Object()
 arr[0].j=10;
 arr[0].k=new Object()
 arr[0].k.l=20;
 
 mx:DataGrid dataProvider={arr} 
   mx:columns
   mx:Array
mx:DataGridColumn columnName=j headerText=j /
  mx:DataGridColumn columnName=k.l 
headerText=k l /
 /mx:Array
   /mx:columns
   /mx:DataGrid
 
 The second column is not displayed (k.l is not picked by the data 
grid)








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

2006-02-09 Thread José Saldanha
Hi

Some ex. that I have and use .xml file and mysql PHP data, Flash 
Player give me that error:

TypeError: Error #1009: null has no properties.
at mx.rpc.xml::NamespaceUtil$/getLocalName()
at mx.rpc.xml::SimpleXMLDecoder/decodeXML()
at mx.rpc.xml::SimpleXMLDecoder/decodeXML()
at mx.rpc.xml::SimpleXMLDecoder/decodeXML()
at 
mx.rpc.http::HTTPService/http://www.macromedia.com/2005/flex/mx/inter
nal::processResult()
at 
mx.rpc::AbstractInvoker/http://www.macromedia.com/2005/flex/mx/intern
al::resultHandler()
at flash.events::EventDispatcher/dispatchEvent()
at mx.rpc::Producer/acknowledge()
at C:\dev\enterprise_beta1\frameworks\libs\framework.swc
(mx/validators/Validator)
$132::DirectHTTPMessageResponder/completeHandler()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()


In one ex (in 
http://www.evilfree.com/adam/blog/2005/11/flex_data_binding_nodes_or_
att.html )

Flex Data Binding - Nodes or Attributes?

I have 3 diferent .xml files on first Load Attribute XML no error, 
but in Load Node XML file give that error and Load Node XML w 
Attributes give the error to, in Flex ALPHA all the ex work fine but 
now?

What I whant to know is:

If in Beta make the ex. I have to code in diferent way, or is a bug 
or What is it?

If anyone have the same error please feedback and how to fix that.

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

* 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] populate datagrid from object of object

2006-02-09 Thread Oscar . Cortes
This worked for me .using Label Function


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

mx:Script
![CDATA[
var arr:Array;
public function myInit()
{
arr = new Array()
arr[0] = new Object()
arr[0].j=10;
arr[0].k=new Object()
arr[0].k.l=20;

}

function getK(oItem:Object)
{
 return oItem.k.l;
}
]]
/mx:Script



mx:DataGrid dataProvider={arr} 
 mx:columns
 mx:Array
   mx:DataGridColumn columnName=j headerText=j /
mx:DataGridColumn columnName=k.l
headerText=k l labelFunction=getK /
/mx:Array
 /mx:columns
 /mx:DataGrid
/mx:Application


|-+-
| | |
| |  deepu_verma  |
| |  [EMAIL PROTECTED]|
| |  Sent by:   |
| |  flexcoders@yahoogroups.com |
| |  02/09/2006 05:32 PM|
| |  Please respond to  |
| |  flexcoders |
| | |
|-+-
  
-|
  | 
|
  |  To: flexcoders@yahoogroups.com 
|
  |  cc:
|
  |  Subject:  [flexcoders] populate datagrid from object of object 
|
  
-|




Hi,
I am trying to populate a datagrid from object object as in the below
example  (this is a dummy example, i am getting the result from a VO)

var arr = new Array()
arr[0] = new Object()
arr[0].j=10;
arr[0].k=new Object()
arr[0].k.l=20;

mx:DataGrid dataProvider={arr} 
 mx:columns
 mx:Array
   mx:DataGridColumn columnName=j headerText=j /
mx:DataGridColumn columnName=k.l
headerText=k l /
/mx:Array
 /mx:columns
 /mx:DataGrid

The second column is not displayed (k.l is not picked by the data grid)





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












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

* 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] Learning AC for Flex 2.0 from scratch: best bet?

2006-02-09 Thread Stephane B.





I'm trying to define 
the best way to learn ActionScript with Flex in mind and 
nopriorprogramming experience. Book or low cost e-learning 
recommendation anyone?

Steph





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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] Problem with listItemRenderer and AddChild

2006-02-09 Thread tobiaspatton
Hi again;

This might be a bug. The code at the end of this message creates a 
list with a custom item renderer. The renderer handles clicks by 
changing the component's state, effectively adding a button.

This works fine as long as the list property `variableRowHeight' is 
set to `false'. If it it set to true, very strange things happen. 
Clicking on the first row adds a button to the second row. 
Repeatedly clicking on the first row will add a button to the second 
row, remove it, add it to the first row and then remove it.

Does anyone know a way to dynamically add and remove children from a 
custom list item renderer that allows variable height rows?

Thanks.
Tobias.

Here's the code:

- TestAddChild.mxml -

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; 
xmlns=* layout=absolute
mx:ArrayCollection id=ac
mx:Array
mx:StringAlpha/mx:String
mx:StringBeta/mx:String
/mx:Array
/mx:ArrayCollection

mx:VBox id=vb width=300   
mx:List variableRowHeight=true
rowHeight=60
dataProvider={ac} 
listItemRenderer=ItemRenderer
width=300/
/mx:VBox
/mx:Application

- ItemRenderer.mxml -

?xml version=1.0 encoding=utf-8?
mx:VBox xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=* 
click=DoItemClick(event)
height=60
mx:Script
![CDATA[   
public function DoItemClick( 
event:MouseEvent ):void
{
currentState = ( currentState == 
null ) ? openState : null;
}
]]
/mx:Script

mx:states
mx:State name=openState
mx:AddChild
mx:Button label={dataObject}/

/mx:AddChild
/mx:State
/mx:states

mx:Label text={dataObject}/

/mx:VBox







--
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] AS3 class constructors can't be private? Abstract classes?

2006-02-09 Thread Carlos Rovira



Hi,I was trying to migrate some classes from AS2 to AS3 and notice that can't mark the class constructor as private. Is that correct or there's a workaround? if not have plans to implement private constructors.
and abstract classes?Thanks in advance.-- ::| Carlos Rovira::| http://www.carlosrovira.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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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] Learning AC for Flex 2.0 from scratch: best bet?

2006-02-09 Thread JesterXL





Site (AS2)
http://www.debreuil.com/docs/

It's how I learned.

- Original Message - 
From: Stephane B. 

To: flexcoders@yahoogroups.com 
Sent: Thursday, February 09, 2006 4:21 PM
Subject: [flexcoders] Learning AC for Flex 2.0 from scratch: best 
bet?

I'm trying to define 
the best way to learn ActionScript with Flex in mind and 
nopriorprogramming experience. Book or low cost e-learning 
recommendation anyone?

Steph





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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 listItemRenderer and AddChild

2006-02-09 Thread Eric D Anderson
Hi,

I tried this with the Flex 2 beta and I don't see any problem.  Can you confirm 
you're using Flex 2 beta?

Thanks

Eric

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
tobiaspatton
Sent: Thursday, February 09, 2006 6:42 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem with listItemRenderer and AddChild

Hi again;

This might be a bug. The code at the end of this message creates a 
list with a custom item renderer. The renderer handles clicks by 
changing the component's state, effectively adding a button.

This works fine as long as the list property `variableRowHeight' is 
set to `false'. If it it set to true, very strange things happen. 
Clicking on the first row adds a button to the second row. 
Repeatedly clicking on the first row will add a button to the second 
row, remove it, add it to the first row and then remove it.

Does anyone know a way to dynamically add and remove children from a 
custom list item renderer that allows variable height rows?

Thanks.
Tobias.

Here's the code:

- TestAddChild.mxml -

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; 
xmlns=* layout=absolute
mx:ArrayCollection id=ac
mx:Array
mx:StringAlpha/mx:String
mx:StringBeta/mx:String
/mx:Array
/mx:ArrayCollection

mx:VBox id=vb width=300   
mx:List variableRowHeight=true
rowHeight=60
dataProvider={ac} 
listItemRenderer=ItemRenderer
width=300/
/mx:VBox
/mx:Application

- ItemRenderer.mxml -

?xml version=1.0 encoding=utf-8?
mx:VBox xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=* 
click=DoItemClick(event)
height=60
mx:Script
![CDATA[   
public function DoItemClick( 
event:MouseEvent ):void
{
currentState = ( currentState == 
null ) ? openState : null;
}
]]
/mx:Script

mx:states
mx:State name=openState
mx:AddChild
mx:Button label={dataObject}/

/mx:AddChild
/mx:State
/mx:states

mx:Label text={dataObject}/

/mx:VBox







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

* 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] AS3 class constructors can't be private? Abstract classes?

2006-02-09 Thread Johannes Nel



abstract classes i am not expecting, private constructers i certainly hope forOn 2/9/06, Carlos Rovira [EMAIL PROTECTED]
 wrote:


Hi,I was trying to migrate some classes from AS2 to AS3
and notice that can't mark the class constructor as private. Is that
correct or there's a workaround? if not have plans to implement private
constructors.
and abstract classes?Thanks in advance.-- ::| Carlos Rovira::| http://www.carlosrovira.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
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  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.




  








-- j:pn 






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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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] Implementing setFocus for Datagrid which has cellRender with TextInput field

2006-02-09 Thread t_msreddy
Hi
I have a datagrid with a vbox cell renderer which has text box.
I want to implement a kind of  focus manager to set the focus on TAB 
key press.
Here is what i want:
 If current focus is in TextField1 in Cell(i,j), pressing the tab key 
should set the focus on TextField1 in Cell(i, j+1) ... something like 
that.

I have access to the cell indices (i, j) but how can I use them to get 
the TextField1 in Cell(i, j) 

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

* 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] AS3 class constructors can't be private? Abstract classes?

2006-02-09 Thread Michael Hansen



AS3 has some pretty interesting constructs, and private constructors is not one of them. Don't be fooled - it's not java. I can recommend reading up on the as3 pdf.A couple of months ago I hit that same stumbling block, 
i.e. what! no private constructors?!I what follows is a response from zwetan posted on the Adobe labs forum:zwetan writes:here are common cases where *other* languages need private constructors:
- classes containing only static utility methods- classes containing only constants- type safe enumerations- singletonsin AS3 with the actual implementation of the ECMAScript 4 specyou don't need private constructors to implement all that
for cases:- classes containing only static utility methods- classes containing only constantspackage foobar {  class blah   {   function blah() //internal
   {   } public const test:String = test;public static function utility():String {  return hello world;
 }  } }the constructor blah is by default internal to the package,you can not instanciate it outside of the packagebut by declaring the constant and/or static members public
you can access them outside from the package.(you don't even need to define a constructor )check the prog_actionscript3.pdf page 43class ConstExample{ static const EXAMPLE_STATIC:String = Global access;
 public const EXAMPLE_PUBLIC:String = Public access; private const EXAMPLE_PRIVATE:String = Class access;}for the singletons case it's almost the same,especially if you want to have a constructor to initialize it
---package foobar { class Singleton() //internal{ function Singleton() //package scope internal constructor   {   }
  public var someProperty:String = someProperty;  public function someMethod():String  {   return someMethod  }}
 }---package foobar {  public const MySingleton:Singleton = new Singleton(); }---you can only instanciate the Singleton constructor inside its package,
not outside because it IS internal,and making it const and public you're sure it gonna beglobally accessible and instancied only once.You don't need private constructor in prototype-based languagebecause you can directly have an object
http://en.wikipedia.org/wiki/Singleton_pattern In a prototype-based programming language, where objects but not classes
are used, a singleton simply refers to an object without copies or that isnot used as the prototype for any other object.zwetanOn 2/10/06, 
Johannes Nel [EMAIL PROTECTED] wrote:



abstract classes i am not expecting, private constructers i certainly hope forOn 2/9/06, Carlos Rovira
 [EMAIL PROTECTED]
 wrote:


Hi,I was trying to migrate some classes from AS2 to AS3
and notice that can't mark the class constructor as private. Is that
correct or there's a workaround? if not have plans to implement private
constructors.
and abstract classes?Thanks in advance.-- ::| Carlos Rovira::| http://www.carlosrovira.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
  
  
  



Web site design development
  
  


Computer software development
  
  


Software design and development
  
  




Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  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
.




  








-- j:pn 






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


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  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] embed a movieclip

2006-02-09 Thread Roger Gonzalez





LocalConnection, probably with a FP8-built proxy if you didn't design the 
FP8 movie for it ahead of time.

There are limitations, but its the only safe approach I know of at the 
moment.

-rg

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Jason Y. 
  KwongSent: Thursday, February 09, 2006 3:54 PMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] embed a 
  movieclip
  No, no love here. However, it does bring up the question: 
  What are our options if we want to be able to script a Flash8 swf inside 
  a Flex2 app? 
  On 2/9/06, Roger 
  Gonzalez [EMAIL PROTECTED] wrote: 
  
Um, so don't 
fall in love with any of this.

Just 
sayin'.

-rg





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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] AS3 class constructors can't be private? Abstract classes?

2006-02-09 Thread jeff tapper
take a look at the AS3 DataManagger post on my blog for a workaround.

Http://jeff.mxdj.com 

Sent with Wireless Sync from Verizon Wireless

 Original Message 
From: Carlos Rovira [EMAIL PROTECTED]
Date: 2/9/06 6:05 pm
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Subj: [flexcoders] AS3 class constructors can't be private? Abstract classes?

Hi,


I was trying to migrate some classes from AS2 to AS3 and notice that can't
mark the class constructor as private. Is that correct or there's a
workaround? if not have plans to implement private constructors.


and abstract classes?


Thanks in advance.


--
::| Carlos Rovira
::| http://www.carlosrovira.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

* 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] AS3 class constructors can't be private? Abstract classes?

2006-02-09 Thread Jeff Tapper
Now that I have a real connection, and not just the phone, I can answer a 
bit more fully.  In the DataManager class that I wrote 
(http://jeff.mxdj.com/as3_datamanager.htm), the DataManager is a Singleton, 
so it needs a private constructor, sadly, no private constructors are 
available in AS3, so I use a private class in the same file, which emulates 
the same effect.

At 07:15 PM 2/9/2006, jeff tapper wrote:
take a look at the AS3 DataManagger post on my blog for a workaround.

Http://jeff.mxdj.comHttp://jeff.mxdj.com

Sent with Wireless Sync from Verizon Wireless

 Original Message 
From: Carlos Rovira [EMAIL PROTECTED]
Date: 2/9/06 6:05 pm
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Subj: [flexcoders] AS3 class constructors can't be private? Abstract classes?

Hi,


I was trying to migrate some classes from AS2 to AS3 and notice that can't
mark the class constructor as private. Is that correct or there's a
workaround? if not have plans to implement private constructors.


and abstract classes?


Thanks in advance.


--
::| Carlos Rovira
::| http://www.carlosrovira.comhttp://www.carlosrovira.com





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




SPONSORED LINKS
http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQWeb
 
site design development 
http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHwComputer
 
software development 
http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQSoftware
 
design and development
http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjwMacromedia
 
flex 
http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIwSoftware
 
development best practice


--
YAHOO! GROUPS LINKS

*  Visit your group 
 http://groups.yahoo.com/group/flexcodersflexcoders on the web.
*
*  To unsubscribe from this group, send an email to:
* 
 mailto:[EMAIL PROTECTED][EMAIL PROTECTED] 

*
*  Your use of Yahoo! Groups is subject to the 
 http://docs.yahoo.com/info/terms/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 
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: Tilelist event question

2006-02-09 Thread Manish Jethani
On 2/9/06, sufibaba [EMAIL PROTECTED] wrote:
 Yes, I meant to say object reference.

  The cell renderer can dispatch an event that would bubble up to the
  Form1.mxml component.  The component can catch the event and get a
  reference to the object using event.target.

 What would be the code in Form1.mxml be in order to catch the bubling
 event from the Thumbnail.

this.addEventListener(bubblingEvent, handleBubblingEvent);

function handleBubblingEvent(event)
{
  ... // event.target is the cell renderer
}


--
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] Rich text Editor ...

2006-02-09 Thread Manish Jethani
On 2/9/06, Jeremy Rottman [EMAIL PROTECTED] wrote:
 I have a rich text editor component in my app, that allows users to
 input text for news and the such. However, I can not figure out how to
 get the RTE component to insert the data into the database as html and
 no as flat plain text. Has anyone got this to work at all yet?

Use the htmlText property (instead of text).


--
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] Image loader from thumbnail repeater

2006-02-09 Thread Manish Jethani
On 2/9/06, Stephane B. [EMAIL PROTECTED] wrote:

 Would you have a syntax recommendation (actual code)  for the suggestion 
 (first reply below)?

 [old] click=img.load('images/booking/' + repImages.currentItem);

 [new] click=img.load('images/booking/' +
repImages.getItemAt(event.target.repeaterIndex));


--
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] referencing functions within a component

2006-02-09 Thread Gordon Smith
Change

click=delete();

to

click=parentDocument.delete();,

and change function delete() from private to public.

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of rgwilson26
Sent: Thursday, February 09, 2006 7:39 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] referencing functions within a component

I am fairly new to Flex and wondering how to get one component to 
call a function within another component. How do I reference the 
function in component #1 from #2?

**component #1*
mx:Form xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns=*
private function delete():Void{
   Alert.Show(you have been deleted);
}
mx:Vbox
  component2 id=c2
/mx:Vbox

/mx:Form


**component #2*
?xml version=1.0 encoding=utf-8?
mx:HBox height=25 xmlns:mx=http://www.macromedia.com/2003/mxml;

mx:TextInput id=txtRCAParticipants1 width=150 text= /
mx:Button label=Delete click=delete(); /
/mx:HBox





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

* 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] Flex 2.0 beta TextArea question

2006-02-09 Thread Gordon Smith
Sorry, I'm not following you. If you can be more explicit about what did
and didn't work (i.e., what's in the body of the function, and how you
call it), I can probably explain what's going on.

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jonas Windey
Sent: Thursday, February 09, 2006 1:26 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex 2.0 beta TextArea question

Thanks, validateNow() did the trick.

Still weird though that calling the same function from a button did the
event, but from code didn't work. Probably because all client-events
trigger
the validateNow() function automatically?

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Gordon Smith
Sent: donderdag 9 februari 2006 8:29
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex 2.0 beta TextArea question

There should be no need for callLater() or a Timer. These are
workarounds from Flex 1.X that we want to banish in Flex 2.

Mac Martine wrote:
 I believe you will find a detailed answer in the thread
 from Feb 1 with  the Subject:
 [flexcoders] Scrolling a TextArea to the bottom?

This thread explained that setting a property like the 'text' of a
TextArea does not immediately update other properties such as
maxVPosition; by default this happens latter, for performance reasons.

However, you can force all properties to update immediately by calling
validateNow() on a UIComponent. So if you set the text, call
validateNow(), and then set the vPosition to the maxVPosition, it should
scroll to the bottom.

If there are problem with making this work, please file bugs.

- Gordon




-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: Wednesday, February 08, 2006 12:10 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 2.0 beta TextArea question

On 2/8/06, Manish Jethani [EMAIL PROTECTED] wrote:

 Okay, the problem is that the TextArea's maxVPosition is 0 even after
 the text is set.  The new value of maxVPosition is calculated only on
 the next screen update.

. and the solution for now is to use callLater() or a timer or
something.


--
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: 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: Problem with listItemRenderer and AddChild

2006-02-09 Thread tobiaspatton
Yes. I am using Flex 2 Beta 1.

When you run the application and click on Alpha, is a button 
appearing underneath Alpha, or Beta? It should be Alpha.

Thanks.
Tobias.

--- In flexcoders@yahoogroups.com, Eric D Anderson [EMAIL PROTECTED] 
wrote:

 Hi,
 
 I tried this with the Flex 2 beta and I don't see any problem.  
Can you confirm you're using Flex 2 beta?
 
 Thanks
 
 Eric
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of tobiaspatton
 Sent: Thursday, February 09, 2006 6:42 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Problem with listItemRenderer and AddChild
 
 Hi again;
 
 This might be a bug. The code at the end of this message creates a 
 list with a custom item renderer. The renderer handles clicks by 
 changing the component's state, effectively adding a button.
 
 This works fine as long as the list property `variableRowHeight' 
is 
 set to `false'. If it it set to true, very strange things happen. 
 Clicking on the first row adds a button to the second row. 
 Repeatedly clicking on the first row will add a button to the 
second 
 row, remove it, add it to the first row and then remove it.
 
 Does anyone know a way to dynamically add and remove children from 
a 
 custom list item renderer that allows variable height rows?
 
 Thanks.
 Tobias.
 
 Here's the code:
 
 - TestAddChild.mxml -
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml; 
 xmlns=* layout=absolute
   mx:ArrayCollection id=ac
   mx:Array
   mx:StringAlpha/mx:String
   mx:StringBeta/mx:String
   /mx:Array
   /mx:ArrayCollection
   
   mx:VBox id=vb width=300   
   mx:List variableRowHeight=true
   rowHeight=60
   dataProvider={ac} 
   listItemRenderer=ItemRenderer
   width=300/
   /mx:VBox
 /mx:Application
 
 - ItemRenderer.mxml -
 
 ?xml version=1.0 encoding=utf-8?
 mx:VBox xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=* 
 click=DoItemClick(event)
   height=60
   mx:Script
   ![CDATA[   
   public function DoItemClick( 
 event:MouseEvent ):void
   {
   currentState = ( currentState == 
 null ) ? openState : null;
   }
   ]]
   /mx:Script
   
   mx:states
   mx:State name=openState
   mx:AddChild
   mx:Button label={dataObject}/
   
   /mx:AddChild
   /mx:State
   /mx:states
   
   mx:Label text={dataObject}/
 
 /mx:VBox
 
 
 
 
 
 
 
 --
 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

* 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] Image loader from thumbnail repeater

2006-02-09 Thread Stephane B.





Looks like the right solution, but I get the following 
error:
ReferenceError: Error #1069: Property repeaterIndex not 
found on flash.display.Loader and there is no default valueat 
ProductDetails/___Image2_click()

any idea?


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Manish 
JethaniSent: Thursday, February 09, 2006 10:40 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Image loader from 
thumbnail repeater
On 2/9/06, Stephane B. [EMAIL PROTECTED] 
wrote: mx:Repeater id="repImages" 
dataProvider="{product.image}" 
mx:Image source="images/th/{repImages.currentItem}" width="69" 
height="93" click="img.load('images/booking/' + 
repImages.currentItem);" / 
/mx:RepeaterWhere does "img" come from? I think you meant 
"event.target"."currentItem" is not available in the click 
handler. Instead ofcurrent item, use getItemAt() and pass it the 
object's"repeaterIndex".





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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] Learning AC for Flex 2.0 from scratch: best bet?

2006-02-09 Thread Stephane B.





Thanks!


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: 
Thursday, February 09, 2006 4:14 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Learning AC for 
Flex 2.0 from scratch: best bet?

Site (AS2)
http://www.debreuil.com/docs/

It's how I learned.

- Original Message - 
From: Stephane B. 

To: flexcoders@yahoogroups.com 
Sent: Thursday, February 09, 2006 4:21 PM
Subject: [flexcoders] Learning AC for Flex 2.0 from scratch: best 
bet?

I'm trying to define 
the best way to learn ActionScript with Flex in mind and 
nopriorprogramming experience. Book or low cost e-learning 
recommendation anyone?

Steph





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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.



  









  1   2   >