Re: [flexcoders] NetConnection with AMF0

2006-02-21 Thread Yokota Satoshi
Hi Matt,

When I use this code,

var person:PersonVO = PersonVO(resultEvent.result);


I got runtime error.
For details, following code.

TypeError: Error #1034: Type Coercion failed: cannot convert 
[EMAIL PROTECTED] to com.mycompany.phones.model.PhoneVO
at MethodInfo-1607()
at mx.binding::Binding/execute()
at mx.binding::Binding/watcherFired()
at mx.binding::Watcher/notifyListeners()
at mx.binding::PropertyWatcher/eventHandler()
at flash.events::EventDispatcher/dispatchEvent()
at mx.controls.listclasses::ListBase/mouseDownHandler()
at mx.controls::List/mouseDownHandler()


I considered other alternatives.

package com.mycompany.phones.model {

[Bindable]
[RemoteClass(alias="com.mycompany.phones.model.PhoneVO")]
public class PhoneVO{

public var name:String;
public var description:String;
public var price:Number;
public var image:String;
public var series:String;
public var triband:Boolean;
public var camera:Boolean;
public var video:Boolean;
public var highlight1:String;
public var highlight2:String;

public function PhoneVO() {
name  = "";
description = "";
price = 0;
image = "";
series = "";
triband = false;
camera = false;
video = false;
highlight1 = "";
highlight2 = "";
}

public function setValues(obj:Object){
name  = obj.name;
description = obj.description;
price = obj.price;
image = obj.image;
series = obj.series;
triband = obj.triband;
camera = obj.camera;
video = obj.video;
highlight1 = obj.highlight1;
highlight2 = obj.highlight2;
}
}
}


Usage

var phone:PhoneVO = new PhoneVO().setValues(event.result);


I'm not sure this is correct approach.

Awesome FES!!

Thank you.
Satoshi Yokota

Matt Chotin wrote:
> I'm not sure why the class isn't working, I haven't played with
> NetConnection directly for this purpose.  
> 
> Yes you can use FES for business purposes without charge, but we're
> still figuring out how exactly the tiered pricing structure will work.
> To use it in a clustered environment for example, you will be charged.
> But for small installations you'll probably be able to use it for free.
> 
> Matt
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Yokota Satoshi
> Sent: Tuesday, February 21, 2006 10:45 PM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] NetConnection with AMF0
> 
> Hi Matt,
> 
> PhoneVO have the getter/setter method.
> I could get primitive type, but I could'nt get the PhoneVO class.
> 
> What do you mean about 'too high' ?
> I wish to use AMF easily like a Flash Pro.
> 
> Can I use FES on business without charge or with small charge?
> 
> Thank you.
> Satoshi Yokota
> 
> Matt Chotin wrote:
>> Does your PhoneVO on the Java side have the getName/setName pair?
>>
>> There will be an FES available that I think you'll be able to use
>> without charge as long as your usage isn't too high.
>>
>> -Original Message-
>> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
> On
>> Behalf Of Yokota Satoshi
>> Sent: Tuesday, February 21, 2006 9:55 PM
>> To: flexcoders@yahoogroups.com
>> Subject: [flexcoders] NetConnection with AMF0
>>
>> Hi all,
>>
>> I'm trying to connect openamf without AMF3.
>> I could this by using NetConnection.
>> But, I can't get mapped class from server.
>>
>> following example code,
>> 

Re: [flexcoders] NetConnection with AMF0

2006-02-21 Thread Yokota Satoshi
Hi Matt,

PhoneVO have the getter/setter method.
I could get primitive type, but I could'nt get the PhoneVO class.

What do you mean about 'too high' ?
I wish to use AMF easily like a Flash Pro.

Can I use FES on business without charge or with small charge?

Thank you.
Satoshi Yokota

