Wednesday, November 30, 2005

Duplicating nested symbols

I'm in the process of writing a JSFL command to duplicate a symbol including the nested symbols in it. As far as I've seen many flash designers (and in fact developers too) find this a issue troubling them, when they duplicate a main symbol-forget to duplicate the internal nested symbols and go on and do changes in the internal symbols, only to find out the damage at a later stage.

Hope I would find some takers for this command. I'm already done with a basic construct. Will post it when its complete.

Thursday, November 24, 2005

Editing Flash MX files that use Flash remoting MX, in flash 8

Flash Remoting MX was introduced during the Flash MX days (targeting FP 6). Later when Flash MX 2004 was launched, Macromedia came up with a upgraded version of Flash Remoting as well (Flash Remoting for AS 2.0). This version had the remoting classes ported to AS 2.0, and the installer installed the AS classes, Remoting component, and remoting related panels in the appropriate locations according to AS 2.0.

Now with Flash 8, Macromedia has released a new installer for using Flash Remoting with Flash 8. This installer will install the Flash remoting components, AS classes and panels in the appropriate locations with respect to Flash 8 installation. This installer will cater editing the .fla files created using Flash MX 2004 as well. But with .fla files created with Flash MX, we don’t have this luxury. If you open a Fla file that has AS 1.0 code written to use Flash remoting MX, Flash 8 will not be able to compile these .fla files. Because, Flash 8 will not be able to resolve the location of the AS files that are included in the code. (The usual missing files are “DataGlue.as”, “NetDebug.as” and “NetServices.as”).

Here is what you can do to make these files work:

If you have Flash MX 2004 installed in your machine, and you had Flash remoting MX installed over it, you will be able to reach the Program Files\Macromedia\Flash MX 2004\en\Configuration\Include folder. This folder is where the remoting installer installs all the AS files that are included to implement remoting. The following files should be available in this folder:

  • DataGlue.as
  • NetDebug.as
  • NetDebugConfig.as
  • NetDebugEvents.as
  • NetDebugHelpers.as
  • NetDebugImpl.as
  • NetDebugLocalConnection.as
  • NetDebugNetConnection.as
  • NetServices.as
  • RecordSet.as
  • RsDataProviderClass.as

Copy all the AS files form this location, to the same folder as your .fla file which uses Flash remoting MX. Compile the .fla file, and it should work now!

And if you want the remoting related panels (netconnection debugger and the Service Browser) as well, copy the NetConnection Debugger.swf and Service Browser.swf from Program Files\Macromedia\Flash MX 2004\en\First Run\WindowSWF folder and add them to Program Files\Macromedia\Flash 8\en\First Run\WindowSWF folder.

Monday, November 21, 2005

CFS - Chronic Fatigue Syndrome

Guess, something like that has crept in!

Is there any other syndrome which talks is about laziness? What ever it is, its all over me!!

Friday, November 04, 2005

Yahoo maps 4.0 using Macromedia Flex!

Yesterday, Macromedia received one of the strongest endorsements of the Flash Platform. Yahoo! launched a brand new version of Yahoo! Maps, built using Macromedia Flex, on the flash platform.
Check it out here

Wednesday, October 19, 2005

Flash lite 2.0 preview

I personally have had a few of people asking me - "when is Flash lite 2.0 gonna be out?" Well, Am not gonna answer that here, but it has been previewed in the MAX 2005. Here is an article Jonathan Duran has written about the new features in Flash lite 2.0.

Just jotting down the titles from his article:

Flash 7 Code Base and ActionScript 2.0 Support

Video Playback

Parsing External XML

Local Persistent Data

External Images and Sound

Exciting?

Monday, October 17, 2005

Macromedia Labs

A new site from Macromedia in Kevin Lynch's words - to "provide early look at emerging technologies" -
You can get a alpha download of Flex 2, read about AS3, and lot more.

Check it out : http://labs.macromedia.com

Thursday, October 13, 2005

After iteration::two, its mobile innovations now

As its next step to establish itself in the consulting market of Europe, Macromedia has acquired mobile Innovations a "leader user interface designer, product integrator and software developer for smartphones and communicators." This acquisition comes within 15 days from macromedia's previous acquisition of iteration::two, a leading software consultancy in Europe.

This is what is said in the press release:

"Macromedia, Inc. (Nasdaq: MACR) has acquired Mobile Innovations, a leading user interface (UI) designer, developer, and integrator for mobile devices. This acquisition will create a mobile consulting practice for Macromedia that will form part of the Macromedia Consulting team in EMEA. Matt Millar, Mobile Innovations co-founder and CTO, will lead Macromedia's Mobile and Devices practice in EMEA.

With extensive relationships throughout the mobile industry and an impressive track record of innovation, Mobile Innovations has a deep expertise in the world of mobile UI design and implementation. By acquiring Mobile Innovations, Macromedia will further its ability to innovate in the mobile domain, providing customers and partners with customizable world-class solutions for delivery of mobile applications and content built on the Flash Platform."


video iPod, is out, for real!



There have been rumours that Apple is working on a new version of iPod which would play video files. Its true now. The new video enabled iPods are available in apple stores now.

Tuesday, September 13, 2005

Applying Erase blend mode in Flash Professional 8

One of the most compelling designer oriented features in Flash Professional 8 is the ability to add graphic filters (drop shadow, glow, bevel, etc...), and blend modes (Darken, Multiply, Overlay, Invert, erase, etc.). These features lift the graphics capabilities of Flash to a new level. With previous versions of Flash, designers had to depend on graphics editing software like Photoshop or Fireworks to apply these effects to bitmaps, and then used to import them into Flash. This work flow had a major impact on the file size of the resulting swf.

Enter Flash Professional 8 – The filter and blend mode graphic effects are rendered at the client end, by the new Flash Player 8! And the result, the generated SWF just has instructions to tell the player to apply filters and blend modes, and they are rendered on the particular graphic, at runtime – freeing the SWF of the additional file size – and what’s more? These effects can be changed dynamically, using actionscript code!

What do they mean by blend modes?

“You can achieve a variety of compositing effects by using blend modes to change the way the image of one object on the Stage is combined with the images of any objects beneath it.
Read more about blend modes on Macromedia LiveDocs here
<http://livedocs.macromedia.com/flash/8/main/00000605.html>

There are various blend modes available with Flash Professional 8 (for more details click here). Adding blend modes is a simple task with Flash Professional 8. Just select the symbol (movieclip / button) on top, and select the appropriate blend mode, in the blend modes dropdown list. You'll be done – Erase blend mode is an exception. And this post is just about that.

Erase blend mode is used to erase (reduce alpha to 0) the portion of the background graphic, based on the shape and position of the symbol above it. To do this, the normal tendency is to create a symbol above the background graphic, and select the erase blend mode. As a user you may expect this to work. But you would see that the symbol to which the blend mode was applied disappears, rather than erasing the background graphic. To make this work, do the following:

  1. Select erase blend mode to the symbol on top of the background graphic.
  2. Select the symbol and the background graphics, and combine them into a movieclip.
  3. On this parent movieclip, apply “Layer” blend mode.

Done!!

9 / 14/ 2005 - I just checked Tinic Uro's blog, and he has given a great explanation about blend modes in Flash.(If you didnt know, he is the developer who implemented blend modes in Flash Player). You can read his post here.

Macromedia Studio 8 is available in Macromedia online stores now!!!

Flash Professional 8, and of course, the entire studio 8 suite (Flash Professional 8, Dreamweaver 8, Fireworks 8, Contribute 3, and Flash Paper 2) was released to the world of developer and designers last night.

You can download a 30 day trial version of Flash, by clicking here.
If you want to go ahead and buy a copy this is where you need to go.

the whole of Flash team is pretty excited, about what users are going to be building with the new capablities of Flash 8, and the Flash player 8!

Cheers everybody!