Experiment
after playing around with fmx for about 45 min, this is what I got. Posted the fla as the forum has some problem with swfs
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 08-04-2003, 08:41 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
My Experiment
hi,
I'm not sure how to explain it best, but I'll still try.
I have a movie clip that contains buttons and this movie clip itself it attached as a content to a scroll pane. Now when I click on the buttons, I want to be able to perform a gotoAndPlay in the main scene.
If you see the attached file, when I click on the next button, it does a 'gotoAndPlay' to the frame named 'next'. There's a movie clip 'scroller' with a button 'best shots' and the scroller is attached to the scxroll pane. When I click on the 'best shots' button, i want to be able to perform a 'gotoAndPlay' to the 'loadimages' frame.
Thanks for any help
Arun
Help Me With This Experiment
I have read a lot about the best file format for import images into flash, so I tried the next experiment:
I use the "famous" Dune.tif image of the samples from photoshop, I changd the image size from 600 x 600 px to 300 x 300, and save It as .jpg and .png file formats (the same image) and I get these file sizes
Dune.jpg (80% quality), size 48 Kb aprox
Dune.png (default settings) 172 Kb aprox
Then I imported these images to flash in separates documents, converted the bitmaps to graphic symbols and made a motion twen of 50 frames from alpha 0 to alpha 100. I saved both fla and I get these file sizes
exppng.fla = 220 Kb
expjpg. fla = 44 Kb
Up to here all looks "logic" bigger input = bigger output
But here is the interesting detail, the swf file sizes
expjpg.swf = 32 Kb
exppng.swf = 8 Kb 8 Kb
So I would like if some of you in your spare time, try some variations of this experiment, and post your resoults here, to get a more definitive conclusion...
Becouse so far I have found a reason to use always PNG to import to flash, and is a reason based on one of the most importants facts in WEB, file size. But before that I would like to probe that this is a "general rule" and not and "unique event"
(sorry about my english)
E In 3D Experiment
Hey guys,
I was looking at this experment http://www.kirupa.com/lab/ein3d.htm . I understand how to do the 'E', but how can I write 'B'?
Thanks
Little 3D Experiment
The main engine is a variation of the one in the tutorials, but I added other features. You can fire a ball thing by clicking, and hitting shift releases a small ball that I tried to add minimaly physics to. Space is jump, and W, S, A, D are moving keys. You can jump onto those boxes, but it's quite awkward. I'll post the source, but it doesn't have comments, just directions to certain functions.
Link'd: http://www.sheezyart.com/view/166881
The physics-type balls seem to get absorbed by the boxes, so when someone asks, I just say that the boxes are jelly...
My First Experiment
Hey, this is my first submision in this forum.... And i came up with this. I'm just an amateur so.... I would like some critics please ? What do you think about this ?
thanks
Experiment Nº2
I hope you like
(I'm just a noob in this AS thing)
EDIT : I've changed fps to 36 (thanks to ExoVoid ).
EDIT BY MDIPI: WARNING, CPU INTENSIVE!
Experiment Nº5
I'm trying to make a little game
This is what i've until now
I does almost nothing.... but.... anywa it's just an experiment
You can click the movie to add walls.
Hope you like it
E In 3D Experiment
Hey guys,
I was looking at this experment http://www.kirupa.com/lab/ein3d.htm . I understand how to do the 'E', but how can I write 'B'?
Thanks
Anyone Experiment With FLV Yet?
Was wondering if anyone had any luck with FLV flash video streaming. Its a nice touch for flash but very limited as in file size, once I go over 1 minute of video flash becomes very unstable.
Your Friendly Neighboorhood Webmaster
Little 3D Experiment
The main engine is a variation of the one in the tutorials, but I added other features. You can fire a ball thing by clicking, and hitting shift releases a small ball that I tried to add minimaly physics to. Space is jump, and W, S, A, D are moving keys. You can jump onto those boxes, but it's quite awkward. I'll post the source, but it doesn't have comments, just directions to certain functions.
Link'd: http://www.sheezyart.com/view/166881
The physics-type balls seem to get absorbed by the boxes, so when someone asks, I just say that the boxes are jelly...
Test My Experiment
my first attempt on learning serverside scripting and database was a COMPLETE FAILURE. But hey, check it out and have a few laughs. Lame , but I its just the beginning of a bigger experiment. Its about making a dynamic morphing creature...art if you will.
http://webzone.k3.mah.se/kit01051/db/dynamicMorph.html
come on, click it and make one.
Time Experiment
what I want to do is; have two buttons, the user clicks on the first, then the second. Is it possible to return how many seconds past between the two clicks?
Otherwise if it is simpler, can the second button take the user to one frame label if less than three seconds lapsed between the first and second click, or another label if they took more than three seconds?
Im not that familiar with scripting but I have a handle on the basics.
Sound Experiment: Can You Please Help
Hello,
I am conducting a simple experiment on sound as part of my MSc in Interactive Media Production. Could you please spare a few minutes and take a simple test online. By doing this test you will contribute towards an experiment geared at using sound more effectively in multimedia and portable devices.
You will need a stereo speaker setup or stereo headphone setup to take the test. You can access the test from the link below.
http://sound.pradeesh.com
The test takes no more than 2 minutes to complete. I would like to thank all the users on this forum in advance for helping out.
Thankyou
Video DJ Experiment
Hey all,
I'm still starting up with AS and i think its fun as hell and ive been trying to come up with some new ideas. My first idea is about being able to scratch and scrub over a movie clip like is if it was a vinyl.
I got the idea from an advertisement of a guy eating a hotdog really fast in one gulp(i think it was for MasterCard) By mousing over the image you can scroll through the frames of the movie. One night i was just playing around with it and i was making the guy eat the hot dog to the beat of the music i was listening to and i thought it would be cool if you could somehow record all the mouse actions and have flash spit out a .mov or something that has all those same actions in it. That way you have a movie that glitches and scrubs to the beat of a song for use in a musicvideo or something.
Well, i wrote the code and got it to work by recording each frame that the mc is on 30 times per sec, outputting that number sequence and then bringing it back into another fla that creates an array of the sequence and cycles through each frame in the exact order as before.
This works really well and produces an exact replica, but the only problem is i cant use a swf for a music video. I need something editable that maybe doesn't rely on actionscript.
I'm open to all suggestions and comments about my idea. also if anyone knows a program that already does what i want then let me know(but that's no fun!).
Q; On Math Experiment
this draws a nice shape:
(small circle mc named 'sq' on stage w/ alpha 20, and code on empty mc)
PHP Code:
onClipEvent(load){
_root.sq._visible=0;
}
onClipEvent(enterFrame){
i++;
duplicateMovieClip(_root.sq,"sq"+i,i);
_root["sq"+i]._x=Math.cos(Math.PI/180*j++)*100+300;
_root["sq"+i]._y=Math.sin(Math.PI/180*(k+=0.4))*100+200;
}
how'd i stop it once the cycle is completed?
thnx !!~~
Particle Experiment
Just my first attempt on doing something related to physics. Really learned a lot here with all you guys.
Hope you like it, or maybe even find it useful.
Thanks.
Masking Experiment
just playing with mask transitions and this happened, its nothing special, but i'm a newbie and rather pround of it.
Key Class Experiment
I woke up today and i had idea of doing some experiment in flash. Im a very poor coder but came up with something that might look a bit cool to some of you. It has to do with a Key class. I won't tell u much, just to go the link and click on the red/orange box and start typing.
http://www.vdschee.nl/~angelique/euro/keyClass.htm
To see even cooler effect start typing random letters really fast.
EDIT: I totally forgot to add source, here it is
http://www.vdschee.nl/~angelique/euro/keyClassTest.zip
VB6 + Flash Experiment
Hi. I'm considering some different soloutions to to a problem at the moment and am wondering if anyone has any ideas on different kinds of solutions.
I am required to publish some standalone flash onto a USB key for publicity purposes, and as a requirement, need to initially store users details on the key somewhere. Doesn't really matter where or in what format, but the users simply need a way of indentifying whose key is whose?!?
I'm currently toying with the idea ofembedding the movie into VB6 so that I can publish as a standalone EXE, which could then be AUTORUN once the device is plugged into a pc.
I'm thinking of VB because obviously I need some method for file IO, as the user infomration must be stored on the device, ruling out any kind of flash cookie (I think).
If I'm wrong and flash cookies could be directed to the usb device I would have no problem publishing a simple swf onto the device without the need to use vb.
Any Ideas anyone??????
Fun Experiment ... Why Is It Not Working?
i'm trying to create the illusion of cracking glass onMouseDown
so when the user presses the mouse button i take the current coordinates, move blank MCs there and then move them off in random directions, i then take another set of blank MCs and use those to draw lines from where the mouse was pressed to it's current location.
i think this will give the appearance of cracking glass
here's the code i have so far
PHP Code:
for (i=0; i<Math.random()*4+2; i++) {
_root.createEmptyMovieClip("crack"+i, 10+i);
_root.createEmptyMovieClip("line"+i, 20+i);
}
onMouseDown = function () {
mouseX = _xmouse;
mouseY = _ymouse;
crack[i]._x = mouseX;
crack[i]._y = mouseY;
crackle();
};
onEnterFrame = function () {
crackX = crack[i]._x;
crackY = crack[i]._y;
};
crackle = function () {
crack[i]._x += Math.random()*10-5;
crack[i]._y += Math.random()*10-5;
_root.line[i].lineStyle(1, 0x000000, 80);
_root.line[i].moveTo(mouseX, mouseY);
_root.lineStyle[i].lineTo(crackX, crackY);
};
there are no symbols in my movie so just copy and paste that code onto frame one and you'll have what i do. but it's not working yet
any help would be appreciated
thanks
SWF Parser Experiment
I played with SWF format (trying to get an Actionscript solution for online SWF manipulation/authoring).
Here you can find a sample AIR application to extract all images from any swf file and a source example with main Actionscript functions for SWF format parsing:
http://flashpanoramas.com/blog/2007/...ir-application
I believe this will be useful for someone...
Sound Experiment: Can You Please Help
Last edited by mit_51 : 2005-03-15 at 20:55.
Hello everyone,
I am conducting a simple experiment on sound as part of my MSc in Interactive Media Production. Could you please spare a few minutes and take a simple test online. By doing this test you will help with ananlysis of sound used in multimedia and digital devices.
You will need a stereo speaker setup or stereo headphone setup to take the test. You can access the test from the link below.
http://sound.pradeesh.com
The test takes no more than 2 minutes to complete. I would like to thank all the ultrashockers in advance for helping out.
Thankyou
Online Experiment: Can You Help?
Last edited by mediaRob : 2005-03-04 at 06:37.
Would you please spend three minutes completing a very simple interactive online experiment? The experiment involves waiting for a square to appear and clicking on it as soon as possible. This is repeated twenty times.
You can access the test at http://lab.webnwap.com.
I am conducting the experiment as part of an assignment for an MSc in Interactive Media Production. By completing the experiment you will be providing me with several valuable elements of data allowing me to analyse human interaction with computers.
Would you please forward this to anyone you believe might be interested in participating in the experiment.
Thanks for your help,
Rob.
ps. sorry if you believe this to be spam, or an inappropriate posting.
Latest Experiment
perimeter tracking
OK....new experiment, not added it to my site yet...but thought I'd post anyway.
It's a perimeter tracking ai....still a couple of bugs left.
Thought it could be useful for game code.
Cheers
M
PV3D Experiment
hi
i manged to make this robot arm using PV3D let me know what you guys think
http://www.thivy.com/blog/index.php/arc ... robot-arm/
ValidParse Experiment (xml Recursion With Dtd)
I'm working on this really complex parsing for xml docs with existing dtd's and as with most complex functions, I'm getting stuck on the simple things...eh not so simple but. Here's the code
Code:
function validParse(dtd, thexml, recordname) {
checkthis = thexml;
checkpar = thexml.nodeName
if (checkpar =="TEI.2"){
checkpar="tei2";
}
checkarray = dtd[checkpar].children;
recordname = new Array();
for (recordname.level=0; recordname.level<checkthis.childNodes.length; recordname.level++) {
if (checkthis.childNodes[recordname.level].hasChildNodes()) {
recordname[recordname.level] = new Array();
recordname[recordname.level][checkthis.childNodes[recordname.level].nodeName] = new Array();
validParse(dtd, checkthis.childNodes[recordname.level], recordname[recordname.level][checkthis.childNodes[recordname.level].nodeName]);
} else {
recordname[recordname.level] = new Array();
recordname[recordname.level][checkthis.childNodes[recordname.level].nodeName] = checkthis.childNodes[recordname.level].nodeValue;
}
}
}
The main problem right now is on the line before the validParse is called again. It's not creating the grandchild array. As such when it loops the validParse function, the recordname is invalid. What am I missing here?
My Photo Experiment With A Class...
Please have a look at my file so far. It is the beginning of a photo gallery that i'm trying to create. So far i have created a class that controls the behaviour of all the photos.
Each photo should be draggable, it should animate when rolled over, if dragged it should come to the top of the pile and eventually when double-clicked a full size image will be seen.
I've run into a couple of problems. There's a couple of strange things happening that i can't figure out. When i drag a photo it should go to the top. This isn't working properly. Sometimes other photos are shifting depths which is bizzare. Also I don't think i've done my rollovers correctly as they are acting strangely too.
Please have a look if you have time, thanks
[X-Organic] - Little Tree Experiment
Hi, look at my latest project,
X-Organic
Over 60 of the site's visitors have recorded and saved their creations in the last few days. The User has a chance to create their own unique animation by dragging the blue point around as the application records its effects on the image. Before saving it, the user can play what they've recorded so far and add to it. Some of the finished animations on the list are pretty cool. A most amusing little web diversion...;~))
3-D Effect Recreation Experiment
Greetz all!
I'm experimenting with Flash MX actionscript programming to give me a pseudo 3-D effect. The effect I'm talking about is what you get when you apply gradient color to the sides of a cube to approximate light reflecting off the surface.
As you turn the cube, the gradients move differently, depending on the facet's location and 'direction'.
In my 3-D Recreation Experiment, I'm using an ASP page for the Flash display. Flash checks ASP page for the latest position of the geometries, ....
.. then the ASP page can recalculate the new positions, or
.. Flash can recalculate the new positions.
In the end, I should a page that allows multiple users to move 3-D blocks around a Flash page.
Has anyone done any tests on this? I'm pretty sure ASP calculations/PHP calculations are faster than Flash AS2.0 calculations, but that could be due to my experience ...
Post your thoughts here. BTW: My webpage is at http://bluefugu.biz.tm so check it out
[BH] Jodo Kast
A Data Binding Experiment
Greetings
I present this page which is an experiment. Can I generate a drill down search of some subject, in this case, information on local bands in my area.
The rquirements:Access the data base one time to retrieve all the information needed.
Generate the page with the least amount of action script coding possible.
http://test.rockinwil.com/data_binding.html
The above link shows my initial results. There is actually just one line of action script. an XML template file and a sample XML file. The sample XML file is being used at this stage because I have not coded the PHP files yet.
I am also supplying the source files for your examination.
All critiques, criticisms and comments would be mose happily welcome
Experiment Succeded(LostinBeta)
Well i was folloing around with LostInBetea's easing mouse code and this is what i have came up with.
PHP Code:
onClipEvent (load) {
_x = 0;
speed = 3;
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.SPACE)) {
endX = _root._xmouse;
_x += (endX-_x)/speed;
}
}
Guess what it does.
If you dont kno see it in action.
Tween Class Experiment
I work for an Ad Agency and i am constantly being asked the question by fellow designes why my flash projects run so slow on mac computers yet look so great on PCs, i have tried to pin point when the slow down occurs and it seems to happen when tweening of shapes and graphics occur, therefore I predict that if I use tween classes, (actionscript to simulate tweens) I will see improvement in the speed of my swf on mac computers, though i could be horribly wrong because of the simple fact that a tween is a tween.
Anyway, before I take the time to master tween classes and develop some experimental swfs to test this theory, I was more than curious if anybody has gone down this route, or any other insight they can share on the tween lag on mac systmes. So anything you share little or small will be appreciated.
thank you for your time and have a good day!
Experiment Internet Phone
hi guys today rogers cable came along and changed my phone line to a huge line that is the same as my tV!!>!>! the box has a ethernet cable and he said that is for future internet use i was just wondering if he is lying and i can acutally use it but it is just a higher speed they dont want us to know about u think so?
My Photo Experiment With A Class...
Please have a look at my file so far. It is the beginning of a photo gallery that i'm trying to create. So far i have created a class that controls the behaviour of all the photos.
Each photo should be draggable, it should animate when rolled over, if dragged it should come to the top of the pile and eventually when double-clicked a full size image will be seen.
I've run into a couple of problems. There's a couple of strange things happening that i can't figure out. When i drag a photo it should go to the top. This isn't working properly. Sometimes other photos are shifting depths which is bizzare. Also I don't think i've done my rollovers correctly as they are acting strangely too.
Please have a look if you have time, thanks
• Ascii Art In 'experiment' Section…
Hello -
A long time ago, I saw I powerful(*) Ascii/picture converter in the 'experiment' section of Kirupa's website. At this time I downloaded it, but someone stole my computer (and I never made a back-up
Now I would like to retrieve it, but I only fall on 'Christian Eilsøe' one & 'Kirupa's ' one. But the one I mentioned is much 'nicer' & 'faster'.
Thank you, have a nice end of day…
- Dimitri http://www.thebend.be/personal/
(*) Christian Eilsøe and Kirupa example (for me to slow)
Grid Physics Experiment
This is an attempt at an effect I saw while crawling the web. The zip contains 2 .fla (Flash 8) files and a .as Class file. Each is a different application of a Pseudo Physics Class, what is still needed is methods for Inertia (or Momentum), Friction and/or a way to add Elasticity.
Check it out it still looks pretty cool - [IMHO]
PREVIEW 1: Spheres 1D
PREVIEW 2: Grid 2D
PREVIEW 3: Grid 2D V2 (Updated version of the first 2D grid)
UPDATE: Elasticity has been added and is selectable form the interface (Although the continuous oscillation would probably induce epilepsy ), Methods have been made more re-usable but still no friction and forces are still method specific. The Class Name has been changed in accordance with other changes - force now increases linearly from the center of the sphere instead of inversely and it creates an effect closer to the motionGrid style.
Comments, Criticisms and general assistance would be greatly appreciated.
Inspired By: motionGrid
Experiment: AMFPHP Vs URLLoader
Hi everyone,
I was wondering if the AMF format would increase transfer speed of data, but my findings are the complete opposite.
My results are that AMFPHP averages:
AMFPHP:
Average = 233.33
Regular URLLoader:
Average = 223.78
Here is the quick test I wrote up to check.
Code:
package {
import flash.display.Sprite;
import flash.events.Event;
import flash.net.NetConnection;
import flash.net.Responder;
import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.utils.getTimer;
public class Test extends Sprite
{
private var responder:Responder;
private var connection:NetConnection;
private var startTime:int;
private var total:int;
private var timesRan:int;
public function Test()
{
responder = new Responder(onResult,onFault);
connection = new NetConnection();
// Just comment one of the following out
connection.connect("URL GATEWAY WENT HERE"); sendData();
//sendData2()
}
public function sendData2(e:Event =null):void
{
timesRan++;
if (timesRan == 100)
{
done();
return;
}
startTime = getTimer();
var urlLoader:URLLoader = new URLLoader();
urlLoader.load(new URLRequest("PHPPAGEA"));
urlLoader.addEventListener(Event.COMPLETE,onResult2);
}
public function sendData(e:Event=null):void
{
timesRan++;
if (timesRan == 100)
{
done();
return;
}
startTime = getTimer();
connection.call("HelloWorld.say", responder,"Test");
}
public function done(e:Event=null):void
{
trace("Average = "+(total/100));
}
private function onResult(result:Object):void
{
var endTime:int = getTimer()-startTime;
total+=endTime;
trace("Time taken = "+endTime);
sendData();
}
private function onResult2(result:Object):void
{
var endTime:int = getTimer()-startTime;
total+=endTime;
trace("Time taken = "+endTime);
sendData2();
}
private function onFault(fault:Object):void
{
trace("Error: "+String(fault.description));
}
}
}
Can anyone verify my code? Maybe I made a mistake?
AS3 Sound Spectrum Experiment.
I have recently created an actual site for myself for the first time in years in order to host any experiments i do, and here is the first one. An experiment using the compute spectrum function to create useless but pretty graphics using the lovely bitmap filters! (click in the top half of the flash to switch between the two modes)
http://www.walkingbaby.co.uk/sound1.html
The source code is there to download. If anyone has any comments or crits on the code i would love to hear them. Hopefully there will be more experiments to come. I have a couple lined up but doing html bores the hell out of me so it may take me some time to actually get them online!
Let me know what you think.
Boids Flocking Experiment AS3
Just something I put together during my spare time.
This version is a little plainer but much easier to follow (I still have my debugging colours in there): http://blog.organa.ca/?p=34
This version I prettied up a bit: http://blog.organa.ca/?p=35
I'm thinking about making a game using the code. So far in the planning phases, but I'll let you guys know if I come up with something.
You can find the source code in the first link.
Enjoy,
Peter Organa
[X-Organic] - Little Tree Experiment
Hi, look at my latest project,
X-Organic
Over 60 of the site's visitors have recorded and saved their creations in the last few days. The User has a chance to create their own unique animation by dragging the blue point around as the application records its effects on the image. Before saving it, the user can play what they've recorded so far and add to it. Some of the finished animations on the list are pretty cool. A most amusing little web diversion...;~))
3-D Effect Recreation Experiment
Greetz all!
I'm experimenting with Flash MX actionscript programming to give me a pseudo 3-D effect. The effect I'm talking about is what you get when you apply gradient color to the sides of a cube to approximate light reflecting off the surface.
As you turn the cube, the gradients move differently, depending on the facet's location and 'direction'.
In my 3-D Recreation Experiment, I'm using an ASP page for the Flash display. Flash checks ASP page for the latest position of the geometries, ....
.. then the ASP page can recalculate the new positions, or
.. Flash can recalculate the new positions.
In the end, I should a page that allows multiple users to move 3-D blocks around a Flash page.
Has anyone done any tests on this? I'm pretty sure ASP calculations/PHP calculations are faster than Flash AS2.0 calculations, but that could be due to my experience ...
Post your thoughts here. BTW: My webpage is at http://bluefugu.biz.tm so check it out
[BH] Jodo Kast
Simple Subclass Experiment?
In the simple code below why is my subclass (MinorClass) not inheriting the transparancy from the superclass (MajorClass)? In brief the code pulls in movieClips from Library making "shape" a superclass (MajorClass) and giving it a transparancy of 30. But the transparency is not being inherited by the subclass "MinorClass".
MajorClass = function(){
this._alpha=30;
}
MinorClass = function(){
this.onEnterFrame= function(){
this._rotation+=5;
}
};
MajorClass.prototype = new MovieClip();
// is this making the subclass I require?
MinorClass.prototype = new MajorClass();
Object.registerClass("four", MinorClass);
Object.registerClass("square", MinorClass);
Object.registerClass("circle", MinorClass);
Object.registerClass("rect", MinorClass);
Object.registerClass("shape",MajorClass);
attachMovie("shape","shape",9)//This "shape" bit of text that is being attached
//code below just positions and attaches clips
shape._x=150;
attachMovie("four","four",10)
four._x=10;
four._y=100;
attachMovie("square","square",11)
square._x=100;
square._y=200;
attachMovie("circle","circle",12)
circle._x=200;
circle._y=200;
attachMovie("rect","rect",13)
rect._x=300;
rect._y=200;
Advice Needed For My First Flash Experiment
Hallo Fellas,
Thank you for reading this and giving me your comments.
I was working on a simple Flash Tutorial but I seem to have gotten it wrong in Part 3 and Part 4 of the series. Part 1 and 2 of the tutorial are pretty simple since it is basic Graphics Work and implementing a bunch of code like this:-
Code:
onClipEvent (enterFrame) {
if (Key.isDown(Key.UP)) {
this._y -=9;
}
if (Key.isDown(Key.DOWN)) {
this._y +=9;
}
if (Key.isDown(Key.LEFT)) {
this._x -=9;
}
if (Key.isDown(Key.RIGHT)) {
this._x +=9;
}
}
This enables the Arrow Keys to move the Character that I have drawn in Part 1. So no problems at all with Part 1 and 2.
It gets a bit complicated and confusing for me, when Part 3 talks about "animating the Character" as it moves Up, Down, Left or Right. The Legs and Eyes are supposed to move and I am supposed to create Key Frames to do this but I just could not get it to work.
This is Part 3 - http://www.flash.0tutor.com/archive/...d-moving.shtml
I have problems understanding what the tutorial is trying to explain here:-
Quote:
2.
First of double click on joe to get into the movie clip, now in the timeline, name a new keyframe at frame 2, so we have joe in frame one, and frame 2.
We are going to animate joe in frame 2, so when we want him to walk we just jump to frame 2. (confused?, try to stay with me).
3.
Go to frame 2, select joe (all the part of him) right click and convert it to a movie clip.
double click this movie clip to get into its timeline, now we need to animate it a bit, so what i did was to make him normal in frame 1, then make a new keyframe in frame 2, and drag his left leg a bit up as shown in the image below.
Also rotate the eyes a bit to the left, and the body.
and how creating this keyframe will letter work with
Code:
onClipEvent (keyUp) {
_root.joe.gotoAndStop(1);
}
and
Code:
_root.joe.gotoAndStop(2);
Part 4 is also stumping me. I followed the instructions to the letter. (part 4 is here - http://www.flash.0tutor.com/archive/...ke-walls.shtml)
But I am still able to move my character beyond the "invisible walls" which is supposed to prevent my character from moving out of the visible Stage Area.
Thank you, once again, for reading through this long posting and I am very grateful if anyone could point out where I could possibly be making a mistake.
Thanks!
Ellils
PhotoShuffle - A XML Gallery Interaction Experiment
Hello!
During the last week I've developed an XML gallery that features a shuffling stack of photos as an interface.
The shuffling is achieved by moving the photo to the edge of the stack. Photos in the background are enabled to be shuffled as well.
This interface also features some physics behavior (photos can be thrown and rotated).
here is the demo
more details and source on my blog
Any comments, request or critique is greatly appreciated!!
LineTo/Random Motion Experiment
Nothing much/useful - I was just experimenting with some ActionScript last night and thought I might as well post the results here.
SonomaSunshine Django/Flash Experiment
SonomaSunshine is an experiment in generating Flash pages in a browser, using Python/Django and the Flex ActionScript compiler.
The source code is available, if anyone found it amusing.
http://samfeltus.com/site_index.html
Isometric Rotating Height Map Experiment
Hi all
An experiment I have been working on has just hit the point where I feel comfortable showing it off: A rotate-able 3d-ish chunk of terrain, created using Perlin noise and the threshold capabilities of the BitmapData object.
Viddy it here.
Warning: In its present incarnation it is something of a processor hog.
Code to follow, after cleanup and performance optimization. I look forward to critiques and comments.
|