[flexcoders] How do you populate a DTO from view components?

2009-03-05 Thread Rodrigo Pereira Fraga
Hi, 

I'm looking for a better solution for it. 
I have two solutions:

1- With a model declared with a DTO(MXML)
user:User id=user login={inputLogin.text} 
password={inputPassword.text}/


2- With custom components, like it:
apolloti:TextInputBindable
text={model.user.login} 
entity={model.user} attribute=login/

But I'm not happy. Does anybody has an another solution?
The problem is that the [Bindable] doesn't have a bind bi-direcional, like 
Seam

Thanks



[flexcoders] Re: How do you populate a DTO from view components?

2009-03-05 Thread Rodrigo Pereira Fraga
mx:Binding and ChangeWatcher don't show me cool,
Imagine a DTO with 10 attributes, I'll need to have 10 binds too.

Using a ModelLocator to storage data cache, I think that this solution is 
better:

mx:TextInput text={model.user}/

mx:Button click=controller.save(user)/

user:User id=user login={inputLogin.text}
 password={inputPassword.text}/

..

public var model:MyModel;
public var controller:MyController;

...

What do you think about it?


--- In flexcoders@yahoogroups.com, Anggie Bratadinata anggie.bratadin...@... 
wrote:

 Can ChangeWatcher be used in your case ?
 
 -- 
 Anggie Bratadinata | www.masputih.com | Indonesia
 
 On Thu, Mar 5, 2009 at 11:39 PM, Rodrigo Pereira Fraga rpf...@...wrote:
 
  Hi,
 
  I'm looking for a better solution for it.
  I have two solutions:
 
  1- With a model declared with a DTO(MXML)
  user:User id=user login={inputLogin.text}
  password={inputPassword.text}/
 
 
  2- With custom components, like it:
  apolloti:TextInputBindable
  text={model.user.login}
  entity={model.user} attribute=login/
 
  But I'm not happy. Does anybody has an another solution?
  The problem is that the [Bindable] doesn't have a bind bi-direcional, like
  Seam
 
  Thanks
 
 
 
 





[flexcoders] Re: Flex Messaging - Typing Objects.

2008-12-09 Thread Rodrigo Pereira Fraga
Hi!

Thanks, It works fine. My objects are typed.



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

 Yes, you can build and push AsyncMessages that contain typed objects
as the message bodies.
 
 If you're just pushing messages from client to client through the
server (i.e. no JMS or some other custom adapter into a backend
messaging system), you can just tag your ActionScript class with
[RemoteClass] (no alias=... attribute), and it'll show up at the
receiving client as an instance of the desired type. In this case you
don't even need a corresponding server-side Java class.
 
 Best,
 Seth
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Rodrigo Pereira Fraga
 Sent: Monday, December 08, 2008 5:05 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Flex Messaging - Typing Objects.
 
 Hi!
 
 I'm using the messaging services of BlazeDS.
 So, anybody here knows if I can type an object using [RemoteClass]?
 
 My messages are sent from java to flex.
 
 Thanks.





[flexcoders] Flex Messaging - Typing Objects.

2008-12-08 Thread Rodrigo Pereira Fraga
Hi!

I'm using the messaging services of BlazeDS. 
So, anybody here knows if I can type an object using [RemoteClass]? 

My messages are sent from java to flex.

Thanks.



[flexcoders] Re: Extends DataGrid

2008-06-21 Thread Rodrigo Pereira Fraga
Hi, 

I extend the Datagrid and I added some components. But now, I need to 
recalculate the scrool of datagrid.

What method I can override? and what is the name of attribute of 
scrool??

Thanks


--- In flexcoders@yahoogroups.com, Rodrigo Pereira Fraga 
[EMAIL PROTECTED] wrote:

 Hi Alex,
 
 thank you very much!
 
 this method: 
 
 override protected function adjustListContent(unscaledWidth:Number 
= -1, 
 unscaledHeight:Number = -1):void
 
 at this post:
 
 http://blogs.adobe.com/aharui/2008/03/flex_3_datagrid_footers.html
 
 Solve my poblem!
 
 \o
 
 Regards.
 
 --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote:
 
  Look for examples on my blog (blogs.adobe.com/aharui).
  
   
  
  
  
  From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
  Behalf Of Rodrigo Pereira Fraga
  Sent: Friday, June 13, 2008 3:06 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Extends DataGrid
  
   
  
  Hi,
  
   
  
  How I can to extend the DataGrid and add a new component? such
  TextInput, Button, or a Container.
  
   
  
  I don't know which method to do override.
  
   
  
   
  
  Somebody knows?
  
  
   
  
  Thanks.
 





