The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.38 / 5.00 36,385 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.07 / 5.00 13,902 Viewsflooding my output would be nice.. at least it would work, but for now its staying silent
On MC button:
stop();
this.onPress = function() {
gotoAndStop(1);
_parent.repair = "rewind";
};
On _root frame 1:
//variables
if(_root.repair == "rewind")
trace("Rewind")
if (_root.repair == "forward")
trace("forward")
on MC Button 2 frame 1:
stop();
_parent.repair = "forward";
on MC Button 2 frame 2-> :
if (_parent.repair == "rewind"){prevFrame();}
I know the onPress functions, and there is no errors within the actionscript but I dont get a trace in my output and the prevFrame does not function, can anybody see the problem?
movieclip buttons dont work inside of buttons is what the problem is, so i'm having to do a redesign altogether..
im guessing its gonna have to be a load symbol into root when the button is available for clicking job? -.-
If nobody else has ideas can i have some help with load and unload ?
this.Repair.submenu.Products.onRelease = function() {
getURL("aHTMLlink", "_parent");
};
Located on Frame1
is an example, it has no effect on page movement at all...
yes, all AS on timeline ill give that a go it looks promising. Thanks
Hi, i have some movieclips that contain animation and button symbols, but unless i remove these buttons from the movieclip they fail to activate they're actionscript :
Products.onRelease = function() {
getURL("aHTMLpage", "_parent");
};
They work fine out of the movieclip, but is there a way to make them work inside the movieclip? If not i would need to redesign an awful lot.
thats not all to helpful dude..
(first post Ok guys, i need help with moving a scrollbar of images. If you look at my screnshot, it contains the information of the document, and and idea of what i want.
I want the top images that currently overlap the view area to slide left and right acording to where your mouse is on the screen, and i need it to also allow me to add more images to it at a later date.
© part mouse pointer changed due to spaces being removed, it just signifies further from middle, faster it scrolls over.
screenshot
Ok guys, i need help with moving a scrollbar of images. If you look at my screnshot(posted below due to tech difficulties), it contains the information of the document, and and idea of what i want.
I want the top images that currently overlap the view area to slide left and right acording to where your mouse is on the screen, and i need it to also allow me to add more images to it at a later date.
Eg.
©=image
_____________
|©©©©©©©©©©|
^Mouse here, doesnt move
_____________
|©©©©©©©©©©|
^Mouse here, move images << to see whats further right (speed fast)
_____________
|©©©©©©©©©©|
^Mouse here, move images << to see whats further right (speed slow)
and visa versa
If you could help it would be much appreciated
Scene=Scene 1, Layer=button, Frame=84: Line 1: Clip events are permitted only for movie clip instances
onClipEvent (load) {
Scene=Scene 1, Layer=button, Frame=84: Line 4: Mouse events are permitted only for button instances
on (rollOver, dragOver) {
Scene=Scene 1, Layer=button, Frame=84: Line 7: Mouse events are permitted only for button instances
on (rollOut, dragOut) {
Scene=Scene 1, Layer=button, Frame=84: Line 1: ';' expected
Scene=Scene 1, Layer=button, Frame=84: Line 1: Clip events are permitted only for movie clip instances
... Thanks for trying but it seems it doesn't want to do it, so i'll leave it without it looping..
I think those are button events, not MC's, so it would be:
on (rollOver,dragOver){//stuff();
&&
on (rollOut,dragOut){//moreStuff();
So, what you the ///stuff, be ?:P
Scene=Scene 1, Layer=button, Frame=65: Line 4: Invalid movie clip event specified.
onClipEvent (rollOver, dragOver) {
Scene=Scene 1, Layer=button, Frame=65: Line 7: Invalid movie clip event specified.
onClipEvent (rollOut, dragOut) {
where does i specify the movie clip?
too keep things clean and understandable its name is symbol 29 :P
ok, i got the first part done, on the final frame can sum1 think of a way to do this:
A: If mouse is over the target, goto and play 2
B: if mouse is not over target goto and stop 2
Thanks for all the help
ahh thats the problem i had.. I don't want it to goto and stop 2 :/ i want it to carry on playing until it reaches frame 2 (it loops) then stop at frame 2 if mouse has rolled out or not present on the target.
thanks alot, and if the mouse isn't over, how do i get goto and stop 2?
Is there such a commander to to in this movieclip that if the mouse is over the same movie clip, action: goto and play frame 2?
Tanks
Hey!
Well Flash 7 pro had a thing that let me do this easy, but flash 8.. I cant do it so sum1 please script this for me, its not hard
on a button, i want a script that when roll over, goto and play frame 2, the button name(if req.) can be anything, but make sure u state please.
sum1 else hlp me fix it nooby.. wya thnx for ur attention and time.. i actualy learn somthin lol
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 9: ')' expected
_root["coin"+a]._y<-10 ? (delete _root["coin"+a].onEnterFrame, createCoin, removeMovieClip(this) : 0;
Total ActionScript Errors: 1 Reported Errors: 1
Hey actionscript pros.
I'm making a banner for a friends site and i need help with a actionscript command which i know exists which will reduce filesize, and smoothen out the animation. I have 2 coins which i want to go from top to bottom of banner (50pix high) randomly (Sort of like in the portal with the .swf files floating to the left of page) And then once they get out of sight i want them to dissapear again to reduce lag on site.. Plz help
is ur ship aligned with the cross of the MC?
gravity works fine, and the character can jump, move left and right, but the walls don't work
I'm adding a ground for a instance named 'character'. The coding im using works perfert this way for another game i did and flash has no errors, but it doesnt work on the actual game when i test it...
onClipEvent (enterFrame) {
if (this.hittest(_root.Character)) {
_root.Character._y += 8;
}
}
and i have gravity:
onClipEvent (enterFrame) {
this._y += 5;
}
thanks dude, didnt c it b4 cos i usualy have that bar closed(always in the way:D)
the prob is is that u need ot make the text bubble into a symbol, then double click the symbol to open a new instance. Then add you actionscript code 'Stop();' here, this will cause just the bubble to freezwe, but the rest of the movie to run.
how can i add an instance name to a movieclip symbol? Im using flash MX 2004 Professional, and cant find a spot to add an instance name. Please help!
(small tut) is part of the symbol which im trying to moves name, can't be the prob unless it needs renaming