Posted by
admin on Jul 10th, 2009 in
flash,
flex |
0 comments
Today I noticed something particularly annoying about ActionScript 3/Flex/Flash: Casting.
I know of two ways to cast something from one type to another:
1. var myvar:Type1 = mything as Type1; // does not work
OR
2. var myvar:Type1 = Type1 (mything); // works!
I was using the “as” keyword, and I couldn’t figure out why it wouldn’t cast my string to a number. I finally drilled down, and...
Posted by
admin on Feb 24th, 2009 in
flash,
flex |
0 comments
I assume it’s because I didn’t search for the right terms, but I couldn’t find anything good about communicating between Flash 9/10 and Flex.
I found some posts on LocalConnection, and this post… but the issue with LocalConnection is that you can only have on instance open at once. So, if you build something and a user opens two tabs of it, it will fail to connect to the second instance. ...
Posted by
admin on Feb 14th, 2009 in
flash,
flex |
0 comments
I’m working on a project right now and swapChildren is just not working as expected. Looked around a bit, and I just decided to remove the two children and add copies of them instead:
var tmpThis:Canvas= EV.target as Canvas;
var tmpHighest:Canvas= highestPanel;
removeChild (highestPanel);
removeChild (EV.target as...
Posted by
admin on Nov 24th, 2008 in
amfphp,
flash,
flex,
rants |
4 comments
And… it’s official!
I’ve tried about 10 times to start a blog. Each time I always run out of time to work on it, I get way to many spam messages… ehh whatever.
Now I’m going to do it. This blog is mainly going to be about Flex, Flash, amf-php, and the web. I’m also going to talk about entreprenuership, (dealing with) people, and whatever else is on my mind.
Here’s...