[flexcoders] Re: Extends DataGrid

2008-06-13 Thread Rodrigo Pereira Fraga
Hi Alex,

thank you very much!

this method: 

override protected function adjustListContent(unscaledWidth:Number = -1, 
unscaledHeight:Number = -1):void

at this post:

http://blogs.adobe.com/aharui/2008/03/flex_3_datagrid_footers.html

Solve my poblem!

\o

Regards.

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

 Look for examples on my blog (blogs.adobe.com/aharui).
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Rodrigo Pereira Fraga
 Sent: Friday, June 13, 2008 3:06 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Extends DataGrid
 
  
 
 Hi,
 
  
 
 How I can to extend the DataGrid and add a new component? such
 TextInput, Button, or a Container.
 
  
 
 I don't know which method to do override.
 
  
 
  
 
 Somebody knows?
 
 
  
 
 Thanks.






[flexcoders] Re: VerticalAxis - Flex SDK 3 Release BUG [Attached Code]

2008-03-29 Thread Rodrigo Pereira Fraga
I'm sorry,
but who knows the chart's API of the Fx3, knows what I am talking...

So... I isolated the code so that the list can to see the source and 
running:

http://www.digows.com/projetos/AxisRendererBug/

Thanks very much!

Atenciosamente:
--
| Rodrigo Pereira Fraga|
http://www.digows.com 
  http://forum.flexbrasil.com.br
 
e-mails: [EMAIL PROTECTED]
 [EMAIL PROTECTED]
  I'am from Brazil... and you?
-



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

 You're almost guaranteed to not get an answer without posting some 
code.
 
 FYI,
 Ben
 
 
 --- In flexcoders@yahoogroups.com, Rodrigo Pereira Fraga
 rpffoz@ wrote:
 
  The LineChart.verticalAxisRenderers, to be Bugged!
  
  I add and remove dynamically VerticalAxis in LineChart, but when 
I 
  remove, The screen like in the picture below:
  
  http://s294.photobucket.com/albums/mm107/rpffoz/?
  action=viewcurrent=LineChartBug.jpg
  
  **Copy and paste the lines of link.
  
  Thanks some help.
  
  
  --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiverton@ 
  wrote:
  
   On Friday 28 Mar 2008, Rodrigo Pereira Fraga wrote:
So.. nobody know a solution?
   
   Nobody even knows what your error is !
   
   -- 
   Tom Chiverton
   Helping to elementarily cluster best-of-breed networks
   on: http://thefalken.livejournal.com
   
   
   
   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 Halliwells LLP, 3 Hardman Square, 
  Spinningfields, Manchester, M3 3EB.  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 Solicitors Regulation Authority.
   
   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 2500.
   
   For more information about Halliwells LLP visit 
www.halliwells.com.
  
 





[flexcoders] Re: VerticalAxis - Flex SDK 3 Release BUG

2008-03-28 Thread Rodrigo Pereira Fraga
So.. nobody know a solution?

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

 On Wednesday 26 Mar 2008, Rodrigo Pereira Fraga wrote:
  The lineChart.verticalAxisRenderers, is an Array, I just remove a
  position and give me an error.
 
 Really ? Anyone in particular :-) ?
 
 -- 
 Tom Chiverton
 Helping to revolutionarily transition virtual systems
 on: http://thefalken.livejournal.com
 
 
 
 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 Halliwells LLP, 3 Hardman Square, 
Spinningfields, Manchester, M3 3EB.  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 Solicitors Regulation Authority.
 
 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 2500.
 
 For more information about Halliwells LLP visit www.halliwells.com.





[flexcoders] Re: Adobe AIR/ Flex with device such Fingerprint

2008-03-28 Thread Rodrigo Pereira Fraga
Thank you!
Will help a lot!

I will try to find an solution, if I found, I say here.

Regards.


--- In flexcoders@yahoogroups.com, Weyert de Boer [EMAIL PROTECTED] wrote:

 Depending on the device you are able to obtain the actual 
fingerprint 
 image and even receive events like finger placed or removed etc.
 The website that leveraged the device via the website, did that 
need 
 some sort of plugin or ActiveX component? If so, it hard to 
recreate 
 without such broker layer in between.
 
 The best thing would be to disrupt the distribution of your AIR 
 application in such manner that you install the framework and then 
just 
 deliver the application yourselves in combination with a launcher 
