[flexcoders] Cairngorm Events

2006-07-26 Thread Ryan Stewart


I'm still not entirely clear on the event model in Flex 2, so hopefully this is an easy question.  I want to add an event listener in one of my flex view components that will listen for a CairngormEvent to be dispatched and then run a function within that component. Pretty straight forward I thought.  When my flex component is initialized, I call a function, doInit() that does the following:this.addEventListener(com.example.control.MyCustomEvent,myFunction);In this case, MyCustomEvent is a CairngormEvent but when I dispatch it using the typical Cairngorm event dispatcher, it doesn't fire myFunction. Am I totally off base on how the CairngormEventDispatcher works or how to set up Event listeners for custom events?Thanks,Ryan
__._,_.___





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

2006-07-26 Thread Pan Troglodytes



Okay, no problem. I think you're going to want to replace your for loop with this:for (rc = rowColors.length-1; rc = 0; rc--) // loop backwards for priority order
{ rowColorCriteria.dataField = StyleManager.getStyleDeclaration(.+rowColors[rc]).getStyle(dataField); rowColorCriteria.condition = StyleManager.getStyleDeclaration(.+rowColors[rc]).getStyle(condition);
 rowColorCriteria.value = StyleManager.getStyleDeclaration(.+rowColors[rc]).getStyle(value); rowColorCriteria.backgroundColor = StyleManager.getColorName(StyleManager.getStyleDeclaration
(.+rowColors[rc]).getStyle(backgroundColor));   if (actualRow  dataProvider.length) {  currentCellData = dataProvider.getItemAt(actualRow)[rowColorCriteria.dataField
];   switch (rowColorCriteria.condition.toLowerCase())  {   case eq :if (currentCellData == rowColorCriteria.value) rowColorValue = rowColorCriteria.backgroundColor
; break;   case ne :if (currentCellData != rowColorCriteria.value) rowColorValue = rowColorCriteria.backgroundColor;break;case lt :
if (currentCellData  rowColorCriteria.value) rowColorValue = rowColorCriteria.backgroundColor; break;   case gt : if (currentCellData  
rowColorCriteria.value) rowColorValue = rowColorCriteria.backgroundColor;break;case lteq : if (currentCellData = rowColorCriteria.value) rowColorValue = 
rowColorCriteria.backgroundColor; break;case gteq : if (currentCellData = rowColorCriteria.value) rowColorValue = rowColorCriteria.backgroundColor
; break;default : rowColorValue = colors[actualRow % colors.length]; break;  } // condition  value 
 }} // rowColorsOn 7/25/06, Tim Hoff [EMAIL PROTECTED] wrote:



Here's the example. Right click to view/download code. Look at RowColorDataGrid.as component, near the bottom.

http://www.iepl.net/DataGridRowColorSample/DataGridRowColorSample.html
-TH--- In flexcoders@yahoogroups.com
, Pan Troglodytes [EMAIL PROTECTED] wrote: I don't understand why that would fail. What is actualRow? Is it the last parameter passed into drawRowBackground()? That's what you should be
 using. If that's what it is, can you post a small example that reproduces you problem?  I'm using the method Matt posting and it's working great. So there must be some small detail throwing things off.
  On 7/25/06, Tim Hoff [EMAIL PROTECTED] wrote:   Jason,   Thanks for the response. If I was using an ArrayCollection outside
  of the subclassed DataGrid component, that makes sense. However,  inside the component, I'm not having any luck accessing the  dataProvider and/or underlying data with any method. I tried the
  following line, but it comes up blank.   rowData = dataProvider.getItemAt(actualRow,0);   Again, it may just be something that I'm doing wrong through  subclassing; like setter/getter or something similar.
   -TH   --- In 
flexcoders@yahoogroups.com, Pan Troglodytes  chimpathetic@ wrote: Matt just means to use getItemAt(dataIndex) to get the item for  row. Then   you can use whatever field/property to make your decision on how
  to color   it. Make sense? On 7/25/06, Tim Hoff TimHoff@ wrote:   Matt, or anyone else,   
Similar to your suggestion, I've been creating a sample that  shows how toset the row color of a DataGrid. When you say, get data at  dataIndex
using dataProvider methods, how exactly do you go about this.  Manishsuggested looking at the iterator. I've tried this, as well as  listData,dataProvider and several others. The problem is that none of
  them arereturning the actual data in individual cells. I'm sure that my  thick headis just missing something simple. The following sample shows
  where I'm atwith this currently. If you have any tips or advise that can  help me getover this hurdle, I would greatly appreciate it. This won't be
  a componentfor sale, but rather a sample for free.DataGridRowColorSample
http://www.iepl.net/DataGridRowColorSample/Dat  aGridRowColorSample.html- See RowColorDataGrid.as near the bottom.   Thanks,Tim Hoff
  --- In 
flexcoders@yahoogroups.com, Matt Chotin mchotin@  wrote: For dealing with the row backgrounds maybe you could look into subclassing DataGrid and overriding drawRowBackground?
 override protected function drawRowBackground(s:Sprite  
http://livedocs.macromedia.com/flex/2/langref/flash/display/Sprite.h  tml  , rowIndex:int 
http://livedocs.macromedia.com/flex/2/langref/int.html ,  y:Number 
http://livedocs.macromedia.com/flex/2/langref/Number.html , height:Number 
http://livedocs.macromedia.com/flex/2/langref/Number.html ,  color:uint 
http://livedocs.macromedia.com/flex/2/langref/uint.html , dataIndex:int  
http://livedocs.macromedia.com/flex/2/langref/int.html ):void  
http://livedocs.macromedia.com/flex/2/langref/specialTypes.html#void  { //get data at dataIndex using dataProvider methods
 //var 

[flexcoders] Re: performance issues

2006-07-26 Thread Tim Hoff
That worked Jason, and much cleaner too.  Thanks!  I knew that it 
was just a syntax combination that I hadn't seen yet. ()[] - who 
knew?  Only one change: I moved the default rowColor back up above 
the rowColors loop, to avoid overwriting.  I've been chewing (let's 
say festering) on this for more than a week now.  After I add some 
bells and whistles, I'll post the sample.  From the number of 
related questions, hopefully this is an example that might benefit 
others.  I'll make sure to give you proper credit.

Thanks again,
Tim

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

 Okay, no problem.  I think you're going to want to replace your 
for loop
 with this:
 
 for (rc = rowColors.length-1; rc = 0; rc--) // loop backwards for 
priority
 order
 {
 rowColorCriteria.dataField = StyleManager.getStyleDeclaration
 (.+rowColors[rc]).getStyle(dataField);
 rowColorCriteria.condition = StyleManager.getStyleDeclaration
 (.+rowColors[rc]).getStyle(condition);
 rowColorCriteria.value = StyleManager.getStyleDeclaration
 (.+rowColors[rc]).getStyle(value);
 rowColorCriteria.backgroundColor = StyleManager.getColorName(
 StyleManager.getStyleDeclaration(.+rowColors[rc]).getStyle
(backgroundColor));
 
 
 if (actualRow  dataProvider.length)
 {
 currentCellData = dataProvider.getItemAt(actualRow)[
 rowColorCriteria.dataField];
 
 switch (rowColorCriteria.condition.toLowerCase())
 {
 case eq :
 if (currentCellData == rowColorCriteria.value) 
rowColorValue
 = rowColorCriteria.backgroundColor;
 break;
 case ne :
 if (currentCellData != rowColorCriteria.value) 
rowColorValue
 = rowColorCriteria.backgroundColor;
 break;
 case lt :
 if (currentCellData  rowColorCriteria.value) 
rowColorValue
 = rowColorCriteria.backgroundColor;
 break;
  case gt :
 if (currentCellData  rowColorCriteria.value)
 rowColorValue = rowColorCriteria.backgroundColor;
  break;
 case lteq :
 if (currentCellData = rowColorCriteria.value)
 rowColorValue = rowColorCriteria.backgroundColor;
 break;
 case gteq :
 if (currentCellData = rowColorCriteria.value)
 rowColorValue = rowColorCriteria.backgroundColor;
 break;
 default :
 rowColorValue = colors[actualRow % 
colors.length];
 break;
 
 } // condition  value
 }
 } // rowColors
 
 
 On 7/25/06, Tim Hoff [EMAIL PROTECTED] wrote:
 
  Here's the example.  Right click to view/download code.  Look at
  RowColorDataGrid.as component, near the bottom.
 
  
http://www.iepl.net/DataGridRowColorSample/DataGridRowColorSample.htm
l
 
  -TH
 
  --- In flexcoders@yahoogroups.com, Pan Troglodytes 
chimpathetic@
  wrote:
  
   I don't understand why that would fail. What is actualRow? Is 
it the
  last
   parameter passed into drawRowBackground()? That's what you 
should be
   using. If that's what it is, can you post a small example that
  reproduces
   you problem?
  
   I'm using the method Matt posting and it's working great. So 
there must
  be
   some small detail throwing things off.
  
   On 7/25/06, Tim Hoff TimHoff@ wrote:
   
Jason,
   
Thanks for the response. If I was using an ArrayCollection 
outside
of the subclassed DataGrid component, that makes sense. 
However,
inside the component, I'm not having any luck accessing the
dataProvider and/or underlying data with any method. I tried 
the
following line, but it comes up blank.
   
rowData = dataProvider.getItemAt(actualRow,0);
   
Again, it may just be something that I'm doing wrong through
subclassing; like setter/getter or something similar.
   
-TH
   
--- In flexcoders@yahoogroups.com, Pan Troglodytes
chimpathetic@ wrote:

 Matt just means to use getItemAt(dataIndex) to get the 
item for
row. Then
 you can use whatever field/property to make your decision 
on how
to color
 it. Make sense?

 On 7/25/06, Tim Hoff TimHoff@ wrote:
 
  Matt, or anyone else,
 
  Similar to your suggestion, I've been creating a sample 
that
shows how to
  set the row color of a DataGrid. When you say, get data 
at
dataIndex
  using dataProvider methods, how exactly do you go about 
this.
Manish
  suggested looking at the iterator. I've tried this, as 
well as
listData,
  dataProvider and several others. The problem is that 
none of
them are
  returning the actual data in individual cells. I'm sure 
that my
thick head
  is just missing something simple. The following sample 
shows
where I'm at
  with this currently. If you have any tips or advise that 
can
help me get
  over 

Re: [flexcoders] [Flex2 final] Application look blury when using FlashType

2006-07-26 Thread Carlos Rovira



Hi Stacy,Thanks for your response. Hope Adobe release an updater soon with fixes all the bugs currently known. Remember talk some weeks ago in this list about the possibility to have a SVN or another way to get updates quickly so people don't have to wait untile next relase.
Someone at Adobe could give some insight about those plans?Thanks.C.On 7/26/06, Stacy Young 
[EMAIL PROTECTED] wrote:












  













Yes, few known problems with FlashType in
Flex L


Blurry, offset a few pixels …



Stace











From: [EMAIL PROTECTED]
ups.com [mailto:[EMAIL PROTECTED]
ups.com] On Behalf Of Carlos Rovira
Sent: Tuesday, July 25, 2006 4:49
PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] [Flex2
final] Application look blury when using FlashType











Hi,

I create an Arial font face with Flash 8 to use the new FlashType with
antialias advanced. It was all ok for a while, and fonts look so good, but now
I'm starting to experience that controls and containers in the application
looks a little blured and even I can see a strange grey lines as tooltips
renders or list in comboboxes pops. If I remove the FlashType font all loks
good. 

Someone notice something like that? there's a know bug out there?

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






 
  

  AVIS
  IMPORTANT
  
  

  WARNING
  
 
 
  
  Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système.  La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur.

  
  
  This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient.  No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message.  If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system.  The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful.  If you have received this e-mail in error, please notify the sender.

  
 





  













-- ::| 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] Question regarding datagrids - generating subtotals

2006-07-26 Thread Ralf Bokelberg
Hi flxcoder,

i just created a small example. You can find it here:
http://www.helpqlodhelp.com/blog/archives/000154.html

Cheers,
Ralf.

On 7/26/06, flxcoder [EMAIL PROTECTED] wrote:
 I have a need where like excel, I need to show sub-totals and empty
 cells on the row where the sub total will appear. This subtotal will
 be calculated, say as an aggregate function that I can write.

 But the question is, how can I do this with the datagrid control. I
 am at a point where I can display my data in the datagrid. the
 datagrid dataprovider at this point is the arraycollection.

 any clues/hints/examples on this?

 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









-- 
Ralf Bokelberg [EMAIL PROTECTED]
Flex  Flash Consultant based in Cologne/Germany


--
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] Securing coldfusion remoting services for flex 2

2006-07-26 Thread Tom Chiverton
On Tuesday 25 July 2006 15:58, Benoit Hediard wrote:
 What are the best practices to secure coldfusion remoting services for
 Flex2?

I've been trying to get them to run over HTTPS for a start, with no luck so 
far :-(

 On the flash/flex side, we haved configured the cross domain policy file on
 our server, so that only swf served by our domain can call our services.
 That's fine.

We've used Apache (as a front end proxy via mod_jrun) to lock things down to 
specific IP adress', and if you don't mind a login prompt you can use HTTP 
basic/digest protection too.

 Is it possible to allow only flex remote object calls on our services?
 That would solve the issue.

What you could do is tweak the services XML file so that public methods can be 
invoked by Flash over remoteing, and not have any 'remote' methods in your 
CFCs.

 Any suggestions?

Consider using named destinations, one per CFC, rather than the default '*'.

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/WktRrD/lOaOAA/yQLSAA/nhFolB/TM
~- 

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

2006-07-26 Thread Tom Chiverton
On Tuesday 25 July 2006 14:00, Douglas Knudsen wrote:
 attributes have a default value.  Where is this default value set?  I can't
 find it anywhere.

Base class ?

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/WktRrD/lOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] Equiv of DoEvents, to allow painting?

2006-07-26 Thread Tom Chiverton
On Tuesday 25 July 2006 11:33, Daniel Tuppeny wrote:
 I know 40k points isn't particularly useful, but our app has to degrade
 nicely if someone doesn't filter the data, and stopping IE form painting
 is not very nice.

Why not just not let the use choose no filtering ?

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.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] Doesn't work mx:Button click=function({...});

2006-07-26 Thread Tom Chiverton
On Tuesday 25 July 2006 13:04, exeypan wrote:
 Why it does not work?
 Function loadXML2 is not extracted...


 mx:Button click=loadXML2({ getField( XML( linksItems.currentItem ),
 how1Link ) }); label=Link /

click=doSomethingDescriptive() would be a nicer way of doing this, then have 
a doSomethingDescriptive method that does all the nasty suff out of the way 
of your GUI.

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/WktRrD/lOaOAA/yQLSAA/nhFolB/TM
~- 

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

2006-07-26 Thread Tom Chiverton
On Wednesday 26 July 2006 07:07, Ryan Stewart wrote:
 I'm still not entirely clear on the event model in Flex 2, so hopefully
 this is an easy question.  I want to add an event listener in one of my
 flex view components that will listen for a CairngormEvent to be dispatched
 and then run a function within that component.

Cairngorm would normally say that if you want something to happen when an 
Event is dispatched, you put that code in the Controller associated with the 
Event.

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.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] flex 1.5 : AMF and ports and Max users

2006-07-26 Thread Antoine Malpel






Well thanks Eric but my question is :

- How do I use Rtmp, where do you declare this ? and If I use rtmp for
my remoteObject will it be "faster" ?
- Still don't understand if ONE CPU could support more than
100-200-300-400 users ...

Eric D Anderson a crit:


  
  
  
  
  FDS can use
HTTP(S), AMF/HTTP(S) or
RTMP(S) for data transport. You need to define each destination to use
one (or more) of those data transports.
  
  In terms of
scale, FDS Dept edition is
targeted at applications for work groups or departments (you deploy an
application
for a 50 person call center). FDS Enterprise is targeted at larger
applications
with hundreds, thousands or tens of thousands of users. Our internal
load
testing (which will be available in a public document on the adobe.com
website
shortly) shows that FDS scales linearly with a web server and is
typically
limited by the performance of the systems it connects to  our
messaging
performance is typically limited by the JMS server were talking with.
  
  Eric
  
  
  
  
  From:
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Antoine Malpel
  Sent: Tuesday, July
25, 2006 12:14
PM
  To: Mailing List
FlexCoders
  Subject: [flexcoders]
flex 1.5 :
AMF and ports and Max users
  
  
  
  
  
  Hi,
  
as I use RemoteObject I've seen in Docs FDS can uses RTMP or HTTP, what
  
does that mean ? if rtmp port is closed it switches to HTTP ? so in
this 
case I could get better performances opening the rtmp port ? witch 
number is it ?
  
Also,
  
can some people give me feedback about Hardware and Max users 
connections ? as I notices 100 users licence's price is about 20% 
enterprise licences ... (20 000$ per cpu ? !) can some CPU support 
more than 100 users connections ?
  
thanks
  
Antoine Malpel - quikstore.eu project
  
  
  

  
  




__._,_.___





--
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] Equiv of DoEvents, to allow painting?

2006-07-26 Thread Daniel Tuppeny

I don't understand your response. If the user chooses not to filter the
data (and therefore, gets 40k points), IE locks up big time (stops
responding to paint messages) while the Series runs through its
updateDisplayList() (and intensive task with 40k interations). I need to
loop, every, say, 500 iterations, to give some time back to IE for
responding to messages - otherwise the whole of IE goes white.

In .NET, you can call Application.DoEvents(), which processes messages
sat on the queue (like paint messages), which would stop this problem.

I need an equivilent in Flex, that I can call when I'm in the middle of
a lot of processing, to allow FP/IE to respond. Otherwise, anything that
requres a loop that'll take some time, will always cripple IE (and
ultimately tell the user IE is (Not Repsonding) in the title bar).

 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: 26 July 2006 09:30
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Equiv of DoEvents, to allow painting?

On Tuesday 25 July 2006 11:33, Daniel Tuppeny wrote:
 I know 40k points isn't particularly useful, but our app has to 
 degrade nicely if someone doesn't filter the data, and stopping IE 
 form painting is not very nice.

Why not just not let the use choose no filtering ?

--
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England
and Wales under registered number OC307980 whose registered office
address is at St James's Court Brown Street Manchester M2 2JF.  A list
of members is available for inspection at the registered office. Any
reference to a partner in relation to Halliwells LLP means a member of
Halliwells LLP. Regulated by the Law Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and
may be confidential or legally privileged.  If you are not the addressee
you must not read it and must not use any information contained in nor
copy it nor inform any person other than Halliwells LLP or the addressee
of its existence or contents.  If you have received this email in error
please delete it and notify Halliwells LLP IT Department on 0870 365
8008.

For more information about Halliwells LLP visit www.halliwells.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



 



[Inbound Mail Scanned by MessageLabs]

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


 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/3EuRwD/bOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] Equiv of DoEvents, to allow painting?

2006-07-26 Thread Ralf Bokelberg
Hi Daniel,

you could use a Timer for that. updateDisplayList sets up the timer
and returns.
The timer's eventhandler does the drawing.

Cheers,
Ralf.

