True enough - I keep hoping we'll get renewed interest in AIR apps on
mobile, but the brand has taken such a beating no one seems willing to
promote the usefulness of AIR that way. In my view, it's just as easy to
make an awesome app experience in AIR as it has always been out of Flash
Pro and/
Yeah the css thing got me for a while.
$('#myElement').css('top', '0px');
$('#myElement').css('left', '0px');
or
$('#myElement').css('top', '0px').css('left', '0px');
or
$('#myElement').css({'top':'100px', 'left': '0px'});
Does the same thing.
:-/
Karl
On Oct 26, 2012, at 8:21 AM, David
>>I hate to say it, but AS3 is kind of dying.
It's the platform that is taking the big hit (Flash player) therefore AS3 is
decreasing in use because the platform is decreasing in use. It's not because
AS3 lost favorability, the player did.
Jason Merrill
Instructional Technology Architect I
And don't forget, without being as feature complete as well.
Kevin N.
On 10/26/12 3:11 PM, tom rhodes wrote:
hmmm, nowhere near as mature as haxe and haxe compiles to JS without
needing a "lightweight runtime" either.
___
Flashcoders mailing list
F
"Also, there is Jangaroo, which compiles AS3 to JS. That is closer to AS3
than haXe. ;-)"
hmmm, nowhere near as mature as haxe and haxe compiles to JS without
needing a "lightweight runtime" either.
the lack of a standard for ECMA script 4 is interesting, adobe has put
there plans forward here
ht
Ok - i needed variable speed per frame (so animation keeps in time with
possible frame lag) .
I guess where I get confused is:
how would i structure this if I wanted the follower to for example follow the
mouse (with an eased delay)?…
Here is the code for now ( which is currently not really a
I don't think there is going to be an AS4. The ECMA Script committee was
working on a new standard at one point, but they disbanded 2-3 years ago
without issuing a standard for ECMA Script 4.
Adobe have been adding capabilities, such as sort, and I expect they will
continue to add capabilities. Th
Thank you!
That make sense. Will integrate this into my code ( now looking at my camera
class ) …
This is quite important, as if there is any frame lag, physics and other
objects go out of sync.
Karim Beyrouti
t: +44 (0) 7977 997 629
e: ka...@kurst.co.uk
w: http://kurst.co.uk
skype: karimb
But why? :-)
To add a little bit - perhaps AS3 is only dying in some industries (like
mine). But surely once ASNext ships, AS3 will become the next AS2 (which
has been diminishing for years now).
Kevin N.
On 10/26/12 1:44 PM, Hans Wichman wrote:
I call bs:)
__
I call bs :)
Op 26 okt. 2012 19:34 schreef "Kevin Newman" het
volgende:
> I hate to say it, but AS3 is kind of dying. My hope is AS4 (or whatever
> they end up calling Actionscript Next) with it's gaming focus, will
> revitalize things a bit.
>
> Kevin N.
>
>
> On 10/26/12 11:11 AM, tom rhodes wr
I hate to say it, but AS3 is kind of dying. My hope is AS4 (or whatever
they end up calling Actionscript Next) with it's gaming focus, will
revitalize things a bit.
Kevin N.
On 10/26/12 11:11 AM, tom rhodes wrote:
how depressing that a simple AS3 question has turned into a thread about
how e
Where it gets complicated is when you do inheritance. You can do it this
way:
(function(window){
function Person(name, address){
this.name = name;
this.address = address;
}
Person.prototype = {
sayHello: fu
Hi Karim,
i put them both in there, the one you are referring to is simpler:
ofcourse this value can be kept out of the enterframe loop, i have a
utility class for it (although it is a bit overkill;))
private function enterFrame( event : Event ) : void {
sp.x += speed * spDir;
Yeah, unfortunately the world has accepted Javascript without much complaint.
But here's a simple example of simulating a class in Javascript - put this in a
js file:
(function(window){
function Person(name, address){
this.name = name;
this.addres
Thanks Kevin, I guess what I meant was a more object orientated approach,
which I have enjoyed learning and using in AS3. I'll look into those
libraries you mentioned.
David
On 26 October 2012 16:11, tom rhodes wrote:
> how depressing that a simple AS3 question has turned into a thread about
>
how depressing that a simple AS3 question has turned into a thread about
how everyone is now coding JS!!
whilst we're on that subject though...
http://haxe.org/doc/targets/js
http://www.haxejs.org/
is about as close as you are going to get to AS3 in terms of JS. i can't
recommend haxe enough for
> are you trying to do frame rate independent animation based on a fixed frame
> rate (eg you switch from 30 to 60 and everything should move at the same pace
> but more fluid
Yep - that is the one… all my game physics is independent of framerate (time
based)… however, I am trying to get other n
my framework lets you code like this:
_package('com.neuromantic.display.shapes',
_import( 'com.neuromantic.display.shapes.Oval'),
_class( 'Circle' )._extends( 'Oval',{
Circle: function ( size ) {
this._super( size, size );
JS doesn't have classes, and emulating them is somewhat tricky using the
prototype chain (it can be done though).
The easiest way to emulate classes though is to use a framework like
underscore.js (which Backbone.js is built on).
Kevin N.
On 10/26/12 9:21 AM, David Hunter wrote:
I'd
really
Hi,
are you trying to do frame rate independent animation based on a fixed
frame rate (eg you switch from 30 to 60 and everything should move at
the same pace but more fluid), or trying to make up a variable framerate
due to running code?
Anyway since you are keeping y constant I compressed
Hello Flash coders,
It's been a little quite here of late… So, hope it's good with with you all. …
I have been trying to figure this out for a day or so, and wondering if you can
help. I am trying to time correct my animation to be independent of framerate,
which is a little easier when dealin
I'm on my first "serious" project using js.
Some of it is pretty neat and simple and all the AS3 knowledge makes
grabbing and treating elements (for animation and what not) very easy. I
would definitely recommend using jQuery, and I am using jQuery Transit for
some animations. However some of it b
22 matches
Mail list logo