Archive

Archive for the ‘Actionscript’ Category

Adobe Flash Platform Summit 2010

August 24th, 2010 View Comments

One more day to go for Adobe Flash Platform Summit 2010, I am very excited about this event because of so many good sessions and speakers.

More importantly, an opportunity for me to reconnect with everyone. Flash Platform community in India has grown many folds during last couple of years, so it would be fun to see new developers/designers.

This is going to be first event I would be attending after mid 2008. I have been busy doing very different things (bootstraping team, hiring, strategy, setting up processes, etc.), hence don't have much to share about Flash Platform related things. I have done bunch of small actionscript/flex projects, where as my team has been busy building some cool stuff using web-standards and lamp-stack.

If you are going to be around, let's catch up.



Flex 4 In Action – Early Access Available

June 18th, 2010 View Comments

Last year, I posted about Flex 3 In Action, a book by Tariq Ahmed,  Jon Hirschi and Faisal Abid. Not many people know, I was also among authors but couldn’t contribute beyond one chapter due to personal priorities, hence opted out. Thanks to Tariq for trusting me and providing an opportunity.

Tariq has again teamed up with different some smart guys (Dan Orlando, John C. Bland II, and Joel Hooks) this time, and all of them are working on Flex 4 In Action.

All authors have a lot of experience and are great at what they do. I always prefer to read a book written by someone who has done the stuff, instead of someone who has just theoretical knowledge.

I am yet to start reading draft version of the book, however, I am sure this book is going to be one of the best. To believe me, you need to check out authors’ profiles/websites and you would realize it yourself.

Sign up with Manning’s early access program (MEAP) and start reading chapters (completed as well as drafts).



Making the case for ActionScript – my take

August 9th, 2009 View Comments

Peter Elst posted his thoughts about ActionScript and where it’s going. I agree with him and prefer to have simplicity we had once with ActionScript and Flash Platform.

I wrote my two-cents as comment to Peter’s post, that’s how it goes:

Nice post.

We have witnessed how Flash Platform evolved over the years, it has got more attention by people but at the same time, it has lost a lot of attention of those attached initially (as Keith said above).

Jeff Raskin, in Humane Interface, said something like that – complex tasks would require complex user-interactions but that’s no excuse to make simple tasks complex.

I believe, that’s what has happened. It’s not any more simpler to do simple things.

Adobe must think why they are doing it and for whom they are doing. If ActionScript is going to be clone of Java or C#, then why a new language – why not just use one of those?

There must be a philosophy behind a language and platform, what is that behind Flash Platform and ActionScript?

I had more fun in old days than now, just enjoyed the company of everyone (designers, developers, trainers, etc). It was because of simplicity that brought all of us together. I agree a lot of bad implementations were result of ease of doing things in Flash, but hey – there were far more good stuff then than now. A lot of innovation, cool stuff and apps to showcase. How much do we have now?



Open Source Media Framework (OSMF)

July 22nd, 2009 View Comments

A few days back, Adobe announced Open Source Media Framework (OSMF), which was known as Strobe earlier.

A few minutes back, I received an email confirming that Open Source Media Framework website is up with all the information, specification, developer-documentation, source (Subversion repository), downloads (binary and source) and bug-database.

Open Source Media Framework (OSMF) has an interesting list of features and goals. I like it’s plug-in architecture, that would allow a lot of extensibility and various amazing plug-ins from different providers in coming time.

If you are a developer spending a lot of time developing various work-flows around online media-players (audio, video, images – players), I strongly recommend you to check out Open Source Media Framework (OSMF). I am sure, you would find it worth start using it and also contribute back whatever you can.

Following are the reasons, I am going to use OSMF and give up my existing frameworks:

  • It’s open-source
  • It would solve core issues (video playback, delivery and workarounds for various limitations in Flash Player, etc)
  • It would adopt various standards (playback, cdn, advertising, etc)
  • Larger developer base, that means bug fixes and various features would be available very often
  • I love open-source and see myself contributing to OSMF in future, beyond my current projects.


Job Opening: Flash Platform Developer

May 25th, 2009 View Comments

We are looking for some smart Flash Platform Developers who can be part of our team in Allies Interactive Services Pvt. Ltd., Kanpur, U.P.

We are a design and development company in Kanpur, though we are small but we are ambitious and have a great vision.