On 7/26/06, Daniel Tuppeny [EMAIL PROTECTED] wrote:

 I don't understand your response. If the user chooses not to filter the
 data (and therefore, gets 40k points), IE locks up big time (stops
 responding to paint messages) while the Series runs through its
 updateDisplayList() (and intensive task with 40k interations). I need to
 loop, every, say, 500 iterations, to give some time back to IE for
 responding to messages - otherwise the whole of IE goes white.

 In .NET, you can call Application.DoEvents(), which processes messages
 sat on the queue (like paint messages), which would stop this problem.

 I need an equivilent in Flex, that I can call when I'm in the middle of
 a lot of processing, to allow FP/IE to respond. Otherwise, anything that
 requres a loop that'll take some time, will always cripple IE (and
 ultimately tell the user IE is (Not Repsonding) in the title bar).



 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Tom Chiverton
 Sent: 26 July 2006 09:30
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Equiv of DoEvents, to allow painting?

 On Tuesday 25 July 2006 11:33, Daniel Tuppeny wrote:
  I know 40k points isn't particularly useful, but our app has to
  degrade nicely if someone doesn't filter the data, and stopping IE
  form painting is not very nice.

 Why not just not let the use choose no filtering ?

 --
 Tom Chiverton

 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in England
 and Wales under registered number OC307980 whose registered office
 address is at St James's Court Brown Street Manchester M2 2JF.  A list
 of members is available for inspection at the registered office. Any
 reference to a partner in relation to Halliwells LLP means a member of
 Halliwells LLP. Regulated by the Law Society.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and
 may be confidential or legally privileged.  If you are not the addressee
 you must not read it and must not use any information contained in nor
 copy it nor inform any person other than Halliwells LLP or the addressee
 of its existence or contents.  If you have received this email in error
 please delete it and notify Halliwells LLP IT Department on 0870 365
 8008.

 For more information about Halliwells LLP visit www.halliwells.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







 [Inbound Mail Scanned by MessageLabs]

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



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









-- 
Ralf Bokelberg [EMAIL PROTECTED]
Flex  Flash Consultant based in Cologne/Germany


 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/3EuRwD/bOaOAA/yQLSAA/nhFolB/TM
~- 

--
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 AMFPHP and VOs

2006-07-26 Thread Stefan Schmalhaus
--- In flexcoders@yahoogroups.com, Renaun Erickson [EMAIL PROTECTED] wrote:

 I have updated the RemoteObjectAMF0 examples to demonstrate it working
 with out the error.  

Thank you very much. I successfully tested your example. Just two things:

1. Since you use the old org.nevis namespace for the Cairngorm
package I assume this is an older Cairngorm version. I tried to
replace your Cairngorm package with the current com.adobe Cairngorm
implementation but then your example stopped working (although I added
getRPCService() to the Cairngorm ServiceLocator).

2. Another thing that confused me was the fact that the VOs reside in
two different places:

org.nevis.cairngorm.samples.login.vo.LoginVO.as
com.renaun.samples.vo.BookVO.as

I guess these are typical complaints from a newbie. ;-) So no offense
here. I'm grateful that you share your knowledge with us!

Stefan













 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/7EuRwD/fOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] Equiv of DoEvents, to allow painting?

2006-07-26 Thread Daniel Tuppeny

Should I really be painting onto the graphics object outside of
updateDisplayList?

Seems a rather dirty way to do it, but it might work. I'd have to start
the timer in updateDisplayList, and have it render the first x points,
and then set the timer for the next x points , etc. And reset the whole
thing up updateDisplayList gets called again.

I'll play around with it if I can't come up with anything better before
I need to fix it!


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ralf Bokelberg
Sent: 26 July 2006 09:47
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Equiv of DoEvents, to allow painting?

Hi Daniel,

you could use a Timer for that. updateDisplayList sets up the timer and
returns.
The timer's eventhandler does the drawing.

Cheers,
Ralf.

On 7/26/06, Daniel Tuppeny [EMAIL PROTECTED] wrote:

 I don't understand your response. If the user chooses not to filter 
 the data (and therefore, gets 40k points), IE locks up big time (stops

 responding to paint messages) while the Series runs through its
 updateDisplayList() (and intensive task with 40k interations). I need 
 to loop, every, say, 500 iterations, to give some time back to IE for 
 responding to messages - otherwise the whole of IE goes white.

 In .NET, you can call Application.DoEvents(), which processes messages

 sat on the queue (like paint messages), which would stop this problem.

 I need an equivilent in Flex, that I can call when I'm in the middle 
 of a lot of processing, to allow FP/IE to respond. Otherwise, anything

 that requres a loop that'll take some time, will always cripple IE 
 (and ultimately tell the user IE is (Not Repsonding) in the title
bar).



 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
 On Behalf Of Tom Chiverton
 Sent: 26 July 2006 09:30
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Equiv of DoEvents, to allow painting?

 On Tuesday 25 July 2006 11:33, Daniel Tuppeny wrote:
  I know 40k points isn't particularly useful, but our app has to 
  degrade nicely if someone doesn't filter the data, and stopping IE 
  form painting is not very nice.

 Why not just not let the use choose no filtering ?

 --
 Tom Chiverton

 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in 
 England and Wales under registered number OC307980 whose registered 
 office address is at St James's Court Brown Street Manchester M2 2JF.

 A list of members is available for inspection at the registered 
 office. Any reference to a partner in relation to Halliwells LLP means

 a member of Halliwells LLP. Regulated by the Law Society.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above 
 and may be confidential or legally privileged.  If you are not the 
 addressee you must not read it and must not use any information 
 contained in nor copy it nor inform any person other than Halliwells 
 LLP or the addressee of its existence or contents.  If you have 
 received this email in error please delete it and notify Halliwells 
 LLP IT Department on 0870 365 8008.

 For more information about Halliwells LLP visit www.halliwells.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







 [Inbound Mail Scanned by MessageLabs]

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



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









--
Ralf Bokelberg [EMAIL PROTECTED] Flex  Flash Consultant based
in Cologne/Germany



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



 



[Inbound Mail Scanned by MessageLabs]

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


 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/7EuRwD/fOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: 

[flexcoders] Adding annotationElements programatically

2006-07-26 Thread Daniel Tuppeny






Hi 
all,

I've got this in my 
chart, which works:

chart:annotationElementsbestfit:Linear 
dataProvider="{pmService.GetBestFitLines.lastResult.LinearBestFit}" 
//chart:annotationElements
But now I want to do 
it programatically, so I've removed it, and added this 
script:

var bfl:Quadratic = 
new Quadratic();payChart.annotationElements.push(bfl);bfl.dataProvider = 
pmService.GetBestFitLines.lastResult.QuadraticBestFit;
// Added to try and 
force things to 
update!payChart.invalidateDisplayList();payChart.invalidateProperties();payChart.invalidateSeriesStyles();

But the best fit 
line never appears. I can't provide the source for Quadratic, because there are 
many base classes, but it's basically a class inheriting from ChartElement which 
does some drawing in updateDisplayList!

Am I doing something 
wrong?


The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd.








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

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

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

2006-07-26 Thread Tim Hoff
As Tom says, usually a Carirngorm event is dispatched to the 
FrontController, which in turn executes an instance of a command.  
And ultimatly, the ModelLocator gets updated and the view reacts via 
binding.  

Presently however, there isn't a mechanism to listen, for the result 
of the dispatched Cairngorm event, from the view.

Hoping to change that.  Your question is valid and appropriate.

-TH

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

 On Wednesday 26 July 2006 07:07, Ryan Stewart wrote:
  I'm still not entirely clear on the event model in Flex 2, so 
hopefully
  this is an easy question.  I want to add an event listener in 
one of my
  flex view components that will listen for a CairngormEvent to be 
dispatched
  and then run a function within that component.
 
 Cairngorm would normally say that if you want something to happen 
when an 
 Event is dispatched, you put that code in the Controller 
associated with the 
 Event.
 
 -- 
 Tom Chiverton
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in 
England and Wales under registered number OC307980 whose registered 
office address is at St James's Court Brown Street Manchester M2 
2JF.  A list of members is available for inspection at the 
registered office. Any reference to a partner in relation to 
Halliwells LLP means a member of Halliwells LLP. Regulated by the 
Law Society.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named 
above and may be confidential or legally privileged.  If you are not 
the addressee you must not read it and must not use any information 
contained in nor copy it nor inform any person other than Halliwells 
LLP or the addressee of its existence or contents.  If you have 
received this email in error please delete it and notify Halliwells 
LLP IT Department on 0870 365 8008.
 
 For more information about Halliwells LLP visit www.halliwells.com.







 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/3EuRwD/bOaOAA/yQLSAA/nhFolB/TM
~- 

--
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: Equiv of DoEvents, to allow painting?

2006-07-26 Thread Tim Hoff
It sounds like you are talking about paging.  FDS - WebOrb, or as 
Ralf suggests, use a timer (or some other mechanism) to control the 
flow.

-TH

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

 Hi Daniel,
 
 you could use a Timer for that. updateDisplayList sets up the timer
 and returns.
 The timer's eventhandler does the drawing.
 
 Cheers,
 Ralf.
 
 On 7/26/06, Daniel Tuppeny [EMAIL PROTECTED] wrote:
 
  I don't understand your response. If the user chooses not to 
filter the
  data (and therefore, gets 40k points), IE locks up big time 
(stops
  responding to paint messages) while the Series runs through its
  updateDisplayList() (and intensive task with 40k interations). I 
need to
  loop, every, say, 500 iterations, to give some time back to IE 
for
  responding to messages - otherwise the whole of IE goes white.
 
  In .NET, you can call Application.DoEvents(), which processes 
messages
  sat on the queue (like paint messages), which would stop this 
problem.
 
  I need an equivilent in Flex, that I can call when I'm in the 
middle of
  a lot of processing, to allow FP/IE to respond. Otherwise, 
anything that
  requres a loop that'll take some time, will always cripple IE 
(and
  ultimately tell the user IE is (Not Repsonding) in the title 
bar).
 
 
 
  -Original Message-
  From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
  Behalf Of Tom Chiverton
  Sent: 26 July 2006 09:30
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] Equiv of DoEvents, to allow painting?
 
  On Tuesday 25 July 2006 11:33, Daniel Tuppeny wrote:
   I know 40k points isn't particularly useful, but our app has to
   degrade nicely if someone doesn't filter the data, and 
stopping IE
   form painting is not very nice.
 
  Why not just not let the use choose no filtering ?
 
  --
  Tom Chiverton
 
  
 
  This email is sent for and on behalf of Halliwells LLP.
 
  Halliwells LLP is a limited liability partnership registered in 
England
  and Wales under registered number OC307980 whose registered 
office
  address is at St James's Court Brown Street Manchester M2 2JF.  
A list
  of members is available for inspection at the registered office. 
Any
  reference to a partner in relation to Halliwells LLP means a 
member of
  Halliwells LLP. Regulated by the Law Society.
 
  CONFIDENTIALITY
 
  This email is intended only for the use of the addressee named 
above and
  may be confidential or legally privileged.  If you are not the 
addressee
  you must not read it and must not use any information contained 
in nor
  copy it nor inform any person other than Halliwells LLP or the 
addressee
  of its existence or contents.  If you have received this email 
in error
  please delete it and notify Halliwells LLP IT Department on 0870 
365
  8008.
 
  For more information about Halliwells LLP visit 
www.halliwells.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
 
 
 
 
 
 
 
  [Inbound Mail Scanned by MessageLabs]
 
  
_
_
  This email has been scanned by the MessageLabs Email Security 
System.
  For more information please visit 
http://www.messagelabs.com/email
  
_
_
 
 
 
  --
  Flexcoders Mailing List
  FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
  Yahoo! Groups Links
 
 
 
 
 
 
 
 
 
 -- 
 Ralf Bokelberg [EMAIL PROTECTED]
 Flex  Flash Consultant based in Cologne/Germany







 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/7EuRwD/fOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] Adding annotationElements programatically

2006-07-26 Thread Daniel Tuppeny





My problem was this:

 
payChart.annotationElements.push(bfl);

It doesn't seem to work, but this:

 payChart.annotationElements = 
payChart.annotationElements.concat(bfl);

does. Seems a little ott (because I'm guessing this will 
re-render the other annotationElements on the graph), but it 
works!


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: 26 July 2006 10:24To: 
flexcoders@yahoogroups.comSubject: [flexcoders] Adding 
annotationElements programatically


Hi 
all,

I've got this in my 
chart, which works:

chart:annotationElementsbestfit:Linear 
dataProvider="{pmService.GetBestFitLines.lastResult.LinearBestFit}" 
//chart:annotationElements
But now I want to do 
it programatically, so I've removed it, and added this 
script:

var bfl:Quadratic = 
new Quadratic();payChart.annotationElements.push(bfl);bfl.dataProvider = 
pmService.GetBestFitLines.lastResult.QuadraticBestFit;
// Added to try and 
force things to 
update!payChart.invalidateDisplayList();payChart.invalidateProperties();payChart.invalidateSeriesStyles();

But the best fit 
line never appears. I can't provide the source for Quadratic, because there are 
many base classes, but it's basically a class inheriting from ChartElement which 
does some drawing in updateDisplayList!

Am I doing something 
wrong?


The 
information contained in this e-mail and/or any attachments is confidential and 
intended only for the individual(s) to which it is addressed. If you are not 
named as an addressee you must not disclose, copy or take any action in reliance 
of this transmission. This e-mail and its attachments have been scanned for 
viruses by MessageLabs Ltd. 

 
__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__ [Inbound Mail Scanned by 
MessageLabs]

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

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

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] Securing coldfusion remoting services for flex 2

2006-07-26 Thread Benoit Hediard
Hi Tom,

We are a public facing application, so no HTTPS and no authenticated
services...
Thank you very much for the method-access-level parameter of the service
XML file, this is exactly what I was looking for. 

So to resume...
To secure your ColdFusion service CFCs for Flex 2 only :

1. Put a cross-domain.xml policy file in your web root, with the parameter
allow-access-from domain=*.yourdomain.com /
So that, only swf served by your domain can call your services and load your
data.

2. In your WEB-INF/flex/services-config.xml, change the parameter
method-access-levelremote/method-access-level to
method-access-levelpublic/method-access-level
And use access=public in your service CFCs, so that your service CFCs can
only be called by the flex2gateway and not by webservice calls.

Have fun!

Benoit Hediard

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la
part de Tom Chiverton
Envoyé : mercredi 26 juillet 2006 10:18
À : flexcoders@yahoogroups.com
Objet : Re: [flexcoders] Securing coldfusion remoting services for flex 2

On Tuesday 25 July 2006 15:58, Benoit Hediard wrote:
 What are the best practices to secure coldfusion remoting services for 
 Flex2?

I've been trying to get them to run over HTTPS for a start, with no luck so
far :-(

 On the flash/flex side, we haved configured the cross domain policy 
 file on our server, so that only swf served by our domain can call our
services.
 That's fine.

We've used Apache (as a front end proxy via mod_jrun) to lock things down to
specific IP adress', and if you don't mind a login prompt you can use HTTP
basic/digest protection too.

 Is it possible to allow only flex remote object calls on our services?
 That would solve the issue.

What you could do is tweak the services XML file so that public methods can
be invoked by Flash over remoteing, and not have any 'remote' methods in
your CFCs.

 Any suggestions?

Consider using named destinations, one per CFC, rather than the default '*'.

--
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and
Wales under registered number OC307980 whose registered office address is at
St James's Court Brown Street Manchester M2 2JF.  A list of members is
available for inspection at the registered office. Any reference to a
partner in relation to Halliwells LLP means a member of Halliwells LLP.
Regulated by the Law Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may
be confidential or legally privileged.  If you are not the addressee you
must not read it and must not use any information contained in nor copy it
nor inform any person other than Halliwells LLP or the addressee of its
existence or contents.  If you have received this email in error please
delete it and notify Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



 Yahoo! Groups Sponsor ~--
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/WktRrD/lOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] Get the reference of a DataGrid cell in a itemRenderer

2006-07-26 Thread Artur Kordowski





In Flex 1.5 there 
was a way to get the reference of a DataGrid cell by using 
listOwner.rows[1].cells[1]. The same I try to do in Flex 2. I've tried to get 
the reference in my itemRenderer by using listData.owner.indexToItemRenderer(1). 
But in a itemRenderer the owner variable haven't any indexToItemRenderer() 
function. I need the reference to disable some controls if an other cell is 
clicked. Have anyone an idea how I can do it or in wich way I got the reference 
of the cell?

Any help will be 
appreciate.

Artur
__._,_.___





--
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] Using filters on text removes antialiasing

2006-07-26 Thread m88e24
Flex 2 final
Player r15

When using a filter like a GlowEffect on a Text element, antialiasing
seems to be cancelled. When the filter is not defined then the font
looks smooth with antialiasing as normal. I use embedded fonts!

mx:Text text=SNS 1 
   fontWeight=bold color=white 
   fontAntiAliasType=advanced 
   mx:filters
  filters:GlowFilter quality={BitmapFilterQuality.HIGH}
color=#00/
   /mx:filters
/mx:Text 

Does anyone now if there is any other property I must set to keep the
font smooth when using a filter?
The Flex documentation is pretty silent on this matter.











 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/SktRrD/hOaOAA/yQLSAA/nhFolB/TM
~- 

--
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: Get the reference of a DataGrid cell in a itemRenderer

2006-07-26 Thread Tim Hoff



Hi Artur.
In your itemRenderer, you can listen to the DataGrid for events. This help doc example shows one way that you can get the row and column index of the cell that was clicked. You could also listen for itemEditBegin, itemEditBeginning and itemFocusIn. You'll probably have to use something like "parentDocument.myDataGrid" when creating your eventListener.
-TH
?xml version="1.0"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" mx:Script ![CDATA[ import mx.events.ListEvent; private function itemClickEvent(event:ListEvent):void { clickColumn.text=String(event.columnIndex); clickRow.text=String(event.rowIndex); eventType.text=event.type; } ]] /mx:Script mx:DataGrid id="myGrid" width="350" height="150" itemClick="itemClickEvent(event);" mx:ArrayCollection mx:Object Artist="Pavement" Price="11.99"  Album="Slanted and Enchanted" / mx:Object Artist="Pavement" Album="Brighten the Corners" Price="11.99" / /mx:ArrayCollection /mx:DataGrid  mx:TextArea id="clickColumn" / mx:TextArea id="clickRow" / mx:TextArea id="eventType" //mx:Application --- In flexcoders@yahoogroups.com, "Artur Kordowski" [EMAIL PROTECTED] wrote: In Flex 1.5 there was a way to get the reference of a DataGrid cell by using listOwner.rows[1].cells[1]. The same I try to do in Flex 2. I've tried to get the reference in my itemRenderer by using listData.owner.indexToItemRenderer(1). But in a itemRenderer the owner variable haven't any indexToItemRenderer() function. I need the reference to disable some controls if an other cell is clicked. Have anyone an idea how I can do it or in wich way I got the reference of the cell?  Any help will be appreciate.  Artur

__._,_.___





--
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] Get the reference of a DataGrid cell in a itemRenderer

2006-07-26 Thread Dirk Eismann
Na Kollege :)
 
You probably only have to cast listOwner to DataGrid to make it work, i.e.
 
  DataGrid(listData.owner).indexToItemRenderer(1);
 
