Archive for May, 2006

New flash and photoshop tutorials

Tuesday, May 30th, 2006

Here are some video tutorials for flash and photoshop.
enjoy.
FLASH:

Animation Setup
Animation can be a tricky process if you’ve never done it before, but Flash makes it possible to reuse pieces of your animation so you don’t have to continually redraw everything. In this tutorial, you’ll learn some basics for drawing and preparing your drawings for animation […]

_lockroot and loadmovie issues

Friday, May 26th, 2006

to be able to use _root in loaded movies, you can use _lockroot in flash 8.
this seems to leave the _root intact..
put this code in the first frame of the loaded movie..

// lock root
this._lockroot = true;

BUT , there are issues with loadMovie.
hitTest doesn’t seem to work across the levels..
or onRelease or flaming anything..
or is it […]

PrintJob class

Monday, May 22nd, 2006

just some code for reflection upon printing from flash..
Method 1
————
// print a pdf
// open up pdf
formprint_mc.onRelease = function() {
//getURL(”media/form101.pdf”, “_blank”);
print(this, “bframe”);
};
Method 2
————-
// open up print dialog and ask if wrong orientation
//
old_print_btn.onRelease = function() {
//print(formprint_mc, “bframe”);
// create PrintJob object
var my_pj:PrintJob = new PrintJob();
// display print dialog box
if (my_pj.start()) {
// boolean to track […]

TextField setFocus

Monday, May 15th, 2006

I have just learnt how to put the focus onto an input textfield.
First create an input textfield and give it the instance name of “input_txt”
then all you need is this line of code that sets the focus or puts the cursor into that textbox ready for the user to input some text..

Selection.setFocus(”input_txt”);

Another dodgy trick i […]