Why Don't My Buttons Work? Quick Help Here.
When I make buttons, they only work in the "Button.fla" tutorial document. When I drag the same instance, or a new instance from the library of the same button they DO NOT work in my new document.
Why is this happening? I'm making the buttons correctly, I know how to make buttons. I've been doing so for some time- but this problem started occurring after a break I took form Flash. It doesn't make sense to me, I'm making buttons exactly how they are supposed to be made (according to the tutorials I've checked; even the one on Macromedia.com).
FlashKit > Flash Help > Flash General Help
Posted on: 03-05-2005, 08:45 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
GerURL Not Work...HELP QUICK PLEASE
this is really urgent.
I have made a button in my flash movie that links directly to a .DOC document on my website.
When i click "get direction info" link in my flash movie..it is supposed to download the .doc file (because i linked it directly to that).
Instead... a new windows opens (because i used _blank)....and just shows the linked address..but wont download anything. If i click on the address bar where the link appears...ONLY THAN will it download.
Whats going on?
please help...thanks.
Quick Help Hit Test For Shapeflag Wont Work
if (this.hitTest(_root.ghost1._x,_root.ghost1._y, true)) {
_root.score += 100;
_root.ghost1.gotoAndPlay(2);
_root.test = "false";
}
thats my code for hitTesting a MC named "ghost1".
I want to hitTest the exact area of the "ghost1" movie clip rather than the bounding box. But when I tried shapeflag, it wouldnt work! I've tried fixing my problem but it wont be fixed. When the lasers do hit the ghost, no action happens. But the script was working fine when i used this.hitTest(_root.ghost1). But this script wont work...
Right here is a swf file of my game. Press "CTRL" on your keyboard to fire, and use arrow keys to move.
Please help me solve the problem.
Thanks
Quick Mouse Movement Causes RollOut Not To Work
Hi, I'm sure this is a common issue ... however I've searched the internet and can't find any help on the issue. I have 6 buttons with rollOver & rollOut scripts. These scripts set an animation in progress. However, when you move your mouse over quickly the buttons get stuck down (at the end of the "rollOver" animation). Understand?
I have tried two scripts, and both still have the same issue:
on the first-frame:
Code:
home_btn.onRollOver = function():Void{
home.gotoAndPlay(2)
}
home_btn.onRollOut = function():Void{
home.gotoAndPlay(5)
}
OR ... this code on the button:
Code:
on(rollOver){
about.gotoAndPlay(2);
}
on(rollOut){
home.gotoAndStop(1);
about.gotoAndPlay(5);
quotes.gotoAndStop(1);
holiday.gotoAndStop(1);
travel.gotoAndStop(1);
members.gotoAndStop(1);
contact.gotoAndStop(1);
}
Getting Email Form To Work When Its LoadMovie'd (quick Fix?)
OK i finally got this forum working but when i put it in the entire page.. it dosn';t work... it works if i open it buy its self.. but not inside the host movie...
here is the script for flash only one tiny bit
on (release){
form.loadVariables("email.php", "POST");
}
mabye something iwth _root i need in there?
help please
Getting Email Form To Work When Its LoadMovie'd (quick Fix?)
OK i finally got this forum working but when i put it in the entire page.. it dosn';t work... it works if i open it buy its self.. but not inside the host movie...
here is the script for flash only one tiny bit
on (release){
form.loadVariables("email.php", "POST");
}
mabye something iwth _root i need in there?
help please
BUTTONS: Please HELP Quick
Hello Everyone. I'm in a big trouble here. I'm supposed to submit a site project for my school in a couple of days. Problem is, I can't find a good flash button, which is like metallic and has a nice animation, and possibly it round from the sides. I have such a button, but it's action sare so messed up, that I can't fix it. So, can you guys please let me know of a good flash button sote, which will let me import the button inside Flash and modify it for a non-commercial offline project. I need help bad guys, so please try to help me. Thanks in advance!
Quick Tap Buttons
I'm trying to make a game where you must tap the left and right arrow keys as fast as possible and then press space bar when the power meter is at a curtain point. Any suggetions how to make that possible?
I'm using Flash MX 2004 Pro.
Quick Buttons
I'm trying to redue my webpage in Flash and I'm having a lot of difficulty setting up link buttons. I want to click on the button and open a new webpage. Can someone just give me the EXACT code that I need to do this? I would appreciate it greatly.
Quick Question About Buttons?
ok just as we all seem to be in the same room, has anyone gto any cool ideas about funky buttons... i am exhausted and need some inspiration... too much time staring at these screens... help...
Quick Question About 2 Buttons On Top Of One Another
I have Button1 that covers the entire background of my Flash movie, and when this button is rolled over a movieclip, that contains Button2, appears on the stage. And in turn, when the used rolls out of Button1, the movieclip disappears again. The problem I'm having is that when the mouse rolls over Button2, this causes the 'disappear' action on Button1 run.
So... my quick question is, how does one enable Button2s actions, while retaining the state of Button1?
Make sense? Hope so. Thanks in advance.
Quick Question About 2 Buttons On Top Of One Another
I have Button1 that covers the entire background of my Flash movie, and when this button is rolled over a movieclip, that contains Button2, appears on the stage. And in turn, when the used rolls out of Button1, the movieclip disappears again. The problem I'm having is that when the mouse rolls over Button2, this causes the 'disappear' action on Button1 run.
So... my quick question is, how does one enable Button2s actions, while retaining the state of Button1?
Make sense? Hope so. Thanks in advance.
Quick Question About 2 Buttons On Top Of One Another
I have Button1 that covers the entire background of my Flash movie, and when this button is rolled over a movieclip, that contains Button2, appears on the stage. And in turn, when the used rolls out of Button1, the movieclip disappears again. The problem I'm having is that when the mouse rolls over Button2, this causes the 'disappear' action on Button1 run.
So... my quick question is, how does one enable Button2s actions, while retaining the state of Button1?
Make sense? Hope so. Thanks in advance.
Quick $: Buttons And Preloaders Tonight.
i know y'all are all about self sufficiency, but if someone doesn't help me then:
at the current rate, I will have torn all my hair out by midnight.
Lucy the WonderDoberman will die of neglect
the board of health will close down my house
i will starve to death.
SO- although these are ridiculously easy things to which i've read EVERY tutorial out there. MULTIPLE times, I can't do it. I'm a grown woman, I can admit this. Hell, I can build a functioning couch out of cardboard and glue, but I cannot do this.
SO, it MUST get done!
- 3 movies need preloaders. EXACT same preloader. Preloader already exists, just doesn't work. And we're talking, flashing text that says "loading", not the building of the taj mahal.
- movie needs four buttons to "geturl". Buttons are made, Movie is made, simply needs to be made to WORK.
Thats it. I know, like 10 minutes of work, but I can't get it to do it! So please, I beg of you, Take pity on me. There's MONEY involved!
Please email me asap at amanda@howlingzoe.com if you can help me out. Happy to pay for this pathetically simple job.
Animated Buttons..need Quick Answer
ok.
so how do i make an animated button?
do i make a movie clip that has mouse click properties?
i've had some trouble with this so far.
any info/tutorials would be great!!
thanx
Quick Forward/rewind Buttons.
Hello, I've just completed the "video basics" tutorials but I can't figure out how to make simple quick forward or rewind button, like the ones on the site.
I'd be grateful if someone will help me. Thanks in advance.
Differing Mc Buttons That Work Like Radio Buttons
Ok I posted this in the newbie forum but thought I'd reword it here for clarity.
Basically, I have a row of buttons that are all different since they will be thumbs with different images for each.
Now they should have rollover states as well as on/off states, meaning I would like to have them jump to certain frames on rollOver, rollOut, and release events.
The way in which they work like radio buttons, is that when one is 'turned on', it turns off the one that was last 'on'.
I've tried everything but it seems that the rollOut deactivates the 'on' state.
Here's what I have that works navigationally. This script is attached to an mc with an instance name 'thumb_mc1' embedded within a parent clip.
on (release) {
_root.holder_mc.loadMovie("image1.swf", 0);
this.gotoAndPlay(2);
}
You can see it's targeting placeholder clip, which is now working fine. Frame 2 is the 'on' state and I want it to remain there regardless of the rollOver or rollOut. Then when 'thumb_mc2' is clicked, I want 'thumb_mc1' to return to frame 1.
Eventually, the rollOver and rollOut animations will be more complex, but for now, I just want to do basic timeline control in a way that mimics radio buttons.
Please help!! This seems like it should be built into Flash somehow, but I can't find anything on solving the problem!!
Quick Question On Buttons Within A Movie Clip
I have a movie clip that has a button. Now I want it so that when the button inside the movie clip is pushed, the main timeline will jump to a certain frame. How would I do that. It's been a while so I need help with this.
Thankx.
Phil
Quick Response Buttons? Ideal Set Up? Come On You Pros... ;) Please Help
Hi guys...
I've been trying to find an ideal way of setting this up for ages - hoping the flash wizards among you might be able to point me in the right direction...
I want to set up my button to start playing a movieclip on rollover - then carry on playing it on rollout. I've set it all up and it works - as long as you move the mouse pretty slowly...
Quick sum up:
• movieclip, 1st frame empty with stop action, labelled for 'in' and 'out' animation - stopped in the middle - last frame return and stops on 1st frame
• button script start playing 'in' label on rollover and 'out' label on roll out
Now the problem is that even though the rollover seem to work fine - the roll outs respond too irratically... when trying to jump between buttons too quickly... it just hangs, sometimes as bad as not showing the next rollover movieclip....
I've tried putting extra buttons around the actual button - to have 2 roll over actions instead...
Anyway, I'm hoping someone might know the best way to get this kind of thing to work... ?!????
Thanks
PS I've attched the file I'm currently working on - so you can have alook and see what I mean...
Need Quick Actionsript Help With Buttons+loaded Movies
Hi there. I need help! Can someone help me turn my lamen's description into actionscript that will work?
Here's what I want to do...
I have a series of buttons (home, about, contact, samples) on level0 that when pressed load different movies into level1 (home.swf, about.swf, contact.swf, samples.swf, you get the idea).
So the big question, is there a way to say, "Hey Home button, home.swf is already loaded into level1, so don't function as a button anymore. In fact, look like this static symbol instead."
Esentially, I think I need an if/else statement and some sort of swap instance statement, but I have no idea how to write them.
Any takers?
I've got another part to this question but I'll wait to see if I can get past this part first.
Thanks in advance!!
Hit Area Of Movie Clip Buttons-quick Question
hi,
if possible could somebody tell me how to use a movie clip as a button? i'm pretty sure ive got this right but i wanted to confirm as im new to actionscript.
what ive done is changed text into a group and converted to a movie clip. then specified up, over and down states. the problem is the hitarea is only the actual object ie the text.
is it possible to make the hit area bigger?
i know this sounds very basic to your pro's but i'm really baffled by it
thanks
Still Buttons To Work Like The Carousel Buttons
i have this code for a carousel but i want to and still buttons on the top and when i click on then i want it to do the same thing as the carousel button is doing. is there away where i could add code in to link to make this work?
can anyone help me?
ActionScript Code:
import mx.utils.Delegate;
import mx.transitions.Tween;
import mx.transitions.easing.*;
var scope = this;
var numOfItems:Number;
var radiusX:Number = 300;
var radiusY:Number = 85;
var centerX:Number = Stage.width / 2;
var centerY:Number = Stage.height / 2;
var speed:Number = 0.05;
var perspective:Number = 130;
var home:MovieClip = this;
theText._alpha = 0;
var tooltip:MovieClip = this.attachMovie("toolTip", "toolTip", 10000);
tooltip._alpha = 0;
home.attachMovie("experiments","exp",this.getNextHighestDepth(),{_visible:false, _alpha:0});
home.attachMovie("about","about",this.getNextHighestDepth(),{_visible:false, _alpha:0});
home.attachMovie("dr","dr",this.getNextHighestDepth(),{_visible:false, _alpha:0});
home.attachMovie("photogallery","photogallery",this.getNextHighestDepth(),{_visible:false, _alpha:0});
home.attachMovie("banners","banners",this.getNextHighestDepth(),{_visible:false, _alpha:0});
home.attachMovie("think","think",this.getNextHighestDepth(),{_visible:false, _alpha:0});
var toolTipArray:Array = ["Banners", "Photo Gallery", "Think Tank", "About Me", "Demo Reel", "Experiments"];
var idNames:Array = ["banner", "cam", "light", "me", "reel", "science"];
var moviesToShow:Array = [home.banners, home.photogallery, home.think, home.about, home.dr, home.exp];
//trace(moviesToShow);
//positioning the content
exp._x = 430;
exp._y = 250;
about._x = 430;
about._y = 250;
dr._x = 430;
dr._y = 250;
photogallery._x = 430;
photogallery._y = 250;
banners._x = 430;
banners._y = 250;
think._x = 430;
think._y = 250;
var numOfItems:Number = idNames.length;
var t;
var icn;
for (var i = 0; i < numOfItems; i++) {
t = home.attachMovie("item", "item" + i, i + 1);
t.angle = i * ((Math.PI * 2) / numOfItems);
t.onEnterFrame = mover;
t.toolText = toolTipArray[i];
icn = t.icon;
icn.attachMovie(idNames[i],idNames[i],t.icon.getNextHighestDepth());
icn.onRollOver = over;
icn.onRollOut = out;
// save an index of button
icn.i = i;
// scope released to the button
icn.released = released;
icn.onRelease = function() {
this.released();
};
}
function over() {
home.tooltip.tipText.text = this._parent.toolText;
home.toolTip._x = this._parent._x;
home.toolTip._y = this._parent._y - this._parent._height / 4;
home.toolTip.onEnterFrame = Delegate.create(this, moveTip);
home.toolTip._alpha = 100;
}
function out() {
delete home.toolTip.onEnterFrame;
home.toolTip._alpha = 0;
}
function released() {
home.toolTip._alpha = 0;
var mc = moviesToShow[this.i];
trace(mc);
if (mc != null) {
mc._visible = true;
//tween in?
mc._alpha = 100;
mc.x = stage.stageWidth / 2;
mc.y = stage.stageHeight / 1;
}
for (var i = 0; i < numOfItems; i++) {
var t:MovieClip = home["item" + i];
t.xPos = t._x;
t.yPos = t._y;
t.theScale = t._xscale;
delete t.icon.onRollOver;
delete t.icon.onRollOut;
delete t.icon.onRelease;
delete t.onEnterFrame;
if (t != this._parent) {
var tw:Tween = new Tween(t, "_xscale", Strong.easeOut, t._xscale, 0, 1, true);
var tw2:Tween = new Tween(t, "_yscale", Strong.easeOut, t._yscale, 0, 1, true);
var tw3:Tween = new Tween(t, "_alpha", Strong.easeOut, 100, 0, 1, true);
} else {
var tw:Tween = new Tween(t, "_xscale", Strong.easeOut, t._xscale, 100, 1, true);
var tw2:Tween = new Tween(t, "_yscale", Strong.easeOut, t._yscale, 100, 1, true);
var tw3:Tween = new Tween(t, "_x", Strong.easeOut, t._x, 200, 1, true);
var tw4:Tween = new Tween(t, "_y", Strong.easeOut, t._y, 320, 1, true);
var tw5:Tween = new Tween(theText, "_alpha", Strong.easeOut, 0, 100, 1, true);
theText.text = t.content;
var s:Object = this;
tw.onMotionStopped = function() {
s.onRelease = unReleased;
};
}
}
}
function unReleased() {
var mc;
for (var all in moviesToShow) {
mc = moviesToShow[this.i];
if (mc != null) {
mc._visible = false;
//tween in?
mc._alpha = 0;
}
}
delete this.onRelease;
var tw:Tween = new Tween(theText, "_alpha", Strong.easeOut, 100, 0, 0.5, true);
for (var i = 0; i < numOfItems; i++) {
var t:MovieClip = home["item" + i];
if (t != this._parent) {
var tw:Tween = new Tween(t, "_xscale", Strong.easeOut, 0, t.theScale, 1, true);
var tw2:Tween = new Tween(t, "_yscale", Strong.easeOut, 0, t.theScale, 1, true);
var tw3:Tween = new Tween(t, "_alpha", Strong.easeOut, 0, 100, 1, true);
} else {
var tw:Tween = new Tween(t, "_xscale", Strong.easeOut, 100, t.theScale, 1, true);
var tw2:Tween = new Tween(t, "_yscale", Strong.easeOut, 100, t.theScale, 1, true);
var tw3:Tween = new Tween(t, "_x", Strong.easeOut, t._x, t.xPos, 1, true);
var tw4:Tween = new Tween(t, "_y", Strong.easeOut, t._y, t.yPos, 1, true);
}
tw.onMotionStopped = function() {
for (var j = 0; j < numOfItems; j++) {
var t:MovieClip = home["item" + j];
t.icon.onRollOver = Delegate.create(t.icon, over);
t.icon.onRollOut = Delegate.create(t.icon, out);
t.icon.onRelease = Delegate.create(t.icon, released);
t.onEnterFrame = mover;
}
};
}
}
function moveTip() {
home.toolTip._x = this._parent._x;
home.toolTip._y = this._parent._y - this._parent._height / 4;
}
function mover() {
this._x = Math.cos(this.angle) * radiusX + centerX;
this._y = Math.sin(this.angle) * radiusY + centerY;
var s:Number = (this._y - perspective) / (centerY + radiusY - perspective);
this._xscale = this._yscale = s * 100;
this.angle += this._parent.speed;
this.swapDepths = Math.round(this._xscale + 100);
}
this.onMouseMove = function() {
speed = (this._xmouse - centerX) / 2800;
};
stop();
Buttons Work In Fla Won't Work In Swf
I am using the trial version of 2004 mx. I think I may have a bug when it comes to my buttons. That or I'm just overlooking something.
when I enable simple frame actions and buttons in the fla project, my buttons work just fine. They do what they are programmed to do. When I test movie or publish a swf the buttons no longer do anything they are suppose to do.
Also, different project - buttons worked in fla and swf but couldn't find the scripting to change from rollover to on release.
Anyone else having problems with 2004 buttons?
BUTTONS DON'T WORK
I'm at my wit's end. I've created buttons for:
start, stop, play(from current frame), back(1 frame back each click), forward(1 frame forward each click) all with rollover effects. In the authoring environment with enable simple buttons checked they work perfectly. However, they won't work at all in "test movie" nor when I publish the movie. When I start flash I get a box saying it can't find the shortcut to generator, can this be the problem? I've done everything exactly as it is supposed to be done in creating the buttons and assigning the script. This file is an animated christmas card it can be seen as the swf movie via my website.
MC With Buttons Tha Don't Work
I'm working on the portfolio section of my site. I seem to have hit a wall.
I have a MC that has 4 buttons inside it. I want these buttons to change a graphic within that movie. That whole movie than sits inside of another MC that scrolls vertically.
When I'm working on the MC w/ the 4 buttons and enable them everything works fine. The buttons work and the graphics switch. When I test the thing the buttons do not work. The cursor switches to the hand but nothing happens to the graphics.
What am I doing wrong? I'm begining to pound my head against the wall.
Thanks
Craig
http://www.smallfarmdesign.com
Buttons(how They Work)
umm this may sound stupid but i cant figure out how to make a button work i have a button and i want it to make my movie go to scene 1 frame 2. how do i do this?
Buttons Don't Work In MC
I have designed a masked nav that follows the mouse and when rolled over the nav stops moving and the mask kicks in, but I can't get the buttons to work.
Any suggestions,
Cheers Phil
Still Cant Get These Buttons To Work
Right how the hell do i do buttons just plain standard libray buttons i got them to work in preveiw but as soon as i export it and put it in2 a xhtml document they wont work i really need to know now as my assignment has to be in tomorow or i fail the course so would some1 give me the action script so i can navigate form scene 1 to scene 2 and so on .......
It will be much apprieciated if some1 can help me
Fankoooooooooooooooooooooooooooooooooooo
Why Won't My Buttons Work?
I have created a set of buttons to control my page, but none of them seems to work. Not even the button that links to an external page, when I click on it, nothing happens....
can anyone pls help??
m.
My Buttons Don't Work
I set up a site using Dreamweaver and Flash buttons, but the buttons give me a file not found kind of message.
I think the problblem is in Dreamweaver. Does anyone have an idea?
Buttons Don't Work
I've converted several buttons into a symbol (graphic), but then buttons don't work and whole presentation starts from the begining again. What do I wrong? Please help.
tx
Can't Get Buttons To Work
I have a row of buttons in a movieclip and have applied the 'goto scene' function to each button within the movieclip. When this movieclip is placed into the scene the buttons don't work, but if I place one of the buttons directly onto the scene it works! Anyone know what's going on. I would rather do it the first way if I can as this will save me a lot of work (there are 15 scenes, meaning 15 buttons repeated 15 times!).
Buttons Work Then Don't
Howdy!
I have a subMenu within a menu. When the main menu button clicked the subMenu appears.
When I test the subMenu on its own (ctrl+Alt+enter) the buttons within work fine. When I test the whole movie (ctrl+enter) the buttons do not work (i.e. the 'over' and 'down' states of the button don't happen when the mouse is brought over/clicked on the button).
I am using a onRollover and a onRollout command within the main menu so that the subMenu shows itself aslong as the mouse is over it, and then it dissappears when the mouse moves away. Could this rollover command be messing up the buttons within??? If so, how can I get around it?
File is available at: www.benwalker.org.uk/flash (filename: ben2.fla)
Also the various .swf files are there too.
Cannot Get Buttons To Work, Please Help. Anyone.
Ok guys I am having a huge problem.
I bought a flash website from a website, and I cannot get the buttons to work. It came with a whole bunch of files, such as a folder called html and it has all the html pages in it just like the site is completed. But there are a few things I want changed on the flash. Like the buttons and their names, they say things that I want changed. So when I go to open the 1040.fla and edit it and finish what I want, I go to try it and realize there are no links to the buttons. When I put in code for the action script, nothing happens to the buttons or it just changes all the buttons links. Also it takes the sounds off the the buttons when you mouse over. So I have come to the conclusion that it must be something else. Now I have asked about 4 people about this, and they cannot figure out how to make the buttons link to a certain URL. I have tried myself, and have spent hours trying to do it. But I just cannot.
I think, the web designers who made this site specifically made it so you have to ask them to do it, but there is one problem. I asked them but the support for them to put in the code or whatever, costs $70. So before I go and do that, I am going to ask anyone here that can please help me. If you want, you can contact me @ raize2k on AIM or hcsk8r102@hotmail.com on MSN. Please someone help me, I am in dire need of any help. Thank you.
Buttons Will Not Work...
Okay I have no idea WHY these buttons arn't working.. I do this all the time, and I have never had a problem like this before. I Can't figure out why the buttons are fading in and out.....
PLEASE someone have a look and see if they can solve my problem. I have been working on this for 2 days and still nothin'
Some Buttons Work And Others Don't
I am using flash 5 to create some buttons that I will transport into an html site using Dreamweaver 4. Some of the buttons work and others don't. Any suggestions as to why that is? I have double checked the code on each button and they are similar.
Example: working button:
on (release) {
getURL ("beauty.html", "_self");
}
Example: not working button:
on (release) {
getURL ("catalog.html", "_self");
}
All help is greatly appreciated.
Taz
Help My Buttons Work Please
Is this possible? I am trying to assign a function to a button and pass a parameter to it but it is behaving strangely.
Basically it is an address book and it has tabs (buttons) for each group of 3 letters e.g abc, def etc
The line of code to assign the function to the abc button is:
// ************************************************** **************
Addbook_MC.abc_but.onRelease = addresstab_button_clicked("abc");
// ************************************************** **************
And the function is:
// ************************************************** **************
function addresstab_button_clicked(passed_ID) {
trace ("addresstab_button_clicked " + passed_ID);
}
// ************************************************** **************
When I test the code WITHOUT even clicking on the abc button, I am getting the following trace message
"addresstab_button_clicked abc"
Then when I actually click the button nothing happens. I do not understand why the button event is being triggered without even clicking the button.
Any ideas much appreciated
Thanks
Paul
when I run
Other Buttons Don't Work
now my buttons underneith the invisible button won't work.. why is this?
And thanks for the help btw
Buttons Work Buttons Don't Work
Hi.
When I "Enable Simple Buttons" on the stage, all buttons work perfectly. When I "Test Scene", buttons won't work at all.
Thanks in advance for any help.
Can't Get My Buttons To Work
okay so what i am simply trying but cannot do is have a button not only hyperlink but upon rollover display a small message to the side. I can't for the life of me get this function to work properly. ANY tips/help are greatly apprechiated.
Can't Get My Buttons To Work...
i am building our new church site and thought i would try making the home page in flash (mx 2004). i am relatively new to flash and have been trying to learn it on my own... the problem i am having is with the menu. i built my buttons and have tried linking them to go to the various site pages. at first i couldn't figure out where to script the url or what syntax or commands to use. on the button frames (up, down, over, hit - it wouldn't let me add any behaviors or script but i could add a link to the down and hit frames in the properties menu but they wouldn't go to the pages i linked...) then i found that if i went to the behaviors menu at the frame that contains the buttons, it would let me add the "on release" "go to webpage" command if i attached this behavior to the overall button frame - and if it is converted a symbol. when i tested it, it worked except it has one major glitch - it automatically goes to the first page before i have a chance to click anything. i loaded it up on the site at http://www.thelighthousefellowship.org if anyone would want to look at it and see what i am talking about.
also, if you watch it, i have the lighthouse lighting (or "spinning") to three points and then stopping (i will add a 4th point later 0 maybe). i would like to loop this animation - keep it spinning - after everything else is loaded. but, i don't know how to do this either... i added a global stop command on an end frame to keep the page from reloading which is fine, but i would like to keep that animation going.
any help would be deeply appreciated.
be blessed.
yours in Christ,
tim
Buttons Don't Work
I am creating buttons using Times New Roman font. I create the button and when I enable buttons in the workspace it works fine, highlighting the word, going to the correct frame, etc. Once I publish the movie though the button stops working. The word is still there, but it does not react to the cursor. What am I doing wrong? Thanks.
Cant Get Buttons To Work
Hi guys, this has got me completely stumped, i cant see where im going wrong.
Ive made an intro, which stops when when its complete, and then you have to press a button to make it continue.
The button is in the library and i have named an intance of it as "endintro"
When the intro is complete, i have named a frame "Intro Fade" when there intro will fade out (so the menu can appear).
In frame 1, i have an action layer and have the following code:
stop();
begin.onPress = function() {
play();
};
endintro.onPress = function() {
gotoAndPlay("Intro Fade");
};
However, when the intro finishes loading and it reaches the stop command, the button will not make it go any further. I have no idea why its not working, could anyone please help?
If you need the .fla it is here http://www.allanf.pwp.blueyonder.co....ct/project.fla
If anyone could give me guidance to why its not working id be most greatful.
Thanks
Only The Last 2 Buttons Work? Please HelP?
i have 6 buttons. One by one i made the rollover state alpha=50% , down state =tint change , and i tried using hit and not using hit states.
after making these changes on button 1, I did "test scene" and the states worked. i added the same changes to all the buttons - and did positively nothing else - and now only the last two buttons rollover states will work in "test scene" or when published. the pointer does turn into a hand over all of them, however only the last 2 buttons turn transparent and tint.
however, when I do enable simple buttons, they all work as requested?!?
when I publish, last 2 work.
I'm usuing mx 04 pro on a mac, but it does the same thing on a pc when published.
Please help.
Getting Buttons To Work
Hello, I am trying to make a small slideshow in flash and have made two different movies and made the buttons on the front page. But, I can't seem to get the buttons to work. I have given them names and used the gotoplay function in actionscript...but nothing happens. I would be happy to upload the project and have anyone look at it and let me know what I am doing wrong. I am using Flash Professional 8
[F6] Getting Buttons To Work
Hello,
Having such good luck fixing ONE problem I have had with my web site.. I am lookign to solve another...
What I am looking to do is when teh user hits a button it will switch pages and there will be a list of items there... (either animations I have done, or design pieces etc etc) and when the user clicks on on of the items in the list, A window will appear to show the art work/animation/ etc
Is this possible? I included a drawing to kind of help show what i am getting at.
[f8] Please Buttons Don't Work
I have made a scroll menu, wich is a mivie clip that has buttons inside.
The problem is that when i give a function to the buttons to load movie they don't work... Is it because they are inside the movie clip?
Is there a way to make them work???
See the attach file
Please help...
Thank you
Buttons Don't Work On Mac
Hi,
I have a wierd problem. I have a website that is part Flash and part XHTML.
All my flash buttons have stopped working when I test the site in Firefox or Safari on my mac. They did work but now they don't and I have no idea why.
All the buttons work in IE 6 and 7 on PC And also in Firefox on PC but not on mac?!? I've tried testing on 3 other macs in the studio where I work but they have the same problem.
Has anyone come across this before? I've tried googling it but nothing seems to be mentioned.
The website is:
http://www.admgroup.entadsl.com/alph....V2/index.html
You can see the problem if you visit 'the team' section and try to click on any of the people and if you visit 'our solutions' and try to view more than portfolio item in any section using the white next button.
Thanks
Kirsty
How Do I Get My Buttons To Work?
Hi
I am new here, and new to flash. I hope someone could give me some guidance.
I'm new to flash and I've got CS3 installed. I've followed a few tutorials so far and have been pleased to be able to create a few nice animatons. My problem is with getting navigation into my work.
I have created a button, given it the 4 states that it needs "up, over, down, hit" and then placed it into the main scene. I am stuck from this point. I understand that I need to use action script to get the button to actually do something, but when i try to apply actions to the button, it says: "Current selection cannot have actions applied to it"
I'm a bit confused and would really appreciate some guidance with how to get navigation working in my flash animations.
Kind regards
Darrrius
[F8] BUttons Only Work Once
OK guys, i am well and truly stumped!
One of my buttons only works once. Theres a lot of code connected to it so i'l supply the code and tell you what its doing below, hopefully someone can isolate the problem(s):
This code is on the button:
on (release) {
this.mask.play();
}
Next - I use this function to move the button after the 'mask' (above) reaches a certain frame. This code is on an actions layer.
//Tear Function (Call)
mask.onEnterFrame = function() {
if (this._currentframe == this._totalframes) {
tear_function();
delete this.onEnterFrame;
}
};
//Tear Functions
function tear_function():Void {
this.onEnterFrame = function() {
if (this.black_dude._x>-70) {
this.black_dude._x -= 12;
}
if (this.drum._x>-180) {
this.drum._x -= 12;
}
};
}
Finally - There is one more function on the same actions layer as above, to move the button back to its original position.
parch_left.onEnterFrame = function() {
if (this._currentframe == "27") {
tear2_function();
delete this.onEnterFrame;
}
};
//Tear Functions
function tear2_function():Void {
this.onEnterFrame = function() {
if (this.black_dude._x<+210) {
this.black_dude._x += 12;
}
I also have a roll over function on the button, this however still works after the aformentioned code has run.
Does anyone have any ideas, i can upload the fla if required.
Cheers.
|