app 
 which will start the broker and after that the actual AIR 
application. 
 In an upcoming book about Adobe AIR this is shown and leverages 
Java 
 (wide audience) and currently working on a second example whereby 
we 
 will probably leverage RFID readers. Maybe an fingerprint reader 
would 
 be an interesting topic too. Shouldn't be a lot of work.





[flexcoders] Re: VerticalAxis - Flex SDK 3 Release BUG

2008-03-28 Thread Rodrigo Pereira Fraga
The LineChart.verticalAxisRenderers, to be Bugged!

I add and remove dynamically VerticalAxis in LineChart, but when I 
remove, The screen like in the picture below:

http://s294.photobucket.com/albums/mm107/rpffoz/?
action=viewcurrent=LineChartBug.jpg

**Copy and paste the lines of link.

Thanks some help.


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

 On Friday 28 Mar 2008, Rodrigo Pereira Fraga wrote:
  So.. nobody know a solution?
 
 Nobody even knows what your error is !
 
 -- 
 Tom Chiverton
 Helping to elementarily cluster best-of-breed networks
 on: http://thefalken.livejournal.com
 
 
 
 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 Halliwells LLP, 3 Hardman Square, 
Spinningfields, Manchester, M3 3EB.  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 Solicitors Regulation Authority.
 
 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 2500.
 
 For more information about Halliwells LLP visit www.halliwells.com.





[flexcoders] Adobe AIR/ Flex with device such Fingerprint

2008-03-27 Thread Rodrigo Pereira Fraga
Hi!

My question is simple, How I can to use a device such Fingerprint 
(biometric reader) in an application with Flex/AIR?

Thanks.



[flexcoders] Re: Adobe AIR/ Flex with device such Fingerprint

2008-03-27 Thread Rodrigo Pereira Fraga
I don't know how the device works,

The ideal is when scanned, the device paste the code/image in the 
clipboard of O/S.

I found examples of microsoft's Fingerprint running on the Web, (an 
auth site), I can to use this in an Flex Application?

Somebody know how this device work?


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

 On Thursday 27 Mar 2008, Rodrigo Pereira Fraga wrote:
  My question is simple, How I can to use a device such Fingerprint
  (biometric reader) in an application with Flex/AIR?
 
 Flex runs in the browser sandbox and AIR can't call out to the O/S, 
so you 
 have to use whatever the O/S does.
 Does it dump the hash it scans where ever the prompt is, for 
instance, like 
 some bar code scanners do ?
 
 -- 
 Tom Chiverton
 Helping to evangelistically engage 24/365 information
 on: http://thefalken.livejournal.com
 
 
 
 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 Halliwells LLP, 3 Hardman Square, 
Spinningfields, Manchester, M3 3EB.  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 Solicitors Regulation Authority.
 
 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 2500.
 
 For more information about Halliwells LLP visit www.halliwells.com.





[flexcoders] VerticalAxis - Flex SDK 3 Release BUG

2008-03-26 Thread Rodrigo Pereira Fraga
Hi!

I need multiple VerticalAxis in a LineChart, in Fx2 is impossible,
But, when the Fx3 get out, this requirement has been implemented.

So.. has a BUG! this requirement has to be dynamic, and when I remove 
an added verticalAxis, the display don't update.

An image in attached:
http://s294.photobucket.com/albums/mm107/rpffoz/?
action=viewcurrent=LineChartBug.jpg

The lineChart.verticalAxisRenderers, is an Array, I just remove a 
position and give me an error.

Regards!
\o/



[flexcoders] Re: Any tutorial about getting started with Flex, BlazeDS and Spring... FROM SCRATCH?

2008-03-26 Thread Rodrigo Pereira Fraga
Is in Portuguese, but can to help you:

http://blog.digows.com/?p=103
http://blog.digows.com/?p=117

(Translated) 
http://translate.google.com/translate?u=http%3A%2F%2Fblog.digows.com%
2F%3Fp%3D103langpair=pt%7Cenhl=pt-BRie=UTF-8

http://translate.google.com/translate?u=http%3A%2F%2Fblog.digows.com%
2F%3Fp%3D117langpair=pt%7Cenhl=pt-BRie=UTF8

Regards.


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

 Mister Coenraets? Mister Ward? Any Java/Flex developer out there 
could give
 me/us a few hints about how to actually develop with all that stuff?
 
 2008/3/25, Sebastien ARBOGAST [EMAIL PROTECTED]:
 
  I've just read both tutorials from Christophe Coenraets:
 
  