Cheers,
Dirk.



Von: flexcoders@yahoogroups.com im Auftrag von Artur Kordowski
Gesendet: Mi 26.07.2006 11:56
An: flexcoders@yahoogroups.com
Betreff: [flexcoders] Get the reference of a DataGrid cell in a itemRenderer


In Flex 1.5 there was a way to get the reference of a DataGrid cell by using 
listOwner.rows[1].cells[1]. The same I try to do in Flex 2. I've tried to get 
the reference in my itemRenderer by using 
listData.owner.indexToItemRenderer(1). But in a itemRenderer the owner variable 
haven't any indexToItemRenderer() function. I need the reference to disable 
some controls if an other cell is clicked. Have anyone an idea how I can do it 
or in wich way I got the reference of the cell?
 
Any help will be appreciate.
 
Artur
 


 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/WktRrD/lOaOAA/yQLSAA/nhFolB/TM
~- 

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

RE: [flexcoders] Get the reference of a DataGrid cell in a itemRenderer

2006-07-26 Thread Artur Kordowski
Thanks for the quick help guys :)

Artur 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dirk Eismann
Sent: Wednesday, July 26, 2006 12:39 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Get the reference of a DataGrid cell in a
itemRenderer

Na Kollege :)
 
You probably only have to cast listOwner to DataGrid to make it work, i.e.
 
  DataGrid(listData.owner).indexToItemRenderer(1);
 
Cheers,
Dirk.



Von: flexcoders@yahoogroups.com im Auftrag von Artur Kordowski
Gesendet: Mi 26.07.2006 11:56
An: flexcoders@yahoogroups.com
Betreff: [flexcoders] Get the reference of a DataGrid cell in a itemRenderer


In Flex 1.5 there was a way to get the reference of a DataGrid cell by using
listOwner.rows[1].cells[1]. The same I try to do in Flex 2. I've tried to
get the reference in my itemRenderer by using
listData.owner.indexToItemRenderer(1). But in a itemRenderer the owner
variable haven't any indexToItemRenderer() function. I need the reference to
disable some controls if an other cell is clicked. Have anyone an idea how I
can do it or in wich way I got the reference of the cell?
 
Any help will be appreciate.
 
Artur
 


 Yahoo! Groups Sponsor ~--
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/WktRrD/lOaOAA/yQLSAA/nhFolB/TM
~- 

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



 



 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/SktRrD/hOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] SWFLoader related query / challenge

2006-07-26 Thread Vishwajit Girdhari





Hey Sam 
,

Thanks for the 
interest show in resolving my query.

Actually I wanted to 
dynamically load / unloadmy 'sub applications' (compiled 
swf)
but user feel should 
be as if only one mxml has been loaded.

Two days after 
making this post I figured out a simple way to achieve 
this.
Code below 
demonstrates the my approach.

Thanks,
Vishwajit 
Girdhari
Flexblog : 
http://flexiness.blogspot.com 


Main.mxml
?xml version="1.0" 
encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" 
layout="absolute"creationComplete="init(event)"  
mx:Script![CDATA[import 
mx.controls.Alert; import 
flash.events.Event; private 
function init(e:Event):void 
{ //doing 
nothing  
}public function loadSWF (filename : String) : void 
{ 
 
swfLoader.source=filename; 
}  
]]/mx:Script mx:SWFLoader 
id="swfLoader" source="one.swf" 
/mx:SWFLoader/mx:Application

one.mxml
?xml version="1.0" 
encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" 
layout="absolute"mx:Script![CDATA[import 
mx.controls.Alert;public function handleOne ( event : Event ) 
:void { 
mx.core.Application.application.loadSWF("two.swf"); 
}]]/mx:Scriptmx:Button 
id="btnOne" label="Button One" click="{handleOne(event)}" 
y="200"/mx:Button/mx:Application

two.mxml
?xml 
version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" 
layout="absolute"mx:Script![CDATA[import 
flash.profiler.showRedrawRegions;import 
mx.controls.Alert;public function handleTwo ( 
event : Event ) :void 
{mx.core.Application.application.loadSWF("one.swf"); 
}]]/mx:Scriptmx:Button 
id="btnTwo" label="Button Two" click="handleTwo(event)" 
x="300"/mx:Button/mx:Application



  -Original Message-From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED]On Behalf Of Samuel 
  ReubenSent: Tuesday, July 25, 2006 12:31 PMTo: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] SWFLoader 
  related query / challenge
  
  
  Do you want to interaction between the swf's? You most probably will run 
  into problems here.
  If you don't mind what are you trying to achive?
  
  Thanks,
  -sam
  On 7/24/06, Vishwajit 
  Girdhari [EMAIL PROTECTED] 
  wrote: 
  







One 
problem in flex...

You have 3.mxmlsthat 
getcompiled into 
.swf (Say A , B , 
C .)

step1You have to load B inside 
A
step2 In B there is a button on click you have 
to unload B from A and load C
step3 Alsoin C there is a button on click 
you have to unload C from A and load B 

---

My approach

for Step1 : 
cool!
I am loading B in A using 
SWFLoader.

for step2 : stuck!
 I am not able get hold of the instance 
A from whichi can change source property of swfLoader (instance) 
to "C.swf" 

for step :whatever works forstep 2 
:-(


--

your thoughts please.

thanks
vishwajit


  
__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Binding withing a repeater?

2006-07-26 Thread Daniel Tuppeny






I can't get my 
checkbox to update my objects when it's ticked/unticked using databind. Here's 
my code:


mx:Repeater 
id="bestFitList"mx:CheckBox 
label="{bestFitList.currentItem.name}" 
selected="{bestFitList.currentItem.visible}" 
//mx:Repeater

The dataprovider is 
set programatically to an array of ChartElements. When it loads, the checkboxes 
are correctly checked (because my ChartElements are visible). However, unticking 
the checkbox does not set the visible property of my ChartElement to 
false.

I'm trying to have a 
list of the best fit lines on my chart, which can be toggled by the user with a 
list of tickboxes.

Any 
ideas?

Thanks


The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd.








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

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

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 to embed a JSP page in Flex

2006-07-26 Thread Andrew Trice













Is it truly necessary to 
embed a jpg to achieve this? What format are the actual dynamic 
graphs? I assume that they are images embedded within the jsp. If 
they are jpg images, then they can be requested directly from the flex 
application. You can create a servlet that creates and returns the graph 
jpg, and render that directly within your Flex 1.5 application. This will 
get rid of a lot of that "quirky" behavior.

-Andy


_
Andrew 
Trice
Cynergy Systems, 
Inc.
http://www.cynergysystems.com
Blog: http://www.cynergysystems.com/blogs/page/andrewtrice
Email: [EMAIL PROTECTED]
Office: 
866-CYNERGY



From: flexcoders@yahoogroups.com on behalf of 
KOT_MATPOCSent: Wed 7/26/2006 5:15 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Problem to embed a 
JSP page in Flex




Hello,I need to display some dynamically generated graphs in our flex 
application. We currently use Flex 1.5. We use some graph building API 
which is written in Java and JSP. Basically we have a jsp page that builds 
the graphs dynamically using some Java API. Now we need to integrate these 
graphs with our Flex application. I came accross this article http://coenraets.com/viewarticle.jsp?articleId=95 
which suggests to use an html iframe. This could be the solution, but when 
I put it into our application, it starts to behave strangely - after the 
second time I load I can't see any dynamically generated jpeg images 
anymore. My question is - is there any other solution that could help us 
embed a jsp page within out flex application? I came accross DENG, did 
anyone try to integrate it with Flex? Can DENG behave as a Flex 
component?Did anyone have a similar problem?Please, help, 
this issue does look complicated.Thanks a 
lot,Serguey 



__._,_.___





--
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: Flex AMFPHP and VOs

2006-07-26 Thread Stefan Schmalhaus
--- In flexcoders@yahoogroups.com, Andrea Varga [EMAIL PROTECTED] wrote:

 That works  too
 http://www.narancs.net/flex/ClassMappingExample/ClassMappingExample.html
 (view source enabled)
 
Hi Andrea,

There are some typos in your PHP files (con.spindevelopment instead
of com.spindevelopment, spindevelipment instead of
spindevelopment, etc.). After correcting the typos, I got your
example working but only in one direction (PHP - Flex). I am able to
retrieve the UserVOs but I can't send the LoginVO from Flex to PHP.
The properties $pLogin-username and $pLogin-password are empty.

Any ideas?

Stefan







--
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 AMFPHP and VOs

2006-07-26 Thread Stefan Schmalhaus
BTW: It works if I send the username and password as single
strings. So I must be doing something wrong with the typed object
(LoginVO) on the PHP side.






--
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 AMFPHP and VOs

2006-07-26 Thread Oriol Gual



Stefan, make sure you've mapped correctly the base class path in advancedsettings.php. Also, I don't know what Andi's version are you using, but I recommend 
this one it works perfect (get the source here).See you,Oriol.2006/7/26, Stefan Schmalhaus 
[EMAIL PROTECTED]:BTW: It works if I send the username and password as single
strings. So I must be doing something wrong with the typed object(LoginVO) on the PHP side.--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/


__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Flex AMFPHP and VOs

2006-07-26 Thread Stefan Schmalhaus
Never mind. I finally got it working. It was a mapping issue. I was
using wrong settings for $gateway-setBaseCustomMappingsPath() and
$incoming().  






--
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] Problem to embed a JSP page in Flex

2006-07-26 Thread Serguey, Shinder





Yes I 
think is is truly necessary. Because apart from the jpeg images this jsp page 
will contain also _javascript_ code that will enable the graph to communicate with 
the flex app and also perform other graph related actions.

Serguey


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew 
TriceSent: Wednesday, July 26, 2006 1:16 PMTo: 
flexcoders@yahoogroups.com; flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] Problem to embed a JSP page in Flex




Is it truly necessary to 
embed a jpg to achieve this? What format are the actual dynamic 
graphs? I assume that they are images embedded within the jsp. If 
they are jpg images, then they can be requested directly from the flex 
application. You can create a servlet that creates and returns the graph 
jpg, and render that directly within your Flex 1.5 application. This will 
get rid of a lot of that "quirky" behavior.

-Andy


_
Andrew 
Trice
Cynergy Systems, 
Inc.
http://www.cynergysystems.com
Blog: http://www.cynergysystems.com/blogs/page/andrewtrice
Email: andrew.trice@cynergysystems.com
Office: 
866-CYNERGY



From: [EMAIL PROTECTED]ups.com on behalf 
of KOT_MATPOCSent: Wed 7/26/2006 5:15 AMTo: 
[EMAIL PROTECTED]ups.comSubject: [flexcoders] Problem to embed 
a JSP page in Flex




Hello,I need to display some dynamically generated graphs in our flex 
application. We currently use Flex 1.5. We use some graph building API 
which is written in Java and JSP. Basically we have a jsp page that builds 
the graphs dynamically using some Java API. Now we need to integrate these 
graphs with our Flex application. I came accross this article http://coenraets.com/viewarticle.jsp?articleId=95 
which suggests to use an html iframe. This could be the solution, but when 
I put it into our application, it starts to behave strangely - after the 
second time I load I can't see any dynamically generated jpeg images 
anymore. My question is - is there any other solution that could help us 
embed a jsp page within out flex application? I came accross DENG, did 
anyone try to integrate it with Flex? Can DENG behave as a Flex 
component?Did anyone have a similar problem?Please, help, 
this issue does look complicated.Thanks a 
lot,Serguey

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Flex 2 + Date Formatting

2006-07-26 Thread Chris
I'm just getting started with Flex 2 programming and am using
Macromedia's book Developing Rich Clients with Macromedia's Flex
(which is made for Flex 1.5).

One of the tutorials shows date formatting for the US, and then when
you change countries, it changes it to UK formatting (assuming you
chose UK).

I want to know how to do this without going through all the rigamarole
that the tutorial explains.  There's gotta be an easier way.

Basically, if you choose a date from a date chooser, the date should
be formatted in the text input field appropriately.  US=mm/dd/ 
UK=dd/mm/.

Any thoughts?

Thanks!
Chris





--
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: Caringorm - Visual Flowchart Poster!

2006-07-26 Thread lownlazy000
 Anyway, it occurs to me that someone may have already done this?
 
   If so, will you please post so I can make it into a poster (for re-
post!)?
   If not, would someone be willing to collaborate with me (I'm 
totally new   cairngorm)?

You are correct: I also created a cairngorm flow chart about a month 
ago... bet ya ;) Though I'm sure I wasnt the first either.

http://groups.yahoo.com/group/flexcoders/message/39191







--
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: Doesn't work mx:Button click=function({...});

2006-07-26 Thread exeypan

 try putting that logic into a function outside the click event of 
the button

10x, I'm using component with definition [Inspectable] property







--
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 Builder 2/WebORB(Java)

2006-07-26 Thread ssohl2001
Instead of using Data Services and save 20k, I would like to use 
WebORB to immitate the Flex Data Services functionality.  I'm trying 
to use Flex Builder 2 to create a project but get error about root 
folder doesnt have web-inf/flex folder structure.  I put in a dummy 
folder structure but this still doesnt work.

I was hoping someone has come across this issue and can share their 
steps in trying to get WebORB from http://www.themidnightcoders.com to 
work.  They currently have some .Net examples that I could probably 
replicate on the Java side if I could get a basic project started.

thanks






 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/TktRrD/gOaOAA/yQLSAA/nhFolB/TM
~- 

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

2006-07-26 Thread olivier
Hi,

I'm working for less than one year on OpenLaszlo.
Now I'm evaluating flex for migrating our applications.

I think that flex is more enterprise oriented with a serie of completed 
components (chart, datagrid..)

Even the documentation is very few in OpenLaslo, the community forum is 
full of examples and workshop. I've more problems with flex to find 
pratical examples (not adobe's).
Furthermore, the components of OpenLaszlo are more fexibles then flex. 
For example, the datagrid understands a XML structure in a single 
way. You can not make a vertical datagrid.

Unfortunately, OpenLaszlo is not developing itself in the way I'm 
interesting. The charting components are available in a beta version 
(which is not working) for more than one year.

It's the reason why I'm evaluating flex :)



O.
--- In flexcoders@yahoogroups.com, Robert Kaeth [EMAIL PROTECTED] wrote:

 Hi, 
 
 Has anyone done a comparison between Flex2 and OpenLaszlo? 
 If someone can share his/her experience, it will be great. 
 
 TIA
 -B








 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/TktRrD/gOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] addChild to Loader component

2006-07-26 Thread Gadi Srebnik





I tried to load a 
binary image data lo loader object, which worked 
great.
but when I tried to 
add this loader object - addChild(loader) I got this 
message:

TypeError: Error 
#1034: Type Coercion failed: cannot convert flash.display::[EMAIL PROTECTED] to 
mx.core.IUIComponent.

the thing is that in 
all Adobe'shelp pageson Loader components, they use this method to 
display the image.
am I doing something 
wrong?

Best regards, 

gadi
__._,_.___





--
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] Caringorm - Visual Flowchart Poster!

2006-07-26 Thread Koen Van Hasselt
An excellent Flow Chart (to my opinion) was posted on this forum some time
ago ... check this out:
http://www.corbell.com.au/docs/Cairngorm%20flow%20chart.pdf
It's made by Russel Munro, based on Steven's Cairngorm articles.


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Evan Gifford
Sent: woensdag 26 juli 2006 0:33
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Caringorm - Visual Flowchart Poster!

My fellow Flexcoders!

After reading Steven's excellent article covering the Cairngorm architecture
( Start the 6-part series here -   
  http://www.adobe.com/devnet/flex/articles/cairngorm_pt1.html )

I've started creating a flowchart tracing a Cairngorm Event from the Event
Broadcaster with a data payload through the cairngorm process:

Work in progress - you'll get the idea at least -
http://www.undustrial.com/cairngorm.jpg

This starts with the Front Controller, then to a Command Class, to the
Service Locater and to the server . then back to the Command Class to
the Model Locater and finally back to the view through data binding .
hmm, I think that's right?

Anyway, it occurs to me that someone may have already done this?

  If so, will you please post so I can make it into a poster (for re-post!)?
  If not, would someone be willing to collaborate with me (I'm totally new
  cairngorm)?

Being half-designer-half-programmer, I'd love to create a downloadable PDF
for us Flexcoders to use! 

Thanks!
Evan








-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 7/24/2006
 


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



 





 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/WktRrD/lOaOAA/yQLSAA/nhFolB/TM
~- 

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

2006-07-26 Thread Michael BADEN



I think you made a mistake when declaring your event listener:
the method addEventListener accept as first parameter the event type and not the event class name.

Example :

package events {
public static const EVENT_NAME : String = myevent;
public class MyEvent {
 public function MyEvent() {
 super(EVENT_NAME);
 }
}
}

then in your code when you want to listen event

addEventListener(MyEvent.EVENT_NAME, myFunction);

Best regards.
2006/7/26, Ryan Stewart [EMAIL PROTECTED]:







I'm still not entirely clear on the event model in Flex 2, so hopefully this is an easy question. I want to add an event listener in one of my flex view components that will listen for a CairngormEvent to be dispatched and then run a function within that component. Pretty straight forward I thought. When my flex component is initialized, I call a function, doInit() that does the following:


this.addEventListener(com.example.control.MyCustomEvent,myFunction);

In this case, MyCustomEvent is a CairngormEvent but when I dispatch it using the typical Cairngorm event dispatcher, it doesn't fire myFunction. Am I totally off base on how the CairngormEventDispatcher works or how to set up Event listeners for custom events?


Thanks,

Ryan
 

__._,_.___





--
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] How setScrollPosition to mx:Canvas ?

2006-07-26 Thread exeypan
mx:Canvas id=WhereView width=100% height=100%
mx:SWFLoader id=LoadinWhere source=mapbelbox.swf height=1600 
width=1000 horizontalCenter=0 /
/mx:Canvas

When page opens scroll position in the beginning.
How to set scroll in the center?





 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/7EuRwD/fOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] Anyone know the answer? Embed images in one MovieClip, use in another?

2006-07-26 Thread Shade Gmail
On 7/25/06, G [EMAIL PROTECTED] wrote:
 The further problem, as you say here, is I have to
 move the clip around by hand, which eliminates the
 entire reason to use Flex, to try to organize our
 apps in a slightly object-oriented way.

Well, not necessarily. I used a container object to keep it at a depth
and root coordinate system I desired. Then I made it move itself
around by setting its position relative to the container's parent
coordinate space. It was kind of neat -- like a big OOP hack. It's
still a hack -- but it's OO as well. :)

Pity the code isn't mine to show / open. :(

 The other option is to quit and get a job at
 In-and-Out Burgers.  I think I'm going to do that.

Cool. I'll have a 4-by-4 with fries well-done, please. Wow, it's been
a long time since I ordered from the secret menu. :)

Cheers!

   Pedro.


 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/3EuRwD/bOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] FDS sporadically works, but why?