Matt Chotin wrote:
> Does your PhoneVO on the Java side have the getName/setName pair?
> 
> There will be an FES available that I think you'll be able to use
> without charge as long as your usage isn't too high.
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Yokota Satoshi
> Sent: Tuesday, February 21, 2006 9:55 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] NetConnection with AMF0
> 
> Hi all,
> 
> I'm trying to connect openamf without AMF3.
> I could this by using NetConnection.
> But, I can't get mapped class from server.
> 
> following example code,
> ---
> 
> [DefaultTriggerEvent("result")]
> [Event("fault")]
> [Event("result")]
> private var _con:NetConnection;
> _con = new NetConnection();
> _con.objectEncoding = ObjectEncoding.AMF0;
> _con.connect(this.gatewayUrl);
> var responder:Responder = new Responder(this.onResult,this.onFault);
> var callMethod:String = this.destination+"."+methodName;
> 
> if(args.length>0){
>   _con.call(callMethod,responder,args);
> }else{
>   _con.call(callMethod,responder);
> }
> 
> public function onResult(resultData:Object){
>   var resultEvent:ResultEvent=new ResultEvent(resultData,null,null);
>   var person:PersonVO = PersonVO(resultEvent.result);
> }
> ---
> 
>  - as class in flex side
> ---
> [Bindable]
> [RemoteClass(alias="com.mycompany.phones.model.PhoneVO")]
> public class PhoneVO  {
>   public var name:String;
> }
> ---
> 
>  - java class in server side
> --
> public class PhoneVO {
>   private String name;
> }
> --
> 
> wrong ? any idea?  specifications? beta version?
> 
> By the way, Will I have to purchase FES when I want to use NetConnection
> and AbstractService and AMF0.
> 
> Thank you.
> Satoshi Yokota
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 




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

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

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

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





[flexcoders] NetConnection with AMF0

2006-02-21 Thread Yokota Satoshi
Hi all,

I'm trying to connect openamf without AMF3.
I could this by using NetConnection.
But, I can't get mapped class from server.

following example code,
---

[DefaultTriggerEvent("result")]
[Event("fault")]
[Event("result")]
private var _con:NetConnection;
_con = new NetConnection();
_con.objectEncoding = ObjectEncoding.AMF0;
_con.connect(this.gatewayUrl);
var responder:Responder = new Responder(this.onResult,this.onFault);
var callMethod:String = this.destination+"."+methodName;

if(args.length>0){
  _con.call(callMethod,responder,args);
}else{
  _con.call(callMethod,responder);
}

public function onResult(resultData:Object){
  var resultEvent:ResultEvent=new ResultEvent(resultData,null,null);
  var person:PersonVO = PersonVO(resultEvent.result);
}
---

 - as class in flex side
---
[Bindable]
[RemoteClass(alias="com.mycompany.phones.model.PhoneVO")]
public class PhoneVO{
  public var name:String;
}
---

 - java class in server side
--
public class PhoneVO {
private String name;
}
--

wrong ? any idea?  specifications? beta version?

By the way, Will I have to purchase FES when I want to use NetConnection
and AbstractService and AMF0.

Thank you.
Satoshi Yokota



--
Flexcoders Mailing 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] NumberFormatter 's bug ? (Flex1.5)

2005-12-09 Thread Yokota Satoshi
Hi,

I'm using NumberFormatter class in ActionScript 2.0 classes.

---
var numFormat:NumberFormatter = new NumberFormatter();
numFormat.precision = 0;
numFormat.rounding = "down";
---

1.5 -> 1
-1.5 -> -2 (funny?)

I know that Oracle and Excel works following things.
1.5 -> 1
-1.5 -> -1

Is that bug or not? Any idea?

Best regards,
Yokota Satoshi




 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/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] Parsing XML with namespaces in E4X (Flex2)

2005-12-09 Thread Yokota Satoshi
Hi claus , abdul

Thanks for your advice!  It works well. I could parse rdf,rss.

Thanks,
Satoshi

