Button Question [renamed]
hi,i am new at ths forum, but istill know how to use flash, but not too much in actionscript.Thus, i have a problem that i cant solve.I have a button that is actually a MC but it performs a function as a button(its more flexible whaen it is a MC).So i have a script written in "Scence 1" for the button on an empty layer in a last keyframe which works. Here is the script:this.app_mc.onRollOver = function() { app_mc.gotoAndPlay("_over")}this.app_mc.onPress = function() { app_mc.gotoAndPlay("_hit")}this.app_mc.onRollOut = function() { app_mc.gotoAndPlay("_up")}AS you see "app_mc" is my MC button . Noe in my firs part of my script it goes to the rite frame, preformes the rite function but it stops at the end of "_over" , but i want it to repeat again from that frame. Please i need help in doing that i can't fgure out how. P.S. I tried going in to the "app_mc" itself and try an "if" tatment or this.app_mc.gotoAndPlay("_over"); , but it didn't work. Please help SOS.
KirupaForum > Flash > Flash 8 (and earlier)
Posted on: 08-04-2006, 06:28 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Link Button To Url [renamed]
hi guys.
i have a button MC.
question, how i can do that when i click the button go to www.ventura.com.do???
look the code
Code:
this.boton_mc.onRollOver = function() {
boton_mc.gotoAndPlay("over");
}
this.boton_mc.onRollOut = function() {
boton_mc.gotoAndPlay("out");
}
[F5]Button Question [renamed]
i new to actionscript and am not sure where to begin so i will explin what i would like to do.
i have a myspace site that i have created a div overlay with...<a href="www.myspace.com/li0id" target="_blank">myspace page</a>
i have created a new layout for it using psp9 and made an iPOD nano image...
href="http://img.photobucket.com/albums/v179/li0id/iPOD.jpg" target="_blank">iPOD</a>
now what i would like to do is use actionscript so when you click on the menu button a image wil pop up in the ipod screen and when u click the play button something else will pop up
thanmks in advanced
[MX2004]Button Problems? [renamed]
WHY DON'T HELP ME ? WHY ????????
Plese help me !
I give you my *FLA and fix it to me !
http://99b1.net/download/index.zip
I want the navigator stop when I put mouse on the button and can click all buttons in the navigator but I can't do that !
Plese help me ! I need it quickly ! Thanks
Sequence After Button Press [renamed]
hi flash guru's
working on my new site and have a navigational issue. i've uploaded just the basic navigational elements to keep it simple here:
http://hamptondowson.com/example/lay...RotateTest.swf
if you click on the colored squares, they rotate and the main content changes accordingly. it seems that this motion doesn't always go smoothly on many machines as two things happening at once.
what i'd like is for a user to click a button, the squares rotate and THEN the content annimates to next section. as opposed to both rotation and content annimation happening at once.
here's the FLA if anyone would be so kind as to offer me a solution:
http://hamptondowson.com/example/lay...RotateTest.fla
the main issue is obviously keeping motion nice and smooth so if my scripts could be streamlined, please advise.
thank you very much
doug
Button Problem With Javascript [renamed]
Well folks....
btn_Up.onRelease = function() {
getURL("javascript:Launch('http://www.kirupa.com', 400, 300)");
};
That button must launch a page but dont do it.... why ??
please i know it's simple... but i dont know about AS.-....
Thanks...
[MX2004]Button Problems? [renamed]
WHY DON'T HELP ME ? WHY ????????
Plese help me !
I give you my *FLA and fix it to me !
http://99b1.net/download/index.zip
I want the navigator stop when I put mouse on the button and can click all buttons in the navigator but I can't do that !
Plese help me ! I need it quickly ! Thanks
Button Inside MovieClip Not Functioning [renamed]
I have a MovieClip called "mousetest" that I can move from a button on the stage:
Code:
Código:
on (click) {
_root.mousetest._visible = 1;
_root.mousetest._x=210;
_root.mousetest._y=201;
}
Inside this MC "mousetest" I have a buttom that "close" (hide/move) the MC but I can't make this WORK, I try evrything I don't know if is a problem using _root
Boton dentro del MC
Code:
on (click) {
_root.mousetest._visible = 0;
_root.mousetest._x=800;
_root.mousetest._y=800;
}
But until know I don't know how to make _global work or if this is the best solution someone can give a hand on this one? (step by step plz)
Thank you.
_LOBO_
I Don't have a clue how to implement _global
http://www.kirupa.com/developer/acti...addressing.htm
Problems Fading A Button Using SetInterval [renamed]
WHAT IS WRONG WITH ME!!??
OK, trying to fade out a button through a function. I've done this before but I'm tired and it's just not happening.
OK, there's a button named "button" and a movieclip named "fadeThis". The first frame of the root has the following code in it:
Code:
fading = function(image) {
_root[image]._alpha -= 5;
}
And the button, "button", has the following code in it:
Code:
on (release) {
fader = setInterval(_root.fading,10,fadeThis);
}
So WHY does the function fade the entire screen ("fadeThis" AND "button")??
Thanks
Load Movie On Button Rollover [renamed]
hi guys.
well i need your help.
i have a button and i want that when i rollover this button remove an external MovieClip (111.swf) and load a new one.
and when i click the button open index2.html (_blank)
i have the code for load external swf.
ActionScript Code:
onEnterFrame(); {
<p>_root.createEmptyMovieClip("yourmovieclip", 1);
<p>yourmovieclip._x = 0;
<p>yourmovieclip._y = 0;
<p>yourmovieclip.loadMovie("111.swf");
<p>}
i need a code for UNLoad or remove the external swf (111.swf) and load a new one swf file when i rollover the new button. and when i click the button open index2.html (_blank)
thanks,
regards
Button Inside MovieClip Not Functioning [renamed]
I have a MovieClip called "mousetest" that I can move from a button on the stage:
Code:
Código:
on (click) {
_root.mousetest._visible = 1;
_root.mousetest._x=210;
_root.mousetest._y=201;
}
Inside this MC "mousetest" I have a buttom that "close" (hide/move) the MC but I can't make this WORK, I try evrything I don't know if is a problem using _root
Boton dentro del MC
Code:
on (click) {
_root.mousetest._visible = 0;
_root.mousetest._x=800;
_root.mousetest._y=800;
}
But until know I don't know how to make _global work or if this is the best solution someone can give a hand on this one? (step by step plz)
Thank you.
_LOBO_
I Don't have a clue how to implement _global
http://www.kirupa.com/developer/acti...addressing.htm
Problems Fading A Button Using SetInterval [renamed]
WHAT IS WRONG WITH ME!!??
OK, trying to fade out a button through a function. I've done this before but I'm tired and it's just not happening.
OK, there's a button named "button" and a movieclip named "fadeThis". The first frame of the root has the following code in it:
Code:
fading = function(image) {
_root[image]._alpha -= 5;
}
And the button, "button", has the following code in it:
Code:
on (release) {
fader = setInterval(_root.fading,10,fadeThis);
}
So WHY does the function fade the entire screen ("fadeThis" AND "button")??
Thanks
Scrolling Images Based On Button Interaction [renamed]
I wanted scrolling images that are buttons. I have 3 photos and I wanted them to scroll like this on
www.cartier.com/us.index.html click on cartier collections-jewelry
these scrolling images are exactly what I want to do. Ive tried creating a movie clip that doesnt seem to work. Any idea how to do this?
Thanks
Problems With Making A Button Play An Animation [renamed]
hi im not sure how to put this... but i need help finishing out the pathway to my movie clip... or somthing like that... let me explain..
this is how my document is set out..
-> means the next this is inside the one before it.
Scene 1 -> Menu ->Tween 1 ->Button1 -> home(mc)
what i want to do is.. when my mouse rolls over the button1, it will make home(mc) go to a certain frame and start ot play.. this is what i could come up with but it didnt work... i got the path wrong i thinks...
on (rollOver) {
button1.home(mc).gotoAndPlay(2);
}
that part of code is on the button1...
plz can someone help i would be very greatfull...
A Little Help With Loading Web Site Content With Button Click Please [renamed]
hi all!
i'm getting closer to my finished site just a few final glitches to clear up.
i have the main guts of the site load up and then when you click on a button i have action script that loads content upon release and the buttons stay put and the page loads up on the left hand side.
http://www.freewebs.com/ex_iled/
however, i do have a page (left side) that i want to have load when the initial page loads up for the first time (the home page). now the buttons and the pictures stay put during all page transitions, okay? so no reloading of those.
how do i get my home page (left side) to load at the same time as you first open the site and also to load if you were to press the home button without causing the buttons and the pics to reload again?
sorry, if this is hard to understand.
i know what the hell i'm trying to say, the question is do you understand what i'm saying!? lol!
thanks!
Trouble Making Text Appear By Pressing A Button [renamed]
I have made a button that displayes a movie clip (some text with a scroll bar), but when I click the button the text only displayes while the mouse button is down. How can I get it to remain after the button is pressed?
Code or instructions both welcome,
Thanks alot
Nuke
Scrolling Images Based On Button Interaction [renamed]
I wanted scrolling images that are buttons. I have 3 photos and I wanted them to scroll like this on
www.cartier.com/us.index.html click on cartier collections-jewelry
these scrolling images are exactly what I want to do. Ive tried creating a movie clip that doesnt seem to work. Any idea how to do this?
Thanks
Problems With Making A Button Play An Animation [renamed]
hi im not sure how to put this... but i need help finishing out the pathway to my movie clip... or somthing like that... let me explain..
this is how my document is set out..
-> means the next this is inside the one before it.
Scene 1 -> Menu ->Tween 1 ->Button1 -> home(mc)
what i want to do is.. when my mouse rolls over the button1, it will make home(mc) go to a certain frame and start ot play.. this is what i could come up with but it didnt work... i got the path wrong i thinks...
on (rollOver) {
button1.home(mc).gotoAndPlay(2);
}
that part of code is on the button1...
plz can someone help i would be very greatfull...
How Do I Make A Button (rollover) Reveal A Link That Can Be Clicked [renamed]
Hi, I'm doing a group project and I need a bit of help. I'm planning to do a rollover button, and when i roll over the button it'll display a link. I've actually built one like that but whenever i want to move my mouse cursor from my mouse to the link, the link just disappear. how do i make it so that whenever i move my cursor from my mouse to the link it won't disappear and it'll only disappear only after i've click on the link? thanks in advance!
How Do I Make A Button (rollover) Reveal A Link That Can Be Clicked [renamed]
Hi, I'm doing a group project and I need a bit of help. I'm planning to do a rollover button, and when i roll over the button it'll display a link. I've actually built one like that but whenever i want to move my mouse cursor from my mouse to the link, the link just disappear. how do i make it so that whenever i move my cursor from my mouse to the link it won't disappear and it'll only disappear only after i've click on the link? thanks in advance!
Loading Two Swf's Next To Each Other [renamed]
ok wow!! i need HELP big time with some stuff! first of all..im trying to load an .swf movie (or file which ever it is) into my main movie...well the way im doing that is by clicking a button and then the movie loads...then im wanting to be able to click another button and load a different movie BUTTTT when i do this right now the second button's movie loads right over the first buttons movie!! what do i do?!?
also im wanting to make a text scroller with JUST the slider. how can i go about this?
p.s.
would appreciate just verbal help b/c i would like to try to do this without using someone elses stuff ...if thats ok...?!
If/else Problems [renamed]
lo all. im having trouble with a menu im workin on.
ages ago i learned how to use if statments to control a menu system like this one, but i've lost all my source files and cant remember much of the script, i remember settin variables on the buttons then usin if/else/else if actions to target frames (if button pressed = button 1 goto and play etc...) if you got 5 mins to look at the fla you shud see what im trying to do...basic i know...im just a noob. also i think i learned it in v5, the actions may have changed in v6 /v7. if anybody gets what i mean from this (vague) post and knows of any nice tutes please please let me know!
any help greatly appreciated!!
kev.
p.s. im usin v6
How Is This Menu Done? [renamed]
If you go to the www.panasonic.co.uk, you will see this amazing menu if you click "in the home & on the move". Can someone tell me how this is done please
best regards
Cd Rom Issues [renamed]
Help!!, I'm not very good at scripting, and I have been trying all day to find the answer to this simple operation, so this is like a last hope. I am developing a cdrom, and I have a main page with 8 buttons, which I want the user to click where they want to go and navigate back to and from this page. Is it better to make each of the 8 sections on new scenes, or would a separate movie for each be better. I feel that a separate movie would be better as the file size is quite large on some of the sections, but i'm not sure and could really use some advice. If I do make separate movies, then please what is the script for the buttons to navigate to the movies (i guess i would be loading .swfs'). I really need some help with this please.
Help With Sound (renamed)
I tried performing this tutorial:
Creating a Volume Control Slider http://www.kirupa.com/developer/mx/volume_slider.htm
I added my song to the library and exported the file to my desktop. The swf file plays perfectly on my desktop...the slider, stop and play button all work. The problem arises when i upload to website. It appears on the site but it doesnt play. It only says that it is downloading song and just stays like that for a considerable amount of time. I cant understand why it works on the desktop and not on the website. I think it is a quick fix... can someone can just tell me what i am doing wrong?
How To Color A Mc [renamed]
Hi Guys,
I wonder if you can help me out on this....
I want to create a color palette one side and on the other has like a white board so when a user select a color from the palette that color will appears on the white board.... How can you do that? Can you supply me a sample?
Thank you.
Bobby
Published Swf Is Way Too Big [renamed]
I need help publishing a .fla file.
any help is appreciated.
I've been toying some time now with Flash MX and websites, but never reach the point where I need to publish the .fla properly onto the net. I've reached that point now.
My problem is getting the final movie to work probaly in the browser. The final .swf movie is 2,81mb, because it contain a lot of pictures. Is that too much? When the .html and .swf is uploaded to ftp, the screen goes black in the browser, like the background color of the site, and it seems like taking forever to load the site and in the end nothing shows.
So what is the proper way to publish to fix this?
*** Renamed *** Masking Help
Is there no way I can do this with multiple MCs, each one moving around independently, but masked by the same lens MC?
Loading Two Swf's Next To Each Other [renamed]
ok wow!! i need HELP big time with some stuff! first of all..im trying to load an .swf movie (or file which ever it is) into my main movie...well the way im doing that is by clicking a button and then the movie loads...then im wanting to be able to click another button and load a different movie BUTTTT when i do this right now the second button's movie loads right over the first buttons movie!! what do i do?!?
also im wanting to make a text scroller with JUST the slider. how can i go about this?
p.s.
would appreciate just verbal help b/c i would like to try to do this without using someone elses stuff ...if thats ok...?!
If/else Problems [renamed]
lo all. im having trouble with a menu im workin on.
ages ago i learned how to use if statments to control a menu system like this one, but i've lost all my source files and cant remember much of the script, i remember settin variables on the buttons then usin if/else/else if actions to target frames (if button pressed = button 1 goto and play etc...) if you got 5 mins to look at the fla you shud see what im trying to do...basic i know...im just a noob. also i think i learned it in v5, the actions may have changed in v6 /v7. if anybody gets what i mean from this (vague) post and knows of any nice tutes please please let me know!
any help greatly appreciated!!
kev.
p.s. im usin v6
How Is This Menu Done? [renamed]
If you go to the www.panasonic.co.uk, you will see this amazing menu if you click "in the home & on the move". Can someone tell me how this is done please
best regards
Save As .txt? [renamed]
i'm developing an application,, of course using flash mx 2004..---interactive program.....
i wonder what else the script that i can use instead of SharedObject and fscommand(exec) to save the user's input into a file such as txt file. please...~~~
Cd Rom Issues [renamed]
Help!!, I'm not very good at scripting, and I have been trying all day to find the answer to this simple operation, so this is like a last hope. I am developing a cdrom, and I have a main page with 8 buttons, which I want the user to click where they want to go and navigate back to and from this page. Is it better to make each of the 8 sections on new scenes, or would a separate movie for each be better. I feel that a separate movie would be better as the file size is quite large on some of the sections, but i'm not sure and could really use some advice. If I do make separate movies, then please what is the script for the buttons to navigate to the movies (i guess i would be loading .swfs'). I really need some help with this please.
Movement With Acceleration [renamed]
Heyo!
Ok, i have this kinda difficult question (i think it is..) :
Let's say i have a button, and a movie, when i click on the button, i want the movie to move to another position with an accelerating effect ! How would i achieve this?
For the putton i have this code:
on (release){
instanceNameOfMovie._y = a value;
}
How can i modify it so that it will move to that value smoothly? i mean with an accelerating effect...
LoadMovie And _root PLEASE HELP [renamed]
I'm so freakin' frustrated!!!!
OK!!! i have an external movie clip that i want to load to a main clip.
This external clip have something to do with its root
So my question is:
1) How do u tell the _root in the external MC to point to its real root? (I've search the forum and tried to change _root to _parent but it doesnt work)
2) If changing to _parent doesnt work, does this means that there is something wrong with the empty MC container that i use?
I know there are some pro in this forum so PLEASE HELP ME!!!!!!!!!
Preloader Problems [renamed]
OK - i'm having major preloader problems with Flash MX 2004 Pro...
Here's a link to a website i'm trying to put together for a friend:
http://www.kraitt.com/hypertouch/index.htm
After entering, you will immediately notice the following:
I cannot get a preloader to work for the infinite menu that loads when you click on "gallery 1" (i've tried every tutorial and every type of preloader you can imagine and nothing works). At the moment it simply has no preloader - can anyone show me one that will work?
When the infinite menu is loaded, you will also notice that the preloader for each thumbnail also doesn't work. When you click on any of the thumbnails, the loading bar appears complete immediately, and sits there until the image is loaded.
The main menu button (gallery 1) basically loads the infinite menu, which is an external swf, and the infinite menu itself loads all the main images which are also external swf's.
Can anyone please help me.... ???
Flip Movieclips...? [renamed]
I have (most likely) a very easy question. How do you get a movie clip to flip vertically/horizontally when a key is pressed. I know how to rotate, but I need to get the clip to flip to make it look more realistic. PLEASE HELP!
Cursor Question [renamed]
Since im new with Flash and im at the begining i had a question to do.How do i have to do some effects to the cursor for my webpage or to the buttons.
Please some help
LoadMovie + Paths [renamed]
i am trying to load a movie into an empty movieclip (instance name container).
loadMovie("music_bar.swf", "container");
but when my main movie is playing, the music_bar.swf shows up but doesn't play... what am i doing wrong? it just appears but the buttons in the movie doesn't do anything
How To Adjust Framerate?[renamed]
I just got Flash yesterday and am making a few cheap cartoons, however they run very quickly and I was wondering how you could lower the framerate or whatever in order to view them properly. Thanks.
Logo Question [renamed]
Hai guys, I'm kinda new with flash and was wondering if any of you guys could help me out with the effect seen for example on this page. The logo and the links do blink for a while. I don't know how this effect is called and would appreciate if one of you can help with a tutorial or point me out where I can find a good tutorial of this effect.
Thank you very much and sorry if this question is stupid or has already been asked.
B-P
External Swf's Not Working [renamed]
Ok This a bit hard to explain but here i go... I am doing a web site where i load external swf's. http://kirupa.com/developer/mx2004/transitions.htm
Now i have a button where i load a photo page where i amn using the tutorial making a photo galerry However I have multiple galerrys and i ran into the prob of loading a external swf with a button inside that external swf to go to a certain gallery.
If that doesn't makes sense just help with this lol. I then decided to have under that photo button a drop down menu where there are supposed to be 4 more buttons that when you click on them they load the exteral swf according to the gallery. However the code used in the loading of external swf is not working on the drop down buttons.
Does neone have any suggestions???
LoadMovie Question [renamed]
sorry guys i need to post here because of faster traffic... urgent..
i just loaded a movie in the main movie.. how do i stop it from looping?
Font Not Showing Up [renamed]
hello
I am new to this forum and to flash in general... my question is probably really dumb but i cannot figure it out ...
I tried to follow the animated button tutorial and it is all ok
until i decided to modify it a bit and add some text and a mask to it ...
for some reason when i preview (ctrl-enter) the movie the mask hides the text but reveals the button ...
I hava no clue why it behaves this way ..
<here> is the souce file
could someone take a look .. thank you
Font Problems [renamed]
Hey guys ive been working on this project for about a week. Its my mini-blog for a website. Ive been having some serious problems with text illedgibility (bla bad spelling). And i need someone to please take a look at my .fla and fix my font errors.
http://www.guidone.com/matt/myspace/main.html
^this is how much help i need
ive been following that tutorial but i need someone else to help me now because i can't figure out a way to fix them.
Ill give u the link to the .fla after someone trustful chooses to aid me.
How To Add Text To The Tranistion Tut [renamed]
Hi,
I'm new around here and hoping someone might be able to help me with their actionscript knowledge.
I'm doing a project that involves loading external images and needs corresponding test to go with each pic. I'm basing the project off of the tutorial found here to load in the movies separately: http://www.kirupa.com/developer/mx/p...transition.htm
What I need to do is find a way to have text for each photo transition in/out, separately from the photos. This way the text will transition while the pic loads separately. If anyone can let me know what I would need to alter from the files from the above tutorial, it would be greatly appreciated. Thanks so much!
Masking Question [renamed]
How do create these effects, as lines running or something - http://www.vampirebloodlines.com/entrance.html
How does it called and how to do that effect?
|