Well there are a couple ways I thought about approaching this problem, 
however I am not in a spot to try either of them out.

The first would be to see if you can create and instance of 
mx.formatters.CurrencyFormatter via AS and then use the format() method of 
that to output your formatted string.

If you cant create an instance the CurrencyFormatter, you might be able to 
trick cf into giving you one to play with. You might play with the validator 
on a cfinput to see if it uses formatter objects to do the mask and such. If 
you can get cf to output a formatter you could use as to manipulate it to 
validate your data for you.

Sorry if this information is off base, I cant test it just yet, but it might 
give you something to go with.

simeon


On 8/30/05, Stephen Moretti <[EMAIL PROTECTED]> wrote:
> 
> Mike Nimer wrote:
> 
> >This isn't supported in Flash Forms in 7.0 - However, it is in the 
> upcoming Merrimack release.
> ><cfform onload="#variables.onload#"
> >
> >Which would explain why it isn't working.
> >
> >
> ah... doh.... yes that would explain it. :-/
> 
> So ok - I found the ASFusion work around for this and that triggered off
> the code to define the function. However, there are a number of Flash AS
> functions in there that, from looking at the error messages and a quick
> browse through the Flex AS Math functions, don't exists.
> 
> To be honest, I'm kinda stuck now... Is there a sensible way to format
> some numbers into a currency format?
> 
> Sorry to be a pain...
> 
> Regards
> 
> Stephen
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216907
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to