Archive for March, 2004

31
Mar

FlashintheCan 2004 here I come

This Friday I will be heading to Toronto for FlashintheCan 2004. This will be the first time I attend the conference and am really looking forward to it. The cast of speakers is excellent. I will be speaking on the subject of developing components in Flash MX 2004 using the V2 architecture and will be hosting an ask the pro session about the subject.

The event will have wireless internet access everywhere, so I should be blogging some of the session/the even while there.

Looking forward to meeting up with everyone!

18
Mar

Introducing Central By Mike Chambers - Breeze Live Presentation

Looking to get started with Central? This recorded Breeze Live presentation by Mike Chambers is very helpful.

Mike covers:
- Downloading Software Development Kit
- Creating an Application within Flash
- Installing the Application Intro Central
- Publish, Test and Debug
- Deploy the Application

The presentation will only be available for the next 60 days.

16
Mar

Sam Neff a Dad!

Sam’s been away the past couple of days for a good reason. He is now the proud father of Benjamin Ryan Neff, the latest addition to the Neff family. Benjamin was born March 11, 2004 at 1:44 am and weighing 8 lbs, 12 oz and 20.75 inches long. If you don’t see Sam around much in cyberspace, he’s probably busy changing diapers:)

Congratulations Sam!

15
Mar

FlashTray Tools Released

I originally wrote this simple application because a friend wanted a convenient way to delete ASO files and I was looking to learn how a system tray icon application can be built with .Net. After getting the initial version, I added a few more options and have been personally using it ever since.



Currently it can:

  • Delete ASO file
  • Open personal configuration folder
  • Open personal classes folder
  • Open PrimalScript if installed
  • Open Flash MX 2004
  • Search Flashcoders
  • Search Flashcoders Wiki
  • Search Google
  • Search macromedia

To install, copy the exe file to your startup folder. That way it will always run on startup. If you find any bugs or have feature requests feel free to let me know. I’m not sure how much more I will develop this small tools at this point, or if people will even find this useful, but I do have some ideas that I would like to add if I have the time.

(Current Version .2)
Download: here
Requires: .Net 1.1 runtime

11
Mar

Flash Component EULA Updated

We’ve been expecting this for some time. Macromedia has released an updated EULA for the Components provides with Flash MX 2004. Read more about it here and here. The new EULA addresses many of the issues with the previous one but still leaves some issues unresolved. I miss the days when there was no EULA on the components and framework :)
Update: Check out this post too by Grant which includes some analysis on the update EULA here.

09
Mar

Speaking last minute at Maryland CFUG

I was called in last minute to speak at the Maryland ColdFusion User Group today on Flash Remoting. Ben Elmore was schedueled to speak about Flex but can not make it. Hopefully not too many people will be dissapointed with the change. If you are there say hello!

09
Mar

Post FlashForward SF 2004 review, and some interesting things during the keynote

There was a lack of updates from all the bloggers during FlashForward last week. For some reason the wireless network was completely inoperable so very few had the chance to provide some real coverage. The conference was as all FF conferences. Maybe I am starting to get the feeling that it is slowly getting smaller and smaller but the conference is not as exciting as it used to be (maybe its even just me). I did notice though that the organizers were gathering more feedback this time around. They seem to be really interested in introducing some new changes to FlashForward which would definitely be welcome!
Continue reading ‘Post FlashForward SF 2004 review, and some interesting things during the keynote’

09
Mar

New Team Macromedia Flash Member!!

Somehow they let me into the Team Macromedia Flash group. My bio is not up yet, but I thought I would share the good news and say thanks to Macromedia!

04
Mar

Copy nodes from one v2 Tree to another

We’re working on an application that allows a user to copy nodes from one tree to another. We have two trees and buttons between them. It turned out that copying nodes wasn’t as straightforward was we had hoped.

There were two issues. First when you add a node to a tree the first thing the component does is remove it from it’s current parent. Fortunately the XMLNode class provides a cloneNode function so before adding a node we only need to call cloneNode. The second issue is with branch settings. When you set a node as a branch using setIsBranch the Tree stores this information separately from the Tree’s data provider. Furthermore, there is no public method to retrieve branch information since getIsBranch will return true if the node is set as a branch OR if it has children.

In the end we created two functions, copySelectedNode clones and copies the selected node from one tree to another and then it calls copyIsBranchInfo to copy the branch information for the copied nodes. copyIsBranchInfo is a separate function since it needs to call itself recursively for all children of the copied node.

function copySelectedNode(fromTree:Tree, toTree:Tree):Void {

// do a deep clone so the copied node isn't removed from old tree
var fromNode:XMLNode = fromTree.selectedNode;
var toNode:XMLNode = fromNode.cloneNode(true);

toTree.addTreeNode(toNode);

copyIsBranchInfo(fromTree, fromNode, toTree, toNode);
}

function copyIsBranchInfo(fromTree:Tree,
fromNode:XMLNode,
toTree:Tree,
toNode:XMLNode):Void {
// Tree doesn't provide a method for checking if a node is
// absolutely set to a branch, it only has getIsBranch which returns
// true if it's set as a branch OR if it has children, which isn't what we
// want.
//
// branchNodes isn't defined as private, but it's clearly intended
// to be private. Iin order to accomlish a correct copy, we're
// going to access it anyways.
//

// if nothing is absolutely set, exit
if (fromTree.branchNodes == undefined) {
return;
}

if (fromTree.branchNodes[fromNode["getID"]()]) {
toTree.setIsBranch(toNode, true);
}

if (fromNode.hasChildNodes()) {
fromNode = fromNode.firstChild;
toNode = toNode.firstChild;
while (fromNode != undefined) {
copyIsBranchInfo(fromTree, fromNode, toTree, toNode);
fromNode = fromNode.nextSibling;
toNode = toNode.nextSibling;
}
}
}

copyButton.addEventListener("click",this);

function click(eventObj) {
copySelectedNode(leftTree, rightTree);
}

01
Mar

Flash Forward SF 2004 here I come!

I almost forgot to post anything about this until Keith’s post reminded me. I’m heading out to San Francisco tomorrow to attend Flash Forward. This time I won’t be exhibiting or speaking so I should have a lot more time to attend sessions and hang out with people. I will try to blog some of the event and take a bunch of pictures. If will be out there make sure to say hello!

I will also have my laptop on me for anyone looking for a demo of BLDoc or our 3.0 release of the Charting Components