Create Windows/Macintosh Projector from Flash Builder 4 - actionscript-3

Am I able to publish a Windows/Macintosh projector from Flash Builder 4? I would like a solution that stays within the IDE, rather than having to open FlashPlayer.exe and export the EXE/App.

You can display your swf in the standalone flash player, and then create the projector from there (file -> create projector).
http://download.macromedia.com/pub/flashplayer/updaters/10/flashplayer_10_sa.exe

Closing this question...doesn't seem possible. I'm sticking with Flash CS5 to publish projectors.

I've had to do this with FB As3 projects. You have to convert your project type to Flash Professional Project: right-click project in the Package Explorer / Add/Change Project Type / Add Flash Professional Project Type. You'll have to create a fla to use as the source. Set the fla Class in the Properties panel to the main class of your project, and add all your resource libs & SWCs to Flash Professional Project: File/ActionScript Settings/Library path tab. This is important or you'll get compile errors. Seems like FB should do this for you, but it doesn't. Now in Flash professional: Commands/Export as Projector.
Many Years too late, but for future reference.

Related

How to convert an ActionScript 2 SWF file to an ActionScript 3 SWF file

I created a ُSWF file with the Swish max 4. Then I loaded it in Captivate Software. But I got a message saying that "The Adobe Flash file "Test.swf" contains ActionScript 2 while the current project setting is ActionScript 3. This might cause the Adobe Captivate project to work incorrectly or stop working". After that animations are not fully loaded. How should I fix it?
Action-script 2 and Action-script 3 are written differently, there isn't a converter as far as I know. You would have to rewrite the code. Or you can change the project settings to Action-script 2 if you do not need Action-script 3 capabilities.
All I know is that by now, flash is dead. There is still ruffle though. And to work properly, ruffle at the moment currently can only support ActionScript 3.

how do I use ActionScript 3 / Flash components?

I want to use the ScrollPane component. One tutorial said I go to
Window -> Components
and click ScrollPane, but there is no components when I go to
Window -> Components
. I found this:
http://help.adobe.com/en_US/as3/components/WS5b3ccc516d4fbf351e63e3d118a9c65b32-7fa2.html
If you scroll down in the link above, it mentions that I can import it using ActionScript like so:
import fl.containers.ScrollPane;
but it gives me an error saying
Scene=Szene 1, layer=actions, frame=1, Line 1 Syntax error.
I found this later on:
http://forums.adobe.com/thread/617557
and apparently the solution is to "add a ScrollPane to your fla's library"? How do I do this? One of the users on that forum also mentioned
"any AS3 package that begins with fl requires a component either on stage or in the library of that FLA file". How do I put a component of the ScrollPane in the library? Isn't the ScrollPane what I am trying to import?
Note: I am using Flash CS5 and ActionScript 3.
Found the answer. I was working in Adobe Flash CS5 and I needed to change the Flash player version to Flash Player 10 and verify that ActionScript 3 was being used.

FLVPlayback without Flash CS

I'm implementing Google video Ads in flash game, using FlashDevelop. Google has a sample where they're using FLVPlayback component to display video... problem is, I don't have this class anywhere.
I've searched how to add it, but all solutions say "link to C:\Adobe\Flash CS\Components\etc" path, which obiouvsly without Flash CS I don't have... and don't want to install it just for this :)
I wonder if there is a way to get the FLVPlayback without installing Flash CS?
You can try import external adobe components swc through Flashdevelop interface.
Maybe this can help you: link
I quit and just installed the Flash Professional CC, and there linked to the component path, but it didn't work for some reason. Then I included the FLVPlayback.swf component inside my AS3 app, which compiled etc. but as I learned FLVPlayback wasn't really what I needed.
After some fumbling I made it work with Flex Spark component - VideoPlayer, used inside AS3. You can find some code on the devlist: https://developers.google.com/interactive-media-ads/community?place=msg%2Fima-sdk%2Fc3KH11vxSd0%2FeLuYneYpch4J

Difference between fla , swf and as files

I am new in Flex 4 and ActionScript 3 So while reading, I found these file extensions many times. As I know that Application developers use MXML in combination with ActionScript to develop rich Internet applications, with products such as Adobe Flex. But I am unable to understand that what are these files and actionscript file is .as file.But when somewhere I found these extensions swf and fla then it make me confuse.Are .as , .fla , .swf are same files? if no , then what are the difference among these?As I mentioned that I am very much new to Flex and ActionScript then I hope experts will tolerate if this quesion is bogus or not good
It's easy: .as is a textual file , contains ActionScript 3 code , you can write it even in NotePad. .fla is format of Adobe Flash IDE , it contains graphics and animations and some code too. You can compile both .as and .fla into .swf file - Adobe Flash Player can open and play/show it. Every browser has Flash Player plugin inside it , so you can see all the flash games and banners . Clear?

Actionscript mobile library project

I'm developing an ActionScript 3.0 project for Blackberry Playbook, Android and iOS.
I have some custom UI classes, like buttons, that I want to use it in another projects.
How can I make an actionscript mobile library project?
I'm using Flash Builder 4.5, and I'm not using Flex in my code.
Using Flash Builder 4.5:
choose File > Project > New
choose "library project"
check the "include AIR features" box.
This will compile a .swc, a binary file you can distribute easily.
Including AIR in this .swc ensures that all the mobile-oriented features will be compiled as well, i.e. TouchEvent.
Flex classes, that you're not using, won't be included.
You can create ActionScript project, then add it to your mobile project's references (as a source.) Or create Flex library and link it with mobile project.