Professional :: Button Lnks Don't Work?

Feb 25, 2010

For some reason I can't get my buttons to link to a URL. The file was created in Flash CS3 and I'm working in CS4.  I'm still a newbee. Seems by the time I finally figure Flash out, it's time to learn it all over again. Getting familiar with AS, but still have along way to go. Anyway when I apply either these scripts to a button the url launches without ceremony or not at all when I preivew it. Probably something brain dead, I'm sure.
 
AS2.onRelease = function() {    getURL("http://www.http://www.linkedin.com/connections?trk=hb_tab_cnts.com");};
AS3linkedBtn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);function mouseDownHandler(event:MouseEvent):void {navigateToURL(new URLRequest("http://www.http://www.linkedin.com/connections?trk=hb_tab_cnts.com));}
 
Errors: Line 2 - The class or interface 'MouseEvent' could not be loaded. Line 1 - Statement must appear within on handler

View 8 Replies


Similar Posts:


AS3 :: Professional :: Getting Button Mc / 'this' To Work?

Apr 5, 2011

Im trying some AS3 for the first time. I have a mc without a instance name, sitting inside _root.first_mc.2nd_mc and its timeline I have a frame label at frame ten called "on" and at frame twenty called "off". in the first frame of its actions I found a peice of code that is meant to replace the old onRollover etc.

[Code]...

I run the code and I get no errors, the code isnt actually functioning. Do I have to do full mc naming instead of .this? Or am I doing something else wrong?

View 6 Replies

Professional :: Can't Get ONE Button To Work?

Sep 22, 2011

I am loading 4 external SWF's inside a Master Movie file. I've got 3 of the 4 working. The last one is giving be fits and I can't see the problem. I am housing the external SWF's inside a manually created container (AS2). This last button is being a rebel and it's driving me nuts. I've checked and double-checked to ensure the instance name matches the button name in the code....as well as the name of the external swf. It's all correct, to me. The .swf is in the same folder as the .fla, by the way.AS2 code:

stop ();
jukebtn.onPress = function ()
{

[code]....

View 6 Replies

Professional :: Can't Get Any Button To Work On Some Frames?

May 6, 2010

I have a movie that I have been working on.There is a simple animation/intro and then a main frame with several buttons set up to jump ahead to other frames.There are 4 buttons and they all work just fine and go to the respective frame with no problems.
 
My problem is in trying to add a button to one of those frames.  I can't get any button to work on any of those frames at all.  I tried to add a "home" button that jumps back to the main frame, but that wouldn't work.  So, I tried to copy the main frame and move it ahead on the time line but that didn't work either.  I tried to add buttons for the other frames as well and no button would work (regardless of where it was referenced) on those other frames.Here is the error message I keep getting:
 
Cannot access a property or method of a null object reference.

View 9 Replies

Professional :: Flash Button Just Does Not Work

May 31, 2010

I have been trying to work out my flash button. But it just doesn't work.. In flash, I made a button symbol. I did the four stage.up, over, down and hit. And I set the actionscript
on(release) {
getURL("[URL]","_blank");
}
When I tested the movie, it said 1087: Syntax error: extra characters found after end of program.

View 1 Replies

Professional :: Can't Get Close Button To Work

Dec 9, 2011

am using flash cs5.5, action script 3 and can't get my close button to work. the code is below. if you are able to help me that would be wonderful.
 
tried this:
 
// add an EventListener to the button
Vid.addEventListener(MouseEvent.CLICK, buttonClick);
// the function that runs when after button was clicked

[Code].....

View 3 Replies

Professional :: _self Does Not Work On Flash Button?

Mar 8, 2011

Im using this code on a nav menu i have created.

on (release) {
getURL("http://mysite.com", "_blank");
}

[code].....

View 9 Replies

Professional :: Making A Back Button Work?

May 18, 2011

Flash CS5 on Windows 7 I have a problem with a project I am creating. I have created 3 buttons which when clicked open other movieclips for each button. On each of the movieclips that the buttons send them to, all have a back button to return them back to the original view.
 
This back button works fine apart from once they are back at the original view, the 3 buttons stop working.

View 4 Replies

Professional :: Cannot Get A Simple Flash Button To Work?

Jul 20, 2011

I do not know action script, and, have created a button in flash that pops up information when you rollover the button.The button works fine, but, the entire area - where the information pops - is also poping up when I rollover that area.

View 4 Replies

Professional :: Button Does Not Work Inside Movie Clip?

Oct 6, 2010

On the about page of my Flash website, I wanted 7 buttons to navigate to various labels. I just finished the first button. I made it while I was inside the about_mc. It worked well but would NOT navigate. I took the button OUT of the Movie clip and made a separate layer on the about page for buttons and pasted it there and it worked perfect. When I made it inside the mc, is there some different code I should have used other than the standard code for making a button navigate to a frame. I built an addeventlistener and a function. BUT they only worked when the button was "ON TOP" of the mc NOT when it was INSIDE the mc. I have a transition tween on the about_mc and therefore the button does not tween when it is on TOP of the mc only when it is inside the mc.

var aboutTween:Tween = new Tween(about_mc, "y", Elastic.easeOut, -200, 146, 3, true);
laborLaw1_btn.addEventListener(MouseEvent.CLICK, laborLaw1);
function laborLaw1(evtObj:MouseEvent):void{ gotoAndStop("laborLaw1_fl"); }

[code].....

View 2 Replies

Professional :: Can't Make Music On / Off Button Work For Movie Built In CS5

Aug 10, 2010

This Message Used To Be Entitled:"Can't make music on/off button work for my movie built in CS5..."But after literally WEEKS of being on this forum (& desperately seeking the answer in numerous ways) do you mean to tell me there is ABSOLUTELY NO ONE ON THIS FORUM that knows how to make a music/sound button work correctly? [code]Perhaps it's a simple adjustment,.

View 11 Replies

Professional :: Flash Player 11.3 - Button Cursors Do Not Work Server Side

Oct 13, 2011

I have Flash CS5.5 I just uploaded an swf with a few button instances I got the msg that I needed to update my Flash player so I did. After that when I went to test the swf I get no button cursors on any buttons in the swf. The buttons work when I press on them but there is no cursor. If I publish the file locally the cursors are there, I made a few different fla's with test buttons to make sure and they all do the same thing. The publishing settings are set for 10.2 , this seems to have happened once I got the new Flash player 11.3.

View 2 Replies

Professional :: Make Drag And Drop Work On A Check Answers Button?

Feb 20, 2012

I ve got a drag and drop code working, but what I really want to do is have a check answers button that tells the user, you have none correct, or two correct or all wrong... I have one target area, and 3 correct answers (out of 7) so I would like to let the user put as many ansers on the target as they want and then check if they have any correct, also a reset code would be nice to put everything back where it started... I tried to break my code up but the events then went mad, Here is what i have so far, it works instantly and lets crrect answers stay and incorrect bounce back..
 
stop();
yes1.visible=false;
allcorrect.visible=false;
doit.text="drag over the words that mean Vision";

[Code].....

View 1 Replies

Professional :: Button Cursors Do Not Work Server Side After Flash Player Upgrade

Oct 13, 2011

I have Flash CS5.5 I just uploaded an swf with a few button instances I got the msg that I needed to update my Flash player so I did. After that when I went to test the swf I get no button cursors on any buttons in the swf. The buttons work when I press on them but there is no cursor. If I publish the file locally the cursors are there, I made a few different fla's with test buttons to make sure and they all do the same thing. The publishing settings are set for 10.2 , this seems to have happened once I got the new Flash player 11.3.

View 1 Replies

Professional :: If Install The Home Buton The Main Page The List Button Does Not Work

Feb 2, 2012

I am working on an iMAC running 10.6, and Flash CS5. I created a flash file with a list button ( with 10 inner sellections) on the main page. Each sellection within the list button loads a separate movie file from the library. Everything works great unitl Iinsert the Home button. If I install the home buton the main page, the list button does not work. If I install the home button in a movie, I don't know how to write the action script to go back to the main page, and I woul have to install a home button into each movie.

View 2 Replies

AS 2.0 :: Button Does Not Work

Dec 4, 2009

I have created a simple site in flash cs 4 using AS2.0. The nav bar buttons are text. I have made them into Movie Clips and put actionscript onto the MC instance which looks like this: [code]The button does not work. I have converted the symbol to a button and kept the Actionscript on the instance and they do not work. I have in fact copied exactly what I have done on a previous site that worked and it is not working here.The AS is not on the timeline, nor on the button or movieclip but on the instance of it. I am at a loss as to why it doesn't work. When I use the button instead of the MC the button flashes/blinks but still does not work.

View 1 Replies

IDE :: Button Does Not Work In PHP?

Sep 22, 2009

I have made button and by it self it, when I test it on my computer works. But there is problem now: when I insert this .swf on my site, to me works, but all other visitors can not click on it, it doesnt work to them.

This is my script:

Code:
on (rollOut) {
prevFrame();
}

[Code]...

You can se this live here: Click on link - just press on the "Forum" or "Kontakt" under big black banner.

Like I said, to me works on my laptop or desktop computer, but to visitor it doesn't work...

View 2 Replies

Professional :: How To Work With XML

Dec 11, 2010

how to work with XML? with a Photo Gallery?Tried to change the image
 
Before(Still Working)
  
<?xml version="1.0" encoding="utf-8"?>
<photos>
<photo>
<thumbnail>s_flashmo_175_01.jpg</thumbnail>

[code]....

View 3 Replies

Getting An Invisible Button To Work

Jul 27, 2009

i am working in cs3 flash, but saving my files to flash 8. i am having an issue with getting an invisible button to work. i never had this problem in flash 8. could you please look at the very simple file attached below and let me know WHY i am getting error messages saying: "warning: this movie uses features not supported in flash 5 player" ?? and "scene=scene 1, layer= invisibleBton, frame=405:Flash mx button instance name"

View 3 Replies

Get Reset Button To Work?

May 28, 2009

When you click on the reset button, this error below comes up. If you can't find the button it is the navy colored rectangular thing in the lower left corner of page.[code]

View 15 Replies

ActionScript 2.0 :: Can't Get Button To Work

Sep 22, 2011

I am loading 4 external SWF's inside a Master Movie file. I've got 3 of the 4 working. The last one is giving be fits and I can't see the problem. I am housing the external SWF's inside a manually created container (AS2). This last button is being a rebel and it's driving me nuts.I've checked and double-checked to ensure the instance name matches the button name in the code....as well as the name of the external swf. It's all correct, to me. The swf is in the same folder as the fla, by the way.[code]

View 1 Replies

Professional :: Linking To A PDF - Why Won't It Work On A Mac

Feb 28, 2007

I've recently made a simple standalone SWF in a projector format. It contains a button which links to a PDF ..

on (release) {
getURL("cd/manual.pdf");
}

On PC this works fine (although it does open in a web browser rather than Acrobat). On Mac this link does nothing except open Firefox which refuses to open the PDF. The PDF themselves are fine and if clicked on at the source just fire up Acrobat (in Mac and PC).it's possible to force a file to open in a certain App?

View 3 Replies

Professional :: SWF File Work With Different Flv's?

Feb 18, 2010

I am new to the world of Flash, but we have several videos in flv format and it seems that Flash cs4 creates a SWF file specific to each flv.We want to use the same swf or "skin" for all the videos, so we only want to have one swf file for all the flv's and just control what is being launched in the html.

View 1 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

Professional :: Components Does Not Work

May 5, 2010

if I drag a component out on the stage, and run, it will work. I can drag the sliders for example. But if I change the settings for the slider,and then run the movie, I will not be able to drag it.

View 9 Replies

Professional :: Trying To Get URL Link To Work

May 26, 2010

I have a simple button and in the "down" frame of the button I'm pasting a url Link under the options in the properties tab. For Target I selected _blank. This doesn't work for me. This was my second option after my first didn't work either. Its a really simple file and I can't figure out why it won't work. I am using Flash CS4.

View 6 Replies

Professional :: URL Request Will Only Work In IE?

Aug 16, 2010

The targets only work and will go to the specified page in my ie browser. Does anyone have a fix for this. Code below.[code]

View 2 Replies

Professional :: Way To Upgrade Old FLA's To Work In Cs5

Sep 1, 2010

I have some old projects I made while in school that were made using flash MX. Is there any way to get these updated to work in cs5, or even cs4,

View 7 Replies

Professional :: Will A CS4 File Work In CS3?

Nov 19, 2010

I have a school assignment and I only have CS4 at home, where as in school CS3 is available. If I save the file as CS3, will it work perfectly fine at school?

View 1 Replies

Professional :: Make F5 Key Work?

Nov 30, 2010

I cant find any conflicting assignments in keyboard preferences.

View 6 Replies







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