ActionScript 3.0 :: Buttons Do Not Work When Running SWF

Jun 16, 2009

stop();
reel_btn.addEventListener.(MouseEvent.CLICK, onReelClick);
samples_btn.addEventListener.(MouseEvent.CLICK, onSamplesClick);
about_btn.addEventListener.(MouseEvent.CLICK, onAboutClick);
contact_btn.addEventListener.(MouseEvent.CLICK, onContactClick);
function onReelClick(e:MouseEvent):void {
[Code] .....

This is the code I'm running, everything to the best of my knowledge is in order, however when I run the SWF none of the button's work, I'm not getting any error messages.

View 6 Replies


Similar Posts:


ActionScript 2.0 :: Movie Clip Buttons - Target / Make The Buttons On The Other Frames Work

Aug 7, 2009

I have a movie clip with 15 frames. Each frame has buttons on it (mc's)... I was going to put the actions on the main timeline/stage and navigate within the MC from the main timeline. Is that possible? I can get the buttons on the first frame of the MC to work, but I can't seem to figure out how to target/make the buttons on the other frames work? I was thinking I could identify the path of the MC with the frame labels, but that doesn't seem to work. like: _root.RMChanger.(frame label).buttonOnFrame = function

I have to move a text box in and out over the MC backgrounds on the main stage... which is why I was thinking to do it this way? I've been switching back and forth bwtween AS2.0 and 3.0

View 9 Replies

ActionScript 2.0 :: Get The Mc To Move But The Buttons Remain Inactive And Also The Rollover States On The Buttons Don't Work

Jul 8, 2005

I am having trouble with a job I am doing at the moment which has an mc with buttons within it. I want it so that when I roll over the mc it tweens from a small version to a larger version, and on this mc there are some buttons. At the moment I can get the mc to move but the buttons remain inactive and also the rollover states on the buttons don't work. I have attached a simpler version of what I am trying to do to this post.

View 3 Replies

Flash Buttons - Manu Buttons Does Not Work On Some Computers ?

Dec 4, 2009

I'm having problems with the flash buttons on the flash website i made for a client. or some reason the buttons in the top and bottom menu work on some people's computers but on some they don't. I don't know what to do, i had this code for all the buttons,

on (release) {
getURL("http://legaldepartment.ca/","_self");
}

and they worked on my computer but on others the buttons didn't work at all so i added this code to each button also

on(press) {
_root.getURL("http://legaldepartment.ca/","self");
}

and they still work on my computer and some other people's computers but still some they don't work on some people's computers.

View 2 Replies

ActionScript 1/2 :: 2 Buttons Won't Work That Were Created Exactly Like Many Others That Work

Jun 1, 2011

I am using Flash CS4 with actionscript 2 to create an interacitve portfolio.I have 2 text buttons that work when I test them with "enable simple buttons." When I publish to IE these buttons won't work.  I have created over 50 buttons using the same methods, they all work.

View 8 Replies

Professional :: Exe Projector Running Slow While Swf Running Fine?

Mar 19, 2012

I have a strange problem. When I run an exe projector that I exported from flash cs5.5, and on few of my client's computers it running very slow in full screen.When I running an swf file (not exe projector), also in full screen, it running well!I checked my clients computer hardware, and it match the system requirements of flash player.

View 3 Replies

IDE :: Site Is Running Inside The Dreamweaver But When I Publish, It Is Not Running?

May 11, 2009

I have a problem in Flash Site uploading.That is, i have created a flash site & in the dreamweaver i inserted the flash site as insert -> media -> Shockwave.The site is running inside the dreamweaver but when i publish it, flashsite is not running.

View 2 Replies

Getting Buttons To Work?

Dec 10, 2009

I'm trying to create an informative flash program on Mt. St. Helens about the dust cloud it created when it errupted.  I have everything ready to go including the buttons and the pages the screen or next image it should take you to.  I'm just stuck on how I get the buttons to actually take you to the next frame.

View 24 Replies

IDE :: Nav Buttons Work Once, Not Twice?

Feb 4, 2010

if i'm on the home page of this flash site, a button on the nav menu loads the correct scene the first time it's clicked, but if you nav to another scene and click the first one agin to return to it, nothing happens. why would a button behave one way on a scene and another way on another scene?

View 1 Replies

CS3 Some Buttons Work Some Buttons Don't

Apr 16, 2009

I've used flash like twice in my life, but I think I know how to make a button. I'm working on my artists portfolio online and I'm making it in flash. Basically it has buttons which link to photos and videos. There are 5 videos and 5 photographs. Now the problem is when you click on a button and watch a video buttons 1-3 of photos don't work. But the 4 and 5 buttons for photos work. It seems to only happen after you watch a video. The same actionscript is on all of them GotoandStop is the command I'm using for the photos and GotoandPlay for the videos.

View 3 Replies

ActionScript 3.0 :: Buttons Only Work Once?

Dec 10, 2008

I had all of my code working, then I moved all of my main movie timeline into a movie clip (body_mc)Main movie now has 1 frame.My body_mc has a navigation menu, one button is portfolio_bttn which takes you to that frame label. It persists through all frames of body_mc. This button works fine.I seem to have everything working except 4 buttons on the first frame of body_mc. They should all perform exactly the same function as portfolio_bttn. They exist only in frame 1.They work the first time you click one (any one).Navigate back to frame one of body_mc and all 4 buttons will no longer work. What am I doing wrong??here is my code which is in frame 1 of the main timeline

Code:
body_mc.portfolio_bttn.addEventListener(MouseEvent.CLICK, clickPortfolio);
function clickPortfolio(event:MouseEvent):void {

[code].....

View 19 Replies

CS3 Have Four Animated Buttons But Two Don't Work?

Jun 1, 2009

[URL] the above site has small animated buttons that run through a sequence continuously until the user positions their mouse over the button then it launches into a 2nd sequence (all in the same movieclip). inside each movieclip there is the entire sequence and the first half is the bit that runs continuously - the second half is the mouse 'overstate'. the top layer has an invisible button and the action script:

[Code]...

View 3 Replies

How To Make Buttons Work

Dec 16, 2009

I am a new comer to flash and I have been teaching myself actionscript 2.0 and I am now trying to move to action script 3.0 this seems a dumb question but for the life of me i can't figure out how to make my buttons work.i am trying to have the user click at button that connects to a movie clips and plays the movie, the movie stops then goes to the next frame of animation.

View 1 Replies

Buttons Work But Not All Time

Jan 7, 2010

I am new to Flash and am having an issue with a project I'm working on. I have buttons that are in frame 1-150. I wrote the code in frame 1, but expanded the box to frame 150 so they will work. However latter in the project I want to be able to gotoAndStop frame 150, but when I do the buttons no longer work. I changed it to gotoAndStop frame 1 and they work. Can you not link to buttons in the middle of the "timeline".

View 1 Replies

ActionScript 3.0 :: Can't Get The Buttons To Work?

Oct 24, 2008

I'm trying to convert an AS2 file over to AS3 and I can't get the buttons to work. They do not want to gotoAndStop at certain frames in specific scenes. In the following code, if you click on a button it works fine, but when you attemp to change to a new Scene, it breaks and both buttons won't work thereafter. I've tried everything for almost a day now and cannot get this to work and cannot find any reference to the problem. Is AS3 buttons not able to go to a new scene as it suggests in the Help files?:

View 17 Replies

Professional :: Getting Buttons To Work?

Apr 1, 2010

i'm just learning Flash at a local college and my instruction is not being very helpful, so i'm hoping someone can help me. I need to insert a "start" button that will start the movie. I have the button on a layer called "startButton". I inserted another layer and called it "stopMovie" - this is where I add a keyframe on the 1st from and the last frame and then add a actionscript to stopmovie on both frames.
 
The problem I'm having is when I select the 1st frame of the layer where the button is localed, I go to the actionscript window/global fuction/timeline and then I want to select "play" but the system has it grayed out so I can't select it. My only option is "goto". But that doesn't work. All I want the funtion to do is start playing when I click on the start button.

View 1 Replies

IDE :: Why Do Buttons Work Through All Layers

Aug 11, 2009

I have a cascading/collapse flash menu.There are about 7 layers, each one of them a different page that slides and covers the other layers.for some reason, all the buttons on the bottom layer (layer 1 for instance) can be clicked on even when the 6 other layers are ontop of it with their own links and buttons. How can I make it so all my buttons don't shine through all the other layers. I can't slide the layer away to get ride of the buttons because it is still partially viewed when the other layers are ontop of it. I can't figure out why the buttons in layer one can be clicked in layer 2 when its on top of layer 1, or layer 3,4,5,6,7 when they are on top of layer 1-i assumed these layers would block out the buttons and links in the first layer(which is on the way bottom)

View 2 Replies

IDE :: Multiple Buttons Don't Work

Feb 19, 2010

I'm designing a website for a Reiki/Spiritual advisor thingymebob and I have a menu on the left of my page of buttons and when I click a button it displays the contents of the button on the stage. Easy enough, so to speak, but the code I have written should send the viewer to a certain frame in the timeline where the tween begins.

When I play the swf and click the home button it works perfectly on the first page and if I go down the menu and click every other button in order they too all work fine, but as soon as I start clicking any other button randomly there is no tween effect and it seems to send me to the wrong page(!) plus straight to the clear text on the stage without any fading in tween. As though it has just gone to the last frame of the tween.

Here's the code below. I've asked the spiritual advisor for guidance and he sent me here, so please prove him right - ha ha!

stop();
myHome.addEventListener(MouseEvent.MOUSE_DOWN,
mouseDownHandler2);
function mouseDownHandler2(event:MouseEvent):void {
gotoAndPlay(281);

[code]....

View 1 Replies

ActionScript 2.0 :: Why Buttons Only Work In Flash V6

May 8, 2009

Attached is an FLA with an image that moves onto the stage. There are 5 button MCs which are supposed to move the image left/right. Works great, only if the SWF is published for Version 6. However, published as a version 8 swf, the buttons no longer create motion. On a different thread, somebody published it as a version 8 and 9 SWF and said the buttons worked perfectly..FYI, clicking into the , imageStrip_mc is an Actions layer, as well as the Actions on the root timeline.I am using Mac OS X Flash CS 3 - v 9.0 - using ActionScript 2

View 2 Replies

Load The Swf And Have The Buttons Inside It To Work?

Jun 28, 2009

I have my main SWF into which I want to load an external swf...When I've tried using the following code...

var light:Loader = new Loader();
light.load(new URLRequest("light.swf"));
addChildAt(light, 1);

The SWF loads but the buttons inside it do not show. How do I load the swf and have the buttons inside it work? Anything inside of the external swf that is a movie clip works, but I'd like to be able to keep the up/down/over and hit features of the button.

View 2 Replies

Buttons Work Fine In .swf But Not When In Browser?

Jul 7, 2009

Basically a button in my .swf works fine, but when put in any browser it doesnt work. The button is in the flag in the top left and is a link to my advertising agency.

This is the .swf - [URL] and this is it in a browser - [URL]My code to embed is :

<object type="application/x-shockwave-flash" allowScriptAccess="always" allowNetworking="all" height="700" width="900" align="middle" data="http://www.littlekingdesign.co.uk/rico/ricobanner2.swf"> <param name="allowNetworking" value="all" /> <param name="movie"

[Code].....

View 1 Replies

Cannot Figure Out How To Make Buttons Work?

Nov 29, 2009

I have a 3 screen project and there are two buttons on each screen that have to be able to enable the user to jump to the appropriate screens when clicked on. I am totally new to flash and I have tried off and on for a couple weeks to figure this out in various books and online. I just can't figure out what I'm doing wrong.

View 1 Replies

F8 Buttons Dont Work Anymore

Dec 6, 2009

Im very new to flash and a colleague provided me with perfectly functioning swf presentation. I opened it with flash to make some minor mods and now when i save the pause/play buttons he had put on the presentation no longer work no longer work.

View 1 Replies

ActionScript 3.0 :: Buttons Do Not Work Within ScrollPane

Jun 29, 2010

I have a couple buttons that work outside of the ScrollPane but dont work within it. This is my exact code, how do I get them to work?
scrollPane.source = myContent;
scrollPane.setSize(173,500);
K1Button.addEventListener(MouseEvent.CLICK, playVid);
function playVid(e:MouseEvent):void{
myVideoPlayer2.myFLV2.source = "video/K.mp4";
myVideoPlayer2.myFLV2.play();
[Code] .....

View 1 Replies

ActionScript 1/2 :: Click Buttons Twice To Work

May 24, 2009

The buttons are contained in a movie clip.When you click the button, it starts the movie clip and makes the page "flip".Problem is, if i click back to page 1 and go back to page 2, it now takes two button clicks to start the movie clip.I put this action in the button where "page2" is the instance name of the movieclip:[code]

View 12 Replies

ActionScript 1/2 :: Buttons Don't Work On External .swf

May 31, 2009

I have a container .swf file which takes care of loading a menu.swf and maincontent.swf.  I finally got these working together and loading at the same time, but now I ran into another problem.  None of the menu buttons work.  It loads and XML takes care of creating the buttons and adding dynamic text to them.  I also have it set up so that the mouse's hover position over the clip scrolls it horizontally (because there are too many buttons to show at once).  All of this functionality works correctly.  However, the buttons' rollovers, clicks, etc. do not register.
 
The cursor turns into the hand cursor over the entire movie clip into which the menu is loaded, and I'm assuming there is some problem with the events only targeting the clip it is loaded in, and not the buttons themselves.  It works fine when testing it by itself.  I've just recently begun working with Flash, and I learned AS3.  However, I was given pre-existing commercial software to work with which was written in AS2, and now I've converted all of my work, and this is the problem I am running into.  By the way, it seems to always come up from what I've seen, though I don't understand much about it -- _lockroot is set to true.

View 3 Replies

Map With A Link - Buttons Doesn't Work

Jun 5, 2009

My map: [URL] The problem: The buttons does'nt work,i think i'm doing something wrong. They're in the map it self,because i don't want them to move while zooming. Actions of the button is: on (release) {getURL("http://mapping.lt", "_blank");} T.y. The fla of the map is here [URL]

View 1 Replies

Buttons Work In Test But Not Online?

Jun 25, 2009

When i test my movie the buttons work fine they get the URL that i want but then when i upload it to my page it does not get the URL. Am i uploading it wrong??? I Uploaded the SWF to the Server and posted it that way is there more involved or did i do something wrong in the actual movie. [URL]

View 5 Replies

Buttons Wont Work When In Browser, But Do In .swf?

Jul 6, 2009

if its in the wrong section Basically a button in my .swf works fine, but when put in any browser it doesnt work.The button is in the flag in the top left and is a link to my advertising agency.

My code to embed is :
<object type="application/x-shockwave-flash" allowScriptAccess="always" allowNetworking="all" height="700" width="900" align="middle"

[code]....

View 1 Replies

Buttons Won't Work Under Imported Artwork?

Dec 4, 2009

I've created buttons that light up when moused over. They work fine but I need them under a semi-transparent layer that has been imported and when I move them under it they stop working.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved