Showing posts with label Flash. Show all posts
Showing posts with label Flash. Show all posts

Tuesday, May 03, 2011

Convert Flash(R) to Silverlight(R)

silverx_overview.png

SilverX products are aimed to help to migrate existing Flash movies into Silverlight platform. Using SilverX and SilverX Expression you can easily
Convert your SWF file to ready-to-run Silverlight application (or Silverlight XAP file)
Convert or import your Flash file into Silverlight, Windows Presentation Foundation (WPF) or Silverlight for Windows phone project
Extract vector graphics and animations in XAML format
Extract raster images in PNG or JPEG format
Extract sounds in MP3 or WMA format
The results of Flash to Silverlight conversion then can be used in Microsoft Expression Blend,
Microsoft Visual Studio or any other Silverlight/WPF authoring environment.

Read more: SilverX

Friday, April 08, 2011

Convert Images to SWF Format Using C#

Introduction:
In this article we will see how to convert our JPEG images to .swf format. For this we are using a third party's DLL which will convert our images to a .swf movie. For viewing the movies you can download the swf player.

Background:
Actually the DLL to convert images to swf I found using a Google search. In this article I'm using DLL files as given below to do our work.
log4net
SwfDotNet
SharpZipLib

Follow the steps given below to do our work.

Step 1:
Create a Windows Form application in C#. Add the reference to the DLLs that I have put in the bin folder of the attached source as well a "using" for this namespace in our using statements like:
using log4net;
using SwfDotNet.IO;
using SwfDotNet.IO.Tags;
using SwfDotNet.IO.Tags.Types;

Step 2:
Design the normal form for taking input filename and output path for our work with OpenFile Dialog and SaveFile Dialog.

