1

I have got an assignment in which I have to implement a AS3 wrapper for any FLV player and I have to expose actionscript functions (External Interfaces?) so that other can be used in other different applications via CallFunction API. I have few questions regarding this -

  1. Are the tools for this are freely available? I know Flex SDK is but I want standalone swf (I means Flash Player 10) that can be used anywhere without any dependency and should contain FLV player embedded or should be able to load it from a particular location by supplying the URL.

  2. Is it possible only with an ActionScript compiler (or any free tools?). My problem is that I don't have flash or flex builder and I don't want to spend money on these because I don't work on it.

  3. As I have almost zero knowledge about it. Can you guys please explain me (if possible with details) that what I need to do. Any resoures on how to create and compile?

  4. If any of you have ever done this it would be really great if you guys can share samples. I've heard that many people have done the same thing for video players.

Moshe
  • 57,511
  • 78
  • 272
  • 425
Humble Learner
  • 791
  • 12
  • 26

4 Answers4

1

I can share a bit of my setup

I use Flash (CS5) for creating assets

I use FlexSDK as the compiler

And do all the code in FlashDevelop

Flashdevelop is for PC only for now, it's free and comes since the last few versions now with a debugger

Daniel
  • 34,125
  • 17
  • 102
  • 150
  • Thanks a lot guys. It seems interesting. Can you please share info that how can I set it up? @Alex, Daniel - It would be really great if you can provide me quick tutorial about compiling AS files using Flex SDK? I have heard that they are not standalone and they need flex runtime. Is it true? I am looking for generating a simple swf that can be embedded anywhere. BTW, I have found a link similar to problem: http://active.tutsplus.com/articles/news/using-the-youtube-player-api-with-actionscript-30/ I think I should give it a try using Flex SDK if it can create Flash player based SWF. (?) – Humble Learner Nov 21 '10 at 02:42
0

I use FlexSDK to compile and Eclipse with AS IDE or something along those lines, and then preview things in a web browser using an html page with the swf file embedded.

Alex Hart
  • 1,663
  • 12
  • 15
  • Thanks. Can you please help me by sharing the details about cost and how to set it up? – Humble Learner Nov 21 '10 at 02:33
  • 1
    Cost: None; IDE: Eclipse 3.6 from eclipse.org; AS3 plugin found here: http://sourceforge.net/projects/as3ide/ FlexSDK found online (on Adobe's site, do a google search) This lets me continue to do 99% of the coding I do in Eclipse (I do single source stuff in Vim and Bada OS development in Bada IDE (which is based off Eclipse)) – Alex Hart Nov 22 '10 at 05:17
0

check out projectsprouts. its a pretty nice Flash (as2/3/Flex/AIR) generation tool that can help you stub out your project, compile it, and even create unit tests if you want. pretty simple ruby install (i am a ruby newb, and got is running pretty easily). It was a pretty good support base, and an active mailing list where people will be happy to help you along.

gthmb
  • 808
  • 5
  • 10
0

It is important to note that the FlexSDK has very little to do with Flex unless you are linking against classes that are Flex specific. mxmlc does not have anything to do with MXML even though it will also compile MXML.

Here is an article that describes Flash development on Linux. It is pretty old, but the principles are the same. With an Actionscript 3 Compiler (contained in the FlexSDK) and a text editor, you are off to the races. It is a lot easier with Flash Builder 4, FDT 4, Intellij IDEA, Flash Develop, etc ;)

Joel Hooks
  • 6,465
  • 4
  • 33
  • 39