Hello,
I think I've found the first bug in flash CS3. To reproduce it,
open a new Actionscript File document and paste in this:
package {
public function distanceAbove(other:Item):Number {
return (myY + myHeight / 2.0) - (other.myY -
other.myHeight / 2.0);
}
}
Checking the syntax should produce no errors.
Now click the "AutoFormat" button and you should get:
package {
public function distanceAbove(other:Item):Number {
return myY + myHeight / 2.0 - other.myY -
other.myHeight / 2.0;
}
}
Which is different code which will produce a different result.
Solution: Don't use the AutoFormat which isn't the end of the world
but is reminiscent of the the AutoFormat bug in Flash 8. Ho Hum.
Here's hoping for a fix soon.
Best wishes
Joe
Joe Cutting
Computer exhibits and installations
www.joecutting.com
The Fishergate Centre, 4 Fishergate, York, YO10 4FB
01904 624681
As of 30th October 2006 I have a new office so
please note my new address and phone number
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com