News, resources, info and links on Macromedia MX, with a focus on Macromedia Flash MX
  from the Macromedia Flash Community Manager.


Monday, April 29, 2002

Database data into Flash MX via Flash Remoting and ColdFusion MX

Ton of content today. I have put together a quick example showing how to use Flash Remoting and ColdFusion MX to load data from a database into Flash MX.

You can view it here.

Btw, I will be posting a ServerSide ActionScript example sometime tomorrow.

11:19:30 PM    comment []  Google It!  

Web Services, Optional Parameters and Flash MX and ColdFusion MX

If you are playing around with calling web services from Flash Remoting or ColdFusion MX, you have to pass all parameters to the web service even if they are not required.

From what i understand, this is an issue with the Axis code that CFMX uses for communicating with web services.

10:33:16 PM    comment []  Google It!  

Extending Dreamweaver MX with Flash MX

Neil Clark has created a Dreamweaver MX extension that utilized XML and Flash MX to add functionality to Dreamweaver MX.

It was designed from the outset to not only fit into the style of Dreamweaver MX, but to allow a once-only download of the Panel which could be extented by the end-user by creating a new dictionary definition of anything they choose in the Panel's declared XML format, which in turn will show up automatically in the Panel.

[macromedia.com]

4:16:14 PM    comment []  Google It!  

Macromedia Does Weblogs

 One word of feedback: Bravo!

[davenet.userland.com]

2:40:40 PM    comment []  Google It!  

Jeremy Allaire on Macromedia MX and Flash Remoting

On Flash and HTML:

We are absolutely focussed on establishing Flash as the premier rich client. We think that people building applications will find it very compelling. Its architecture is now better suited to interactive applications and we're making it much easier than it has been in the past to build these.

However, there will be many applications where Flash is not the client. Obviously basic static content HTML is fantastic, dynamic documents are fantastic. We happened to supply the leading HTML authoring tool in the industry, so we have quite a franchise and commitment there. We expect to see a spectrum of things that people are building. We have a little chart that we've built that reflects this.

[ITWriting.com]

2:26:41 PM    comment []  Google It!  

ServerSide ActionScript

I have gotten a couple of questions about support for Server Side ActionScript in ColdFusion MX.

  • Server Side ActionScript allows you to write server side code in ActionScript / ECMA script (it uses the Rhino parser).
  • You can only call this code from Flash MX via Flash remoting (you can't use it like ASP or CFML).
  • There are some built in objects specific to ColdFusion available in the CF object.

I have posted an addendum to my:

Getting Started with ColdFusion MX and Flash Remoting article

that uses ServerSide ActionScript instead of a ColdFusion component.

You can view it here.

1:26:53 PM    comment []  Google It!  

Macromedia MX News coverage

Matt Brown has a list of Macromedia MX news coverage thus far today. Mostly positive, with some interesting comments / predictions.

12:20:11 PM    comment []  Google It!  

What is Macromedia Flash Remoting?

Find out here.


10:23:18 AM    comment []  Google It!  

Catching server timeout errors when using Flash Remoting

When calling remote services / methods via Flash Remoting, any errors that occur will trigger the onStatus method to be called:

onStatus = function(error)
{
     trace("Error : " + error.description);
}

However, if Flash cannot connect to the server (network or server is down) onStatus will not be called. Using XML and LoadVars you have to manually keep a timer in order to time out the connection, however you do not have to do this using Flash Remoting. Just create a method like the following:

_global.System.onStatus = function(info)
{
trace("details : " + info.details);
trace("description : " + info.description);
trace("code : " + info.code);
trace("level : " + info.level);
}

This method will be called if Flash MX cannot connect to the Flash Remoting server.

Here is an example output (when the server is not running):

details: http://localhost:8500/flashservices/gateway/
description: HTTP: Failed
code: NetConnection.Call.Failed
level: error

Couple of notes :

  • The exact messages may depend on the browser.
  • This will only works when connecting to the server via Flash Remoting. It will not work when using the XML or LoadVars object.
9:05:57 AM    comment []  Google It!  

© Copyright 2003 Mike Chambers.
 
April 2002
Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30        
Mar   May


Macromedia MX

Resources

Flash MX

Aggregators

Books

Click here to visit the Radio UserLand website.

Subscribe to "mesh on MX" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.