http://www.adobe.com/devnet/livecycle/articles/blazeds_gettingstarted.
html
 
  http://www.adobe.com/devnet/livecycle/articles/blazeds_spring.html
 
 
  And the big issue is that none of those tutorials explain how to 
start up
  a real Flex/BlazeDS/Spring project in Eclipse from scratch. They 
both start
  with turnkey server, they give some bits and pieces about BlazeDS
  configuration but the real problem is how do you start from 
nothing, how do
  you organize your project(s)? Where does java and flex sources 
go? Is there
  a simple hello world sample somewhere that I can just build as a 
standalone
  webapp and deploy to tomcat?
 
 
  I've tried to figure it out by myself, but I'm not very good with 
Eclipse
  so I failed miserably so far.
 
 
  --
  Sébastien Arbogast
 
  http://sebastien-arbogast.com
 
 
 
 
 -- 
 Sébastien Arbogast
 
 http://sebastien-arbogast.com





[flexcoders] Re: flex + spring + Oracle

2008-02-06 Thread Rodrigo Pereira Fraga
See this:

Flex+BlazeDS+Spring+Hibernate

-http://blog.digows.com/?p=103
-http://blog.digows.com/?p=117

SourceCode Here:
-http://forum.flexbrasil.com.br/viewtopic.php?f=8t=46#p139

\o/

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

 This is still quite a good article on integrating Flex and Spring.
 
  
 
 http://www.adobe.com/devnet/flex/articles/spring_flex_print.html
 
  
 
 Gk.
 
 Gregor Kiddie
 Senior Developer
 INPS
 
 Tel:   01382 564343
 
 Registered address: The Bread Factory, 1a Broughton Street, London 
SW8
 3QJ
 
 Registered Number: 1788577
 
 Registered in the UK
 
 Visit our Internet Web site at www.inps.co.uk
 blocked::http://www.inps.co.uk/ 
 
 The information in this internet email is confidential and is 
intended
 solely for the addressee. Access, copying or re-use of information 
in it
 by anyone else is not authorised. Any views or opinions presented 
are
 solely those of the author and do not necessarily represent those of
 INPS or any of its affiliates. If you are not the intended recipient
 please contact [EMAIL PROTECTED]
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of hydcool02
 Sent: 05 February 2008 23:02
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] flex + spring + Oracle
 
  
 
 Hi,
 
 Does any one have configuration of flex with respect to Spring and 
 Oracle. I was browsing online but could not find sufficient 
 material..If any one has it please post.
 
 Thanks.





[flexcoders] Flex + Spring + Hibernate - Lazy=true

2008-01-11 Thread Rodrigo Pereira Fraga
Someone has some solution to use the Pattern OpenSessionInView with 
Flex using BlazeDS? 

I am using Spring and it contains a OpenSessionInViewFilter used in 
web.xml, and a OpenSessionInViewInterceptor. But it is different with 
Flex +) 

Someone has idea of how I can use the Lazy = true to hibernate with the 
Flex + Spring?



Atenciosamente:
---
| Rodrigo Pereira Fraga |
 http://www.digows.com 
 
e-mails: [EMAIL PROTECTED]
 [EMAIL PROTECTED]
---



[flexcoders] Re: Flex + Spring + Hibernate - Lazy=true

2008-01-11 Thread Rodrigo Pereira Fraga
Oh my god

=/

But who uses the LCDS, it does not contain a HibernateAssembler 
which implements the use of lazy?


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

 BlazeDS (and LCDS as far as i remember) doesn't support this out of 
 box. There are workarounds like 1) make you own DTO (hibernate 
free) 
 2) prefetch object dependencies  3) include metadata about lazy 
 properties with you objects, control externalization to handle 
 objects with metadata and so on. 
 if you develop with Hibernate (or EJB3), lack of lazy object 
support 
 makes BlazeDS simply unusable for real enterprise application devs.
 
 --- In flexcoders@yahoogroups.com, Rodrigo Pereira Fraga 
 rpffoz@ wrote:
 
  Someone has some solution to use the Pattern OpenSessionInView 
with 
  Flex using BlazeDS? 
  
  I am using Spring and it contains a OpenSessionInViewFilter used 
in 
  web.xml, and a OpenSessionInViewInterceptor. But it is different 
 with 
  Flex +) 
  
  Someone has idea of how I can use the Lazy = true to hibernate 
