Monday, January 31, 2011

Print from Flash

I spent the day trying to figure out how to print from flash using AS3

it took me a couple tutorials to find one that was not lame.

I wound up using this one:
http://www.flepstudio.org/forum/tutorials/3503-using-printjob-class-actionscript-3-0-a.html

I was able to get the tutorial to work (after two or three attempts)
Next I will have to work this into my habitat builder code.
This will allow users to print out the images they make.

Good news/bad news.  You can only print out a specific movieclip/sprite.

This is good because users will only print the important part of the screen.
Bad because it means ill have to make sure what they build rests within one movieclip.  This may or may not end up being a problem because of children/parent complications.
My money is on it being very annoying.  I'll find out in a day or two.

Sunday, January 30, 2011

been busy

Did the presentation on Friday.

Got a good amount done in the last couple of weeks.  I have a shell for the site built now.  The next big step is to figure out how
-to send off an ecard
-make the 'habitat builder' application work and not be too lame.

I bought an actionscript book for reference over the weekend and found some tutorials on Friday.  Hopefully I'll have some progress made by Friday and pretty much know how it will all work within the next two weeks.  If I can get that stuff done, then I should be able to build everything else around it.

Wednesday, January 19, 2011

Building Prototype

I started building the prototype this week.  Extremely basic version.
I am concentrating on getting the HTML page built with the .swf movies tucked in there.

With the swf movies I have 5 stages to include.
-there is the welcome screen that comes up right away.  Millie the Meerkat (Super Cheesy i know) welcomes you
-you go down in the burrow with Millie and from there
-you can view the map of the zoo and choose which animal to visit.
-you hang out with the animal, look at some pictures and get some info
-lastly is the e-card building application.

I have built basic versions of those first 4 in flash and linked 3 of them together.  The next step is to figure out how to link my XML map to the next step.  I think this will just take some actionscript fooling around (that should eat up some good time.)


Right now I have just been quickly plugging in art and images.  That all could change.  All in all though, things are going pretty smoothly for this basic prototype.

I also started thinking about how the e-card builder will work.  I found a couple tutorials online that will hopefully be useful.  (of course they are written for AS2).  I plan on looking deeper into that next week after I get this initial prototype stuff all linked together.

Oh, before I forget.  Another annoying problem.  To make all the .swf files link together I have to have them all in the same root folder as the index.  This is especially problematic for my XML movie because that requires multiple folders and files itself to work.   I am not sure what to do about that.  It is a pain.  I'm sure there is some easy solution to this.

That is all for now.  Good luck me.

Monday, January 17, 2011

Christmas break is over

So what is new?

I recently started making a skeleton of the website.  I have all the divs and such roughly arranged.  I was able to add the .swf to the and it loads fine, but the xml information will not load.   So I will have to figure that out.

I will also have to think of a way to include 3D into my project.  I do not know exactly how I plan to do this yet.  I have a few ideas but I need to have a better understanding of what we can and cannot do with the imported papervision stuff.  For example, can we import a 3D file that has motion or a moving camera? How do we add materials to what we import?  Besides being able to rotate the 3D image around with the mouse, what other controls can we have (and do we do that using actionscript and will that be pain in the butt) 
We are still going to be doing that papervision 3d flash stuff in class so hopefully those questions will be answered sooner than later.