2006-07-26 Thread ryan harlin
Okay...  I figured out my problem and it was pretty
silly.  It worked when I tested on the internal IP
address and didn't work through the external IP
address.  So I forwarded every port on my firewall
(not the smartest) to my PC serving flex FDS.  Now it
works.  But I don't want to leave my computer open
like this.  What port specifically is Flex FDS using? 
It's not just 8700.  The data management service must
have it's own port because 8700 was forwarding back
when it wasn't working.  So it's something else
between 408 and 8699.

Anyone know the exact port numbers I need to direct to
my server?

Thanks for the help!



--- Dustin Mercer [EMAIL PROTECTED]
wrote:

 Out of curiosity, was the server restarted between
 the last time it
 didn't work and the time it did an hour later?  If
 so, you may have some
 heap size issues (java could be running out of
 memory) or connection
 pooling issues.  I have had both of these bring a
 server to its knees
 (no fault of FDS, just the way things work). 
 Something to also look for
 is the logging section in the services-config.mxml. 
 (below) .  Main
 thing to look for here is if your logging level is
 set to anything other
 than Error, maybe Info or Debug.  I have seen this
 cause me memory
 problems on WebSphere 6 when the heap size was only
 128 min.  I bumped
 my heap up to 256 min and that helped a ton.  You
 could also set the
 logging back to Error, but that only bandaids the
 real issue, java loves
 memory :-)  You will probably end up having to
 increase the 128 default
 eventually.  GL!   
 
  
 
 logging
 
 target class=flex.messaging.log.ConsoleTarget
 level=Error
 
   ...
 
 /target
 
 /logging
 
  
 
 
 
 From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On
 Behalf Of ryan harlin
 Sent: Tuesday, July 25, 2006 10:13 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] FDS sporadically works, but
 why?
 
  
 
 Does anyone know why (or has anyone had a similar
 experience) a Flex Data Services tutorial project...
 the FDS Java Adapter example from Adobe would work
 sporadically?
 
 The tutorial is essentiall a DataGrid with 3
 columns: 
 ID, First Name, Last Name. They have you edit the
 data-management-config.xml file to add a destination
 and then type up some mxml into a file called
 lesson2.mxml
 
 After getting all the pieces placed correctly on the
 server (the db, the .as file, etc.) It work like a
 charm. I could open on two computers and see the
 server push happening when I changed a DataGrid's
 cell
 contents. 
 
 Then I went to demo it for someone and it didn't
 work.
 The DataGrid loads but doesn't populate with data. I
 looked around but nothing had changed on the server.
 
 We gave up and went home. Later that evening I tried
 again and didn't work. Same problem. An hour later
 it did! This morning it didn't work. And by early
 afternoon it does again.
 
 Anyone know why FDS is seemingly so flakey?
 
 __
 Do You Yahoo!?
 Tired of spam? Yahoo! Mail has the best spam
 protection around 
 http://mail.yahoo.com http://mail.yahoo.com  
 
  
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/SktRrD/hOaOAA/yQLSAA/nhFolB/TM
~- 

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

2006-07-26 Thread nik crosina
unsubscribe


 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/SktRrD/hOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] testing of Flex apps

2006-07-26 Thread Robert Kaeth





What is the best way to regression test a flex app 
?
Does flex provide any regression testing suite for 
testing flex apps like JUNit, HTTPUnit ?

TIA
__._,_.___





--
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: Caringorm - Visual Flowchart Poster!

2006-07-26 Thread kvanhasselt



An excellent Flow Chart (to my opinion) was posted on this forum some time ago ... check this out: http://www.corbell.com.au/docs/Cairngorm%20flow%20chart.pdfIt's made by Russel Munro, based on Steven's Cairngorm articles.--- In flexcoders@yahoogroups.com, "Evan Gifford" [EMAIL PROTECTED] wrote: My fellow Flexcoders!  After reading Steven's excellent article covering the Cairngorm architecture ( Start the 6-part series here -  http://www.adobe.com/devnet/flex/articles/cairngorm_pt1.html )  I've started creating a flowchart tracing a Cairngorm Event from the Event Broadcaster with a data payload through the cairngorm process:  Work in progress - you'll get the idea at least - http://www.undustrial.com/cairngorm.jpg  This starts with the Front Controller, then to a Command Class, to the Service Locater and to the server . then back to the Command Class to the Model Locater and finally back to the view through data binding . hmm, I think that's right?  Anyway, it occurs to me that someone may have already done this?If so, will you please post so I can make it into a poster (for re-post!)?   If not, would someone be willing to collaborate with me (I'm totally new   cairngorm)?  Being half-designer-half-programmer, I'd love to create a downloadable PDF for us Flexcoders to use!   Thanks! Evan --  No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 7/24/2006

__._,_.___





--
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] addChild to Loader component

2006-07-26 Thread JesterXL





If you want to show something in Flex, it must 
implement IUIComponent. Easiest way?

var a:UIComponent = new UIComponent();
a.addChild(yourLoader);
addChild(a);

- Original Message - 
From: Gadi Srebnik 
To: flexcoders@yahoogroups.com 
Sent: Wednesday, July 26, 2006 4:57 AM
Subject: [flexcoders] addChild to Loader component

I tried to load a 
binary image data lo loader object, which worked 
great.
but when I tried to 
add this loader object - addChild(loader) I got this 
message:

TypeError: Error 
#1034: Type Coercion failed: cannot convert flash.display::[EMAIL PROTECTED] to 
mx.core.IUIComponent.

the thing is that in 
all Adobe'shelp pageson Loader components, they use this method to 
display the image.
am I doing something 
wrong?

Best regards, 

gadi 
__._,_.___





--
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] Using filters on text removes antialiasing

2006-07-26 Thread JesterXL
I have the same problem, but don't know of a fix.

- Original Message - 
From: m88e24 [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 26, 2006 6:34 AM
Subject: [flexcoders] Using filters on text removes antialiasing


Flex 2 final
Player r15

When using a filter like a GlowEffect on a Text element, antialiasing
seems to be cancelled. When the filter is not defined then the font
looks smooth with antialiasing as normal. I use embedded fonts!

mx:Text text=SNS 1 
   fontWeight=bold color=white 
   fontAntiAliasType=advanced 
   mx:filters
  filters:GlowFilter quality={BitmapFilterQuality.HIGH}
color=#00/
   /mx:filters
/mx:Text 

Does anyone now if there is any other property I must set to keep the
font smooth when using a filter?
The Flex documentation is pretty silent on this matter.












--
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] FDS sporadically works, but why?

2006-07-26 Thread Cathy Reilly
This information is available in services-config.xml.  Check the
endpoint which you're exposing, in particular, you'll probably have to
add the rtmp port, if you're using that channel.

- Cathy 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ryan harlin
Sent: Tuesday, July 25, 2006 8:17 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FDS sporadically works, but why?

Okay...  I figured out my problem and it was pretty
silly.  It worked when I tested on the internal IP
address and didn't work through the external IP
address.  So I forwarded every port on my firewall
(not the smartest) to my PC serving flex FDS.  Now it
works.  But I don't want to leave my computer open
like this.  What port specifically is Flex FDS using? 
It's not just 8700.  The data management service must
have it's own port because 8700 was forwarding back
when it wasn't working.  So it's something else
between 408 and 8699.

Anyone know the exact port numbers I need to direct to
my server?

Thanks for the help!



--- Dustin Mercer [EMAIL PROTECTED]
wrote:

 Out of curiosity, was the server restarted between
 the last time it
 didn't work and the time it did an hour later?  If
 so, you may have some
 heap size issues (java could be running out of
 memory) or connection
 pooling issues.  I have had both of these bring a
 server to its knees
 (no fault of FDS, just the way things work). 
 Something to also look for
 is the logging section in the services-config.mxml. 
 (below) .  Main
 thing to look for here is if your logging level is
 set to anything other
 than Error, maybe Info or Debug.  I have seen this
 cause me memory
 problems on WebSphere 6 when the heap size was only
 128 min.  I bumped
 my heap up to 256 min and that helped a ton.  You
 could also set the
 logging back to Error, but that only bandaids the
 real issue, java loves
 memory :-)  You will probably end up having to
 increase the 128 default
 eventually.  GL!   
 
  
 
 logging
 
 target class=flex.messaging.log.ConsoleTarget
 level=Error
 
   ...
 
 /target
 
 /logging
 
  
 
 
 
 From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On
 Behalf Of ryan harlin
 Sent: Tuesday, July 25, 2006 10:13 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] FDS sporadically works, but
 why?
 
  
 
 Does anyone know why (or has anyone had a similar
 experience) a Flex Data Services tutorial project...
 the FDS Java Adapter example from Adobe would work
 sporadically?
 
 The tutorial is essentiall a DataGrid with 3
 columns: 
 ID, First Name, Last Name. They have you edit the
 data-management-config.xml file to add a destination
 and then type up some mxml into a file called
 lesson2.mxml
 
 After getting all the pieces placed correctly on the
 server (the db, the .as file, etc.) It work like a
 charm. I could open on two computers and see the
 server push happening when I changed a DataGrid's
 cell
 contents. 
 
 Then I went to demo it for someone and it didn't
 work.
 The DataGrid loads but doesn't populate with data. I
 looked around but nothing had changed on the server.
 
 We gave up and went home. Later that evening I tried
 again and didn't work. Same problem. An hour later
 it did! This morning it didn't work. And by early
 afternoon it does again.
 
 Anyone know why FDS is seemingly so flakey?
 
 __
 Do You Yahoo!?
 Tired of spam? Yahoo! Mail has the best spam
 protection around 
 http://mail.yahoo.com http://mail.yahoo.com  
 
  
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.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



 





 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/TktRrD/gOaOAA/yQLSAA/nhFolB/TM
~- 

--
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: Google Analytics and Flex

2006-07-26 Thread Rogerio Gonzalez



In portuguese is not need invitation... only a register that will be aproved a week later.I was studing the analytics, and is pretty easy to do it. Maybe web can adapt the history system to do it for itself. But in resume, you rave do execute an _javascript_ function on the actions you wana log.
RogerioOn 7/25/06, Renaun Erickson [EMAIL PROTECTED] wrote:













  



Google Analytics is by invitation only right now.  So its kind of hard
to review it.  Also from the Help page.

===
Is there a Google Analytics API?

Urchin does not currently provide an API to access the reporting data.
However, we do offer export functionality for single reports in the
following formats:

* Tab separated (Text)
* XML
* Excel (CSV)

This feature allows you to easily import report data into your
favorite spreadsheet application or to process the data otherwise.


https://adwords.google.com/support/bin/answer.py?answer=27257topic=8133

You would have to export it manually and then use some WebService on
the backend to deliver it to Flex.

Renaun

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


 Does anyone have an example of how to hook Google Analytics into a 
 Flex Application.  I am interested in using Google Analytics to track 
 the sales on a Flex application.
 
 Thanks,
 
 COREY



  















__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Data Services...pull just the names initially, then the rest

2006-07-26 Thread Dustin Mercer












Brennan,



This is an approach commonly referred to as Lazy Loading.
There is a chapter in the Flex Help that talks about how to accomplish
this. I havent actually tried it, so I cant be much help in
the sense of real expertise, but I can direct you to the chapter
so you might be able to get what you needJ The only thing I am not
sure of is if this works on primitive types, or only complex types with
relations. Below is the breadcrumbs to the area that might help you get
started. 



Flex
2 Developer's Guide  Data
Access and Interconnectivity  Configuring
the Data Management Service  Managing
hierarchical collections 













From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dreuimar
Sent: Tuesday, July 25, 2006 2:03
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Data
Services...pull just the names initially, then the rest












I'm just starting out using data services with Java, and I've become
pretty comfortable filling collections with results from MySQL, etc.,
but here's an issue I have:

I have a long list of customers that gets pulled when a user logs in.
A drop down list displays all of the customers, and when selected the
information about that customer (address, city, state, etc.) is
supposed to be pulled from the database.

The issue is I don't want ALL of customers data pulled initially, just
their name.

So I have a class called customer that is managed and tied to a
corresponding Java class, and my dataservices fills an array
collection called clients with a bunch of these customer datatypes,
while ONLY setting the customer id and the name. There are other
properties in the class, such as address, etc., but they are left
null. There is also a boolean property called isSet which is by
default false.

I wanted my application to, when the customer is changed, figure out
if the customer data has been loaded yet (based on the isSet boolean)
and then fill in the rest of the classes' properties with that
particular customer's data. I then want to bind these properties to
text inputs so that if changed they'll be updated on the server.

Any suggestions on how I could do this?

Thanks,
Brennan






__._,_.___





--
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 to embed a JSP page in Flex

2006-07-26 Thread Andrew Trice












The unfortunate reality is that there is
no easy workaround for this. If the iframe method of Chrisophe Coenraets
doesnt work for you, then you are going to have to display the graph jpg
inside of flex, and move the _javascript_ logic into your flex application. If
you move the _javascript_ logic into flex, you eliminate _javascript_ from the
picture altogether, thus simplifying your application. You may find a
solution with DENG, but I wouldnt bet on it. I took a quick look
at their examples, but it did not load any of the image links in the XML feed
that I tested with it.



-Andy





_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com



Blog: http://www.cynergysystems.com/blogs/page/andrewtrice

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Serguey, Shinder
Sent: Wednesday, July 26, 2006
8:00 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Problem
to embed a JSP page in Flex













Yes I think is is truly necessary. Because
apart from the jpeg images this jsp page will contain also _javascript_ code that
will enable the graph to communicate with the flex app and also perform other
graph related actions.











Serguey











From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Andrew Trice
Sent: Wednesday, July 26, 2006
1:16 PM
To: [EMAIL PROTECTED]ups.com;
[EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders] Problem
to embed a JSP page in Flex







Is it truly necessary to embed a jpg to
achieve this? What format are the actual dynamic graphs? I assume
that they are images embedded within the jsp. If they are jpg images,
then they can be requested directly from the flex application. You can
create a servlet that creates and returns the graph jpg, and render that
directly within your Flex 1.5 application. This will get rid of a lot of
that quirky behavior.











-Andy











_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com

Blog: http://www.cynergysystems.com/blogs/page/andrewtrice

Email: andrew.trice@cynergysystems.com

Office: 866-CYNERGY

















From: [EMAIL PROTECTED]ups.com on behalf of
KOT_MATPOC
Sent: Wed 7/26/2006 5:15 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Problem to
embed a JSP page in Flex











Hello,

I need to display some dynamically generated graphs in our flex 
application. We currently use Flex 1.5. We use some graph building 
API which is written in Java and JSP. Basically we have a jsp page 
that builds the graphs dynamically using some Java API. Now we need 
to integrate these graphs with our Flex application. I came accross 
this article http://coenraets.com/viewarticle.jsp?articleId=95
which 
suggests to use an html iframe. This could be the solution, but when 
I put it into our application, it starts to behave strangely - after 
the second time I load I can't see any dynamically generated jpeg 
images anymore. 
My question is - is there any other solution that could help us embed 
a jsp page within out flex application? I came accross DENG, did 
anyone try to integrate it with Flex? Can DENG behave as a Flex 
component?

Did anyone have a similar problem?

Please, help, this issue does look complicated.

Thanks a lot,

Serguey
















__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] Re: Image Pan - Step 1

2006-07-26 Thread richmcgillicuddy
Last night, I was able to find a demo called SpriteArranger that
showed addng different types of objects as children to a DisplayCanvas
 . This really helped in understanding the AddChild. I think I'll go
with the displayobjects initially since we have a PC version written
that uses the same approach. I still am having issues with panning an
image left, right... Then the next things I need to figure out are:

1. Making an internal searchable list of children. I saw the AddChild
function, but the displayobject does not have a Children Property. I
need to research the different types of arrays and find one that I can
have a key associated with the object so as data comes in, I can
update sprite 47. Is there a HashArray or something similar. These
maybe simple questions but I am brand new to this stuff. There seems
to be tons of docs but few examples.

2. On the panning issue, lets say I have a map background that is
1000x1000. My viewport is 200X400, I need to understand how to control
the viewport and panning.

3. Memory Management. As you mentioned, tons of objects will have
issues, I need to get a feel for how many is too many, if the user
switches maps, how to delete the children...


Thanks for your help,


Rich

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

 Base class is like DisplayObjectContainer, but that's an abstract
class; 
 both Sprite and MovieClip extend that.  However, if you are using Flex, 
 there is no point to utilize MovieClip since you don't have frames;
Sprite's 
 good.  Also, the last line should be addChild(container), at least
in an AS3 
 project.
 
 ...however, you have 2 choices here.
 
 DisplayObjects are nice because you can put all of your map data in one 
 DisplayObject, and then move just that 1 Sprite, scale that 1
sprite, ect. 
 It makes your code really concise, and flexible because you can put
anything 
 you want in it.  Think how Yahoo Maps and Google Maps have like
textures, 
 directions, lines, markers, etc. all in theirs.
 
 ...but tons of obects, while better in Flash Player 9, are still
slower than 
 1 bitmap.  If you aren't planning of going all charting-style, you
outta 
 give thought to a blitting solution if you want her to scale
hardcore.  You 
 basically draw everything to an offscreen bitmap, and then use a
Rect to 
 copyPixels into an on-screen bitmap.  That way, you could add
thousands of 
 objects, and you're map would run really well.  Harder to code and less 
 flexible, though.  Sprites and the DisplayObject really nice, so.
 
 - Original Message - 
 From: richmcgillicuddy [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Tuesday, July 25, 2006 8:29 PM
 Subject: [flexcoders] Re: Image Pan - Step 1
 
 
 OK, just needed the right terms to search on. Found this in the help:
 
 
 import flash.display.Sprite;
 import flash.events.MouseEvent;
 
 var container:Sprite = new Sprite();
 container.name = container;
 
 var circle:Sprite = new Sprite();
 circle.name = circle;
 circle.graphics.beginFill(0xFFCC00);
 circle.graphics.drawCircle(40, 40, 40);
 
 container.addChild(circle);
 
 container.mouseChildren = false;
 
 container.addEventListener(MouseEvent.CLICK, clicked);
 
 function clicked(event:MouseEvent):void {
 trace(event.target.name); // container
 }
 
 
 Then, it states to add the container to the DisplayObject. This is
 where I get confused. What is the base container class for the
 DisplayList and how do I attach it? I don't think I need a movie clip
 becuase it says it basically is a sprite with a timeline.
 
 
 Rich
 
 
 --- In flexcoders@yahoogroups.com, JesterXL jesterxl@ wrote:
 
  2. If they are children, they too will scale.  Add them to the
Sprite's
  displaylist.
 
  3. We've done this successfully in Flex 1.5.  In Flex 2, you can set
 the
  toolTipClass on the ToolTipManager class to utilize your own class.
 
  4. To combine multiple effects at the same time, utilize the
 mx:Parrellel
  tag; it'll make all effects inside it happen at the same time
(exluding
  their own startDelay attributes).
 
  Have you tried replacing x  y with scrollRect?
 
  - Original Message - 
  From: richmcgillicuddy rich@
  To: flexcoders@yahoogroups.com
  Sent: Tuesday, July 25, 2006 3:02 PM
  Subject: [flexcoders] Image Pan - Step 1
 
 
  Hello,
 
 
  I am new to the group and to Flex/Flash. We have a mapping tool that
  we had created about a year back that uses flash 8. We want to move up
  to Flex 2 for a number of reasons. I am trying to create the mapping
  hello world application. We use a standard png image as the background
  for the map. I am trying to create a simple image in a panel that has
  a series of buttons to the left where I can zoom in/out and pan in all
  directions. The zoom in/out is working fine (although I have questions
  regarding that) but the pan is not working. My code is attached to the
  bottom of this email message. Logically the steps I need to go through
  to get this to 

[flexcoders] Re: Flex 2 + Date Formatting

2006-07-26 Thread Tim Hoff



Hi Chris,
Unfortunatly, we often need to read through the rigamarole to understand what we are trying to learn. One shortcut would be to look-up mx.formatters.DateFormatter in the help docs. In conjunction with that book, I highly recommend reading this article:
http://www.adobe.com/devnet/flex/articles/cairngorm_pt1.html
-TH
--- In flexcoders@yahoogroups.com, "Chris" [EMAIL PROTECTED] wrote: I'm just getting started with Flex 2 programming and am using Macromedia's book "Developing Rich Clients with Macromedia's Flex" (which is made for Flex 1.5).  One of the tutorials shows date formatting for the US, and then when you change countries, it changes it to UK formatting (assuming you chose UK).  I want to know how to do this without going through all the rigamarole that the tutorial explains. There's gotta be an easier way.  Basically, if you choose a date from a date chooser, the date should be formatted in the text input field appropriately. US=mm/dd/  UK=dd/mm/.  Any thoughts?  Thanks! Chris

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] testing of Flex apps