with 
 the 
  Flex + Spring?
  
  
  
  Atenciosamente:
  ---
  | Rodrigo Pereira Fraga |
   http://www.digows.com 
   
  e-mails: rpffoz@
   rfraga@
  ---
 





Re: [flexcoders] File upload with jsp

2008-01-07 Thread Rodrigo Pereira Fraga
See this:
http://blog.digows.com/?p=43

AppRunning and Source code:
http://www.digows.com/downloads/postagens/flexupload/


Atenciosamente:
---
| Rodrigo Pereira Fraga |
 http://www.digows.com 
 
e-mails: [EMAIL PROTECTED]
 [EMAIL PROTECTED]

AdobeFlex + BlazeDS + SpringFramework + Hibernate
---


From: nhid 
Sent: Tuesday, January 08, 2008 1:42 AM
To: flexcoders@yahoogroups.com 
Subject: [flexcoders] File upload with jsp



Hi all,

I'm looking for a sample of uploading a file to the server using jsp from a 
flex application.  Any help is appreciated.

Thank you!

 

Re: [flexcoders] Need flex WSDL example

2008-01-06 Thread Rodrigo Pereira Fraga
tutorial about WebServices in Fx2

http://imasters.uol.com.br/artigo/4592/flex/acessando_webservices_pelo_flex_20_-_criando_um_conversor_de_moedas/


Atenciosamente:
---
| Rodrigo Pereira Fraga |
 http://www.digows.com 
 
e-mails: [EMAIL PROTECTED]
 [EMAIL PROTECTED]
---


From: [EMAIL PROTECTED] 
Sent: Saturday, January 05, 2008 3:04 AM
To: flexcoders@yahoogroups.com 
Subject: [flexcoders] Need flex WSDL example



Hello flexcoders!!

I've been beating my head at this for awhiile now.  I'm trying to use a 
webservice within flex (mx:webservice..) to call a wsdl path but I want to 
use variables to string together the server path, so..

var g_hostString=http://[cgi.server_name]/filename.cfc?wsdl;;
flex web service call..wsdl={String(g_hostString)}

Anyway, can't get that to work.  I can use the absolute path inside the wsdl 
but not using variables.  The reason being is the files will be sitting across 
multiple servers so whichever server the swf is being invoked, I can just call 
up the cgi.server_name and the wsdl will point to the files on that server.  
Any ideas experts?


Thanks,

Mike Waller
[EMAIL PROTECTED]
AdvantageWeb.net

 

[flexcoders] Spring Framework with BlazeDS

2008-01-04 Thread Rodrigo Pereira Fraga
hi!

With OpenAMF, I had a class SpringBeanInvoker that drew my beans, 
exist something similar in BlazeDS that I can to use to call my Beans 
of Spring?

Thanks!

Atenciosamente:
---
| Rodrigo Pereira Fraga |
http://www.digows.com 
 
e-mails: [EMAIL PROTECTED]
 [EMAIL PROTECTED]
---



[flexcoders] Re: Flex 3 with Multiples Axis (Visual Error) BUG?

2007-09-04 Thread Rodrigo Pereira Fraga
Hi!!!

My source:


#
My Comp
#

private function showFrmEscala():void{
var popUpFrmEscalas:FrmEscalas = new FrmEscalas();

popUpFrmEscalas = FrmEscalas(PopUpManager.createPopUp
(parentApplication.vbPrincipal,FrmEscalas,true));

popUpFrmEscalas.dgEscalas.dataProvider = arrayAxisRenderers;
popUpFrmEscalas.chart = chart;

popUpFrmEscalas.addEventListener(EventFrmEscalas.ADD_ESCALA,
function(event:EventFrmEscalas):void {
registerClassAlias(mx.chart,LinearAxis);
lx = ObjectUtil.copy(event.escalaLinear) as LinearAxis;
addEscalaLinear(lx);
}
);


popUpFrmEscalas.addEventListener(EventFrmEscalas.REMOVE_ESCALA,
function(event:EventFrmEscalas):void {
registerClassAlias(mx.chart,LinearAxis);
lx = ObjectUtil.copy(event.escalaLinear) as LinearAxis;
removeEscalaLinear(lx);
}
);
}


private function addEscalaLinear(lx:LinearAxis):void{
axRenderer = new AxisRenderer();
axRenderer.axis = lx;
arrayAxisRenderers.push(axRenderer);
this.chart.verticalAxisRenderers = arrayAxisRenderers;
}

