-
Prid - Outing
Hi, again
You should completely avoid using Scenes because they're evil and will mess up everything for you as a coder, so stick with Frames :P
In your code, you're only checking if the movieclip hits the wall once, and that's when you press it - it's really complicated to tell this in words, so maybe you can provide the FLA file, 'cause that'd be great ?
I am back, guys ... and finally 18 :P
BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS
-
Actually I am not sure what it is that I want to use. However, I want to drag object named zeke into another frame, like taking zeke out of the living room and moving him into the kitchen. Making it look like a movie whereby zeke walks from one room to another. I want the player to control the movement of zeke.
I know I am rusty on actionscript. Was away from it for a few years, but now have time to mess around with it.
Any help from you is greatly appreciated. :-)
-
Prid - Outing
Could you provide your current FLA, please ?
I am back, guys ... and finally 18 :P
BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS
-
Sorry for posting on an old thread, but I just made a new thread and either it's disappeared into the void or it's being monetized first.
In case it just disappeared, I'm gonna quickly ask here.
I basically want it so that the draggable object is small, to fit on a board, and when you begin dragging it resizes to its full size, and when you drop it in the correct place, it stays the full size.
If you remove it from its place, it should then go back to its smaller size to fit on the board again.
I tried applying the code given at the second post in this thread, but I just couldn't figure out how to use it (Since I'm a n00b at Flash).
Could someone show me how to apply it to my code?
Code:
on(press) {
_root.mySound2.start(0,0);
startDrag(this);
}
on(release) {
stopDrag();
if (this._droptarget == "/target") {
_root.mySound.start(0,0);
this._x = _root. target._x;
this._y = _root. target._y;
}
else{
this._x = 423.95;
this._y = 109.45;
}
}
Thanks in advance!
-
Forgot to add that I am using Flash CS5.5, and of course, AS2
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|