2006-07-26 Thread Karl Johnson





Here is a well written article from adobe on the testing of 
a flash based application: http://www.adobe.com/devnet/blueprint/articles/qa_petmarket.html

Unless something has come out recently, I don't know of any 
automated testing tools that directly support flash apps (flex). You can use 
some of the apps like homer that basically just record exact screen location 
where you click and type, and then playback using the same coordinates. This is 
not the most reliable way of testing, but it can for some.

Has anyone tried writing an automated testing framework for 
flex? One that would run as a flex app, and load the target app to be tested 
inside of its self? Then it could communicate with it and "click" and "type". I 
have done several automated testing frameworks like this for web applications 
(since I was never a fan of record and playback or buying software to do it), 
but I haven't tried it on flash/flex. I am almost positive you could do it 
though. I might have to give it a try one of these days :)

Karl

Cynergy Systems, Inc.
http://www.CynergySystems.com


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Robert 
KaethSent: Wednesday, July 26, 2006 2:27 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] testing of Flex 
apps



What is the best way to regression test a flex app 
?
Does flex provide any regression testing suite for 
testing flex apps like JUNit, HTTPUnit ?

TIA

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Why does Flex insert ns0: and ns1: namespace prefixes?

2006-07-26 Thread ben.clinkinbeard
I keep seeing these prefixes that are completely unnecessary, and I
don't know why or how they're getting inserted. My calls are formatted
like this:

dmws = new WebService();
dmws.useProxy = dmws.makeObjectsBindable = false;
dmws.loadWSDL(myWsdlUrl);

var op:Operation = dmws.getOperation(GetDataByGrouping) as Operation;
op.resultFormat = e4x;
op.arguments.groupingRequests = new Object();
op.arguments.groupingRequests.GroupName = RPRToolStaticData;

Pretty simple and straightforward, but when I view the request xml
that is sent it looks like this:

GetDataByGrouping xmlns=http://site.com/BackOffice/ClientMeasures;
ns0:groupingRequests
xmlns:ns0=http://site.com/BackOffice/ClientMeasures;
ns0:DataGroupingRequest
ns0:GroupNameRPRToolStaticData/ns0:GroupName
/ns0:DataGroupingRequest
/ns0:groupingRequests
/GetDataByGrouping

Why is it redfining the namespace that is already on the
GetDataByGrouping node and muddying up the xml with unnecessary prefixes?

Thanks,
Ben
http://www.returnundefined.com/





 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/WktRrD/lOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] testing of Flex apps

2006-07-26 Thread Andrew Trice












There is also a FlexUnit library available
on Adobe labs at:

http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libraries




-Andy





_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com



Blog: http://www.cynergysystems.com/blogs/page/andrewtrice

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Karl
 Johnson
Sent: Wednesday, July 26, 2006
9:18 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] testing
of Flex apps











Here is a well written article from adobe
on the testing of a flash based application: http://www.adobe.com/devnet/blueprint/articles/qa_petmarket.html



Unless something has come out recently, I
don't know of any automated testing tools that directly support flash apps
(flex). You can use some of the apps like homer that basically just record
exact screen location where you click and type, and then playback using the
same coordinates. This is not the most reliable way of testing, but it can for
some.



Has anyone tried writing an automated
testing framework for flex? One that would run as a flex app, and load the
target app to be tested inside of its self? Then it could communicate with it
and click and type. I have done several automated
testing frameworks like this for web applications (since I was never a fan of
record and playback or buying software to do it), but I haven't tried it on
flash/flex. I am almost positive you could do it though. I might have to give
it a try one of these days :)



Karl



Cynergy Systems, Inc.

http://www.CynergySystems.com









From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert Kaeth
Sent: Wednesday, July 26, 2006
2:27 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] testing of
Flex apps





What is the best way to regression test a flex app ?





Does flex provide any regression testing suite for testing
flex apps like JUNit, HTTPUnit ?











TIA










__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






Re: [flexcoders] Re: Image Pan - Step 1

2006-07-26 Thread JesterXL
1. You could use the old skool Object (hash / associative array) approach, 
or the new Dictionary class.

2. set the scrollRect to 200x400, and then just move the sprite.  So:

myContainer = new Sprite();
myContainer.addChild(myMap);
myContainer.scrollRect = new Rect(0, 0, 200, 400);
addChild(myContainer);
myMap.x += 100;

Don't know 3.