Abdul Qabiz wrote:
> Hi,
> 
> Use "default xml namespace" directive to solve this problem.  Sorry, it 
> is not documented in current livedocs for Flex 2 alpha…We are working 
> many things, so hopefully you would see it updated soon...
> 
> *Solution:*
> 
> var nsDefault:Namespace = new Namespace("http://example.com/";);
> 
> var res:XML = http://example.com/";>
> appleorange
>   ;
> 
> default xml namespace = nsDefault;  //or default xml namespace = 
> "_http://example.com/_";;
> 
> trace(res.item[0]);
> 
> 
> *Another way of adding namespace to all XML objects*
> 
> var nsDefault:Namespace = new Namespace("http://example.com/";);
> default xml namespace = nsDefault;
> var res:XML = appleorange;
>
> trace(res.namespace()); //traces -> _http://example.com/_
>
> trace(res.item[0]);
> 
> 
> *Note: You know undocumented are subject to change. But I wanted to let 
> you know that there is something which solves this issue.*
> 
> *What "default xml namespace" does?*
> 
> The default xml namespace directive sets the default namespace to use 
> for XML objects.
> 
> Without setting default xml namespace, the default namespace is the 
> unnamed namespace (with the URI set to an empty string). The scope of a 
> default xml namespace declaration is within a function block, like the 
> scope of a variable:.
> 
> 
> Hope that helps.
> 
> 
> 
> -abdul
> 
> 
> 
> 
>  
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [_mailto:[EMAIL PROTECTED] 
> On Behalf Of Yokota Satoshi
> Sent: Saturday, December 03, 2005 2:51 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Parsing XML with namespaces in E4X (Flex2)
> 
> Hi,
> 
> Is there a way in which I could parse XML with namespaces in E4X?
> 
> following code, I can see the value without namespace.
> 
> var res:XML = appleorange;
> trace(res.item[0]);
> 
> but, following code, I could'nt.
> 
> var res:XML = http://example.com/";>
> appleorange
>   ;
> trace(res.item[0]);
> 
> 
> Thanks,
> Yokota Satoshi
> 
> 
> 
> 
> -- 
> Flexcoders Mailing List
> FAQ: _http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt_
> Search Archives: _http://www.mail-archive.com/flexcoders%40yahoogroups.com_
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> 
> 
> 
> SPONSORED LINKS
> Web site design development 
> <http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>
>  
>   Computer software development 
> <http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>
>  
>   Software design and development 
> <http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>
>  
> 
> Macromedia flex 
> <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw>
>  
>   Software development best practice 
> <http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>
>  
> 
> 
> 
> 
> YAHOO! GROUPS LINKS
> 
> *  Visit your group "flexcoders
>   <http://groups.yahoo.c

[flexcoders] Parsing XML with namespaces in E4X (Flex2)

2005-12-03 Thread Yokota Satoshi
Hi,

Is there a way in which I could parse XML with namespaces in E4X?

following code, I can see the value without namespace.

var res:XML = appleorange;
trace(res.item[0]);

but, following code, I could'nt.

var res:XML = http://example.com/";>
appleorange
  ;
trace(res.item[0]);


Thanks,
Yokota Satoshi



 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/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: Custimizing Tooltip

2005-06-06 Thread Yokota Satoshi
Hi

I have a example.
Hava a look following code.





http://www.macromedia.com/2003/mxml"; 
initialize="setStyles()"
  xmlns="*" verticalGap="0">

 
 
 
 
 {number.text}
 

 

 
 
 
 
     
 





Best regards,
Yokota Satoshi,
[EMAIL PROTECTED]

rockmoyosa wrote:
> --- In flexcoders@yahoogroups.com, "rockmoyosa" <[EMAIL PROTECTED]> wrote:
> 
>>Is ther A simple way to, for example, change backgroundcolor of a
>>tooltip of a textinput. 
>>
>>Both (mouseover) tooltip as validation tooltip?
> 
> Anybody how do you custimize the validation message, backgroundColor,
> font-family, etc
> 
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 




 
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] Split up flex-config.xml

