I've recently downloaded the Flash CS5 and we wanted to upgrade license, but we experience VERY bad problem.
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:
xxx.maxChars = 20;
5. Test movie. You will get next output:
0 - WHY THIS IS NOT 10!!!!!!!!!!!!!!!!!!!!!!!
0 - WHY THIS IS NOT 10!!!!!!!!!!!!!!!!!!!!!!!
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...
We are unable to reproduce this on either Mac or Windows. Are you using the UI components that ship with Flash CS5 or custom components? Can you post a sample FLA that has this issue so we can investigate?
Nivesh (Flash Pro QE Lead)
Hi nrajbhan! Thank you for your help.
I found this problem using custom components. At first I've thought that it's my faute.
But then I tried to test standard flash components. The same result.
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.
- "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?"
- 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.
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.
also i wanted to mention - yes, if you will save the file SOURCE above in CS4 format and then open it with Flash CS4 - then you will see that maxChars in the textarea is "100,00". i don't understand how can it be, because it is not a float...
When I open this last file on my machine and do a test movie, it works fine. What language version is your OS? I wonder if this has something to do with how some languages use "." and some use "," for decimal point. Thanks for helping us narrow down this issue.
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.
also one small question. when i save a file with maxChars=100 (which is not a float) parameter under CS4 version and then open it under Flash CS4 i see maxChars=100.00 why there are ".00"? is it a bug or a feature?
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.
Wow, I just downloaded CS5 and installed it to test its new features and stumbled upon this bug.
Glad to see it's not my (and my components') fault but really hope Adobe fixes this, I can't believe I can't work with CS5...
Any update, anyone?
This bug is HUGE, we need a fix soon, folks.
nope, also i have a lot of other bugs in CS5. and i am also waiting Adobe to fix them. i can't understand why they released so buggy applicaiton. btw, it is the first time in Adobe's history... i mean, when the bugs are so huge...
I have this issue too, with custom components too.
- 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?
My configuration :
Web Premium CS5 FR, Flash CS5 Pro FR, WIN XP SP3 FR
well, if there was some bug tracker... then i would report the issue, but unfortunatelly everybody forgot about Flash.
i don't know when they gonna fix this. and noone replied here officially except for one QA person. that's all, very bad...
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.
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:
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)
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.