Step 3:
In the click of the create button write the following code to convert the input file to .swf format and store it to the specified location.
try
            {
                if (File.Exists(inputfilename) == false)
                {
                    MessageBox.Show("Can not open Image file" + inputfilename);
                    return;
                }
                //First load the picture as System.Drawing.Image
                Image img = Image.FromFile(inputfilename);
                int posX = 0;
                int posY = 0;
                int imgWidth = img.Width;
                int imgHeight = img.Height;
                //Create a new Swf instance
                Swf swf = new Swf();
                //Set size in inch unit (1 pixel = 20 inches)
                swf.Size = new Rect(0, 0, (posX + imgWidth) * 20, (posY + imgHeight) * 20);
                swf.Version = 7;    //Version 7 (for compression, must be > 5)
                swf.Header.Signature = "CWS";   //Set the signature to compress the swf
                //Set the background color tag as white
                swf.Tags.Add(new SetBackgroundColorTag(255, 255, 255));
                //Set the jpeg tag
                ushort jpegId = swf.GetNewDefineId();
                //Load the jped directly from an image
                //In fact, this line will load the jpeg data in the file as 
                //a library element only  
                swf.Tags.Add(DefineBitsJpeg2Tag.FromImage(jpegId, img));

Read more: C# Corner

Tuesday, March 08, 2011

Adobe Releases Flash-to-HTML5 Converter, Codenamed Wallaby

Monday night, Adobe released a new, experimental Flash-to-HTML5 conversion tool codenamed Wallaby.

Wallaby is an AIR app that lets devs and designers quickly and simply convert Flash Professional files to HTML5 — and when we say “simply and easily,” we mean it’s a matter of dragging and dropping. The company is specifically hoping this tool will make it easier for designers and developers to get their content onto iOS devices like the iPhone and iPad.

We saw a demo of Wallaby last fall; while some of the company’s CS5 software offered HTML5 plugins already, we said Wallaby was different because it supported elements and resources within animations, not just the animations themselves.

Wallaby is being released on Adobe Labs; Adobe is asking devs and designers to take it for a test drive, see how the HTML5 code looks, and give feedback accordingly.

Adobe has had an interesting time trying to articulate its position on Flash and HTML5 over the past year or so. To put it briefly, the company feels there’s still room in the current technological and creative spaces for Flash, but it doesn’t think that either Flash or HTML5 has to exist to the exclusion of the other. Therefore, as a company that, to a large extent, exists to serve the creative and development communities, it wants to create great tools for both the HTML5 and the Flash camps.

Read more: Mashable

Saturday, February 26, 2011

Escape the iOS SDK: Building iPhone (and Android) apps via Flash

Once upon a time, the path to the Apple App Store was very simple for Adobe Flash developers: Put aside your childish ways and devote yourself to the pure complexity of Objective-C. Your fancy tools and rendering libraries are nice for beginners, but only those who master pointers and malloc were welcome to feast at the table of iOS. Everyone else had the door slammed on their fingers.

The reason was simple: Apple refused to accept code with libraries or interpreters and, like schoolmarms everywhere, insisted that everyone write their own code. Perhaps Apple was afraid of viruses, downloaded code, or competition from cross-platform tools.

[ Peter Wayner explains how to escape the App Store by writing HTML-based mobile apps. | Stay up to speed on programming issues and trends with InfoWorld's Developer World newsletter. ]
That was then. Now Apple has relented a bit and is no longer completely shutting out runtime platforms like Adobe's Flash for the development of iOS apps tailored to the iPhone and iPad. This is good news for the people who've mastered a set of tools that continues to produce some of the best-looking content on the Web.
"Basically Adobe vector and raster rendering are years in the making and they've perfected this technology," says Paulius Uza, CEO of InRuntime, creator of the game Alchemist. His company often prototypes ideas with other technologies such as OpenGL, but he maintains that "the Flash version always looks prettier."
Now Flash developers like Uza have several paths to the iPhone and iPad from Adobe, as well as a sharp competitor built by people who used to work for Adobe. All of them open up opportunities for those who are accustomed to working in the Flash ecosystem to use their talent and old code to create new apps.

Read more: InfoWorld

Wednesday, January 12, 2011

Kinect socket server hack brings gesture recognition to Flash, Silverlight, and more

Thanks to the clever work of Blitz, a marketing agency, you will soon be able to easily interface any program to Microsoft Kinect. Rather than having to hack at the low-level C++ OpenKinect driver, Blitz's solution is to create a socket server, which other programs -- including Flash and Silverlight websites -- can then interrogate.

The installation process is a bit finickity -- it's a very quick and dirty hack -- but the potential applications are immense. Take a look at the demo video from Blitz (after the break), and then imagine playing all of our Time Wasters with just a few hand gestures...

Read more: DownloadSquad

Monday, November 01, 2010

Adobe demo new tool which can convert Flash into HTML5

Adobe’s John Nack showed off a new tool at Adobe’s MAX 2010 conference this week which allows developers to convert Flash projects into a combination of HTML5 and non-Flash based code. There has been no official word if the tool will become part of the next Adobe publishing suite or toolset, but is this the end of Flash? It does appear that Adobe are turning to non-Flash based code for devices that cannot support Flash (such as Apple iPhone, iPad and iPod touch).
Read more: Carl Casbolt

Wednesday, October 13, 2010

Powerpoint to Flash SDK 4.0 released

Convert Microsoft PowerPoint® XP/2003/2007 to Adobe Flash®
• Convert PPT files to single SWF files for each slide
• Convert a PPT file in a single selfruning Flash presentation without need a player
• Converts slides from-to single slides specified by slide Numbers
• Converts single slides specified by slide Numbers
• Convert different sizes (not longer only the default PowerPoint® size)
• Adobe Flash® / Action Script 3.0 support (experimental)
• Navigation Panel with extended position functions
• TTC (True Type Collection) Fonts supported
• 44 new motion effects supported
• 12 additional effects supported
• PowerPoint® Slide Transitions support
• Animated GIF support with Adobe Flash® Video (FLV) generation
• Expanded Hyperlink support (Text, Shapes, Images etc.)
• Video support (AVI, MPEG, MOV, M2V, WMV) with Adobe Flash® Video (FLV) generation
• Audio support (WAV, MP3 - linked and embeded, recorded Audio in PPT)
• Selectable Adobe Flash® Video target to save it on different space and custom Video   Converting arguments
• Improved Image quality is improved
• Resize output per width/ height and scale factor
• Html tag appearance support
• Save Text optional from each Slide to XML
• LoopAutoSlideChange property (Now AutoSlideChange, LoopAutoSlideChange and   WaitBeforeSlideChange properties give you full control of playing flash if you dont set it in   Microsoft PowerPoint® (In this case, Loop and AdvanceTime should be used)
• Converting different possible Image export formats (PNG, BMP, JPG, GIF)
• Convert Images RelativeToSlide, ClipRelativeToSlide, ScaleToFit, ScaleXY
• Flash API for controlling of the converted presentation with JavaScript
• Navigation support for single SWF output (embedded into swf – prev/next slide/stop/play   buttons) with resume playback support
• Thumbnail Generation of Slides (GIF, JPG, BMP) with size support
• Command line edition without additional fee
• Cross-Platform and Browser Playback
• Slide Thumbnails
• FULL FTP solution included - Easy uploading converted presentations to server
• Keep Animated and Static Effects of Slides
• Presenter Notes
• Customize presentation player view (source code included)
• All informations in XML
• Support for multiple languages
• Optimization for Hebrew, Japanese, East Asian and Arabian languages
• Small and lightweight (output files are smaller and lighter in size)
• Error handling (custom exceptions provides detailed info about problems
 during conversion)
• Events are available for notification of conversion engine state change and
 conversion errors
• Conversion can be aborted at any time
• Gradient colors support
• Paragraph bullets
• Slide background
• Paragraph alignment: left, center, right, justify
• Underling, italic, bold fonts
• Fully commented sample applications for various programming languages
• Sample source code for VB.NET, C#, ASP.NET, .NET Webservice, ASP, PHP, JavaScript,   C++, VB 6.0 and Delphi 7.0
• .NET framework as well as COM support
Read more: Ppt 2 Flash SDK

Tuesday, September 21, 2010

64bit version of Adobe Flash for Linux available

In a recent announcement on the Flash Player Team Blog, Paul Betlem announced that Adobe has re-released a 64bit version of their popular flash player. Adobe pulled the plug on 64bit support for Linux in June of this year out of the blue and enraged a huge number of Linux users for their rash decision making. Needless to say, it’s good to see they have rethought this action and refreshed the 64bit version of their popular player.
We strongly recommend all Linux users who are running a 32bit version of the flash player make the switch today by installing 64bit flash player for Linux.
Read more: Linux Critic

Thursday, August 12, 2010

Flash / Frash Ported to iPhone 4 !! [Video]

The title says it all! Yes, you can now get very alpha version of Flash (aka Frash) running right on your iPhone 4. Previously, we showed you how to install Flash (Frash) on iPad. And now folks at Grant Pannell site has managed to compile an iPhone 4 version of Flash. The credit for this of course goes to Comex, the guy behind Spirit and JailbreakMe tools for iOS devices. Without his hard work, this surely wouldn’t have been possible.
Read more: Redmond Pie