- Original Message - 
From: richmcgillicuddy [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 26, 2006 9:13 AM
Subject: [flexcoders] Re: Image Pan - Step 1


Last night, I was able to find a demo called SpriteArranger that
showed addng different types of objects as children to a DisplayCanvas
 . This really helped in understanding the AddChild. I think I'll go
with the displayobjects initially since we have a PC version written
that uses the same approach. I still am having issues with panning an
image left, right... Then the next things I need to figure out are:

1. Making an internal searchable list of children. I saw the AddChild
function, but the displayobject does not have a Children Property. I
need to research the different types of arrays and find one that I can
have a key associated with the object so as data comes in, I can
update sprite 47. Is there a HashArray or something similar. These
maybe simple questions but I am brand new to this stuff. There seems
to be tons of docs but few examples.

2. On the panning issue, lets say I have a map background that is
1000x1000. My viewport is 200X400, I need to understand how to control
the viewport and panning.

3. Memory Management. As you mentioned, tons of objects will have
issues, I need to get a feel for how many is too many, if the user
switches maps, how to delete the children...


Thanks for your help,


Rich

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

 Base class is like DisplayObjectContainer, but that's an abstract
class;
 both Sprite and MovieClip extend that.  However, if you are using Flex,
 there is no point to utilize MovieClip since you don't have frames;
Sprite's
 good.  Also, the last line should be addChild(container), at least
in an AS3
 project.

 ...however, you have 2 choices here.

 DisplayObjects are nice because you can put all of your map data in one
 DisplayObject, and then move just that 1 Sprite, scale that 1
sprite, ect.
 It makes your code really concise, and flexible because you can put
anything
 you want in it.  Think how Yahoo Maps and Google Maps have like
textures,
 directions, lines, markers, etc. all in theirs.

 ...but tons of obects, while better in Flash Player 9, are still
slower than
 1 bitmap.  If you aren't planning of going all charting-style, you
outta
 give thought to a blitting solution if you want her to scale
hardcore.  You
 basically draw everything to an offscreen bitmap, and then use a
Rect to
 copyPixels into an on-screen bitmap.  That way, you could add
thousands of
 objects, and you're map would run really well.  Harder to code and less
 flexible, though.  Sprites and the DisplayObject really nice, so.

 - Original Message - 
 From: richmcgillicuddy [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Tuesday, July 25, 2006 8:29 PM
 Subject: [flexcoders] Re: Image Pan - Step 1


 OK, just needed the right terms to search on. Found this in the help:


 import flash.display.Sprite;
 import flash.events.MouseEvent;

 var container:Sprite = new Sprite();
 container.name = container;

 var circle:Sprite = new Sprite();
 circle.name = circle;
 circle.graphics.beginFill(0xFFCC00);
 circle.graphics.drawCircle(40, 40, 40);

 container.addChild(circle);

 container.mouseChildren = false;

 container.addEventListener(MouseEvent.CLICK, clicked);

 function clicked(event:MouseEvent):void {
 trace(event.target.name); // container
 }


 Then, it states to add the container to the DisplayObject. This is
 where I get confused. What is the base container class for the
 DisplayList and how do I attach it? I don't think I need a movie clip
 becuase it says it basically is a sprite with a timeline.


 Rich


 --- In flexcoders@yahoogroups.com, JesterXL jesterxl@ wrote:
 
  2. If they are children, they too will scale.  Add them to the
Sprite's
  displaylist.
 
  3. We've done this successfully in Flex 1.5.  In Flex 2, you can set
 the
  toolTipClass on the ToolTipManager class to utilize your own class.
 
  4. To combine multiple effects at the same time, utilize the
 mx:Parrellel
  tag; it'll make all effects inside it happen at the same time
(exluding
  their own startDelay attributes).
 
  Have you tried replacing x  y with scrollRect?
 
  - Original Message - 
  From: richmcgillicuddy rich@
  To: flexcoders@yahoogroups.com
  Sent: Tuesday, July 25, 2006 3:02 PM
  Subject: [flexcoders] Image Pan - Step 1
 
 
  Hello,
 
 
  I am new to the group and to Flex/Flash. We have a mapping tool that
  we had created about a year back that uses flash 8. We want to move up
  to Flex 2 for a number of 

[flexcoders] Create variables dynamic in Flex 2

2006-07-26 Thread Artur Kordowski
How can I create in a loop variables dynamicly?
Like this:
 
for (var i:uint=0; i == 10; i++)
{
 var myVar_i:String = new String();
}
 
Any idea?
 
 
Artur


 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/7EuRwD/fOaOAA/yQLSAA/nhFolB/TM
~- 

--
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/
 
attachment: winmail.dat

Re: [flexcoders] Create variables dynamic in Flex 2

2006-07-26 Thread Paul Andrews
- Original Message - 
From: Artur Kordowski [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 26, 2006 2:58 PM
Subject: [flexcoders] Create variables dynamic in Flex 2


 How can I create in a loop variables dynamicly?
 Like this:

 for (var i:uint=0; i == 10; i++)
 {
 var myVar_i:String = new String();
 }

 Any idea?

var myVar:Array = new Array();
for (var i:uint=0; i == 10; i++)
{
myVar[i]  = new String();
}






 Artur



 --
 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] Centering an image over a chart

2006-07-26 Thread parksch2
Hi all,

I have a question as to the best way to center an image over a chart. 
Basically I'd like to place an image over a chart when no data is 
returned. I can't use absolute positioning because of the different 
resolution possibilities. Further, we have a zoom component that makes 
the chart full screen and the image would have to re-center itself. Can 
anyone point me in the right direction?

Thanks in advance!







 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/3EuRwD/bOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] Create variables dynamic in Flex 2

2006-07-26 Thread Paul Andrews

- Original Message - 
From: Paul Andrews [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 26, 2006 3:04 PM
Subject: Re: [flexcoders] Create variables dynamic in Flex 2


 - Original Message - 
 From: Artur Kordowski [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, July 26, 2006 2:58 PM
 Subject: [flexcoders] Create variables dynamic in Flex 2


 How can I create in a loop variables dynamicly?
 Like this:

 for (var i:uint=0; i == 10; i++)
 {
 var myVar_i:String = new String();
 }

 Any idea?

 var myVar:Array = new Array();
 for (var i:uint=0; i == 10; i++)

Oops..  for (var i:uint=0; i 10; i++)

 {
 myVar[i]  = new String();
 }






 Artur



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





Re: [flexcoders] Create variables dynamic in Flex 2

2006-07-26 Thread Paul Andrews

- Original Message - 
From: Paul Andrews [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 26, 2006 3:04 PM
Subject: Re: [flexcoders] Create variables dynamic in Flex 2


 - Original Message - 
 From: Artur Kordowski [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, July 26, 2006 2:58 PM
 Subject: [flexcoders] Create variables dynamic in Flex 2


 How can I create in a loop variables dynamicly?
 Like this:

 for (var i:uint=0; i == 10; i++)
 {
 var myVar_i:String = new String();
 }

 Any idea?

 var myVar:Array = new Array();
 for (var i:uint=0; i == 10; i++)
 {
 myVar[i]  = new String();
 }






 Artur



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









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







 




 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/7EuRwD/fOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] Tools for listing objects

2006-07-26 Thread jeff tapper
Does any one know of a tool like OptimizeIt! for java, or like List 
Objects in Flash Studio for finding all objects currently in 
existance?  We are looking to verify that we have truely cleaned up 
objects no longer in use, and released them to the GC, but without a 
tool like this, we cant tell what exists and what doesnt.  Does anyone 
have any tips?





--
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: Why does Flex insert ns0: and ns1: namespace prefixes?

2006-07-26 Thread ben.clinkinbeard
Even stranger, it seems to add it to all of the direct child nodes of
the actual request node. Another example:

PseSearch xmlns=http://site.com/BackOffice/PseSearch;
ns0:clientNm xmlns:ns0=http://site.com/BackOffice/PseSearch/
ns0:planNm
xmlns:ns0=http://site.com/BackOffice/PseSearch;78167/ns0:planNm
ns0:RelationshipMgrNm 
xmlns:ns0=http://site.com/BackOffice/PseSearch/
ns0:maxResults
xmlns:ns0=http://site.com/BackOffice/PseSearch;100/ns0:maxResults
/PseSearch

Am I defining something incorrectly?

Thanks,
Ben
http://www.returnundefined.com/


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

 I keep seeing these prefixes that are completely unnecessary, and I
 don't know why or how they're getting inserted. My calls are formatted
 like this:
 
 dmws = new WebService();
 dmws.useProxy = dmws.makeObjectsBindable = false;
 dmws.loadWSDL(myWsdlUrl);
 
 var op:Operation = dmws.getOperation(GetDataByGrouping) as Operation;
 op.resultFormat = e4x;
 op.arguments.groupingRequests = new Object();
 op.arguments.groupingRequests.GroupName = RPRToolStaticData;
 
 Pretty simple and straightforward, but when I view the request xml
 that is sent it looks like this:
 
 GetDataByGrouping xmlns=http://site.com/BackOffice/ClientMeasures;
   ns0:groupingRequests
 xmlns:ns0=http://site.com/BackOffice/ClientMeasures;
   ns0:DataGroupingRequest
   ns0:GroupNameRPRToolStaticData/ns0:GroupName
   /ns0:DataGroupingRequest
   /ns0:groupingRequests
 /GetDataByGrouping
 
 Why is it redfining the namespace that is already on the
 GetDataByGrouping node and muddying up the xml with unnecessary
prefixes?
 
 Thanks,
 Ben
 http://www.returnundefined.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] Centering an image over a chart

2006-07-26 Thread Paul BH



is this over the entire chart, or just the area where the lines are drawn (ie not including axes...)if its the latter, there is a protected dataRegion getter that will give you the size of the area you want to fill with your image...
On 7/26/06, parksch2 [EMAIL PROTECTED] wrote:













  



Hi all,

I have a question as to the best way to center an image over a chart. 
Basically I'd like to place an image over a chart when no data is 
returned. I can't use absolute positioning because of the different 
resolution possibilities. Further, we have a zoom component that makes 
the chart full screen and the image would have to re-center itself. Can 
anyone point me in the right direction?

Thanks in advance!


  















__._,_.___





--
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] Create variables dynamic in Flex 2

2006-07-26 Thread Artur Kordowski
But i dont want to use an array. I would like to create those vars on the
fly.

Artur 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Paul Andrews
Sent: Wednesday, July 26, 2006 4:07 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Create variables dynamic in Flex 2


- Original Message -
From: Paul Andrews [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 26, 2006 3:04 PM
Subject: Re: [flexcoders] Create variables dynamic in Flex 2


 - Original Message - 
 From: Artur Kordowski [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, July 26, 2006 2:58 PM
 Subject: [flexcoders] Create variables dynamic in Flex 2


 How can I create in a loop variables dynamicly?
 Like this:

 for (var i:uint=0; i == 10; i++)
 {
 var myVar_i:String = new String();
 }

 Any idea?

 var myVar:Array = new Array();
 for (var i:uint=0; i == 10; i++)
 {
 myVar[i]  = new String();
 }






 Artur



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









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







 





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



 




 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/3EuRwD/bOaOAA/yQLSAA/nhFolB/TM
~- 

--
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: Tools for listing objects

2006-07-26 Thread ben.clinkinbeard
Couldn't you just set a breakpoint and use the debugger in FB?

Ben
http://www.returnundefined.com/

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

 Does any one know of a tool like OptimizeIt! for java, or like List 
 Objects in Flash Studio for finding all objects currently in 
 existance?  We are looking to verify that we have truely cleaned up 
 objects no longer in use, and released them to the GC, but without a 
 tool like this, we cant tell what exists and what doesnt.  Does anyone 
 have any tips?








 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/7EuRwD/fOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] Create variables dynamic in Flex 2

2006-07-26 Thread JesterXL
Make the class dynamic or use an object.

var o:Object = {};
for (var i:uint=0; i == 10; i++)
{
var myVar_i:String = new String();
o[myVar_ + i] = new String();
}

Or:

package
{
dynamic public class Flexible
{
publid function Flexible()
{
}
}
}

var a:Flexible = new Flexible();
a[cow + i] = new String();


- Original Message - 
From: Artur Kordowski [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 26, 2006 10:24 AM
Subject: RE: [flexcoders] Create variables dynamic in Flex 2


But i dont want to use an array. I would like to create those vars on the
fly.

Artur

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Paul Andrews
Sent: Wednesday, July 26, 2006 4:07 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Create variables dynamic in Flex 2


- Original Message -
From: Paul Andrews [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 26, 2006 3:04 PM
Subject: Re: [flexcoders] Create variables dynamic in Flex 2


 - Original Message - 
 From: Artur Kordowski [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, July 26, 2006 2:58 PM
 Subject: [flexcoders] Create variables dynamic in Flex 2


 How can I create in a loop variables dynamicly?
 Like this:

 for (var i:uint=0; i == 10; i++)
 {
 var myVar_i:String = new String();
 }

 Any idea?

 var myVar:Array = new Array();
 for (var i:uint=0; i == 10; i++)
 {
 myVar[i]  = new String();
 }






 Artur



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








 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/TktRrD/gOaOAA/yQLSAA/nhFolB/TM
~- 

--
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: Centering an image over a chart

2006-07-26 Thread parksch2
Hey,

Thanks for the response. It's an image that basically says No data 
for this chart so it won't have to scale or anything. I'm just 
trying to place it right in the middle of the chart. It doesn't have 
to be perfect, just relatively in the center of where the lines are 
drawn in the chart.

Thanks!


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

 is this over the entire chart, or just the area where the lines are 
drawn
 (ie not including axes...)
 
 if its the latter, there is a protected dataRegion getter that will 
give you
 the size of the area you want to fill with your image...
 
 On 7/26/06, parksch2 [EMAIL PROTECTED] wrote:
 
Hi all,
 
  I have a question as to the best way to center an image over a 
chart.
  Basically I'd like to place an image over a chart when no data is
  returned. I can't use absolute positioning because of the 
different
  resolution possibilities. Further, we have a zoom component that 
makes
  the chart full screen and the image would have to re-center 
itself. Can
  anyone point me in the right direction?
 
  Thanks in advance!
 
   
 








 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/SktRrD/hOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] Caringorm - Visual Flowchart Poster!

2006-07-26 Thread Evan Gifford
Awesome, exactly the feedback I needed, thanks Jester!

I'll put the service locator in there today.
I'll also put some design love into this guy too.

Please, any and ALL suggestions, comments or changes are needed and welcome.

Let's make this the Flexcoders cairngorm poster!

You guys rock!
-Evan

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: Tuesday, July 25, 2006 4:56 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Caringorm - Visual Flowchart Poster!

Only change homey is:

- Command creates Delegate, and calls method on it, passing itself (usually) 
in as a responder
- Delegate gets service from ServiceLocator, and then calls server
- upon response, either massages it (via Factory) or just simply gives it 
back as is to the Command

All in all, your diagram is pretty effective in showing the seperation as 
well as the circular nature.

I agree with Mike; make that mofo bigger!

- Original Message - 
From: Evan Gifford [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, July 25, 2006 6:33 PM
Subject: [flexcoders] Caringorm - Visual Flowchart Poster!


My fellow Flexcoders!

After reading Steven's excellent article covering the Cairngorm architecture
( Start the 6-part series here -
  http://www.adobe.com/devnet/flex/articles/cairngorm_pt1.html )

I've started creating a flowchart tracing a Cairngorm Event from the Event 
Broadcaster with a data payload through the cairngorm process:

Work in progress - you'll get the idea at least - 
http://www.undustrial.com/cairngorm.jpg

This starts with the Front Controller, then to a Command Class, to the 
Service Locater and to the server . then back to the Command Class to 
the Model Locater and finally back to the view through data binding . 
hmm, I think that's right?

Anyway, it occurs to me that someone may have already done this?

  If so, will you please post so I can make it into a poster (for re-post!)?
  If not, would someone be willing to collaborate with me (I'm totally new
  cairngorm)?

Being half-designer-half-programmer, I'd love to create a downloadable PDF 
for us Flexcoders to use!

Thanks!
Evan








-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 7/24/2006



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



 



-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/399 - Release Date: 7/25/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/399 - Release Date: 7/25/2006
 


--
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: Centering an image over a chart

2006-07-26 Thread Paul BH



yep, so you take the dataRegion rectangle, find the middle of it, and hey presto, all sorted - something like this:  override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void{
   super.updateDisplayList(unscaledWidth,unscaledHeight);   var rect:Rectangle = dataRegion;
   myImage.x = rect.left + (rect.width-myImage.width)/2 
   myImage.y = rect.top+ (rect.height-myImage.height)/2   }showing / hiding you can do when the data changes...On 7/26/06, 
parksch2 [EMAIL PROTECTED] wrote:













  



Hey,

Thanks for the response. It's an image that basically says No data 
for this chart so it won't have to scale or anything. I'm just 
trying to place it right in the middle of the chart. It doesn't have 
to be perfect, just relatively in the center of where the lines are 
drawn in the chart.

Thanks!

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


 is this over the entire chart, or just the area where the lines are 
drawn
 (ie not including axes...)
 
 if its the latter, there is a protected dataRegion getter that will 
give you
 the size of the area you want to fill with your image...
 
 On 7/26/06, parksch2 [EMAIL PROTECTED] wrote:
 
Hi all,
 
  I have a question as to the best way to center an image over a 
chart.
  Basically I'd like to place an image over a chart when no data is
  returned. I can't use absolute positioning because of the 
different
  resolution possibilities. Further, we have a zoom component that 
makes
  the chart full screen and the image would have to re-center 
itself. Can
  anyone point me in the right direction?
 
  Thanks in advance!
 
   
 



  















__._,_.___





--
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] Centering an image over a chart

2006-07-26 Thread Tom Chiverton
On Wednesday 26 July 2006 15:08, parksch2 wrote:
 resolution possibilities. Further, we have a zoom component that makes
 the chart full screen and the image would have to re-center itself. Can
 anyone point me in the right direction?

Put the image and chart in the same container, then
image.x=(chart.x+(chart.width/2) )-(image.width/2)
and similar for y

To explain X axis is
0-- 25px -- chart x -- chart width px -- end of chart
And you want the middle of the image in the middle of the chart, 
(chart.x+(chart.width/2) ) gets you there, and then you need to move left 
half the width of the image.

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/TktRrD/gOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] Create variables dynamic in Flex 2

2006-07-26 Thread Paul Andrews
- Original Message - 
From: Artur Kordowski [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 26, 2006 3:24 PM
Subject: RE: [flexcoders] Create variables dynamic in Flex 2


 But i dont want to use an array. I would like to create those vars on the
 fly.

I don't really see what the difference would be apart from the syntax. 
Referring to myVar1..  myVar10 will still mean that you have to fabricate 
the name dynamically. There's really no difference between doing that and 
having myVar[1].. myVar[10], or the altenatives mentioned by others.

Why do you want to do this specifically this way?

Paul


 Artur

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Paul Andrews
 Sent: Wednesday, July 26, 2006 4:07 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Create variables dynamic in Flex 2


 - Original Message -
 From: Paul Andrews [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, July 26, 2006 3:04 PM
 Subject: Re: [flexcoders] Create variables dynamic in Flex 2


 - Original Message - 
 From: Artur Kordowski [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, July 26, 2006 2:58 PM
 Subject: [flexcoders] Create variables dynamic in Flex 2


 How can I create in a loop variables dynamicly?
 Like this:

 for (var i:uint=0; i == 10; i++)
 {
 var myVar_i:String = new String();
 }

 Any idea?

 var myVar:Array = new Array();
 for (var i:uint=0; i == 10; i++)
 {
 myVar[i]  = new String();
 }






 Artur



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







 




 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/3EuRwD/bOaOAA/yQLSAA/nhFolB/TM
~- 

--
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: Google Analytics and Flex

2006-07-26 Thread Renaun Erickson
Yes Rogerio, if they have javascript to record specific analytic
moments in time, you should be able to do that with Flex-Javascript
normal interaction.  

I was thinking other way where you would read results into Flex.

Where do I get an invite for the US, anyone know?

Renaun

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

 In portuguese is not need invitation... only a register that will be
aproved
 a week later.
 
 I was studing the analytics, and is pretty easy to do it. Maybe web can
 adapt the history system to do it for itself. But in resume, you rave do
 execute an javascript function on the actions you wana log.
 
 Rogerio
 
 
 
 On 7/25/06, Renaun Erickson [EMAIL PROTECTED] wrote:
 
Google Analytics is by invitation only right now. So its kind of
hard
  to review it. Also from the Help page.
 
  ===
  Is there a Google Analytics API?
 
  Urchin does not currently provide an API to access the reporting data.
  However, we do offer export functionality for single reports in the
  following formats:
 
  * Tab separated (Text)
  * XML
  * Excel (CSV)
 
  This feature allows you to easily import report data into your
  favorite spreadsheet application or to process the data otherwise.
  
 
https://adwords.google.com/support/bin/answer.py?answer=27257topic=8133
 
  You would have to export it manually and then use some WebService on
  the backend to deliver it to Flex.
 
  Renaun
 
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
Corey
  whoop76@ wrote:
  
   Does anyone have an example of how to hook Google Analytics into a
   Flex Application. I am interested in using Google Analytics to track
   the sales on a Flex application.
  
   Thanks,
  
   COREY
  
 
   
 








--
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] Tools for listing objects

2006-07-26 Thread Matt Horn
I don't know about those tools you mention, but some ideas for listing
available objects:

1) trace(this.childDescriptors.toString());

2) var o:Object = ObjectUtil.getClassInfo(Application.application);
trace(ObjectUtil.toString(o));

3) trace(Application.application.getChildren().toString());

hth,

matt horn
flex docs

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of jeff tapper
 Sent: Wednesday, July 26, 2006 10:22 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Tools for listing objects
 
 Does any one know of a tool like OptimizeIt! for java, or 
 like List Objects in Flash Studio for finding all objects 
 currently in existance? We are looking to verify that we have 
 truely cleaned up objects no longer in use, and released them 
 to the GC, but without a tool like this, we cant tell what 
 exists and what doesnt. Does anyone have any tips?
 
 
 
  
 


 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/7EuRwD/fOaOAA/yQLSAA/nhFolB/TM
~- 

--
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: Image Pan - Step 1

2006-07-26 Thread richmcgillicuddy
Thanks for the tips. I have a few days of work to get done (Both flex
and non flex) with this stuff and I'll follow up and let you know how
it goes.

On the pan, I was able to find something that uses movie clips but and
flash7/8 (so it won't work) but it is exactly what I was looking for.
You can find it here
(http://sephiroth.it/tutorials/flashPHP/scrollRect/). What would I
need to do in order to convert this to the container/child image code
in Flex 2?


Rich 

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



 1. You could use the old skool Object (hash / associative array)
approach, 
 or the new Dictionary class.
 
 2. set the scrollRect to 200x400, and then just move the sprite.  So:
 
 myContainer = new Sprite();
 myContainer.addChild(myMap);
 myContainer.scrollRect = new Rect(0, 0, 200, 400);
 addChild(myContainer);
 myMap.x += 100;
 
 Don't know 3.
 
 - Original Message - 
 From: richmcgillicuddy [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, July 26, 2006 9:13 AM
 Subject: [flexcoders] Re: Image Pan - Step 1
 
 
 Last night, I was able to find a demo called SpriteArranger that
 showed addng different types of objects as children to a DisplayCanvas
  . This really helped in understanding the AddChild. I think I'll go
 with the displayobjects initially since we have a PC version written
 that uses the same approach. I still am having issues with panning an
 image left, right... Then the next things I need to figure out are:
 
 1. Making an internal searchable list of children. I saw the AddChild
 function, but the displayobject does not have a Children Property. I
 need to research the different types of arrays and find one that I can
 have a key associated with the object so as data comes in, I can
 update sprite 47. Is there a HashArray or something similar. These
 maybe simple questions but I am brand new to this stuff. There seems
 to be tons of docs but few examples.
 
 2. On the panning issue, lets say I have a map background that is
 1000x1000. My viewport is 200X400, I need to understand how to control
 the viewport and panning.
 
 3. Memory Management. As you mentioned, tons of objects will have
 issues, I need to get a feel for how many is too many, if the user
 switches maps, how to delete the children...
 
 
 Thanks for your help,
 
 
 Rich
 
 --- In flexcoders@yahoogroups.com, JesterXL jesterxl@ wrote:
 
  Base class is like DisplayObjectContainer, but that's an abstract
 class;
  both Sprite and MovieClip extend that.  However, if you are using
Flex,
  there is no point to utilize MovieClip since you don't have frames;
 Sprite's
  good.  Also, the last line should be addChild(container), at least
 in an AS3
  project.
 
  ...however, you have 2 choices here.
 
  DisplayObjects are nice because you can put all of your map data
in one
  DisplayObject, and then move just that 1 Sprite, scale that 1
 sprite, ect.
  It makes your code really concise, and flexible because you can put
 anything
  you want in it.  Think how Yahoo Maps and Google Maps have like
 textures,
  directions, lines, markers, etc. all in theirs.
 
  ...but tons of obects, while better in Flash Player 9, are still
 slower than
  1 bitmap.  If you aren't planning of going all charting-style, you
 outta
  give thought to a blitting solution if you want her to scale
 hardcore.  You
  basically draw everything to an offscreen bitmap, and then use a
 Rect to
  copyPixels into an on-screen bitmap.  That way, you could add
 thousands of
  objects, and you're map would run really well.  Harder to code and
less
  flexible, though.  Sprites and the DisplayObject really nice, so.
 
  - Original Message - 
  From: richmcgillicuddy rich@
  To: flexcoders@yahoogroups.com
  Sent: Tuesday, July 25, 2006 8:29 PM
  Subject: [flexcoders] Re: Image Pan - Step 1
 
 
  OK, just needed the right terms to search on. Found this in the help:
 
 
  import flash.display.Sprite;
  import flash.events.MouseEvent;
 
  var container:Sprite = new Sprite();
  container.name = container;
 
  var circle:Sprite = new Sprite();
  circle.name = circle;
  circle.graphics.beginFill(0xFFCC00);
  circle.graphics.drawCircle(40, 40, 40);
 
  container.addChild(circle);
 
  container.mouseChildren = false;
 
  container.addEventListener(MouseEvent.CLICK, clicked);
 
  function clicked(event:MouseEvent):void {
  trace(event.target.name); // container
  }
 
 
  Then, it states to add the container to the DisplayObject. This is
  where I get confused. What is the base container class for the
  DisplayList and how do I attach it? I don't think I need a movie clip
  becuase it says it basically is a sprite with a timeline.
 
 
  Rich
 
 
  --- In flexcoders@yahoogroups.com, JesterXL jesterxl@ wrote:
  
   2. If they are children, they too will scale.  Add them to the
 Sprite's
   displaylist.
  
   3. We've done this successfully in Flex 1.5.  In Flex 2, you can set
  the
   toolTipClass on the 

[flexcoders] Re: Flex AMFPHP and VOs

2006-07-26 Thread Renaun Erickson
Yes, this was original a beta package.  I will change everything over
to work with the latest release Cairngorm2 and make the sample more
logical in how it is organized.

Renaun

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

 --- In flexcoders@yahoogroups.com, Renaun Erickson renaun@ wrote:
 
  I have updated the RemoteObjectAMF0 examples to demonstrate it working
  with out the error.  
 
 Thank you very much. I successfully tested your example. Just two
things:
 
 1. Since you use the old org.nevis namespace for the Cairngorm
 package I assume this is an older Cairngorm version. I tried to
 replace your Cairngorm package with the current com.adobe Cairngorm
 implementation but then your example stopped working (although I added
 getRPCService() to the Cairngorm ServiceLocator).
 
 2. Another thing that confused me was the fact that the VOs reside in
 two different places:
 
 org.nevis.cairngorm.samples.login.vo.LoginVO.as
 com.renaun.samples.vo.BookVO.as
 
 I guess these are typical complaints from a newbie. ;-) So no offense
 here. I'm grateful that you share your knowledge with us!
 
 Stefan







 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/WktRrD/lOaOAA/yQLSAA/nhFolB/TM
~- 

--
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: Question regarding datagrids - generating subtotals

2006-07-26 Thread flxcoder
Hi Ralf,

The link that you posted below is dead, can you please check whether 
the site is up.

Thanks.

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

 Hi flxcoder,
 
 i just created a small example. You can find it here:
 http://www.helpqlodhelp.com/blog/archives/000154.html
 
 Cheers,
 Ralf.
 
 On 7/26/06, flxcoder [EMAIL PROTECTED] wrote:
  I have a need where like excel, I need to show sub-totals and 
empty
  cells on the row where the sub total will appear. This subtotal 
will
  be calculated, say as an aggregate function that I can write.
 
  But the question is, how can I do this with the datagrid control. 
I
  am at a point where I can display my data in the datagrid. the
  datagrid dataprovider at this point is the arraycollection.
 
  any clues/hints/examples on this?
 
  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
 
 
 
 
 
 
 
 
 
 -- 
 Ralf Bokelberg [EMAIL PROTECTED]
 Flex  Flash Consultant based in Cologne/Germany








 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/SktRrD/hOaOAA/yQLSAA/nhFolB/TM
~- 

--
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: Image Pan - Step 1

2006-07-26 Thread JesterXL
Actually, the code should port quite easily.

the image.onEnterFrame for example should be changed to addEventListener.

The _x should be changed to just x.

A lot of those are minor.  Flash 8 didn't have Sprite; all we had was 
MovieClip so you could still use MovieClip in Flash Player 9, but there 
isn't a point, and Sprite  MovieClip have most of the same required 
properties  methods you need.

- Original Message - 
From: richmcgillicuddy [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 26, 2006 10:55 AM
Subject: [flexcoders] Re: Image Pan - Step 1


Thanks for the tips. I have a few days of work to get done (Both flex
and non flex) with this stuff and I'll follow up and let you know how
it goes.

On the pan, I was able to find something that uses movie clips but and
flash7/8 (so it won't work) but it is exactly what I was looking for.
You can find it here
(http://sephiroth.it/tutorials/flashPHP/scrollRect/). What would I
need to do in order to convert this to the container/child image code
in Flex 2?


Rich

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



 1. You could use the old skool Object (hash / associative array)
approach,
 or the new Dictionary class.

 2. set the scrollRect to 200x400, and then just move the sprite.  So:

 myContainer = new Sprite();
 myContainer.addChild(myMap);
 myContainer.scrollRect = new Rect(0, 0, 200, 400);
 addChild(myContainer);
 myMap.x += 100;

 Don't know 3.

 - Original Message - 
 From: richmcgillicuddy [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, July 26, 2006 9:13 AM
 Subject: [flexcoders] Re: Image Pan - Step 1


 Last night, I was able to find a demo called SpriteArranger that
 showed addng different types of objects as children to a DisplayCanvas
  . This really helped in understanding the AddChild. I think I'll go
 with the displayobjects initially since we have a PC version written
 that uses the same approach. I still am having issues with panning an
 image left, right... Then the next things I need to figure out are:

 1. Making an internal searchable list of children. I saw the AddChild
 function, but the displayobject does not have a Children Property. I
 need to research the different types of arrays and find one that I can
 have a key associated with the object so as data comes in, I can
 update sprite 47. Is there a HashArray or something similar. These
 maybe simple questions but I am brand new to this stuff. There seems
 to be tons of docs but few examples.

 2. On the panning issue, lets say I have a map background that is
 1000x1000. My viewport is 200X400, I need to understand how to control
 the viewport and panning.

 3. Memory Management. As you mentioned, tons of objects will have
 issues, I need to get a feel for how many is too many, if the user
 switches maps, how to delete the children...


 Thanks for your help,


 Rich

 --- In flexcoders@yahoogroups.com, JesterXL jesterxl@ wrote:
 
  Base class is like DisplayObjectContainer, but that's an abstract
 class;
  both Sprite and MovieClip extend that.  However, if you are using
Flex,
  there is no point to utilize MovieClip since you don't have frames;
 Sprite's
  good.  Also, the last line should be addChild(container), at least
 in an AS3
  project.
 
  ...however, you have 2 choices here.
 
  DisplayObjects are nice because you can put all of your map data
in one
  DisplayObject, and then move just that 1 Sprite, scale that 1
 sprite, ect.
  It makes your code really concise, and flexible because you can put
 anything
  you want in it.  Think how Yahoo Maps and Google Maps have like
 textures,
  directions, lines, markers, etc. all in theirs.
 
  ...but tons of obects, while better in Flash Player 9, are still
 slower than
  1 bitmap.  If you aren't planning of going all charting-style, you
 outta
  give thought to a blitting solution if you want her to scale
 hardcore.  You
  basically draw everything to an offscreen bitmap, and then use a
 Rect to
  copyPixels into an on-screen bitmap.  That way, you could add
 thousands of
  objects, and you're map would run really well.  Harder to code and
less
  flexible, though.  Sprites and the DisplayObject really nice, so.
 
  - Original Message - 
  From: richmcgillicuddy rich@
  To: flexcoders@yahoogroups.com
  Sent: Tuesday, July 25, 2006 8:29 PM
  Subject: [flexcoders] Re: Image Pan - Step 1
 
 
  OK, just needed the right terms to search on. Found this in the help:
 
 
  import flash.display.Sprite;
  import flash.events.MouseEvent;
 
  var container:Sprite = new Sprite();
  container.name = container;
 
  var circle:Sprite = new Sprite();
  circle.name = circle;
  circle.graphics.beginFill(0xFFCC00);
  circle.graphics.drawCircle(40, 40, 40);
 
  container.addChild(circle);
 
  container.mouseChildren = false;
 
  container.addEventListener(MouseEvent.CLICK, clicked);
 
  function clicked(event:MouseEvent):void {
  

Re: [flexcoders] Re: Cairngorm Events

2006-07-26 Thread Ryan Stewart


Thanks guys, I know the usual method for Cairngorm events, and I'm using that as well, but in this case I'm doing some random voodo magic with dynamically generated components and I was hoping I could set an event listener for each of those components to capture an associated CairngormEvent. It doesn't sound like I can do that.Thanks again,Ryan-Original Message-From: [EMAIL PROTECTED]Sent: Wednesday, July 26, 2006 9:22 AM -07:00To: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Cairngorm EventsAs Tom says, usually a Carirngorm event is dispatched to the FrontController, which in turn executes an instance of a command.  And ultimatly, the ModelLocator gets updated and the view reacts via binding.  Presently however, there isn't a mechanism to listen, for the result of the dispatched Cairngorm event, from the view.Hoping to change that.  Your question is valid and appropriate.-TH--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 26 July 2006 07:07, Ryan Stewart wrote:  I'm still not entirely clear on the event model in Flex 2, so hopefully  this is an easy question.  I want to add an event listener in one of my  flex view components that will listen for a CairngormEvent to be dispatched  and then run a function within that component.  Cairngorm would normally say that if you want something to happen when an  Event is dispatched, you put that code in the Controller associated with the  Event.  --  Tom Chiverton    This email is sent for and on behalf of Halliwells LLP.  Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF.  A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society.  CONFIDENTIALITY  This email is intended only for the use of the addressee named above and may be confidential or legally privileged.  If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents.  If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008.  For more information about Halliwells LLP visit www.halliwells.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] Re: Cairngorm Events

2006-07-26 Thread JesterXL





If you use dispatchEvent, yes. If you use 
CairngormEventDispatcher, no.

- Original Message - 
From: Ryan Stewart 

To: flexcoders@yahoogroups.com 
Sent: Wednesday, July 26, 2006 11:27 AM
Subject: Re: [flexcoders] Re: Cairngorm Events

Thanks guys, I 
know the usual method for Cairngorm events, and I'm using that as well, but in 
this case I'm doing some random voodo magic with dynamically generated 
components and I was hoping I could set an event listener for each of those 
components to capture an associated CairngormEvent. It doesn't sound like I can 
do that.

Thanks 
again,

Ryan


-Original 
Message-
From: 
[EMAIL PROTECTED]
Sent: Wednesday, 
July 26, 2006 9:22 AM -07:00
To: 
flexcoders@yahoogroups.com
Subject: 
[flexcoders] Re: Cairngorm Events

As Tom says, usually a 
Carirngorm event is dispatched to the 
FrontController, 
which in turn executes an instance of a command. 
And ultimatly, the 
ModelLocator gets updated and the view reacts via 
binding. 


Presently however, 
there isn't a mechanism to listen, for the result 
of the dispatched 
Cairngorm event, from the view.

Hoping to change 
that. Your question is valid and appropriate.

-TH

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

 On Wednesday 
26 July 2006 07:07, Ryan Stewart wrote:
  I'm 
still not entirely clear on the event model in Flex 2, so 
hopefully
  this is 
an easy question. I want to add an event listener in 
one of 
my
  flex 
view components that will listen ! for a CairngormEvent to be 
dispatched
  and then 
run a function within that component.
 
 Cairngorm 
would normally say that if you want something to happen 
when an 

 Event is 
dispatched, you put that code in the Controller 
associated with the 
 
Event.
 
 -- 

 Tom 
Chiverton
 
 

 
 This emai! l 
is sent for and on behalf of Halliwells LLP.
 
 Halliwells 
LLP is a limited liability partnership registered in 
England and Wales 
under registered number OC307980 whose registered 
office address is 
at St James's Court Brown Street Manchester M2 
2JF. A list of 
members is available for inspection at the 
registered! 
office. Any reference to a partner in relation to 
Halliwells LLP 
means a member of Halliwells LLP. Regulated by the 
Law 
Society.
 
 
CONFIDENTIALITY
 
 This email is 
intended only for the use of the addressee named 
above and may be 
confidential or legally privileged. I! f you are not 
the addressee you 
must not read it and must not use any information 
contained in nor 
copy it nor inform any person other than Halliwells 
LLP or the 
addressee of its existence or contents. If you have 
received this 
email in error please delete it and notify Halliwells 
LLP IT Department 
on 0870 365 8008.
! 
 For more information about 
Halliwells LLP visit www.halliwells.com.




 
__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Question ANSWERED! Re: Embed images in one MovieClip, use in another?

2006-07-26 Thread G
Wow, I'm impressed!  Not with the documentation, but
that you were able to find it!  The answer could not
have been on a more circuitous, esoteric, and
non-obvious path.

These RSLs still don't _quite_ solve what we want to
do, which is to specify different libraries of images
at runtime.  From the documentation it looks like the
name of the rsl has to be hard-coded into the mx:App
tag.  But it's close enough!  If all else fails, we
can do something like this: mx:Application
rsl=lib1.sws; lib2.sws; lib3.sws; ... etc. .  Since
each one is only loaded as needed, it will be flexible
enough!  There's no reason not to list a hundred
different rsls in the app tag, if we need to.

And it may barely be possible to change the rsl
property at runtime.  (I find that highly unlikely,
but possible.)

Anyway, thank you, Jester!  It was exactly what I
needed!


Greg

--- JesterXL [EMAIL PROTECTED] wrote:

 Hah!  I don't care what anyone says, the Flex 1.5
 docs are good.
 

http://livedocs.macromedia.com/flex/15/flex_docs_en/1157.htm
 
 - Original Message - 
 From: G [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Tuesday, July 25, 2006 2:00 PM
 Subject: Re: [flexcoders] Anyone know the answer?
 Embed images in one 
 MovieClip, use in another?
 
 
  Yahoo yuked on itself last night, so not sure if
 you
  ever got your remote
  shared libraries to work?
 
 No, I was waiting to hear more from you about how to
 do it.  Based on your previous emails and those
 links
 I now understand how attachMovie works (in
 conjunction
 with Object.registerClass) and I can manipulate
 those
 well (it's a pain because there's no error message
 if
 you get the linkage name wrong!).  But I'm not sure
 what to do to explore remote shared libraries.
 
 It's nice to hear Flash 9 fixes this problem, but
 that's not something we will be allowed to take
 advantage of for a long time, until we can be
 confident most of our users have switched.
 
 Thanks,
 
 
 Greg
 
 
 
 
  - Original Message - 
  From: G [EMAIL PROTECTED]
  To: flexcoders@yahoogroups.com
  Sent: Tuesday, July 25, 2006 11:25 AM
  Subject: Re: [flexcoders] Anyone know the answer?
  Embed images in one
  MovieClip, use in another?
 
 
  Thanks.  I believe duplicateMovie doesn't work.
  From
  the documentation of duplicateMovie:
 
  If you have loaded a movie clip using
  MovieClip.loadMovie() or the MovieClipLoader
 class,
  the contents of the SWF file are not duplicated.
  This
  means that you cannot save bandwidth by loading a
  JPEG
  or SWF file and then duplicating the movie clip.
 
  It baffles me why this is not allowed.  Does
 anyone
  know?  My guess is the developers ran into some
  issues
  and decided the easiest way around it was to
 pretend
  it was intended.
 
  The further problem, as you say here, is I have to
  move the clip around by hand, which eliminates the
  entire reason to use Flex, to try to organize our
  apps in a slightly object-oriented way.
 
  I believe Jester said this a day or two as well,
  that
  assets cannot be shared.  I'm starting to feel
 this
  is
  impossible with a capital I, but it still feels
 like
  there may be some very low-level way to do
  it--Remote
  Shared Libraries?
 
  The other option is to quit and get a job at
  In-and-Out Burgers.  I think I'm going to do that.
 
  Greg
 
 
  --- Shade Gmail [EMAIL PROTECTED] wrote:
 
   Hi,
  
  In the past I've worked through this kind of
   thing by loading external
   .SWFs dynamically and duplicateMovieClip()ing
 (or
   moving them) what I needed
   to the appropriate positions. That was Flash 7.
 It
   was ugly, but it worked
   as long as you didn't need any fancy depth work.
  
   Recently I've done similar stuff in Flash 8
 using
   BitmapData, which works
   great (and pretty easily too) if you're working
  with
   simple bitmap images.
   Actually, it should work well with generic
   movieclips as well (see the ...
   draw() method, I believe. Something like that).
  
   I'm not aware of a Flex way to do what you
 want.
  I
   do hope there is one,
   it is certainly lacking.
  
   Cheers and good luck,
  
  Pedro.
  
  
   On 7/24/06, G [EMAIL PROTECTED] wrote:
   
   Hi Jester--
   
Your example here is exactly what we don't
 want
  to
   do.
We don't want to embed all the images we need
  into
the swf--it makes the file size too big.
   
However, we don't want to load the images
   dynamically
each time we need them--that's too slow.
   
Our application is a game that uses pictures.
   Players
play the game for a while with one set of
  images,
   then
they change to a new set of images.
   
What we want is to have something like sets
 of
images that we can load one time then use
   repeatedly.
So when the player first starts the game, they
   will
get the images from Set1.swf (for example).
 Then
   when
it's time to change images, we will load a new
   set,
Set2.swf, etc.
   
 

[flexcoders] Re: DataGrid Totals Row

2006-07-26 Thread flxcoder
This topic is similiar to what I am looking for. A datagrid that has 
say 10 rows with the 3rd and say the 7th row showing subtotals and 
the 11th row showing the grand total.

From what I read in this conversation thus far, it seems that the 
solution is to create multiple datagrids and calculate the totals 
from the dataproviders. 

So in the case that i described above, am i right in assuming that i 
will need 5 datagrids with 4 of them having their headers cut off, 
all lined up and pretty. 

am i heading in the right direction or is there a better way.

Thanks.

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

 By the way on the background color.  That was dumb.  I was only
 displaying the column headings of my totals datagrid.   
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Lisa Nelson
 Sent: Friday, July 07, 2006 8:21
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Re: DataGrid Totals Row
 
 I tried that after I saw your message.  That didn't help.  
 
 Here's what else is funky.  I can't seem to change the background 
color
 of the totals datagrid.  All I can figure is somehow the fact that 
it
 only has 1 row affects it.  You can see the problem in design view, 
and
 also at run-time.   
  
 --Lisa
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Tom Chiverton
 Sent: Friday, July 07, 2006 8:02
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Re: DataGrid Totals Row
 
 On Friday 07 July 2006 15:37, Lisa Nelson wrote:
  I am pretty new to Flex.  But I thought what you wrote would bind 
to 
  the width of the overall grid, not the individual column widths.
 
 It would, yeah :-)
 I'm guessing you have to bind both the overall width and all the 
columns
 to make it work.
 
 --
 Tom Chiverton
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in 
England
 and Wales under registered number OC307980 whose registered office
 address is at St James's Court Brown Street Manchester M2 2JF.  A 
list
 of members is available for inspection at the registered office. Any
 reference to a partner in relation to Halliwells LLP means a member 
of
 Halliwells LLP. Regulated by the Law Society.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named 
above and
 may be confidential or legally privileged.  If you are not the 
addressee
 you must not read it and must not use any information contained in 
nor
 copy it nor inform any person other than Halliwells LLP or the 
addressee
 of its existence or contents.  If you have received this email in 
error
 please delete it and notify Halliwells LLP IT Department on 0870 365
 8008.
 
 For more information about Halliwells LLP visit www.halliwells.com.
 
 
 
  Yahoo! Groups Sponsor 
~--
 Great things are happening at Yahoo! Groups.  See the new email 
design.
 http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
 
~- 
 
 --
 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/
 




Re: [flexcoders] Re: Cairngorm Events

2006-07-26 Thread Ryan Stewart


I figure that's what I have to do, just create a custom event and dispatch the event in the onResult method.Thanks again all,Ryan-Original Message-From: [EMAIL PROTECTED]Sent: Wednesday, July 26, 2006 3:35 PM -07:00To: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Cairngorm EventsIf you use dispatchEvent, yes.  If you use CairngormEventDispatcher, no.- Original Message - From: Ryan Stewart To: flexcoders@yahoogroups.com Sent: Wednesday, July 26, 2006 11:27 AMSubject: Re: [flexcoders] Re: Cairngorm EventsThanks guys, I know the usual method for Cairngorm events, and I'm using that as well, but in this case I'm doing some random voodo magic with dynamically generated components and I was hoping I could set an event listener for each of those components to capture an associated CairngormEvent. It doesn't sound like I can do that.Thanks again,Ryan-Original Message-From: [EMAIL PROTECTED]Sent: Wednesday, July 26, 2006 9:22 AM -07:00To: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Cairngorm EventsAs Tom says, usually a Carirngorm event is dispatched to the FrontController, which in turn executes an instance of a command. And ultimatly, the ModelLocator gets updated and the view reacts via binding. Presently however, there isn't a mechanism to listen, for the result of the dispatched Cairngorm event, from the view.Hoping to change that. Your question is valid and appropriate.-TH--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 26 July 2006 07:07, Ryan Stewart wrote:  I'm still not entirely clear on the event model in Flex 2, so hopefully  this is an easy question. I want to add an event listener in one of my  flex view components that will listen ! for a CairngormEvent to be dispatched  and then run a function within that component.  Cairngorm would normally say that if you want something to happen when an  Event is dispatched, you put that code in the Controller associated with the  Event.  --  Tom Chiverton    This emai! l is sent for and on behalf of Halliwells LLP.  Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered! office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society.  CONFIDENTIALITY  This email is intended only for the use of the addressee named above and may be confidential or legally privileged. I! f you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008.!  For more information about Halliwells LLP visit www.halliwells.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] Question ANSWERED! Re: Embed images in one MovieClip, use in another?

2006-07-26 Thread JesterXL
Great!

Not sure if this'll offer anymore helpful advice:
http://www.adobe.com/devnet/flex/articles/rsl.html

- Original Message - 
From: G [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com; [EMAIL PROTECTED]
Sent: Wednesday, July 26, 2006 11:36 AM
Subject: [flexcoders] Question ANSWERED! Re: Embed images in one MovieClip, 
use in another?


Wow, I'm impressed!  Not with the documentation, but
that you were able to find it!  The answer could not
have been on a more circuitous, esoteric, and
non-obvious path.

These RSLs still don't _quite_ solve what we want to
do, which is to specify different libraries of images
at runtime.  From the documentation it looks like the
name of the rsl has to be hard-coded into the mx:App
tag.  But it's close enough!  If all else fails, we
can do something like this: mx:Application
rsl=lib1.sws; lib2.sws; lib3.sws; ... etc. .  Since
each one is only loaded as needed, it will be flexible
enough!  There's no reason not to list a hundred
different rsls in the app tag, if we need to.

And it may barely be possible to change the rsl
property at runtime.  (I find that highly unlikely,
but possible.)

Anyway, thank you, Jester!  It was exactly what I
needed!


Greg

--- JesterXL [EMAIL PROTECTED] wrote:

 Hah!  I don't care what anyone says, the Flex 1.5
 docs are good.


http://livedocs.macromedia.com/flex/15/flex_docs_en/1157.htm

 - Original Message - 
 From: G [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Tuesday, July 25, 2006 2:00 PM
 Subject: Re: [flexcoders] Anyone know the answer?
 Embed images in one
 MovieClip, use in another?


  Yahoo yuked on itself last night, so not sure if
 you
  ever got your remote
  shared libraries to work?

 No, I was waiting to hear more from you about how to
 do it.  Based on your previous emails and those
 links
 I now understand how attachMovie works (in
 conjunction
 with Object.registerClass) and I can manipulate
 those
 well (it's a pain because there's no error message
 if
 you get the linkage name wrong!).  But I'm not sure
 what to do to explore remote shared libraries.

 It's nice to hear Flash 9 fixes this problem, but
 that's not something we will be allowed to take
 advantage of for a long time, until we can be
 confident most of our users have switched.

 Thanks,


 Greg



 
  - Original Message - 
  From: G [EMAIL PROTECTED]
  To: flexcoders@yahoogroups.com
  Sent: Tuesday, July 25, 2006 11:25 AM
  Subject: Re: [flexcoders] Anyone know the answer?
  Embed images in one
  MovieClip, use in another?
 
 
  Thanks.  I believe duplicateMovie doesn't work.
  From
  the documentation of duplicateMovie:
 
  If you have loaded a movie clip using
  MovieClip.loadMovie() or the MovieClipLoader
 class,
  the contents of the SWF file are not duplicated.
  This
  means that you cannot save bandwidth by loading a
  JPEG
  or SWF file and then duplicating the movie clip.
 
  It baffles me why this is not allowed.  Does
 anyone
  know?  My guess is the developers ran into some
  issues
  and decided the easiest way around it was to
 pretend
  it was intended.
 
  The further problem, as you say here, is I have to
  move the clip around by hand, which eliminates the
  entire reason to use Flex, to try to organize our
  apps in a slightly object-oriented way.
 
  I believe Jester said this a day or two as well,
  that
  assets cannot be shared.  I'm starting to feel
 this
  is
  impossible with a capital I, but it still feels
 like
  there may be some very low-level way to do
  it--Remote
  Shared Libraries?
 
  The other option is to quit and get a job at
  In-and-Out Burgers.  I think I'm going to do that.
 
  Greg
 
 
  --- Shade Gmail [EMAIL PROTECTED] wrote:
 
   Hi,
  
  In the past I've worked through this kind of
   thing by loading external
   .SWFs dynamically and duplicateMovieClip()ing
 (or
   moving them) what I needed
   to the appropriate positions. That was Flash 7.
 It
   was ugly, but it worked
   as long as you didn't need any fancy depth work.
  
   Recently I've done similar stuff in Flash 8
 using
   BitmapData, which works
   great (and pretty easily too) if you're working
  with
   simple bitmap images.
   Actually, it should work well with generic
   movieclips as well (see the ...
   draw() method, I believe. Something like that).
  
   I'm not aware of a Flex way to do what you
 want.
  I
   do hope there is one,
   it is certainly lacking.
  
   Cheers and good luck,
  
  Pedro.
  
  
   On 7/24/06, G [EMAIL PROTECTED] wrote:
   
   Hi Jester--
   
Your example here is exactly what we don't
 want
  to
   do.
We don't want to embed all the images we need
  into
the swf--it makes the file size too big.
   
However, we don't want to load the images
   dynamically
each time we need them--that's too slow.
   
Our application is a game that uses pictures.
   Players
play the game for a while with one set of
  images,
   then
they change to a 

[flexcoders] SOAP messaging in Flex

2006-07-26 Thread Charles
SOAP messaging in Flex is constrained to only use HTTP as the transport
mechanism

Is this true for Flex 2?  And, does this mean that if I were to connect
to a WSDL file via a WebService object, then I couldn't do that if the
WSDL is hosted remotely via HTTPS?

Thanks


Charles






--
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] SOAP messaging in Flex

2006-07-26 Thread Carson Hager





You can absolutely use HTTPS. When they say HTTP here, they 
mean the protocol alone as opposed to SMTP, etc. which are also allowed per the 
spec.


Carson


Carson 
HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: 
[EMAIL PROTECTED]Office: 
866-CYNERGYMobile: 1.703.489.6466



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of CharlesSent: 
Wednesday, July 26, 2006 8:48 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] SOAP messaging in 
Flex


"SOAP messaging in Flex is constrained to only use HTTP as the 
transportmechanism"Is this true for Flex 2? And, does this mean that 
if I were to connectto a WSDL file via a WebService object, then I couldn't 
do that if theWSDL is hosted remotely via 
HTTPS?ThanksCharles
__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: Cairngorm Events

2006-07-26 Thread Tom Chiverton
On Wednesday 26 July 2006 16:35, JesterXL wrote:
 If you use dispatchEvent, yes.  If you use CairngormEventDispatcher, no.
 For more information about Halliwells LLP visit www.halliwells.com.

Though couldn't the Controller dispatchEvent() for the components to listen 
too ?

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/WktRrD/lOaOAA/yQLSAA/nhFolB/TM
~- 

--
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: Really weird behavior when changing state

2006-07-26 Thread cvich12



I understand that Action script and events are asynchronous. The thing is I never put such data in my dataProvider... Let me try to explain this.My application is actually based on the dashboard sample that is provided when you download Flex Builder. I display different data in various views according to the actions of the user. When I go past from a view to another, I empty the arrayCollection. But, when the charts are finally displayed, the arrayCollection contains one element that corresponds to the first element of the data that was previously in the arrayCollection.That's the first thing. The second thing is this happens only if you do a back and forth between the two views and you modify the arrayCollection on the first view then go to the second view, modify a second time the arrayCollection and go back to the first view. At this time, the arrayCollection contains the first element of the data of the second view... That is quite complicated, I agree. It's also quite complicated to explain especially when english is not your mother tongue. But I tried many ideas and the problem remains...Any ideas ? --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 20 July 2006 15:08, cvich12 wrote:  Any idea of what could cause this ?  Action script and events are all asynchronous - the order things get logged in  the debugger need not be the order they actually happened :-) Do you have something that goes off and fills in the dataProvider that could  be firing ?  --  Tom Chiverton

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Acegi/Spring/Flex authentication

2006-07-26 Thread flxcoder
I am sorry but can you go to the 101 level with this one, I am not 
very up to speed with acegi, just to the point of getting it working.

Ok, in my previous jsp based project we did this

bean id=authenticationProcessingFilter 
class=org.acegisecurity.ui.webapp.AuthenticationProcessingFilter
  property name=authenticationManagerref 
bean=authenticationManager//property
  property name=authenticationFailureUrlvalue/
acegilogin.jsp?login_error=1/value/property
  property name=defaultTargetUrlvalue//value/property
  property name=filterProcessesUrlvalue/
j_acegi_security_check/value/property
   /bean

   bean id=authenticationProcessingFilterEntryPoint 
class=org.acegisecurity.ui.webapp.AuthenticationProcessingFilterEntryPoint
  property name=loginFormUrlvalue/acegilogin.jsp/value/
property
  property name=forceHttpsvaluefalse/value/property
   /bean

where /*.htm was to have the ROLE_USER. now its the same with flex, I 
use the same format httpservice urls, so the authentication/
authorization roles are similar, if the authentication object is not 
created, make sure the person logs in.

in the xml fragment above, say i have my main app at mainapp.htm 
which holds the mainapp.swf, so is this what i am to do

property name=loginFormUrlvalue/mainapp.htm/value/property

and in the 
property name=authenticationFailureUrlvalue/mainapp.htm/
value/property

is this something similar to what you have done. could you possibly 
paste your xml config-security.xml fragments.

sorry for the long-winded email, but since you have already done 
this, it will save me time and avoid going to the springframework 
forums.

Thanks .


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

 We are using that exact combination. Nothing special had to be 
done. We
 just have Flex use an HttpService to log in (point's to your Acegi
 authentication endpoint), and Flex then uses the cookie that's 
returned.
 After that, all SOAP calls are secured by Acegi. If you're wanting 
to
 use Acegi to try to secure you're actual SWF files, then you'd just 
need
 to put the url pattern of the .swf in the Aecegi configuration, so 
it
 will secure it.
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of flxcoder
 Sent: Monday, July 24, 2006 10:08 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Acegi/Spring/Flex authentication
 
  
 
 Any tips here? Is it possible to use acegi with Flex?
 
 Thanks.
 
 --- In flexcoders@yahoogroups.com 
mailto:flexcoders%40yahoogroups.com
 , flxcoder flxcoder@ wrote:
 
  Hi all.
  
  Maybe not a flex question but relevant.
  
  I am trying to authenticate flex into my middle tier by using 
 acegi. 
  I am moderately familiar with acegi and the saying goes that the 
  filter checks the entry point as
  
  bean id=authenticationProcessingFilterEntryPoint 
  
 
class=org.acegisecurity.ui.webapp.AuthenticationProcessingFilterEntryPo
 int
  property name=loginFormUrlvalue/acegilogin.jsp/value/
  property
  property name=forceHttpsvaluefalse/value/property
  /bean
  
  Question is then, has anyone integrated acegi with flex because 
in 
  the above case maybe the loginFormUrl can be /acegiLogin.jsp 
where 
  the jsp holds the main swf for flex.
  
  Looking for tips on where to start and where to head off with the 
  integration.
  
  Thanks.
 







 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/SktRrD/hOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] DataGrid/itemFunction help needed

2006-07-26 Thread djbrown_rotonews
I'm trying to get the itemFunction property of a DataGrid to work. I 
set it up correctly, but the function never seems to get called even 
when the dataProvider's data is refreshed (I'm using 
XMLListCollection as the dataProvider).

iconField and iconFunction are listed in the API for DataGridBase, 
but not specifically in DataGrid. 

mx:DataGrid iconFunction=myIcon dataProvider={delays_xml} 
/mx:DataGrid

// display the icon if the item is in acceptedProblems
private function myIcon(item:Object):Class{
if (item==null)
  return null;
if (acceptedProblems.contains(item)) {
  return iconSymbol_okay;
} 
 return null;
}

This function doesn't even get called expect during the 
initialization of the application as it runs through all the 
contained GUI components.





--
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: Hand Cursor - please, help

2006-07-26 Thread Doug Lowder
Hi Dmitry,

Try setting these properties:

mx:Label text=hello
 useHandCursor=true
 buttonMode=true
 mouseChildren=false /

From the thread
http://groups.yahoo.com/group/flexcoders/message/39025

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

 Hello, 
 
 I am trying to create a custom component that would consist of a
 Canvas inside of which there is going to be a single label. On mouse
 over the cursor should change to a hand cursor (just like over HTML
 link in a browser). However, the mx:Label or mx:Text do not support
 hand cursors although they have buttonMode and useHandCursor
 properties. Please, let me know if I am missing something
 
 Thanks, 
 
 --- DMitry








 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/7EuRwD/fOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




RE: [flexcoders] testing of Flex apps

2006-07-26 Thread Karl Johnson





Yah, my approach to answering the question was with regards 
to automated UI testing, not sure why I assumed the original poster was not 
looking to unit test. I guess when you talk about regression testing of web 
apps, the most important thing is to test the UI its self, more than just unit 
test the methods (but unit testing is definitely still 
important).

So is QT the only app that claims to perform automated 
testing against flex apps? Anyone know how this works? Is this just record and 
playback of screen coordinates?

Karl

Cynergy Systems, Inc.


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Paul BHSent: 
Wednesday, July 26, 2006 9:55 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] testing of Flex 
apps


for unit testing, you can use either asunit: www.asunit.org or flexunit - which is on the 
adobe labs page.They are both based on JUnit - I've looked into both of 
them, if you want a comparison, here's my writeup of them: http://www.eyefodder.com/blog/2006/07/flexunit_asunit_deathmatch_res.shtmlIf 
you are looking at a Continuous integration setup, there's also details on my 
blog about setting that up... If you are loking for functional testing, 
then as shannon mentioned, QTP supports Flex2, or at least will in the near 
future...hthPBH
On 7/26/06, Shannon 
Hicks [EMAIL PROTECTED]com 
wrote:

  
  
  
  
  
  
  QuickTest 
  Pro claims Flex 2 support:
  
  http://www.mercury.com/us/products/quality-center/functional-testing/quicktest-professional/
  
  Last 
  LI on the page
  
  Shan
  
  
  From: [EMAIL PROTECTED]ups.com 
  [mailto:flexcoders@yahoogroups.com] On Behalf Of 
  Karl JohnsonSent: Wednesday, July 26, 2006 8:18 
  AMTo: [EMAIL PROTECTED]ups.comSubject: RE: 
  [flexcoders] testing of Flex apps
  
  
  
  
  Here is a 
  well written article from adobe on the testing of a flash based application: 
  http://www.adobe.com/devnet/blueprint/articles/qa_petmarket.html
  
  Unless 
  something has come out recently, I don't know of any automated testing tools 
  that directly support flash apps (flex). You can use some of the apps like 
  homer that basically just record exact screen location where you click and 
  type, and then playback using the same coordinates. This is not the most 
  reliable way of testing, but it can for some.
  
  Has anyone 
  tried writing an automated testing framework for flex? One that would run as a 
  flex app, and load the target app to be tested inside of its self? Then it 
  could communicate with it and "click" and "type". I have done several 
  automated testing frameworks like this for web applications (since I was never 
  a fan of record and playback or buying software to do it), but I haven't tried 
  it on flash/flex. I am almost positive you could do it though. I might have to 
  give it a try one of these days :)
  
  Karl
  
  Cynergy 
  Systems, Inc.
  http://www.CynergySystems.com
  
  
  From: [EMAIL PROTECTED]ups.com 
  [mailto:flexcoders@yahoogroups.com] On Behalf Of 
  Robert KaethSent: Wednesday, July 26, 2006 2:27 
  AMTo: [EMAIL PROTECTED]ups.comSubject: 
  [flexcoders] testing of Flex apps
  
  
  
  What is the best way to regression test a flex 
  app ?
  Does flex provide any regression testing suite 
  for testing flex apps like JUNit, HTTPUnit ?
  
  TIA
  
  
  
  
  
  --No virus found in this incoming message.Checked by 
  AVG Free Edition.Version: 7.1.394 / Virus Database: 268.10.4/399 - Release 
  Date: 7/25/2006
  --No virus found in this outgoing message.Checked by 
  AVG Free Edition.Version: 7.1.394 / Virus Database: 268.10.4/399 - Release 
  Date: 7/25/2006
  

__._,_.___





--
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] testing of Flex apps

2006-07-26 Thread Karl Johnson





I spoke too soon with my question about QT. Came across 
this article http://www.adobe.com/macromedia/proom/pr/2005/mercury_flex.html

Sounds like the integration between the two is pretty 
tight, so that QT can actually recognize and manipulate flex UI objects. I am 
still interested in seeing if anyone has taken the approach I talked about in my 
first post...particularly a way to automate the UI testing of a flex app w/o 
spending the major dollars on mercury.

Karl


From: Karl Johnson Sent: Wednesday, 
July 26, 2006 10:01 AMTo: 
'flexcoders@yahoogroups.com'Subject: RE: [flexcoders] testing of Flex 
apps

Yah, my approach to answering the question was with regards 
to automated UI testing, not sure why I assumed the original poster was not 
looking to unit test. I guess when you talk about regression testing of web 
apps, the most important thing is to test the UI its self, more than just unit 
test the methods (but unit testing is definitely still 
important).

So is QT the only app that claims to perform automated 
testing against flex apps? Anyone know how this works? Is this just record and 
playback of screen coordinates?

Karl

Cynergy Systems, Inc.


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Paul BHSent: 
Wednesday, July 26, 2006 9:55 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] testing of Flex 
apps


for unit testing, you can use either asunit: www.asunit.org or flexunit - which is on the 
adobe labs page.They are both based on JUnit - I've looked into both of 
them, if you want a comparison, here's my writeup of them: http://www.eyefodder.com/blog/2006/07/flexunit_asunit_deathmatch_res.shtmlIf 
you are looking at a Continuous integration setup, there's also details on my 
blog about setting that up... If you are loking for functional testing, 
then as shannon mentioned, QTP supports Flex2, or at least will in the near 
future...hthPBH
On 7/26/06, Shannon 
Hicks [EMAIL PROTECTED]com 
wrote: 

  
  
  
  
  
  
  QuickTest 
  Pro claims Flex 2 support:
  
  http://www.mercury.com/us/products/quality-center/functional-testing/quicktest-professional/
  
  Last 
  LI on the page
  
  Shan
  
  
  From: [EMAIL PROTECTED]ups.com 
  [mailto:flexcoders@yahoogroups.com] On Behalf Of 
  Karl JohnsonSent: Wednesday, July 26, 2006 8:18 
  AMTo: [EMAIL PROTECTED]ups.comSubject: RE: 
  [flexcoders] testing of Flex apps
  
  
  
  
  Here is a 
  well written article from adobe on the testing of a flash based application: 
  http://www.adobe.com/devnet/blueprint/articles/qa_petmarket.html
  
  Unless 
  something has come out recently, I don't know of any automated testing tools 
  that directly support flash apps (flex). You can use some of the apps like 
  homer that basically just record exact screen location where you click and 
  type, and then playback using the same coordinates. This is not the most 
  reliable way of testing, but it can for some.
  
  Has anyone 
  tried writing an automated testing framework for flex? One that would run as a 
  flex app, and load the target app to be tested inside of its self? Then it 
  could communicate with it and "click" and "type". I have done several 
  automated testing frameworks like this for web applications (since I was never 
  a fan of record and playback or buying software to do it), but I haven't tried 
  it on flash/flex. I am almost positive you could do it though. I might have to 
  give it a try one of these days :)
  
  Karl
  
  Cynergy 
  Systems, Inc.
  http://www.CynergySystems.com
  
  
  From: [EMAIL PROTECTED]ups.com 
  [mailto:flexcoders@yahoogroups.com] On Behalf Of 
  Robert KaethSent: Wednesday, July 26, 2006 2:27 
  AMTo: [EMAIL PROTECTED]ups.comSubject: 
  [flexcoders] testing of Flex apps
  
  
  
  What is the best way to regression test a flex 
  app ?
  Does flex provide any regression testing suite 
  for testing flex apps like JUNit, HTTPUnit ?
  
  TIA
  
  
  
  
  
  --No virus found in this incoming message.Checked by 
  AVG Free Edition.Version: 7.1.394 / Virus Database: 268.10.4/399 - Release 
  Date: 7/25/2006
  --No virus found in this outgoing message.Checked by 
  AVG Free Edition.Version: 7.1.394 / Virus Database: 268.10.4/399 - Release 
  Date: 7/25/2006
  

__._,_.___





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

RE: [flexcoders] SOAP messaging in Flex

2006-07-26 Thread Kelly Birr
I am using HTTPS for SOAP web services with Flex 2 without problem.  I can
only assume this is wording issue in the docs, probably should read
HTTP/HTTPS.

- Kelly

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Charles
Sent: Wednesday, July 26, 2006 8:48 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] SOAP messaging in Flex

SOAP messaging in Flex is constrained to only use HTTP as the transport
mechanism

Is this true for Flex 2?  And, does this mean that if I were to connect to a
WSDL file via a WebService object, then I couldn't do that if the WSDL is
hosted remotely via HTTPS?

Thanks


Charles






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



 






 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/3EuRwD/bOaOAA/yQLSAA/nhFolB/TM
~- 

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

2006-07-26 Thread JesterXL
Not anymore, no, as he's usually embedded at the top of the tree.   You 
could utilize ViewLocator I guess, but that is bleh.

- Original Message - 
From: Tom Chiverton [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 26, 2006 11:46 AM
Subject: Re: [flexcoders] Re: Cairngorm Events


On Wednesday 26 July 2006 16:35, JesterXL wrote:
 If you use dispatchEvent, yes.  If you use CairngormEventDispatcher, no.
 For more information about Halliwells LLP visit www.halliwells.com.

Though couldn't the Controller dispatchEvent() for the components to listen
too ?

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
St James's Court Brown Street Manchester M2 2JF.  A list of members is 
available for inspection at the registered office. Any reference to a 
partner in relation to Halliwells LLP means a member of Halliwells LLP. 
Regulated by the Law Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may 
be confidential or legally privileged.  If you are not the addressee you 
must not read it and must not use any information contained in nor copy it 
nor inform any person other than Halliwells LLP or the addressee of its 
existence or contents.  If you have received this email in error please 
delete it and notify Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.




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







 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/WktRrD/lOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] Easy way to publish flex app as standalone EXE?

2006-07-26 Thread tddclare
Hey,

In Flash you used to be able to publish a Projector (exe) file for
Windows.

I know there are a bunch of SWF to EXE apps out there (Zinc, etc), but
I don't need any of the filesystem APIs, etc, I just need to put my
app on a workstation with no internet access and no flash player
install possible (gotta love the government)...

Is there any Projector capability in Flex or any easy/cheap way to
make it work?

-- TC





 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/TktRrD/gOaOAA/yQLSAA/nhFolB/TM
~- 

--
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] Centering an image over a chart

2006-07-26 Thread Karl Johnson





Why notjust place a transparent canvas over top of 
the chart, same width and height of the chart, and set the x of the image 
to be (canvas.width/2) - (image.width/2) and then the same for the y with the 
height. By binding the x and y, they will change automatically when the 
chart/canvas size changes.

Karl

Cynergy Systems, Inc.


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Paul BHSent: 
Wednesday, July 26, 2006 10:22 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Centering an 
image over a chart


is this over the entire chart, or just the area where the lines are drawn (ie 
not including axes...)if its the latter, there is a protected dataRegion 
getter that will give you the size of the area you want to fill with your 
image... 
On 7/26/06, parksch2 
[EMAIL PROTECTED]com 
wrote:

  
  
  
  
  
  Hi all,I have a question as to the best way to center an image over 
  a chart. Basically I'd like to place an image over a chart when no data is 
  returned. I can't use absolute positioning because of the different 
  resolution possibilities. Further, we have a zoom component that makes 
  the chart full screen and the image would have to re-center itself. Can 
  anyone point me in the right direction?Thanks in 
  advance!

__._,_.___





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