Frankie Loscavio
http://frankieloscavio.blogspot.com/2007/12/embed-meta-tag-is-flex-only-...
"I've heard from some in the ActionScript community that Flash is a dying horse. "
I have heard this as well.
While I do believe that Adobe has this intention. I wholeheartedly disagree with it.
PROBLEM
one day i noticed that gotoAndPlay has a problem.
it was stalling on a frame when ever i told it to gotoAndPlay.
not a problem in as2
DOCUMENTATION
here is the adobe bug report
http://bugs.adobe.com/jira/browse/FP-21
senocular offers a base class override solution: (at the bottom)
http://www.kirupa.com/forum/archive/index.php/t-266734.html
NOTES
I have found my own ways around it as well... but their isn't a solution that is worth using.
workarounds will add to the complexity of the code and bring its own problems
SFSEvent
is a method of it.gotoandplay.smartfoxserver.SFSEvent
SFSEvent is the class representing all events dispatched by the SmartFoxClient instance.
The SFSEvent class extends the flash.events.Event class and provides a public property called params of type Object that can contain any number of parameters.
usage The following example show a generic usage of a SFSEvent. Please refer to the specific events for the params object content.
package sfsTest
{
import it.gotoandplay.smartfoxserver.SmartFoxClient
An accessible location for the available documentation.
documentation will be interpreted more clearly over time.
PROBLEM:
when i publish an air project, then try to run it the installer gives me this error
"The application could not be installed because the AIR file is damaged. Try obtaining a new AIR file from the application author."
SOLUTION:
(probably just one of many possible problems with your publish, but its the one i have run into so far)
use a direct url in the file path of your air settings...
var num = 5;
num+=.1;
trace(num); //5.1
num+=.1;
trace(num); //5.199999999999999
trace( num==5.2 ); // false
so... AS3 cannot do simple algebra...
lets take a closer look at this bug before i reveal the root of the problem.
this bug only occurs when adding non integers, and often waits until the second iteration to emerge as a problem.
this bug does not exist in AS2
num = 32
num+=.1
num+=.1
trace (num); //32.2
//32 is the magic number to prevent this bug for two iterations of adding .1
num = 256
num+=.01
num+=.01
trace(num); //256.02
While AS3 has fewer unexpected results than AS2, there are still several things that catch me off guard, and take me a while to figure out
so i will occasionally post to this section when i come across Bugs or results that could be perceived as Bugs if not explained.