I posted the details on Flex-India sometimes back, pasting the same (edited the typos and formatted) over here:-

I have been meaning to post this for sometime but thought would it be appropriate to do that here?

I am part of a small design and development shop in Kanpur, U.P. Where, we mostly do web development using FOSS, mainly LAMP.

I moved to kanpur around 10 months back with a desire to build a great Flash Platform Team that would work on non-trivial type service projects and some great product ideas.

I could now start doing it, after we have managed to fix a lot of issues mostly a nice office, a good culture and some projects and a product in pipeline.

I need an experienced Flash Platform developer in my team, who can help us to make our vision, desire and dreams a reality.

Since Kanpur is not a metro or fancy place to live, it takes more than just technical aptitude to be here. That is some more strong reason f.ex. A desire to be part of a growing team, desire to be close to family, desire to contribute in the development of IT ecosystem in North and/or a desire to prove, hell yeah we can do great stuff from anywhere, even cities like Kanpur :-)

If you think, you want to help me by being part of my team and understand what I meant above, please don’t hesitate to contact me on [abdul dot qabiz at gmail dot com] off-list i.e. Direct email to me, please don’t reply here on this list.

As far as job description goes, I have already given an idea. However, we are looking for someone who understands web very well that is HTTP and other standards. Fundamentally good at problem solving, the real world ones, ActionScript, Flex Framework, Adobe Flash Player and AIR fundamentals and APIs.

Of course, good experience that says about in your behalf. We would also talk to you so things would get clear, i.e. If we are match for each other.

If you want to know more about company, please check out http://www.alliesinteractive.com



Adobe Flash Builder as name – What I think

May 17th, 2009 View Comments

I just caught this news “Adobe Flash Builder instead of Adobe Flex Builder as a name for Gumbo” over AXNA.
I felt like writing my views on this i.e. renaming Adobe Flex Builder to Adobe Flash Builder for future releases. I kind of like it for reasons explained later.

I loved the move when, recently, Flash Platform was redefined. It brought a lot of clarity and removed the confusion built since Adobe (Macromedia) Flex was introduced.

A lot of people were confused and didn’t really think that even though there were different development paradigm but all targeted to Flash Runtime(s). I have been using the term for sometime, even before Adobe redefined it to bring all these different technologies/tools, which targeted Flash Runtimes (Player, AIR, FlashLite), under it.

I think, sooner or later Flex SDK should be renamed so no such confusion develops further. Having consistency increases simplicity and clarity in understanding things, developing, learning, talking and building brand.

It would be nice to have one framework with many sub-frameworks targeting various different Flash Runtimes and development tools (Adobe Flash Authoring tool, Adobe Flash Builder, etc). We need consistency that leads to shorter learning curve and better development platform, eventually.

Technorati Tags: , , , ,



BugQuash

May 1st, 2009 View Comments

BugQuash is a great initiative to bring Flex community together to contribute in various ways (bug filing, fixing, patching, etc) to OpenSource Flex SDK.

I am sure, you must have heard about last BugQuash which was organized last month, by Flex community members: Nate Beck and Marty Mickelson.

Hundreds of community members participated including me.

I submitted some patches, which are not big ones, but I got a lot of appreciation from teams within Adobe and other people from community. It suggests that even small contributions matter, hence I should be contributing more often.

Dave Story (VP Developer Tools, Adobe Systems) sent some pictures from one of the all-hands meeting, where BugQuash was discussed, where entire team, along with Dave, thanked to each contributor for their contributions over phone.

Thanks to everyone who organized and participated. It helped me to get started contributing, which I always wanted to do. I am going to try to contribute as often as I can.

image001.jpg
image002.jpg
image003.jpg

Update:Next BugQuash is happening on May 17, 2009. Check out BugQuash for more details.
Update: BugQuash on May 17, 2009 was successful and your truely submitted two patches :-)

Technorati Tags: , ,

Categories: Actionscript, Adobe, Flex


Interviews on ActionScriptHero.org

January 27th, 2009 View Comments

Pablo “aSH” PARRADO of ActionScriptHero has been doing fantastic job of interviewing Flash Platform developers. It’s great to see and read those interviews.

I was fortunate to get a chance to express my views and I thank Pablo for that.

