Flash CS5 Button Help

To start, I'm a total newbie in Flash, so I'm sorry if what I'm asking is ridiculously primitive, but I was literally thrown into this blindfolded and I'm using google and several forums to help me out.
What I'm doing:  redesigning a website.  At the moment, the website has a flash file that introduces it's logo and subcategories of its' website on the top of the page.  What I wanted to do was make sure there was a hyperlink on the logo that would bring anyone back to the homepage, very basic stuff.  The issue I have run into is that the logo is actually a flash movie.  Different parts of the logo appear at different times, and I think this is what is specifically causing me issues.
The logo that I want to hyperlink has several layers, and what I've done so far is select them all and create a button (F8, select 'Button' and rename it).  When I did that, I noticed the layers significantly changed and when I tested the movie, it looks terrible, choppy and not how it originally looked.
I know the step after that is to go into behaviors and insert the url to which I want it to be hyperlinked.  The only thing is that I don't want to show a terrible flash movie to my boss even if it's hyperlinked to the homepage. 
Anyone understand all that gibberish I wrote down?  Or does anyone see a flaw in what I'm doing?  I'm not 100% positive if the steps I'm taking are correct, I've been to several different sites, all of which tell me to do different things. 
Initially I tried coding it with ActionScript, but I was having terrible issues with that as well. 
If it helps, the file I'm working on was altered a while back.  Could it be that the file is not compatible or proper for Flash CS5? 
Help!!!

