Good tutorials on creating particle systems.
Here.
Wednesday, October 8, 2008
Tuesday, October 7, 2008
Updated Cursor Code
I found a better custom-cursor code that's smoother and worked much more compatibly with my movies; just put this in a separate folder in a movie clip that will be your new cursor:
import flash.events.MouseEvent;
stage.addEventListener(MouseEvent.MOUSE_MOVE , movecrs);
function movecrs(event:MouseEvent) {
cursor.x = mouseX;
cursor.y = mouseY;
cursor.visible = true;
Mouse.hide();
}
stage.addEventListener(MouseEvent.MOUSE_MOVE , movecrs);
function movecrs(event:MouseEvent) {
cursor.x = mouseX;
cursor.y = mouseY;
cursor.visible = true;
Mouse.hide();
}
Monday, October 6, 2008
Sunday, October 5, 2008
Drag and Drop Tutorial
I am revising my plan for this Flash assignment. My first attempt has been halted due to discrepancies in the tutorials code and lack of supplement code. SO, I have decided to create a drag-and-drop game. I found a good tutorial with a sample fla file
here.
Cheers!
here.
Cheers!
Thursday, October 2, 2008
Creating draggable objects
insertnamehere.addEventListener(MouseEvent.MOUSE_DOWN,
DragStart)
insertnamehere.addEventListener(MouseEvent.MOUSE_UP,
DragStop)
function DragStart(event:Event){
event.target.startDrag(false)
}
function DragStop(event:Event){
event.target.stopDrag()
}
*****note the DragStart) and DragStop) needs to go on the lines prior too, this blog was cutting off the code so i had to put it on another line. not sure if that really makes a difference or not but just in case
DragStart)
insertnamehere.addEventListener(MouseEvent.MOUSE_UP,
DragStop)
function DragStart(event:Event){
event.target.startDrag(false)
}
function DragStop(event:Event){
event.target.stopDrag()
}
*****note the DragStart) and DragStop) needs to go on the lines prior too, this blog was cutting off the code so i had to put it on another line. not sure if that really makes a difference or not but just in case
Make it easy.
Just a reminder to keep things simple with flash, so people don't get annoyed like this person.
There are a few tutorials that may be useful for the e-cards at Flash&Math.com
Wednesday, October 1, 2008
Vector Polishing Techniques
Check this out, this can help with Flash design by importing from Illustrator or Photoshop:
http://www.webdesignerwall.com/tutorials/vector-polishing-techniques/
http://www.webdesignerwall.com/tutorials/vector-polishing-techniques/
Subscribe to:
Posts (Atom)