
Welcome Guest
|
|
|
#1
|
|||
|
|||
|
Need help on a collision detection link, and movie clips
Hello,
I have two completeley unrelated problems, If you can help me, please post. 1. I am making a flash game (extremely simple side-scroller) and want a link to my site at the end, but i do not want to have one that people click, instead i'd rather the plaer move and jump on the link to go to that site. I'd perfer it to be in the same window, but is there a way to do this? 2. In a completely unrelated problem, i am also making little animation clips for my schools morning anouncements. I have made and copy-pasted a bunch of the same stuff (to save time.) But i want to export it into a .mov file (or another movie format) but when i do then my movie clips don't move. Is there a way to do that as well? Thx to all ValveFire |
|
#2
|
||||
|
||||
__________________
Our greatest glory is not in never falling but in rising everytime we fall. - Confucius Blog | Shared Items |
|
#3
|
|||
|
|||
|
Thx for the answers Scottea, The graphic thing DID work and i thank you.
But the website that you gave me, i couldn't find a way to go to my website by my player touching an object. ( i may have missed it) Open to any more posts. I'll keep searching on that site in case i missed it thx Valvefire Last edited by ValveFire : 08-06-2005 at 07:45 PM |
|
#4
|
||||
|
||||
|
__________________
Our greatest glory is not in never falling but in rising everytime we fall. - Confucius Blog | Shared Items |
|
#5
|
|||
|
|||
|
thank you thank youthank you thank youthank you thank youthank you thank youthank you thank youthank you thank you
oh and thank you thank you just one tiny thing.... what is wrong withthis code? in the movie clip link: Code:
onClipEvent (enterFrame) { if (_root.character.hitTest(this)
getURL("http:\\electric-smoothie.sytes.net");ValveFire |
|
#6
|
||||
|
||||
|
Not really sure since you only stuck part of your code in there. Since you are using Flash MX 2004, I suggest using onEnterFrame instead of the onClipEvent. It will make your code a bit cleaner and easier to follow. You'd put this on the main timeline:
Actionscript:
this.onEnterFrame = function ()
{
if (character.hitTest (obj))
{
trace ("HIT");
}
};Replace 'obj' with whatever the instance name of the other clip is.
__________________
Our greatest glory is not in never falling but in rising everytime we fall. - Confucius Blog | Shared Items |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| E-mailing A Link To Flash Movie That Has A MovieClip With User-set X & Y Co-ordinates | northby9 | Flash CS3 / Flash 9 |
0 | 10-26-2009 01:21 PM |
| Linking Movie Clips together | cdemott33 | Newbies |
0 | 10-31-2008 01:13 PM |
| Duplicate Movie Clips | kryha | Newbies |
10 | 10-14-2005 12:20 AM |
| dynamically linking MOVIE CLIPS | tennis_blues | Flash 5 and below | 1 | 09-06-2004 12:23 AM |
| Dynamically Import and Attach AS to Movie Clips | thebeige | Flash MX ActionScript |
2 | 09-26-2003 03:57 AM |

Programming Languages