2005-05-03 Thread Yokota Satoshi
Hi Dirk,
(B
(BI described web.xml when I using struts framework.
(B
(B
(B action
(B org.apache.struts.action.ActionServlet
(B 
(B  config
(B  
(B   /WEB-INF/config/struts/struts-config-common.xml,
(B   /WEB-INF/config/struts/struts-config-business.xml,
(B   /WEB-INF/config/struts/struts-config-project.xml
(B  
(B 
(B 
(B  debug
(B  2
(B 
(B 
(B  detail
(B  2
(B 
(B 2
(B
(B
(BSo, I'd like to describe following like struts framework.
(B
(B 
(B 
(B  AMFGatewayServlet
(B  Flash Remoting AMF Servlet
(B  Servlet-based plugin to Flash Remoting
(B  flashgateway.controller.GatewayServlet
(B  
(B   gateway.configuration.file
(B   /WEB-INF/flex/gateway-config.xml
(B  
(B  
(B   whitelist.configuration.file
(B   
(B  /WEB-INF/flex/flex-config-common.xml,
(B  /WEB-INF/flex/flex-config-business.xml,
(B  /WEB-INF/flex/flex-config-project.xml
(B 
(B  
(B  
(B   whitelist.parent.node
(B   remote-objects
(B  
(B  2
(B 
(B
(BI don't know how to use whitelist.parent.node param.
(BIs there the document on the web?
(B
(BBest regards,
(BYokota Satoshi
(B
(BDirk Eismann wrote:
(B> Hi,
(B> 
(B> if you open your Flex server's web.xml file you'll find an entry that 
(B> configures the RemoteObject gateway. 
(B> 
(B> There you can define the location where the whitelist gets read from. By 
(B> default this is the /WEB-INF/flex/flex-config.xml file but I think you can 
(B> also point to another file. Look out for the whitelist.configuration.file and 
(B> whitelist.parent.node settings and give it a try.
(B> 
(B> 
(B> 
(B>   AMFGatewayServlet
(B>   Flash Remoting AMF Servlet
(B>   Servlet-based plugin to Flash Remoting
(B>   flashgateway.controller.GatewayServlet  
(B>   
(B> gateway.configuration.file
(B> /WEB-INF/flex/gateway-config.xml
(B>   
(B>   
(B> whitelist.configuration.file
(B> /WEB-INF/flex/flex-config.xml
(B>   
(B>   
(B> whitelist.parent.node
(B> remote-objects
(B>   
(B>   1
(B> 
(B> 
(B> Dirk.
(B> 
(B> 
(B>>-Original Message-
(B>>From: flexcoders@yahoogroups.com 
(B>>[mailto:[EMAIL PROTECTED] Behalf Of Yokota Satoshi
(B>>Sent: Monday, May 02, 2005 2:24 PM
(B>>To: flexcoders@yahoogroups.com
(B>>Subject: [flexcoders] Split up flex-config.xml
(B>>
(B>>
(B>>Hello,
(B>>
(B>>I'm using Cairngorm framework, and I use a lot of RemoteObjects.
(B>>So, the flex-config.xml file is large in size.
(B>>I really want to split up flex-config.xml.
(B>>I know, in Apache Struts framework, web.xml can
(B>>split up struts-config.xml by using comma-deliminated.
(B>>Can Flex do that? I wish it.
(B>>
(B>>Thank you,
(B>>Yours sincerely,
(B>>
(B>>Yokota Satoshi
(B>>[EMAIL PROTECTED]
(B>>http://www.yokot.com/
(B> 
(B> 
(B> 
(B>  
(B> Yahoo! Groups Links
(B> 
(B> 
(B> 
(B>  
(B> 
(B> 
(B> 
(B> 
(B> 
(B
(B
(B
(B
(B 
(BYahoo! Groups Links
(B
(B<*> To visit your group on the web, go to:
(Bhttp://groups.yahoo.com/group/flexcoders/
(B
(B<*> To unsubscribe from this group, send an email to:
(B[EMAIL PROTECTED]
(B
(B<*> Your use of Yahoo! Groups is subject to:
(Bhttp://docs.yahoo.com/info/terms/
(B 

[flexcoders] Split up flex-config.xml

2005-05-02 Thread Yokota Satoshi
Hello,
(B
(BI'm using Cairngorm framework, and I use a lot of RemoteObjects.
(BSo, the flex-config.xml file is large in size.
(BI really want to split up flex-config.xml.
(BI know, in Apache Struts framework, web.xml can
(Bsplit up struts-config.xml by using comma-deliminated.
(BCan Flex do that? I wish it.
(B
(BThank you,
(BYours sincerely,
(B
(BYokota Satoshi
(B[EMAIL PROTECTED]
(Bhttp://www.yokot.com/
(B
(B
(B
(B 
(BYahoo! Groups Links
(B
(B<*> To visit your group on the web, go to:
(Bhttp://groups.yahoo.com/group/flexcoders/
(B
(B<*> To unsubscribe from this group, send an email to:
(B[EMAIL PROTECTED]
(B
(B<*> Your use of Yahoo! Groups is subject to:
(Bhttp://docs.yahoo.com/info/terms/
(B 

Re: [flexcoders] Size up with Validation Message font size

2005-05-02 Thread Yokota Satoshi
Hi Matt,
(B
(BOops, I lapsed.
(BSo, if I want to change styles dynamically, I can use StyleManager.
(BAnd if I want to change styles without changing the source code,
(BI can use CSS. Is that right?
(B
(B> CSS is eventually translated into calls to setStyle so there isn't much of a
(B> difference there.
(B
(BBest regards,
(BYokota Satoshi
(B
(B
(B
(B 
(BYahoo! Groups Links
(B
(B<*> To visit your group on the web, go to:
(Bhttp://groups.yahoo.com/group/flexcoders/
(B
(B<*> To unsubscribe from this group, send an email to:
(B[EMAIL PROTECTED]
(B
(B<*> Your use of Yahoo! Groups is subject to:
(Bhttp://docs.yahoo.com/info/terms/
(B 

Re: [flexcoders] Size up with Validation Message font size

2005-04-30 Thread Yokota Satoshi
Hi Gordon,

Thank you very much for your help!!

I could understand to suit styles for applications.

- in global.css
ErrorTip {
fontSize : 20;
color : #00;
borderColor : #CC;
}

or

- in mxml
mx.styles.StyleManager.styles.ErrorTip.setStyle("fontSize",20);  
mx.styles.StyleManager.styles.ErrorTip.setStyle("color",0x00);
mx.styles.StyleManager.styles.ErrorTip.setStyle("borderColor",0xCC);

BTW, which is better as noted above ?
I think 'css' is better. I have heard the 'setStyle' method is slow.
I can change the styles by using StyleManager when I have to change it,
even though it would be slow.

Yokota Satoshi

[EMAIL PROTECTED]
http://www.yokot.com/ <http://www.yokot.com/>


Gordon Smith wrote:
> Oops.
> 
> var p:String;
> for (p in StyleManager.styles)
> {
> trace(p);
> }
> 
> - Gordon
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, April 30, 2005 4:21 PM
> To: 'flexcoders@yahoogroups.com'
> Subject: RE: [flexcoders] Size up with Validation Message font size
> 
> 
> 
>>I want to know all of global style names.
> 
> 
> var p:String;
> for (p in StyleManager.styles)
> {
> trace(i)
> }
> 
> - Gordon
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
> Sent: Friday, April 29, 2005 10:21 AM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] Size up with Validation Message font size
> 
> 
> Hi, Matt,
> 
> Thank you very much for your help!
> 
> I read the flex document agein, and I could make it to
> change the styles.
> 
> following document
> http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/ht
> ml/wwhelp.htm?context=Flex_Documentation&file=0560.htm
> 
> More or less, I could get an expected result. But there is a little bit
> funny semantics.
> 
> It could'nt function following statement.
>  StyleManager.styles.ErrorTip.fontSize = 20;
> 
> But, it could function following statement.   
>  StyleManager.styles.ErrorTip.setStyle("fontSize",20);
> 
> BTW, I want to know all of global style names.
> (for example, ErrorTip, ToolTip ...)
> Where can I see them?
> 
> Anyway, thank you very much!
> 
> Yours sincerely,
> 
> Yokota Satoshi
> [EMAIL PROTECTED]
> http://www.yokot.com/
> 
> 
> Matt Chotin wrote:
> 
>>You need to set styles on the errorTip.  However adjusting the outer frame
>>design might be difficult.  Relevant style defaults are:
>>
>> 
>>
>>color: 0xFF,
>>
>>fontSize: 9,
>>
>>fontWeight: "bold",
>>
>>shadowColor: 0x00
>>
>>borderColor: 0xCE2929,
>>
>>borderStyle: "errorTipRight",
>>
>>marginBottom: 4,
>>
>>marginLeft: 4,
>>
>>marginRight: 4,
>>
>>marginTop: 4
>>
>> 
>>
>>Matt
>>
>>  _  
>>
>>From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
>>Sent: Thursday, April 28, 2005 1:07 AM
>>To: flexcoders@yahoogroups.com
>>Subject: [flexcoders] Size up with Validation Message font size
>>
>> 
>>
>>Hello,
>>
>>I have a try to size up with Validation Message font size.
>>I don't know how to switch font message size from small to large one,
>>and how to customize message window outer frame design.
>>If possible, I want to make it like a custom validator renderer.
>>
>>I need FlexCoders's helps.
>>
>>Thank you,
>>Yours sincerely,
>>
>>Yokota Satoshi
>>[EMAIL PROTECTED]
>>http://www.yokot.com/ <http://www.yokot.com/> 
>>
>>
>>
>>
>>  _  
>>
>>Yahoo! Groups Links
>>
>>* To visit your group on the web, go to:
>>http://groups.yahoo.com/group/flexcoders/
>><http://groups.yahoo.com/group/flexcoders/> 
>>  
>>* To unsubscribe from this group, send an email to:
>>[EMAIL PROTECTED]
>><mailto:[EMAIL PROTECTED]> 
>>  
>>* Your use of Yahoo! Groups is subject to the Yahoo! Terms
>><http://docs.yahoo.com/info/terms/>  of Service. 
>>
>>
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 
> 




 
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] Size up with Validation Message font size

2005-04-29 Thread Yokota Satoshi
Hi, Matt,
(B
(BThank you very much for your help!
(B
(BI read the flex document agein, and I could make it to
(Bchange the styles.
(B
(Bfollowing document
(Bhttp://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flex_Documentation&file=0560.htm
(B
(BMore or less, I could get an expected result. But there is a little bit
(Bfunny semantics.
(B
(BIt could'nt function following statement.
(B StyleManager.styles.ErrorTip.fontSize = 20;
(B
(BBut, it could function following statement. 
(B StyleManager.styles.ErrorTip.setStyle("fontSize",20);
(B
(BBTW, I want to know all of global style names.
(B(for example, ErrorTip, ToolTip ...)
(BWhere can I see them?
(B
(BAnyway, thank you very much!
(B
(BYours sincerely,
(B
(BYokota Satoshi
(B[EMAIL PROTECTED]
(Bhttp://www.yokot.com/
(B
(B
(BMatt Chotin wrote:
(B> You need to set styles on the errorTip.  However adjusting the outer frame
(B> design might be difficult.  Relevant style defaults are:
(B> 
(B>  
(B> 
(B> color: 0xFF,
(B> 
(B> fontSize: 9,
(B> 
(B> fontWeight: "bold",
(B> 
(B> shadowColor: 0x00
(B> 
(B> borderColor: 0xCE2929,
(B> 
(B> borderStyle: "errorTipRight",
(B> 
(B> marginBottom: 4,
(B> 
(B> marginLeft: 4,
(B> 
(B> marginRight: 4,
(B> 
(B> marginTop: 4
(B> 
(B>  
(B> 
(B> Matt
(B> 
(B>   _  
(B> 
(B> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
(B> Sent: Thursday, April 28, 2005 1:07 AM
(B> To: flexcoders@yahoogroups.com
(B> Subject: [flexcoders] Size up with Validation Message font size
(B> 
(B>  
(B> 
(B> Hello,
(B> 
(B> I have a try to size up with Validation Message font size.
(B> I don't know how to switch font message size from small to large one,
(B> and how to customize message window outer frame design.
(B> If possible, I want to make it like a custom validator renderer.
(B> 
(B> I need FlexCoders's helps.
(B> 
(B> Thank you,
(B> Yours sincerely,
(B> 
(B> Yokota Satoshi
(B> [EMAIL PROTECTED]
(B> http://www.yokot.com/ <http://www.yokot.com/> 
(B> 
(B> 
(B> 
(B> 
(B>   _  
(B> 
(B> Yahoo! Groups Links
(B> 
(B> * To visit your group on the web, go to:
(B> http://groups.yahoo.com/group/flexcoders/
(B> <http://groups.yahoo.com/group/flexcoders/> 
(B>   
(B> * To unsubscribe from this group, send an email to:
(B> [EMAIL PROTECTED]
(B> <mailto:[EMAIL PROTECTED]> 
(B>   
(B> * Your use of Yahoo! Groups is subject to the Yahoo! Terms
(B> <http://docs.yahoo.com/info/terms/>  of Service. 
(B> 
(B> 
(B
(B
(B
(B 
(BYahoo! Groups Links
(B
(B<*> To visit your group on the web, go to:
(Bhttp://groups.yahoo.com/group/flexcoders/
(B
(B<*> To unsubscribe from this group, send an email to:
(B[EMAIL PROTECTED]
(B
(B<*> Your use of Yahoo! Groups is subject to:
(Bhttp://docs.yahoo.com/info/terms/
(B 

http://www.macromedia.com/2003/mxml"; 
initialize="setStyles()"
 xmlns="*" verticalGap="0">





{number.text}













[flexcoders] Size up with Validation Message font size

2005-04-28 Thread Yokota, Satoshi
Hello,
(B
(BI have a try to size up with Validation Message font size.
(BI don't know how to switch font message size from small to large one,
(Band how to customize message window outer frame design.
(BIf possible, I want to make it like a custom validator renderer.
(B
(BI need FlexCoders's helps.
(B
(BThank you,
(BYours sincerely,
(B
(BYokota Satoshi
(B[EMAIL PROTECTED]
(Bhttp://www.yokot.com/
(B
(B
(B
(B 
(BYahoo! Groups Links
(B
(B<*> To visit your group on the web, go to:
(Bhttp://groups.yahoo.com/group/flexcoders/
(B
(B<*> To unsubscribe from this group, send an email to:
(B[EMAIL PROTECTED]
(B
(B<*> Your use of Yahoo! Groups is subject to:
(Bhttp://docs.yahoo.com/info/terms/
(B 

Re: [flexcoders] DataGrid Bug Simulation

2005-03-04 Thread Yokota, Satoshi
Sorry.
(B
(BThis is attached file.
(B
(BYokota, Satoshi wrote:
(B> Hi all,
(B> 
(B> I am Flex developer.
(B> Can anyone solve the problems caused by DataGrid bug?
(B> I attached the file that bug simulation by using DataGrid.
(B> 
(B> Bug Simulation.
(B> Case A.
(B> - Click the Button No.1
(B> - DataGrid is moved.
(B> No problem.
(B> 
(B> Case B.
(B> - Click the Button No.2
(B> - DataGrid is moved.
(B> - HeaderText/Cell overlap other HeaderText/Cell.
(B> It's problem.
(B> 
(B> Case C.
(B> - Click the Button No.1
(B> - Click the Button No.2
(B> - DataGrid is moved.
(B> No problem.
(B> 
(B> Case D.
(B> - Click the Button No.1
(B> - Click the Button No.3
(B> - DataGrid is moved.
(B> - HeaderText overlap other HeaderText.
(B> It's problem.
(B> 
(B> Case E.
(B> - Click the Button No.4
(B> - DataGrid is moved.
(B> - Cell overlap other Cell .
(B> It's problem.
(B> 
(B> What do you think?
(B> Is it specifications ??
(B> 
(B> Anyway,I want to make Fixed DataGrid Columns.
(B> It's like a Excel Sheets.
(B> 
(B> Best regards,
(B> 
(B> Yokota Satoshi
(B> 
(B> __
(B> ClassMethod, Inc
(B> [EMAIL PROTECTED]
(B> TEL:81-3-3361-8800 MOBILE:090-7900-8225
(B> ADDR:$B")(B169-0075 4-12-7-502,Takadanobaba,
(B> Shinjyuku,Tokyo,Japan
(B> PUBLIC INFO:http://www.classmethod.jp/
(B> __
(B> 
(B> 
(B> 
(B> 
(B> Yahoo! Groups Links
(B> 
(B> 
(B> 
(B> 
(B> 
(B> 
(B> 
(B> 
(B> 
http://www.macromedia.com/2003/mxml";
marginBottom="0" marginLeft="0" marginRight="0" marginTop="0"
verticalAlign="middle"
>

































DataGrid Bug Simulation

2005-03-04 Thread Yokota, Satoshi
Hi all,
(B
(BI am Flex developer.
(BCan anyone solve the problems caused by DataGrid bug?
(BI attached the file that bug simulation by using DataGrid.
(B
(BBug Simulation.
(BCase A.
(B- Click the Button No.1
(B- DataGrid is moved.
(BNo problem.
(B
(BCase B.
(B- Click the Button No.2
(B- DataGrid is moved.
(B- HeaderText/Cell overlap other HeaderText/Cell.
(BIt's problem.
(B
(BCase C.
(B- Click the Button No.1
(B- Click the Button No.2
(B- DataGrid is moved.
(BNo problem.
(B
(BCase D.
(B- Click the Button No.1
(B- Click the Button No.3
(B- DataGrid is moved.
(B- HeaderText overlap other HeaderText.
(BIt's problem.
(B
(BCase E.
(B- Click the Button No.4
(B- DataGrid is moved.
(B- Cell overlap other Cell .
(BIt's problem.
(B
(BWhat do you think?
(BIs it specifications ??
(B
(BAnyway,I want to make Fixed DataGrid Columns.
(BIt's like a Excel Sheets.
(B
(BBest regards,
(B
(BYokota Satoshi
(B
(B__
(BClassMethod, Inc
(B[EMAIL PROTECTED]
(BTEL:81-3-3361-8800 MOBILE:090-7900-8225
(BADDR:$B")(B169-0075 4-12-7-502,Takadanobaba,
(BShinjyuku,Tokyo,Japan
(BPUBLIC INFO:http://www.classmethod.jp/
(B__