Showing posts with label flash. Show all posts
Showing posts with label flash. Show all posts

Tuesday, May 6, 2008

Flex in Flash

OK, so I thought, "What if I load Flex components in Flash?" Other people have thought of it too. I found the comments in this post interesting. After doing some other investigation, it appears you can create Flash components for Flex, but not vice versa. Ho... Hum... I'd better start building my file components in Flash.

Wednesday, April 30, 2008

Flex Me!

Well, I'm still using Flex, but I've just found out a few things. One, Flex has some nifty components you can use to browse O/S files and folders. Flash does not have them. So, I decided to try and build something myself. While researching that, I have discovered that some controls used in Flash did not make the conversion to CS3. Read the comments here, on gskinner's blog. Grrrr! Building this component ought to be fun. For now, it's probably enough to note that I just need to create it and move on to working out other problems.

Monday, March 31, 2008

Flash, AS3, and Packages

Oy! Thanks to the blogger, Mike Garcia, who pointed out that when using Flash and ActionScript, the .fla file is outside the hierarchy.

If you have your AS3 (.as) files in a directory called c:\src\Prototype, then the .fla file goes in the src directory and the AS3 files go in the Prototype directory. Inside your .as file you must have:

package Prototype
{

//imports

//class definition

}

If your .as files were in the directory c:\src\Prototype\Test, then you would call your package "Prototype.Test". Mr. Moock did explain that in his book, Essential ActionScript 3.0. Link to the companion website.

Tuesday, March 18, 2008

Maybe Flash is the answer....

Flash creates .swf files, so why not create the AIR application using Flash? I've downloaded the updates, so I am now at Flash 9.0.3 and can create an AIR app in Flash. Woo hoo! This should be interesting. I took a class for two weekends at MassArt this past summer to familiarize myself with Flash. Let's see what I remember. I should say that I had a great teacher (Hi, E!) and that I wish it lasted a little longer.

I was able to get started and use the file open dialog with help from the tutes below. When I have something that looks good, I'll publish it. For now, I leave you with Lee and Brian. Thanks, guys!

http://brianchau.wordpress.com/2007/10/11/flash-air-director/

http://www.gotoandlearn.com/

(gotoandlearn.com seems to be having difficulties but should be fine by the time anyone other than myself reads this....)

Oh no... should I change the name of the blog? FlashAIR? AIRFlash? FlAIR? Oooh, I like that one. I like FlexAIR because it sounds like "fresh air." I have plenty of work to do before I figure out which is right. I might have to go back to Flex, after all, so it will remain the same for now. :)