I must say, it’s really inspiring experience to read what all developers say.

Check out interviews at actionscripthero.org.

Technorati tags: , , , , ,



Adobe Flash Player 9.0.115.0 onwards allows setting Authorization HTTP header

January 6th, 2009 View Comments

There were some issues with some earlier version of players, where it was not possible to set Authorization http-header for HTTP/GET requests. I tried to hack a way to do it using Socket or custom http-client in actionscript.

I just happened to read one of the technotes at Adobe’s site, which says Authorization header is allowed for Flash Player 9.0.115.0 onwards. If you are trying to send request to another domain (different from the one hosting the SWF), a crossdomain-policy file is required.

Categories: Actionscript


Available for consultancy, training and development

July 29th, 2008 View Comments

I am available for consultancy, training and development services. Following is the rough list of things, I can provide consultancy, training or development services for:-

  • ActionScript 1.0, 2.0, 3.0
  • Adobe Flash/Flex
  • Adobe Integrated Runtime (AIR)
  • Training on Adobe RIA technologies
  • Architecture for RIA
  • Web Application Development
  • Design and Architecture
  • Development for LAMP
  • Integration Services for Flex/AIR with existing Web Apps
  • Development Setup for small teams
    • Subversion Version Control
    • Bug Tracking System (Trac, Wiki)
    • Training on Development Life Cycle
    • Backup Strategies
    • Development Sandbox Setup for RIA development

    JFYI! You can check out my linkedin profile to know more about me. I am based in India and have around ten (10) years of experience, during this period I have worked for Macromedia/Adobe, Yahoo!, Mixercast and TIS and worked as independent-consultant, freelancer, trainer and co-founder. I have been working on various technologies/platforms (some listed above).

    I am a programmer who enjoys solving users’ problems whatever it takes (technology is no constrain). Having said that, I am passionate about ActionScript/Flash/Flex/AIR and Web (in general) which happen to be my core competencies.

    PS: Do you think, this is a shameless sales pitch :-)

    Technorati tags: , , , , , , , , , ,,



    as3httpclientlib – a better http-client in ActionScript by Gabe

    January 21st, 2008 View Comments

    Gabriel Handford left a comment with as3httpclientlib link, this is a very well written http-client, with TLS support, in ActionScript 3.0.

    Let me clear some points here, as3httpclientlib is not as3httpclient. The as3httpclient, let’s call it my-project in rest of the post, was a better version of HTTPURLLoader. HTTPURLLoader was a proof-of-concept work to deal with various limitations in Flash Player APIs.

    my-project doesn’t have cleaner api and it also lacks various thing, honestly speaking, I could never spend enough time to make it better. Thanks to Erik (aka eecolor) for refactoring HTTPURLLoader and adding more features.

    I was planning to add TLS support, after I heard about Metal Hurlant’s work on TLS. Now, I am not planning to do any further work on my-project (as3httpclient) except cleaning the code a bit for those who are already using it.

    I find, as3httpclientlib (Gabe’s project) is much better and very complete. I spent sometime looking at the code base, it’s api reminds me of jakarta-commons-httpclient, which I always liked for it’s simplicity. With as3httpclientlib, you can do pretty much everything (DELETE, GET, HEAD, POST, PUT – http-methods, multipart uploads etc) you were able to do with my-project (as3httpclient).

    If you have been using my-project (as3httpclient), I suggest you to look at as3httpclientlib.

    As we know, Flash Player Socket API has some security-restrictions, so any socket based http-client would work for AIR projects but not for Flex projects, unless you can afford special-setup on your server to serve special policy-file required for socket-connection to any port below 1024. Gabe has developed as3httpclientlib library for AIR based projects, however, I am sure it can be used in Flex projects as long as server is setup (as mentioned above in this paragraph).

    Check out various examples/tests in as3httpclientlib project, you would find things like amazon-s3-tests, upload-tests etc

    Thanks for reading a post full of similar names – as3httpclient and as3httpclientlib :-)

    Technorati tags: , , , , , ,

    Categories: Actionscript


    Adobe Flash Player’s Security-Sandbox is very restrictive

    August 27th, 2007 View Comments

    Adobe Flash Player Security-Sandbox is very good and we have not heard any major security vulnerabilities so far. However, I think, it can be made more intelligent, I have some use-cases where I can’t do anything.

    XMLSocket API is cool, since it’s inception, developers could create cool applications (multi-player games, chat-apps, presence-apps etc). XMLSocket servers (unity, swocket etc) is needed to comply with a specification in order to work with Flash Player (as a client). Since developers are using/creating custom-servers, they could control various things on server-side, f.ex: configuring right security-permissions, serving right policy-file (crossdomain.xml) etc.

    With Binary Socket API, in Adobe Flash runtimes, things have changed a lot. Applications (for Adobe Flash runtimes) can now connect to servers using standard protocols (POP3, SMTP, Databases, HTTP etc). Totally cool feature which allows creation of kick-ass applications (Yahoo! Web Messenger, mySql driver etc). But Adobe Flash Player’s security-sandbox is limiting Binary Socket’s capabilities.

    I have been working on a library (as3httpclient) to do more things (http-status-messages, http-authentication over GET request, support for more http-methods etc) which are not supported by URLLoader API. This library (as3httpclient) doesn’t work in deployed web-application because Adobe Flash Player’s Security-Sandbox restricts it to.

    I have following questions/concerns:-

    • When URLLoader (or other such native APIs) can connect on any port, why can’t custom APIs (as3httpclient and others) connect?
    • Why can’t Flash Player be little more intelligent to check, if connection is made to a HTTP server? Rules could be:- If connection is requested to same domain and destination-port is assigned to HTTP server, let communication happen. If destination server:port is in different domain, check for valid crossdomain.xml and allow the connection?
    • Why doesn’t Flash Player consider to-ports attributes, if policy-file is served over HTTP?

    With standards, we expect flexibility. We can’t expect a HTTP server to push policy-file to Flash clients? That’s not standard.

    Technorati tags: , , , ,



    Loading JavaScript file(s) using HTTPService/URLLoader

    June 20th, 2006 View Comments

    In my last post, I talked about JavaScript Flex 2 component that can inject Javascript code in HTML wrapper’s context. I experimented to see, if we can load Javascript files (.js) using HTTPService (or flash.net.URLLoader) in Flex2/AS3 projects and inject it.

    Example Flex 2.0 code:

    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    xmlns="com.abdulqabiz.utils.*"  width="100%" height="100%" creationComplete="onAppInit ()">
    <mx:Script>
    <![CDATA[
    import flash.external.ExternalInterface;
    import mx.events.*;
    import mx.rpc.events.*;
    import mx.rpc.http.HTTPService;
    import com.abdulqabiz.utils.JavaScript;
    private var javascript:JavaScript;
    private var service:HTTPService;
    private function onAppInit ():void
    {
    service = new HTTPService ();
    service.url = "test.js";
    service.useProxy = false;
    service.resultFormat = "text";
    service.addEventListener ("result", injectJavaScript);
    service.send ();
    }
    private function injectJavaScript (event:ResultEvent):void
    {
    javascript = new JavaScript ();
    javascript.source = String(event.result);
    trace ("javascript injected: " + event.result);
    }
    private function invokeSayHelloWorld ():void
    {
    ExternalInterface.call ("sayHelloWorld");
    }
    private function invokeSaySomething (str:String):void
    {
    ExternalInterface.call ("saySomething", str);
    }
    ]]>
    </mx:Script>
    <mx:Button label="invoke javascript saySomething () function" click="invokeSaySomething ('Hey, how are you?')"/>
    <mx:Button label="invoke javascript sayHelloWorld () function" click="invokeSayHelloWorld ()"/>
    </mx:Application>
    

    Test.js used in example:

    //test.js
    var myName = "Abdul Qabiz";
    function saySomething (str)
    {
    alert (str);
    }
    function sayHelloWorld ()
    {
    alert ("Hello World!");
    }
    

    You would need JavaScript.as (with proper package directory structure) and test.js (code posted above) in place to make above example to work.
    I am thinking to load FABridge using this approach. I know, it’s practically of no use except keeping code and logic at one place.



    JavaScript injection through ActionScript

    June 16th, 2006 View Comments

    In last post, I showed, how can we inject JavaScript using ActionScript or MXML into host HTML container/page.

    One more use-cases, I can think of:

    • Request server-side script to send a JavaScript (for specific browser) as string.  Using JavaScript class, I can inject the javascript in HTML