Hello Adobe.
I've recently downloaded the Flash CS5 and we wanted to upgrade license, but we experience VERY bad problem.
Steps:
1. Create blank FLA AS 3.0 movie.
2. Add to first frame (stage), for example, TextArea component and name it "xxx".
3. Set in "Properties" window in "Component Parameters" tab:
text - "hello world"
maxChars - 10
4. Add script to first frame with next code:
trace(xxx.text);
trace(xxx["text"]);
trace(xxx.maxChars);
trace(xxx["maxChars"]);
xxx.maxChars = 20;
trace(xxx["maxChars"]);
trace(xxx.maxChars);
5. Test movie. You will get next output:
hello world
hello world
0 - WHY THIS IS NOT 10!!!!!!!!!!!!!!!!!!!!!!!
0 - WHY THIS IS NOT 10!!!!!!!!!!!!!!!!!!!!!!!
20
20
SO NUMERICAL PARAMETERS DON'T WORK! I not a new to Flash. Have worked more than 5 years with this. Also we've tested such behaviour with latest (downloaded today and yesterday) packages from OFFICIAL www.adobe.com website. They are:
DESIGN PREMIUM CS5
FLASH CS5 PRO
we've tested this behavoiur on different machines, with different operating systems. THE SAME - NO WAY!!!!
PLEASE FIX THIS ISSUE ASAP! and please reply to this thread with DATE of FUTURE FIX! thanks!
btw, i've also checked the same steps but under AS 2.0 fla project - and you know what? the same - no way! it doesn't work, but i need to mention that under AS 2.0 - numerical parameters are not "0" -> they are NULL. :-(
i also receive same messages from my friends. please tell us when this will be fixed...
Hi,
I can reproduce this when I do Test Movie with your FLA. However, if I re-enter the same numbers myself in your FLA, it works fine.
Are you using a localized version of Flash? If so, which locale? Do you use an Input Method Editor (IME)? If so, which IME do you use and with what settings? Also, are you on MAC or WIN?
Do you have an older version of Flash on the same machines? If so, when you save this FLA as a previous version and Test Movie using that version, do you still get 0/null or the correct values?
Thanks for helping us narrow down this issue.
Thanks,
Nivesh
Hi Nivesh!
- "Are you using a localized version of Flash? If so, which locale?"
- en_US
- "Do you use an Input Method Editor (IME)? If so, which IME do you use and with what settings?"
- No, I don't
- "Also, are you on MAC or WIN?"
- Windows XP ( SP3 )
-"Do you have an older version of Flash on the same machines? If so, when you save this FLA as a previous version and Test Movie using that version, do you still get 0/null or the correct values?"
- Yes, I have Flas CS4 as well. I did some tests and here is the result:
Flash CS5. Drag to stage NumericStepper. Set maximum = 100. Test this movie : maximum = 0. Save this fla as a previous version.
Flash CS4. Open this fla. Test this movie. maximum = 0. Goto the component inspector and look for the maximum values. Attention! maximum = 100,00 ( not 100, not 100.00, not 0 ) Set maximum = 100.5 and test . Result : maximum = 100.5. Save this fla. ( By the way, if I do "Save and compact" then I see "Filed to open document" pop up )
Flas CS5. Open our file. Goto the component parameters and see (Attention!) maximum = 100,5 ( not 100.5 ). Test the movie. Result : (Attention!) maximum = 50. Set maximum = 100.55 and press Enter. (Attention!) this value is replaced by 100,55. Test movie and see maximum = 55.
So I guess it can help you to detect the problem.
hello Adobe.
well, i am using the same LS1 en-US Design Premium package. Also i've tested on the weekend with LS1 standalone Flash Pro package - the same problem. my pc is windows 7 with latest updatest. no IME. no other Flash versions.
here is a source with problem:
if you open it - you will see a standart textarea. i've tried to trace maxChars in first frame... so... numeric parameters still don't work.
Hi,
I can reproduce it when changing locales too. It looks like the Components Parameters section has an implicit precision level of 2 decimal digits even if it doesn't display it. That's causing numeric values to get converted to include ',' behind the scenes, causing the components to fail.
On Windows, you can work around this by changing your locale's number format to use '.' instead of ',':
Control Panel -> Regional and Language Options -> Regional Options -> Customize... button next to your locale -> Numbers tab -> Change Decimal symbol from ',' to '.'
On Mac, it's a bit more complicated. I found that solution 4 on this site works - http://www.macfreek.nl/mindmaster/Decimal_Seperator_in_Mac_OS_X#Soluti on_4:_Manually_change_the_settings_in_the_preference_files
Thanks for helping us narrow down the issue.
-Nivesh
Hi,
The Components Parameters section in Flash CS5 has an implicit precision level of 2 decimal digits even if it doesn't display it. When you save as a CS 4 FLA, the data saved out contains the 2 decimal digits. It should be saved as 100.00, but since the panel is incorreclty converting . to , for some locales, the data is being saved as 100,00.
-Nivesh
Hi,
I have this issue too, with custom components too.
Basically :
- You can only enter Number with 2 digits max in a Number component parameters field
- '.' are replaced with ','
- If you enter an integer, it returns 0
- If you enter 12.1, it returns 10
- If you enter 12.26 it returns 26
So, in the end, I suppose that Flash CS5 returns the 2 digits of a Number component field and returns it.
Do you know if that issue will be fix soon?
Thanks.
My configuration :
Web Premium CS5 FR, Flash CS5 Pro FR, WIN XP SP3 FR
Hi,
If your OS is set to a locale to follow regional settings for date, time, currency, numbers, etc. then you should use the same format when entering numeric values. Instead of using '.' for decimal, you should use ',' since that's what you have specified on your OS.
You can also change your locale to follow English/US conventions or to change just the numeric standard by following the steps I posted above.
However, there is still an issue that saving these files as CS4 versions should convert the ',' back to '.' in the CS4 version since CS4 does not respect locale/regional settings.
Thanks,
Nivesh
Hi,
The change in the regional settings did the trick (with my FR system). However, it's very inconvenient for people outside US who install Flash CS5 to have to change these settings, and it may have serious side effect (with MS Excel for instance).
Plus, we still can't set more than 2 decimals...
Hope that'll be fixed/changed/improved (delete as appropriate) in the future.
PEOPLE IF YOU READ THIS POST: DON'T BUY CS5! IT IS BUGGY. VERY BUGGY:
http://forums.adobe.com/thread/642378
http://forums.adobe.com/thread/633948
http://forums.adobe.com/thread/636878
etc
etc
etc
DONT'T EVEN SPEND TIME FOR THIS CRAP FROM CHINESE DEVELOPERS AND TESTERS WHO EVEN CAN'T HELP AND RESOLVE ISSUES.
I cannot set the stepsize of numeric steppers to float values..that's really a problem for me and neither "," or "." won't work.
Setting windows to use "." instead of "," won't work either. (ITA xpsp3)
Adobe ??
UPDATE:I had to delete NumericStepper component from the library and using a new one from the component list. I had to change windows "," to "."
btw it should be fixed asap.
North America
Europe, Middle East and Africa
Asia Pacific