... how do I give that shape/button a url?
Since it is a button, it is already a self animating object that will react to mouse interactions, but only visually at this stage.  The first thing you need to do to make it useful code-wise is to assign it a unique instance name.  So you drag a copy of it out to the stage from the library, and while it's still selected, you enter that unique instance name for it in the Properties panel... let's say you name it "btn1"
In AS3, to make a button work with code, you need to add an event listener and event handler function for it.  You might need to add a few (for different events, like rollover, rollout, clicking it, but for now we'll just say you want to be able to click it to get a web page to open.  In the timeline that holds that button, in a separate actions layer that you create, in a frame numbered the same as where that button exists, you would add the event listener:
btn1.addEventListener(MouseEvent.CLICK, btn1Click);
The name of the unique function for processing the clicking of that button is specified at the end of the event listener assignment, so now you just have to write that function out:
function btn1Click(evt:MouseEvent):void {
   var url:String = "http://www.awebsite.com/awebpage.html";
   var req:URLRequest = new URLRequest(url);
   navigateToURL(req);
... how do I know it's properly placed on the correct area?
What area?  If you place it where you want it, that should be correct. (?)
... how do I make sure it's invisible...?
If you can't see it when you test the file and you know it's there and your cursor turns into  a hand when you are over where it should be, it's invisible.
...how do I see the other objects in the flash file I'm working on?
Select Edit -> Edit Document to get out of the symbol editing mode and back to the file editing mode.  If you doubleclick an object on the stage, rather than clickingit in the library, you open it up in editing mode on the stage, but the stage and everything else will still be visible behind it in a faded tone.

Similar Messages

  • Flash CS5 Crash help

    Anytime I try to open Flash CS5 it crashes while initializing tools.  I have more than enough RAM and space on my computer to successfully run Flash but it keeps crashing and therefore I cannot open any of my .flas to edit.  Can anyone help or give suggestions in anyway possible?   All help is greatly appreciated.  Thank you in advance.

    Would you mind reposting this question over on the Flash Professional forums?  This forum is primarily for Flash Player end users, the Pro forums will get you in touch with the Flash Pro CS5 team who will probably have additional questions for you.
    Thanks,
    Chris

  • Flash Builder Debugging keeps trying to Debug in Flash CS5. HELP!

    Hello
    I have the CS5 master suit installed (OSX) and am having loads of problems using the stand alone Flash Player debugger in Flash Builder.
    Previously I had an error message saying it could not find the debugger, I've obviously done something as now it keeps on opening Flash CS5 and using the Flash CS5 IDE Player and gicing me this message. Error #2032: Stream Error. URL: file:////Volumes/Macintosh%20HD/Library/WebServer/Documents/TestDebug2/bin%2Ddebug/textLa yout_1.0.0.595.swf
    All I want to do is use the stand alone debug flash player and debug in Flash Builder. Am I able to point Flash Builder to use a certain Debugger?
    Can anybody help me?

    I figured it out.
    Although Adobe should have this working out of the box in my opinion.
    Running OSX 10.6.4 Master Suite CS5
    By default a swf opens in Flash CS5 and not the stand alone player (as I'm sure it did before in previous versions). So when you wanted to debug using the stand alone player from Flash Builder it was opening up in Flash CS5
    To fix I changed the default open with program to the Flash Player Debugger. Now Flash Builder by default uses the stand alone Flash Player Debugger.
    Hope this help any body.

  • Flash CS5 Basic Help!

    I am very new to this program and am struggling to get past this one simple little thing!
    I clicked New > Action Script 3.0
    and am trying to do some of the basic tutorials and cant even get past the first one!
    I am trying to draw a filled in rectangle.... but even when i change the timeline button to fill instead of outline, it only ever draws the outline.
    Am i doing something wrong?
    Also i changed the background colour of the stage and it doesnt seem to change either....
    Please help me get past this first step in learning Flash!!
    I have been trying to follow the tutorials but everytime i try to draw a filled in shape on the stage, it always just comes out as an outline.  I have deselected the outline square so it is filled in... in the timeline an still i can only get an outline. I dont get it!!
    If you can see where im going wrong please let me know...
    Thanks

    I noticed what you said and what the image showed, but that's the best I could offer.  It doesn't look like you're doing anything wrong... the software appears to be having an issue.  Have you installed the latest update for CS5 (http://www.adobe.com/support/flash/downloads.html)?

  • Flash CS5 Button Issue

    So I have been having some issues trying to design my flash website using flash professional cs5.
    I have a movie clip of a rectangle that is 20 frames long, with a stop on frame 1, 10, and 20.  From frame 1-10, the box fades to 50% transparency from 0%, and drops down from the top of the screen (from 2px tall to 484px tall.)  From frame 10-20, the action reverses.
    I have a button that, when clicked, causes the box to drop down, as it should.  The code I am using to do this is:
    on (release) {
    tellTarget ("../textboxdropinMC") {
    gotoAndPlay(1);
    This works, as expected, HOWEVER, when I click on the same button again, the box disappears.  It does not go back to frame 1 to play it again until you click on it a THIRD time.  What I need to happen is to have the button, upon a re-release, play the box animation from frames 10-20 (so it goes back up to the top and disappears).
    My thoughts were to create a code in the box movie clip code that hides the original button once the box animation reaches frame 10.  Simultaneously, I could then have another identical button appear that would have the same code as the first button but gotoAndPlay(10); instead of 1.  Once the box animation got to frame 20, the second button would hide and the first button would come back.  What sort of coding would I need to do this?
    My other option would be to make a simple "close" button to play frames 10-20, but even if I did this, it would not prevent the first button from making the box disappear if it is released a second time.  How would I be able to make the button NOT cause the box to disappear once it has already enacted the gotoAndPlay(1); command?  Or, are there any other ways to do this?
    There is also a problem where, after the on release code is added to the button, it does not turn white as the other buttons do when the user hovers the mouse over top of it.  I can't seem to figure out why this is.
    I am using action script 2.0, only because it is what I used in school--we never learned 3.0.
    If someone can help me with this, I would be forever grateful!

    There could be one of a few problems.  That is AS2 code, but you are posting in the AS3 forum.  So is it your intention to use AS3 or AS2?  In answering that, also describe where you have placed this code.

  • Flash CS3 Button HELP

    Ok, so i'm very new to Flash.
    I have a web page & it has 9 buttons. I want the user to
    be able to click on anyone of these buttons & be taken to that
    page.
    I don't know how to do this in CS3?
    I have each button set up on it's own layer & set as a
    symbol. That is it, now what?
    If anyone can give me step-by-step instructions that would be
    great!
    I need this for a class project for tomorrow & I have
    spent a week trying to make it work but nothing!
    I'm very frustrated & confussed!
    Please, help if you can.
    thanks!!

    If you're doing this .fla in AS2.0 there are at least two
    popular ways of doing this. (I'm not sure of the AS3.0 syntax.)
    1) Click on a button, open the Actions panel and have
    ScriptAssist open. In the toolbox on the left you should see a list
    of functions, with headings Global Functions / Movie Clip Control.
    See the word 'on'? The basic functions you want begin with
    'on'...so click it, and you'll get a choice of onPress, onRelease,
    etc. Pick what you want the button to do and you're done. You
    should end up with code that looks something like this
    on (release) {
    gotoAndStop("Scene5", 16);
    (My above example would take you to frame 16 in Scene 5. If
    you have just one scene, leave out the Scene name.)
    You have to do this to each button, individually.
    2) If you'd rather stick all the code in one place, do it
    this way instead. First make sure each button has an instance name.
    In other words, select each button and in the Properties panel give
    it a name like: startButton_btn, stopButton_btn, etc. Open a new
    layer, call it Actions. Click on the first frame, open the Actions
    panel, and enter code like this for each button instance name you
    have:
    startButton_btn.onRelease = function() {
    play();
    If you have nine buttons, you should have nine functions set
    up like the above. Now save and test. If it doesn't work at first,
    you probably just typed something wrong.

  • Flash skype button help

    Hi,
    Trying to craete a new swf with a small skype button. All is well and good, getting the skype button to aprear with the right (dynamic) status but the item is not clicable even though it has the needed code for it. Here's the code that i'm using.
    i just craete a blank movie and put this in first blank keyframe.
    Any ideas?
    stop();
    System.security.allowInsecureDomain("mystatus.skype.com");
    this.createEmptyMovieClip("container", getNextHighestDepth());
    this.container.stop();
    container.loadMovie("http://mystatus.skype.com/smallclassic/SKYPE_NAME");
    this.sb.onRelease = function() {
        getURL("skype:SKYPE_NAME?chat");

    You have to use an absolute path in you getURL function, for example "http://skype.com/skype:SKYPE_NAME?chat" presuning you can log into your skype account through a url that will pass your username and password through url or php possibly like:  http://skype.com/username.password/skype:SKYPE_NAME?chat" or the like, check skype docs about entering through url otherwise simply code the getURL to your skype log in page..

  • Font not visible in Flash CS5

    Hi,
    I have purchased this font "HY Zhong Hei Simplified Chinese J" and installed on my PC but it is not visible in FLASH CS5
    Please help.
    Thanks,
    Vikrant

    Yes it is listed in other softwares like photoshop and it is also in TTF format.
    Photoshop: Font showing up
    Flash CS5: Font not showing up

  • Flash CS5 Newbie - Need help adding URL link to animated banner

    I apologize if this is a very basic question, but I am a newbie at designing in Flash. I have created a basic animation in Flash CS5 and I need to add a clickable URL link to it. I've tried a few tutorials that looked promising, but none of them solved my problem. I've tried a number of things including converting parts or all of the images to simple buttons or movies and linking them that way as well as typing in code for ActionScript 2 and 3, none of which were successful. The animation plays correctly when viewed in my browser, but when I click on it, the link does not work. I would prefer that the entire banner be clickable to take viewers to the linked website rather than using hyperlinked text. Also, when I open the Code Snippets window, it is empty, no matter what image or frame I've selected. Do I need to import code snippets from somewhere or am I simply going about things the wrong way? Any help is greatly appreciated!

    It all depends whether you're decisively using AS2.0 or AS3.0 .
    In the latter, you would need to use a URLRequest() method in conjunction with a navigateToUrl() call (not sure the exact syntax for navigate to Url, it might be a capitalized "URL" in the method but the request takes a String argument such as http://www.adobe.com)

  • Flash CS5 - Email Button

    I've tried searching online, in Adobe, through the Flash Help section, as well as Lynda.com to try and find a SIMPLE "mailto" feature for an email button I created for a portfolio website I have in Flash CS5. It used to be SO SIMPLE in previous versions to set this up, but now, I can't seem to find it anywhere - and a code set up that works.
    Anyone have the code and/or Step-by-Step How To instructions on how to set up a simple mailto: email button in Flash CS5 with AS3.0?
    Louise

    If you mean that you are used to using Code Assist to do all of your Actionscript, then I can't really help you there.  I gave up using that after the first time I ever tried, somewhere about Flash 4.  I have since always done all of my coding via manual input into the Actions panel.  The code you would enter would look something like...
    email_btn.addEventListener(MouseEvent.CLICK, openMail);
    function openMail(evt:MouseEvent):void {
         navigatetToURL(new URLRequest("mailto:[email protected]"));
    And be sure to test on a server.

  • Help: flash CS5 crashing and corrupted .fla's

    I'm having one hell of a problem and could really use anyone's help who has a good idea.
    I am working in flash CS5 on windows 7 64.
    I am currently also running into the crash at save problem.  The most recent version of my .fla corrupted about four days ago, which is something I've grown accustomed to (got the wonderful 'unexpected file format' error).  So I went to my backup file- same issue.  I had to go back 12 backup versions to find one that would work (even my backups on external drives when copied back over to the local drive or opened from the external would give this error.  They did NOT give this error a week ago).  But this backup version now crashes on Save, Save As, or if I try to create a new .fla while the backup .fla is open, it crashes.  If I try to open any other .fla while the backup .fla is open, flash crashes.  Sometimes is gets non responsive and needs to close; sometimes it simply sits there, does nothing, SAYS it's running, but will not respond to clicks, minimizing the window, or anything at all and I will have to force quit out.  Sometimes it will crash when simply clicking a library item. 
    I have tried the following recommended fixes:
    save the file to a new directory- on the rare chance that flash doesn't crash on save (about 1 in 10), and doesn't corrupt and make a new .fla that's 2k in size (about 1 in 4), the new .fla has all the same problems of the original.
    change the JAVA environment variable- no help
    increase the jvm.ini xmx value - tried 124. 256, 512, no help
    open the file using zip and access the xml library assets directly, deleting them until you find a corrupt file- done it.  three times.  to three different versions of the .fla from the backup files.  Flash still crashes.
    save out as .xfl - on the rare chance that flash doesn't crash on save, the .xfl is corrupted (2k file size, no library, and for some reason a black square for an icon) about 3 out of 4 times.  The 4th time, the file works no better than any other .fla
    update flash player - no help.
    update plugins for all browsers and debug versions - no help
    update flash CS5 to the most recent version - no help
    download and install all windows updates - no help
    delete preferences and config folders - no help
    The ONLY way I can avoid flash crashing is to go back to a backup version from more than two months ago.  This version will open, save properly, and debug properly without error.
    I have attempted and failed at every suggested fix I have found online or on these forums for this cluster of problems I'm currently having.  I have three weeks to the project deadline, and there is no way I can go back two months in the production timeline.
    obviously I cannot afford to lose two months of work.  If anyone has any idea what could be happening, I would be exstatic- I'm really at the end of my rope here.  After four days of looking for help and fixes online and on these forums and talking to adobe support on the phone ('we do not handle coding issues' is the only response I get.  gee, thanks for the help), none of the fixes that have been recommended to me have worked.

    another update-
    I've managed to reconstruct a file from my original corrupted file that will open and is editable (as long as i don't click through the library items too fast- that will freeze and crash flash).  This file is less than 50 megs.
    When attempting to publish, export, or test in conjunction with the document .as associated with the file however I end up with either A: no swf produced and an empty report, or B: a 2k swf with a black square for an icon.
    debug produces the 'does not contain actionscript' error.
    upon failing to publish, export, test, or debug, flash will then either A: freeze B:freeze, then crash, or (my personal favorite) C: continue to function so long as I don't click on any library items, try to open a new file, try to open an old file, try to save, try to save as, try to exit the program, or try to close a file from the window (all of these result in freezing, crashing, or freezing and then crashing.  There is no apparent pattern to what happens).  Also, clicking back and forth between the properties and library panels in the fla file or the as file will, well, sort of overlay the two panels halfway on top of each other and sort of 'ghost' parts of one onto the other.  What I mean is, if the library panel is open and I click over to the properties panel (both are tabs in the same window of the workspace), the properties panel will be completely gray without any of it's usual boxes or text or button, and instead will have the names of some of the previous library items, greyed out, floating in random places that don't directly relate to where they were before.  Basically, it's all messed up.  And at this point the program will either freeze, crash, freeze and crash, or become completely unresponsive and require a force quit (surprise!).
    If I gut the fla down to an even smaller size of about 10-20megs, I can avoid most of these problems, although flash is still very slow to open files (20meg file takes a good 90-120 seconds to open), save files (at least 30 seconds to save a 20meg), and generally clicking around and going about my business of editing symbols or typing script is laggy and slow.  This of course doesn't really do me much good, since it requires me to gut 80% of my projects assets.
    I can't tell if i'm getting closer or further away from a solution.......

  • Help - not able to add icons in flash cs5.5 ipa

    I have created a ipad app using flash cs5.5 which works great until I try to add the different icon fils sized (29x29, 48x48, etc) to the icon tab.  When I add all of the icons I receive teh below error message.
    Note that I was able to successfully create the .ipa file ONLY when I used just the 48x48 icon.  However, I was unable to load that ipa to apple using the Packager as I received another error message that the Small-File-50 icon needed to be a size of 72x72.
    I have tried to manually add the data to the xml file as well as tried different configurations (standard vs. high setting, iphone and ipad, ipad, etc.)  ,
    I also successfully created the app in 5.0 and was able to upload it to Apple using the packager so I believe the issue is being able to add the icons similar to how 5.0 lets you.  It appears in 5.5 the App Icons for publish directory is not created in the same way so perhaps that is the issue?  I even tried creating my own AppIconsForPublish folder but that did not work either.
    Any help is appreciated.
    Thank you!

    I tried re-installing Java runtime and that did not fix the issue.
    I also loaded a fresh install on my Mac which also has the latest Java runtime and received the same error when I tried a brand-new program.  I used older icons that worked perfectly in the past.
    Has anyone been able to successfully create ipa's with all of the icons included or just the 48 pixel one similar to the issue that I have.
    As noted before when I successfully create the ipa with just the 48 pixel icon then I cannot load it into the apple store using packager.

  • How can i deinstall the rotten ADOBE HELP for Flash CS5 an install a new one (Mac OS X 10.6.8 )

    My Flah Help can't download newer Versions and Ressources. So i can't use it. And i have to. And i paied for it.
    So: How can i deinstall the rotten ADOBE HELP for Flash CS5 an install a new one (Mac OS X 10.6.8 )?

    Do you receive an error message when trying to use the help files?  What have you tried so far to resolve your difficulties?

  • I need help for actionscript 3, sending php info to my email, website created in Flash cs5 pro

    Hi,  My name is David and I followed a course creating my own website from Lynda.com by Paul Trani. After that I created my first own webste. After I finished it, everything was working well in flash and firefox. I have only one problem and question concerning the feed back form for sending info from my website to my emailaddres. I created my website “LisbonDreamWalking”in Flash CS5 pro. I herein have a contact page, where people can send an email for a walk in Lisbon, date,the number of people etc. Now I want through my ISP / host funpic.org, that the input, info text fields to be sended to my emailaddress [email protected]. My mail URL adress  iss: http://lisbondreamwalk.li.funpic.org  This is a free host, so they don't work with forms like in the course, and I need some additional info for the php. Here is my HTML (Flash actionscript 3.0) for the sending I only have the red text to fill in (php), I was told by the adobe course.I really hope someone can help me?! Thanks in advance!
    Instructions: 1. Add your custom code on a new line after the line that says "// Start your custom code" below. The code will execute when the symbol instance is clicked. */  send_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_13);  function fl_MouseClickHandler_13(event:MouseEvent):void {          if (thename.text == "" || theemail.text == "" || thetime.text == "" || thepersons.text == "" || themessage.text == "")      {           thankyou.text = "please fill out all fields";      }      else      {           // create a variable container           var allVars : URLVariables = new URLVariables();           allVars.name = thename.text;           allVars.email = theemail.text;           allVars.time = thetime.text;           allVars.persons = thepersons.text;           allVars.message = themessage.text;           //Send info to a URL           var mailAddress:URLRequest = new URLRequest("http.www.namewebsite.com/gdform.php");           mailAddress.data = allVars;           mailAddress.method = URLRequestMethod.POST;           sendToURL(mailAddress);            thankyou.text = "Thank YOU!";           thename.text = "";           theemail.text = "";           thetime.text = "";           thepersons.text = "";           themessage.text = "";      } }
    H

    Thank you Kglad, I am going to see if I can make it work. I will let you know!
    Date: Thu, 13 Oct 2011 08:55:05 -0600
    From: [email protected]
    To: [email protected]
    Subject: I need help for actionscript 3, sending php info to my email, website created in Flash cs5 pro
        Re: I need help for actionscript 3, sending php info to my email, website created in Flash cs5 pro
        created by kglad in Action Script 3 - View the full discussion
    you missed part of the tutorial (or the tutorial is incomplete):  send_btn.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_13); function fl_MouseClickHandler_13(event:MouseEvent):void{     if (thename.text == "" || theemail.text == "" || thetime.text == "" || thepersons.text == "" || themessage.text == "") { thankyou.text = "please fill out all fields"; } else { // create a variable container var allVars : URLVariables = new URLVariables(); allVars.name = thename.text; allVars.email = theemail.text; allVars.time = thetime.text; allVars.persons = thepersons.text; allVars.message = themessage.text; //Send info to a URLvar mailAddress:URLRequest = new URLRequest("http.www.namewebsite.com/gdform.php"); mailAddress.data = allVars; mailAddress.method = URLRequestMethod.POST; sendToURL(mailAddress);
    }}  var urlLoader:URLLoader=new URLLoader(); function sendToURL(mailAddress):void{urlLoader.addEventListener(Event.COMPLETE,completeF);urlLoade r.load(mailAddress);} function completeF(e:Event):void{ thankyou.text = "Thank YOU!"; thename.text = ""; theemail.text = ""; thetime.text = ""; thepersons.text = ""; themessage.text = "";}
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/3969414#3969414
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/3969414#3969414. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Action Script 3 by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Flash CS5 Help runs Lotus Notes???

    Hi, I just got Flash CS5 installed on my desktop and when I click Help on the menubar it kicks off my default mail program, Lotus Notes! I don't see anything in preferences to control this. Do I need a reinstall?
    Thanks!

    There are numerous getting started tutorials online (if you need them), but you could also check out this animation learning guide that will help you when it comes to the tweens (rotating, moving): http://www.adobe.com/devnet/flash/learning_guide/animation.html
    You might also want to look into using IK: http://www.adobe.com/devnet/flash/articles/spring_tool.html has a lot of good examples.

Maybe you are looking for

  • How can I do to change the web site when I open a new tab.

    Dear Friends... I cant find information, how to changes the web site when I open a second tab. Example: when I open Firefox my home page is google and that is perfect but when I open a second tab, why appears yahoo as home page? I want to changes tha

  • Nokia E71 post update error: unable to read messag...

    hi! i am unable to read few of my messages say' every 2 out of 10...after a success full update to version410.21.010 and RM-346. actually i did a simple data restore (containing messages , settings and contacts) after the update.. i did it twice afte

  • How to animate hand written letters?

    I am trying to create a simple animation. I have an image of a hand written word and i would like to animate it so the letters appear in an order that looks like the word is being written. Please explain in simple terms what you think would be the ea

  • "Bouncing" yellow Firewall icon when booting up G4

    Working with Applecare, I was told to boot up in Target disk mode. The result was that a large yellow firewire icon appears on my screen on startup. It bounces around just as a screensaver. As a result, I am unable to access my desktop, etc. We tried

  • IS SYMBIAN BELLE UPDATE GONNA B CUMIN FOR NOKIA C7

    Itz gonna b long tym telling bout d nokia c7 belle update...wen itz gonna officialy **bleep**...i hav been waitin for it a long....