These scripts should be put in the 'ship' movie clip. I believe they are all correct but since I haven't been able to check them, write back if there's a problem.
// THIS SCRIPT ASSUMES YOU WANT THE SHIP TO MOVE WHILE THE UP AND DOWN BUTTONS ARE BEING HELD.
onClipEvent (load)
speed = 2
//...
I'm not sure. Maybe a different way of referring to variables or even a different method altogether. Check out my problem in the .fla or .zip files previously mentioned. Any suggestions? It would be much appreciated.
The .fla and .zip files are just the same. For some reason .fla files don't...
I use a mac and I can see the animation just fine.
I'm using Internet Explorer with the latest Shockwave plugin. I'm running Mac OS X, but I never ran into problems like this when I was using Mac OS 9 and I think it's unlikely that it wouldn't work.
It's probably a case of a badly downloaded...
* puts head in hands and cries *
I'm and idiot, I'm an idiot, I'm an idiot.
I know that know.
Here is a working zipped version of the simple .fla file I have been talking about.
http://www.angelfire.com/mac/clemtinite/simple.zip
Interesting. No matter how specific and accessable I make the variables, the second movie clip is STILL unable to edit them.
I was sure that would work, but since it hasn't I'll include a link to a .fla file I made portraying the core problem.
Cheers all...
* eyes widen *
Oh damn. I was trying to post the same question last night but it didn't seem to be loading. I presumed there was some connection problem and it hadn't been posted. O_O;
Should've checked. Sorry all!
And thanks for your help oldnewbie!
I guess you would just apply the action 'Get URL' where you would type in the URL of the movie clip itself. Then it would be a simple matter of the visitors browser automatically dealing with the document (in most cases).
OK, here we go.
I have a Man movie clip which can be moved left or right with the directional keys.
When a Ladder movie cilp hit tests with the man, a variable '_root.Man.climbup' is returned true. This allows the man to 'climb' using the up and down directional keys and stops him from walking...
Sorry, I imagine that title makes little sense.
So my problem is this:
I'm building the engine for a new game. I have a stick figure which is manipulated by using the directional keys along with other buttons. The movie is variable oriented as I am really just a high-intermediate flash user...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.