private function removeEscalaLinear(lx:LinearAxis):void {

for (var i:int=0; iarrayAxisRenderers.length; i++){
if (arrayAxisRenderers[i].axis.displayName == 
lx.displayName){
arrayAxisRenderers.splice(i,1);
this.chart.verticalAxisRenderers = arrayAxisRenderers;

}
}
}


#
FrmEscalas:
#

private function createEscala():void {

preparaLinearAxis();
dispatchEvent( new EventFrmEscalas( EventFrmEscalas.ADD_ESCALA, 
lx , true ) );


.

dispatchEvent( new EventFrmEscalas( 
EventFrmEscalas.REMOVE_ESCALA, dgEscalas.selectedItem.axis, true ) );

}


Thank's


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

 Please send ur sample code, 
  so that i will make an analysis on that !!
  
 Thank's  Regards,
 Gunasekaran Sambandhan
 
 
 
 - Original Message 
 From: Rodrigo Pereira Fraga [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Thursday, 30 August, 2007 3:59:15 PM
 Subject: [flexcoders] Re: Flex 3 with Multiples Axis (Visual Error) 
BUG?
 
 With Axis addeds, when I remove the Vertical Axis, 
 the Chart don't update, and when add again, Chart distorted. 
 
 --- In [EMAIL PROTECTED] ups.com, guna.samba gunase29@ . 
wrote:
 
  When the chart get distorted, while changing any action or from 
the 
  begining (loading..)
  
  --- In [EMAIL PROTECTED] ups.com, Rodrigo Pereira Fraga 
  rpffoz@ wrote:
  
   Please...
   
   I need Help! =/
   
   http://img480. imageshack. us/my.php? image=linecharte 
rrorgt7.jpg
   
   
Hi!

I am using Flex3, and I create VerticalAxis, and Series 
  Dynamically.

but when inserting and removing the VerticalAxis, the display 
 of 
chart goes being distorted.

I need a method to repaint!!!





--- In [EMAIL PROTECTED] ups.com, guna.samba gunase29@ 
 wrote:

 i think u need to show ur chart with dynamic axis and with 
 out 
 dynamic axis.
 If this is ur question,
 there may be some good way to solve the problem in flex 
 3.
 but as my knowledge, u can do this by setting visible 
option 
 in 
 vertical axis dynamically,
 but the problem is chart will not get reloaded when 
 using 
   the 
 above way, just the axis and supporing series get disabled.
 
 In order to repaint the chart, u have to dynamicaly 
generate 
  the 
 series. there is some way to create the series dynamically.
 
 
 
 --- In [EMAIL PROTECTED] ups.com, Rodrigo Pereira Fraga 
 rpffoz@ wrote:
 
  Hi!
  
  I put and remove Dynamic Axis, and when I remove the axis:
  
  http://img480. imageshack. us/my.php?
 image=linecharterro rgt7.jpg
  
  how I can update the chart?
  with chart.validateNow( );
  I dont have success.
  
  in the AdobeFlex exists repaint, or something thus?
 

   
  
 
 
 
 
 
 
   Once upon a time there was 1 GB storage in your inbox. To 
know the happy ending go to 
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html





[flexcoders] Re: Flex 3 with Multiples Axis (Visual Error) BUG?

2007-09-03 Thread Rodrigo Pereira Fraga
Hi!!

Sorry but I don't understand.

Today, I remove the axis from chart.verticalAxisRenderer with splice.
What I perceived, is that the Flex don't update why it is a Renderer!!

I am arriving the conclusion that is a BUG!!

I work in the ItaipuBinacional, (www.itaipu.gov.br) and I need this 
to homologate the Flex.

I NEED help!
=/

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

 You will have to remove from renderer from the verticalAxisRenderers
 array and re-assign the value to verticalAxisRenderers
 
  
 
 Something like
 
  
 
 verticalAxisRenderers = verticalAxisRenderers.splice(index,1), this 
will
 make the chart to re-render without the unwanted vertical Axis.
 
  
 
 Thanks
 
 -Sunil
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Rodrigo Pereira Fraga
 Sent: Thursday, August 30, 2007 8:15 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Flex 3 with Multiples Axis (Visual Error) 
BUG?
 
  
 
 hi!
 
 I add the Axis,
 when I go to remove, the Flex don't update the Chart, it don't 
remove 
 the image of the VerticalAxis, when I go to add, the Chart 
distorts.
 
 =/
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com
 , guna.samba gunase29@ wrote:
 
  When the chart get distorted, while changing any action or from 
the 
  begining (loading..)
  
  --- In flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com , Rodrigo Pereira Fraga 
  rpffoz@ wrote:
  
   Please...
   
   I need Help! =/
   
   http://img480.imageshack.us/my.php?image=linecharterrorgt7.jpg
 http://img480.imageshack.us/my.php?image=linecharterrorgt7.jpg 
   
   
Hi!

I am using Flex3, and I create VerticalAxis, and Series 
  Dynamically.

but when inserting and removing the VerticalAxis, the display 
 of 
chart goes being distorted.

I need a method to repaint!!!





--- In flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com , guna.samba gunase29@ 
 wrote:

 i think u need to show ur chart with dynamic axis and with 
 out 
 dynamic axis.
 If this is ur question,
 there may be some good way to solve the problem in flex 
 3.
 but as my knowledge, u can do this by setting visible 
option 
 in 
 vertical axis dynamically,
 but the problem is chart will not get reloaded when 
 using 
   the 
 above way, just the axis and supporing series get disabled.
 
 In order to repaint the chart, u have to dynamicaly 
generate 
  the 
 series. there is some way to create the series dynamically.
 
 
 
 --- In flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com , Rodrigo Pereira Fraga 
 rpffoz@ wrote:
 
  Hi!
  
  I put and remove Dynamic Axis, and when I remove the axis:
  
  http://img480.imageshack.us/my.php?
 http://img480.imageshack.us/my.php? 
 image=linecharterrorgt7.jpg
  
  how I can update the chart?
  with chart.validateNow();
  I dont have success.
  
  in the AdobeFlex exists repaint, or something thus?
 

   
  
 





[flexcoders] Re: Verify an Object in Memory.

2007-08-27 Thread Rodrigo Pereira Fraga
Excuses, but I expressed myself badly. 

Problem 1:
--

I have a PopUp (myPopUpWindow), and only he can have, one instance. 
thus, I make:

if (myPopUpWindow! = instancied) {
   showMyPopWindow;
}



Poblem 2:
-
What I need to make, is the navigation between windows (PopUp's).
you know the button Back and forward of the Explorer?


The logic of navigation until already I mounted, but I do not know 
what to call when the button back or forward will be pressed.

Thanks!






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

 Not sure I understand.
  
 Do you want to know if a class had an instance made from it?  I'd 
put a
 static variable like a counter in the constructor.
  
 Do you want to use keyboard to switch between a Flash App and 
Windows?
 Or between popups in a Flex app?  Or use the mouse to switch 
Windows?
 Flex handles mouse switching, but you probably can't get at alt-tab 
and
 maybe not ctrl-tab either.
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Rodrigo Pereira Fraga
 Sent: Sunday, August 26, 2007 6:47 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Verify an Object in Memory.
 
 
 
 how I can verify if an Object was instancied, (mxml or as3)?
 
 and.. i need to make the logic to advance and to back of the 
windows 
 common in MSWindows...
 somebody has an idea of which would be the best solution?
 
 Good Week!
 Thanks!





[flexcoders] Re: Verify an Object in Memory.

2007-08-27 Thread Rodrigo Pereira Fraga
the problem to verify instancia in the memory already I solved, 
Thanks Alex!!
\o/


but… somebody has idea of as can make the navigation?


--- In flexcoders@yahoogroups.com, Rodrigo Pereira Fraga 
[EMAIL PROTECTED] wrote:

 Excuses, but I expressed myself badly. 
 
 Problem 1:
 --
 
 I have a PopUp (myPopUpWindow), and only he can have, one instance. 
 thus, I make:
 
 if (myPopUpWindow! = instancied) {
showMyPopWindow;
 }
 
 
 
 Poblem 2:
 -
 What I need to make, is the navigation between windows (PopUp's).
 you know the button Back and forward of the Explorer?
 
 
 The logic of navigation until already I mounted, but I do not know 
 what to call when the button back or forward will be pressed.
 
 Thanks!
 
 
 
 
 
 
 --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote:
 
  Not sure I understand.
   
  Do you want to know if a class had an instance made from it?  I'd 
 put a
  static variable like a counter in the constructor.
   
  Do you want to use keyboard to switch between a Flash App and 
 Windows?
  Or between popups in a Flex app?  Or use the mouse to switch 
 Windows?
  Flex handles mouse switching, but you probably can't get at alt-
tab 
 and
  maybe not ctrl-tab either.
  
  
  
  From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On
  Behalf Of Rodrigo Pereira Fraga
  Sent: Sunday, August 26, 2007 6:47 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Verify an Object in Memory.
  
  
  
  how I can verify if an Object was instancied, (mxml or as3)?
  
  and.. i need to make the logic to advance and to back of the 
 windows 
  common in MSWindows...
  somebody has an idea of which would be the best solution?
  
  Good Week!
  Thanks!
 





[flexcoders] Re: Verify an Object in Memory.

2007-08-27 Thread Rodrigo Pereira Fraga
Hi!!

heehhe..

Excuses for my English.

=/

What I needed I am to have buttons Back the same and Forward made 
in flex, but with BrowserManager, solves my problem.

Thanks a lot Friend!



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

 I still don't understand.  If you only have one popup, what should
 back/forward do?
  
 Please investigate the third-party UrlKit for back/forward.  In 
Flex 3,
 it will be BrowserManager.
  
 Feel free to ask questions both in english and follow with a copy in
 your native language.  There are some good translators on this 
forum.
  
 -Alex
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Rodrigo Pereira Fraga
 Sent: Monday, August 27, 2007 7:36 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Verify an Object in Memory.
 
 
 
 the problem to verify instancia in the memory already I solved, 
 Thanks Alex!!
 \o/
 
 but... somebody has idea of as can make the navigation?
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com
 , Rodrigo Pereira Fraga 
 rpffoz@ wrote:
 
  Excuses, but I expressed myself badly. 
  
  Problem 1:
  --
  
  I have a PopUp (myPopUpWindow), and only he can have, one 
instance. 
  thus, I make:
  
  if (myPopUpWindow! = instancied) {
  showMyPopWindow;
  }
  
  
  
  Poblem 2:
  -
  What I need to make, is the navigation between windows (PopUp's).
  you know the button Back and forward of the Explorer?
  
  
  The logic of navigation until already I mounted, but I do not 
know 
  what to call when the button back or forward will be pressed.
  
  Thanks!
  
  
  
  
  
  
  --- In flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@ 
wrote:
  
   Not sure I understand.
   
   Do you want to know if a class had an instance made from it? 
I'd 
  put a
   static variable like a counter in the constructor.
   
   Do you want to use keyboard to switch between a Flash App and 
  Windows?
   Or between popups in a Flex app? Or use the mouse to switch 
  Windows?
   Flex handles mouse switching, but you probably can't get at alt-
 tab 
  and
   maybe not ctrl-tab either.
   
   
   
   From: flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com  
  [mailto:flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com ] On
   Behalf Of Rodrigo Pereira Fraga
   Sent: Sunday, August 26, 2007 6:47 PM
   To: flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com
 
   Subject: [flexcoders] Verify an Object in Memory.
   
   
   
   how I can verify if an Object was instancied, (mxml or as3)?
   
   and.. i need to make the logic to advance and to back of the 
  windows 
   common in MSWindows...
   somebody has an idea of which would be the best solution?
   
   Good Week!
   Thanks!
  
 





[flexcoders] Verify an Object in Memory.

2007-08-26 Thread Rodrigo Pereira Fraga
how I can verify if an Object was instancied, (mxml or as3)?

and..  i  need to make the logic to advance and to back of the windows 
common in MSWindows…
somebody has an idea of which would be the best solution?

Good Week!
Thanks!



[flexcoders] To select in the ComboBox

2007-05-23 Thread Rodrigo Pereira Fraga
 Hi! 
Without being for selectedIndex in comboBox,
How To make in run-time, the comboBox selecting an item, 
with selectedItem 

Example:

public function edit() : void{
txtId.text = dgMarca.selectedItem.idMarca;
txtDsProd.text = dgMarca.selectedItem.label;

   //It catches the selected value of the Grid and arrow in cb 
cbCat.selectedItem.idCat = dgMarca.selectedItem.idCat;
}

**In cbCat I have label and idCat as attributes.

Thanks!!


\o/ 



RE: [flexcoders] Digest Number 7596

2007-05-11 Thread Rodrigo Pereira Fraga
Hi, I am here of Brazil, and is a Pleasure to be here! … 
 
Now, as I can place an Image as tooltip in a DataGrid Row? 
 
Somebody Could Help me!?
 
Thanks!!
 
\o/
 
 
De:
--| Rodrigo Pereira Fraga|
http://e-digows.blogspot.com

 
e-mails: [EMAIL PROTECTED]
   [EMAIL PROTECTED]   ITAIPU BINACIONAL 
--
_
Obtenha o novo Windows Live Messenger!
http://get.live.com/messenger/overview