Random motion - suprabenner - downloaded .FLA sample not working

The How to make random motion by actionscript by suprabeener, is cool, but, the sample .Fla doesnt work.

Why ?

Hello igx,
What version of Flash are you using? If you are using Flash MX, use the following tutorial: http://www.kirupa.com/developer/mx/random_motionMX.htm For Flash 5, use the following tutorial: http://www.kirupa.com/developer/actionscript/random.htm

Cheers!
Kirupa :bandit:

Hi, Kirupa, my name is IGX - Akiko now in Seoul Korea.

Waaa, Kirupa ??? are you the owner of this site ?

wow I am talking with the boss then.

ummm it’s working already hehehe sorry

Oy, 1 more question, Kirupa, how can we make that moving video clip (the moving cones example of yours) into a clickable object (button-like) so that when we press it, we can go to other frame as desired. For game for example.

Pleazze help me.

Ummm, I think yesterday I saw a girl Smilies on the left side of this reply column, but why now is gone ? please gimme 1 girl Smilies to represent my face.

Thankyou Thankyou.

IGX - Akiko

:toad:love:

haha…

anyways, to go to a different frame, do this action:

[AS]
gotoAndPlay (framenumberhere)
[/AS]

It also depends on where the frame is and stuff though, so if it doesn’t work, that may be why

waaaaaa, that’s too simple… I also know,

i mean, like this :

everytime I try to press movie clip because it is not a button, it cannot be clicked.

I try to add this script in the movieclip action :

on (release) { …

but it still cannot be pressed like how a button should be.

because I want to press every moving cone in the random moving cones that kirupa has (he says something about suprabeeneer), yea that’s what I mean,

so that, if it is already clickable, I mean, let’s go to other frame I wish…

thank you balah de balah.

ummmm

yeao i think that’s it…

:link: IGX Akiko

movie clip can be clicked, what happens?

on (release) should work…i think

can i see your file plz?

Noooo, trust me it can not, but I am sure it can.

ummmm, i havent saved any of the sample, because if I am angry I never like to save it.

ok that on(release) where should we put it, in the main _root frame script or in the movieclip script, or in side the movieclip frame script ?

uuuuuu flash is sooo complicated !

:link:

ok…

flash mx allows you to have mouse events in MovieClip symbols.
a common mistake, is to export the swf as flash 5 instead of flash 6. to fix that, go to File>Publish Settings and change the version in the flash tab.

if you use the script in the timeline:

myMovieClip.onRelease = function() {
statement(s);
};

if you use the script in the MovieClip actions:

on (release) {
statement(s);
}

hope it helps. =)

Hi again KAX, how are you ?

yeao i will try it tomorrow afternoon right away.

thanks Kax

me : IGX - Akiko

:link:

you’re welcome, akiko. and good luck. :wink: =)