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.

Similar Messages

  • 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.

  • Radio Buttons for Flash PHP email.

    Hi.
    I need to add a sign-up form for services to a flash AS2 web site.
    I found a very simple example of a Flash/ PHP email form at Kirupa.
    It works fine, but I need to add some radio buttons.
    My web site will offer various services.
    Ideally I would like to be able for viewers to sign up for a service by clicking the appropriate right radio buttons
    F.ex;
    •   Service 1
    •   Service 2
    •   Service 3
    •   Service 4
    The email should reflect the choices made by listing the text on the selected services (radio buttons).
    Please download the FLA and the PHP file (at the bottom of the tutorial) here:
    http://www.kirupa.com/developer/actionscript/flash_php_email.htm
    I have uploaded a working version here:
    http://gggraphic.com/flash_mail/simple_flash_mail.php
    How do I add and script the radio buttons with both AS and the PHP to make it happen?
    Thank you on beforehand for your help
    ggaarde

    Hi Again
    Maybe check buttons would be a more natural option for this. You should be able to select more than one service.
    Thanks
    ggaarde

  • 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.5 / Air 2.6] Movieclips not showing when .air app is run on Mac

    Hello,
    I created an application in Flash CS5.5 using Adobe Air 2.6. When I test the app on my computer (where it was written) everything works fine. When I publish the application and run the .AIR on my computer everything works fine as well. The issues comes about when I attempt to install and run my AIR application on a Mac operating system. In this case when the application runs some graphics are visible while some aren't. Some movieclips/buttons are visible while others aren't. One example of this is the buttons. None of the buttons in the entire application are visible. When the user clicks the area where the button should be the button click event is fired and the app acts accordingly (i.e. the main menu button which can't be seen still sends the user to the main menu). What could be the problem?
    I had thought of just converting the application to strictly Flash without AIR but I require AIR for the file system api as well as a couple other api components.
    Thank you in advance,
    Noah

    Hi Noah,
    I don't think I've run across this before.  I'd be willing to give it a try on my system if you'd like (you can email me at [email protected]).  Though I suspect this is a project specific issue, it also can't hurt to open this as a new bug over at bugbase.adobe.com.
    Chris

  • My hard drive melted down and I don't have my serial number to reinstall my copy of Flash CS5.5.  How can I reacquire it?

    my hard drive melted down and had to be replaced.  I don't have my serial number or the email from it to reinstall my copy of Flash CS5.5.  how do I get a new one? Can someone just verify my purchase and email me a new one?

    Does your serial number show on your account page?
    https://www.adobe.com/account.html for serial numbers on your Adobe page
    If the above doesn't work...
    This is an open forum, not Adobe support.. you need Adobe staff support to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • Email button created in InDesign won't work on Interactive PDF. Anyone know a fix?

    Hello there, I am trying to make a e-mail button work after its .swf file is imported into a new iD document and exported as a interactive PDF. I have tried various things and work around but I can not seem to be able top make it wrong. I ask iD twiter for help and after a conversation with them I was told to try here.
    OS: Windows 7, iD Version 9.2.1 x64
    This is my process (Will include images and document files)
    1. Create simple solid color box object. Add a text title to the box and otline the text.
    2. Group the objects and make it into a button. Add a roll over appearance.
    3. Add "go to URL" action. One sample button URL is: mailto:test@email(dot)com, Second sample URL is: mailto://test@email(dot)com (the forum editor kept making links to this fake emails)
    4. Export iD document to .swf (Settings where default)
        NOTE* Here the .swf open in chrome and the email buttons work fine as a .swf alone
    5. Import the SWF into a new iD file. Export this second iD file to an Interactive PDF (Seetings where default)
    After doing this I click on the email buttons inside the interactive PDF but they dont start my email app (Outlook 2013) However every time I click either button a new empty Google Chrome window opens.
    Here is a dropbox link to the files themselves, the type is outlines so no need to worry for missing fonts. https://www.dropbox.com/sh/fp76buzt98td8fy/4DD6tqImd9
    I hope someone can help me getting this fixed. Http:// Link buttons work fine on interactive PDF's following this process. For soem reason the email ones are the only ones that wont work. I have to use this process because I am working with an interactive PDF that has an animated roll over menue that does not work with ePub so the only way for my project to work the way I want it too is by exporting .swf of the finished file, importing on a new iD file and re-exporting to a interactive PDF.
    It was really hard finding anyhting related to this issue im having. Here is the only similar  issue I could find and it is from 2008! http://forums.adobe.com/thread/324167 I do hope I am the one doing something wrong here and not that Adobe has not fixed this .swf email links issue.
    Thanks for the help!
    -Sebastian

    Alright thanks! Ok this is what happens in my end:
    - The interactive PDF you sent me works fine. The iD file opens fine as well and is exactly the same process so that checks.
    -I exported your iD file to .swf, created a new iD document and imported the exported .swf file from the file you created. I exported this new document to interactive PDF. I open it and again I click the links and only google chrome windows open
    This is the link it probably works fine on your end
    https://www.dropbox.com/s/on5tun0v0eunjhu/buttons%20email%20text%20swf%20imported%20to%20i nteractive%20pdf.pdf
    I think there is something going on in my end. "Google Chrome" or "Flash" might be intersecting email links or something becuase I cannot get these .swf + interactive pdf combo to open the email client not even after I used your iD file, exported .swf, imported it and export again to interactive pdf.
    Again the interactive pdf you sent works fine and when I export my file to interactive pdf it works on my end as well, its only after i export to swf and then I use the file inside iD and export to interactive pdf that it does causes me trouble. I will see what I can do to fix this. At least it was working for you so if its only in my end then its not that bad but it will bugg me forever haha!
    Thanks again for your help!! Sorry to take your time Salah!
    -Sebastian

  • Error message starting up Flash CS5 -- appears to be caused by welcome screen

    Hello,
    I am running windows 7 64-bit, flash player debug (10.1 from labs) and CS5 Master collection.
    I staretd noticing an issue today -- Flash Professional CS5 has begun to freeze on opening it. I eventually get the message "a script in this movie is causing flash player to run slowly. if it continues to run, your computer might become unresponsive. Do you want to abort the script?". At this point, I am not running any movies, I am just trying to open flash Pro CS5. When I choose to click "yes" (eg abort the script), then the buttons on the welcome screen do not work. When I click "no" (and do not abort the script) then flash crashes some time in the first 5 minutes of authoring.
    I also noticed that if I disable the opening page (check "do not show again") and reopen flash -- then no problem
    Any ideas on what is happening - anyone?
    Thank you

    Hello
    Just wanted to report back this was a simple issue -- it turned out to be a corrupted configuration file for Flash CS5. I called Adobe tech support and an engineer helped me to do the following. Please remember I am running windows 7 (64 bit), so this is what I did for that OS ...
    First I closed flash CS5 pro. Then I navigated as follows ... from the C drive ==> then to the users file ==> then to my user file ==> then to appdata (this is normally hidden, so just unhide files or type appdata as next drill-down in navigation window after your user file) ==> then to Local ==> then to Adobe ==> then to Flash CS5 ==> then to en_US ==> then to configuration. Then I renamed the configuration file (to configurationold)
    I restarted flash pro CS5 -- and problem solved.
    Thanks kglad and everyone
    Bob

  • Problem with Installing Trial of Flash CS5.5

    I'm trying to install the trial version of Flash CS5.5.  I have downloaded it with the Adobe Downloader without problems.  However, when I try to install the program, it gives me an error.  I am able to select the "trial" radio button and can accept the user agreement.  When it tries to install, it gives me the following error message: "The Setup encountered an error(-1) during install. Please restart the machine and try again."  I have restarted and tried to install the software several times without success. 
    Thanks in advance for any suggestions.

    DancingCavy9 the advantage of setting up a new administrator account is that account has fresh permissions assigned to it.  This is why it is a recommended form of troubleshooting. 
    The install logs document will allow you to review the install logs. Alternately if you would like to run the Adobe Support Advisor, select the option to Package for Support, and respond to this thread with your token number I would be happy to review your install logs.

  • Flash CS5 problem - missing text

    We've got several Flash files created by a partner organization that we're trying to edit. The files are for an e-learning course and contain four or five "tabs," each with a multiple choice or true/false question, each option labeled A, B, C, etc.. The learner clicks through the tabs, answers each question using either radio buttons or click boxes, and clicks "submit" to check the answers. When they click submit they should get a line below that either says "Correct!" or, if they're wrong, "Answer:" followed by the letter of the correct option(s).
    What's happening instead is that about 75% of the time when you answer incorrectly nothing at all appears after "Answer:", or in a couple of cases where it was a multiple choice question with more than one correct option, it may only display one of the correct answers.
    Things that may or may not be relevant:
    We are working in Flash Pro CS5. These were created in an earlier version, probably CS3 or 4. The published SWF files we received from the original developer at our partner agency don't have this problem, but if we open the Flash files and republish them the error shows up, even if we make no changes to the files. We had a developer working on contract with us for a while using I think CS4 and he was able to republish them without a problem.
    Every time we run the debugger on the files we get a Font Mapping dialog box indicating that it contains a font (Universal Condensed) that is not available on our system. I always opt to map it to a font we do have but the next time I open the file I get the same message again.
    On any of the question tabs where happening, when I run debugger I get several messages like this in the output window: Target not found: Target="_parent.q1r5" Base="_level0.checkbuttons.q1r1" or Target not found: Target="_parent.q1r6" Base="_level0.checkbuttons.q1r2". I believe the "r5", "r6", etc. is referring to something that the original developer created to automate the creation of these animations. In Designer view, off to the side there are set up instructions, invisible when published, that apparently allow you to enter letters and numbers to create up to 6 questions in any of 8 styles, with up to 8 answers each.
    Again in the output window, I'm getting this message: "Fonts should be embedded for any text that may be edited at runtime, other than text with the "Use Device Fonts" setting. Use the Text > Font Embedding command to embed fonts.". I've embedded both fonts that I believe are used in the animation but it doesn't seem to change anything.
    I was also getting errors like this in the compiler window: Symbol=radio button, layer=Layer 2, frame=1, Line 1  Case-insensitive identifier 'button' will obscure built-in object 'Button'. I am able to click over to the "Actions-Frame" window and the first line there reads either button = "off" or button = "on". If I change button to Button this message is cleared but it doesn't seem to impact the other problem.
    I've spent what is officially now a stupid amount of time trying to figure this out, and I'm starting from search a knowledge deficit that my usual Google research skills are failing me. None of us on staff have any formal Flash training, but two of us have taught ourselves enough to successfully make minor changes to all but this one type of file, and there are several of them like this. I have a vague idea that it has something to do with embedding fonts and dynamic text fields, but none of the suggestions I've seen so far works and I'm at a loss. Would appreciate ideas anyone might have about where to look before I pull out any more hair.

    Hi,
    We have a problem with our action script and seems to be using cookies of clients computers.
    We have a action script as under ..........----------
    function my_function38()
        var _loc1 = my_xml.firstChild.childNodes;
        totalNodes = _loc1.length;
        cityname_mc.fl_name_mc.fl_name.text = my_xml.firstChild.childNodes[cnt].attributes.name;
        rate_mc.rate_anim_mc.fl_rate.text = my_xml.firstChild.childNodes[cnt].attributes.rate;
        fl_month.text = my_xml.firstChild.childNodes[cnt].attributes.month;
    // End of the function
    my_Date = new Date();
    my_xml = new XML();
    my_xml.load("DEL.xml?uniqueID=" + getTimer());
    my_xml.onLoad = my_function38;
    my_xml.ignoreWhite = 1;
    if (!cnt)
        var cnt = 0;
    } // end if
    ++cnt;
    if (cnt >= totalNodes)
        cnt = 0;
        gotoAndPlay(1);
    else
        gotoAndPlay(1);
      Xml Data as under
    <?xml version="1.0" encoding= "UTF-8" ?>
    <cities>
      <city name="Delhi" rate="£365" month=""file location"></city>
    </cities>
    What is happening is we are storing many swf files and xml files for different cities on server location 1 with same code but are just changing the xml file to be picked.
    I.e
    DELHI.XML    DELHI.SWF
    BANGKOK.XML  BANGKOK.SWF
    SYDNEY.XML SYDNEY.SWF
    All are in one folder and we are just changing the xml path in fla files and loading the new swf.
    Then we are giving out swf urls to an advertising company which is in turn picking up swf files from sever location 1 and displaying the same on their website.
    The problem is each time we access the swf file on there site the data doesnot display properly. It is picking up the wrong xml data. When we check the fla the path for xml is ok. What we think is it is saving swf or xml in cookies of user computer. Is there anyway to prevent it from happening.
    We Are using Adobe Flash CS5.
    Thanks
    kam.p

  • Unable to save document as (Flash CS5 - BUG - OSX)

    I have upgraded my CS4 to CS5 on MAC OSX and i'm having problems saving new and existing fla files. It doesnt always do it but it's very anoying when you have done some work and are unable to save it.
    I get this message:
    unable to save document as (file name)
    please try saving to a different filename or location.
    even if i try to save as to a different location i get the same message, this ONLY happens in flash CS5 and does not do it on any other application or even flash CS4. To put it bluntly i am absolutely furious with this and when you pay this amount of money should not get this hassle for such a simple action.
    I have tried phoneing the adobe support line and it's a joke, you can't even understand the operator to even get anywhere and i just gave up having to repeat myself and asking them to repeat themselves.
    I would be grateful if someone out there knows an answer to this or have a contact email for adobe support that i can email them direct. As a flash developer it's critical i can get on with my work without worrying if my work will even save.
    Thanks in advance.
    UPDATE: I can save files in CS5 as CS4 documents but not as CS5, this is so annoying.

    I am having this same issue with Window 7 Professional 64 bit.
    It seems I can reproduce it pretty reliably but have only seen it since I started working with trying to import and export runtime shared font libraries.
    I create a new fla
    I create a font asset in the library and set it to import and specify a relative path to the shared swf.
    I save and test my swf and it works.
    I go back into the font asset and change the location of the font swf to another relative path (this file is loaded into a shell so the raltive path will change).
    After changing that import path I can no longer save the file even if I revert back to the previous value.
    I have repeated this process a couple of times.

  • Submit by email button ignoring specified email address and subject

    I have recently upgraded to CS5.5 and I am having trouble with the Submit by Email button in my form. 
    When I distribute the form the email address and subject specified on the button are ignored.  Instead, the form is submitted to my email address with the subject of 'Submitting Completed Form'. 
    I have tried creating the form a number of different ways (i.e. converting PDF created in inDesign, just in Acrobat from scratch, just in Livecycle Designer from scratch) with no success and the same result.  I have found I can change the email address if I go to Acrobat X Pro: Edit > Preferences > Identity but this is not an adequate work-around and does not fix the issue of the subject.
    My company develops forms for both internal and external clients that require this functionality.  The email subject is used to help identify which form it is and routes it to the appropriate department. 
    I have searched the web and this forum for answers but have not found an answer. 
    My question is:  How do I get the 'Submit by Email' button to work correctly?
    I have created many forms before using CS3 and have never encountered this problem.  At the moment the only way I can see to fix the problem is to go back to CS3 which seems ridiculous.  I thought later versions of software were supposed to work better not look the same and not work (sorry for the rant, frustration is getting the better of me).
    I need to use the Distribute Form as it states in the LiveCycle help:
    If you do not use the Distribute feature, form recipients who use Adobe Reader cannot save modifications to most PDF files, including forms filled with data.  They must either immediately return their data electronically or print the form and return the paper copy.
    I am using Acrobat 10 Pro and Livecycle Designer on Windows 7 64-Bit
    Any help will be greatly appreciated.

    What you are seeing is the intended behavior and I'm not sure why is has changed.
    When you distribute a form, it substitutes the email address you originally set up with the button with the one specified in your identity preference and the subject is set to "Submitting Completed Form". It makes a number of other changes to the document that make the distribution workflow possible. I do know that different code is used if the form is being used in a version of Acrobat/Reader prior to 9.
    With an acroform (not XFA), you can save a copy of the distributed form, allowing you to edit the scripts that among other things set the subject line of the email, so that a different subject line text is used. You can then re-enable the form and it should work OK. The problem is knowing exactly what needs to be changed and finding it, and I'm not certain that this is possible with an XFA form. I normally work with acroforms and know where to do it in Acrobat, but things are different in LiveCycle Designer.

  • 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)

  • How to make the font shown in Flash CS5 ?

    The font can not be shown in Flash CS5,
    I download the Meiryo font from internet, and paste it to the font folder in windows7 control panel , when i re-open the flash cs5, it is not shown yet. who can tell me how to solve this problem?

    Thanks for the tip, I did try this, but it didnt work.  It works for Texting, email and other apps, but not the "Music" or itunes app.  thats the frustrating part.

  • CameraRoll MediaEvent.SELECT 1119 error in Flash CS5.5

    Hi, I've been struggling with this for a few days and have searched everywhere for a solution but haven't been able to  fix it. If anyone can give me any leads or suggestions to help fix this I will be eternaly grateful.
    I have made a simple app in Flash CS5.5 and am publishing it with AIR for iOS. I am trying to get an image from the iPhone cameraRoll to load to a scrollPane on the stage using this code (I don't need to save the image anywhere, just display it on the stag). The scrollPane is called 'imageArea' and the button to initiate cameraRoll.browseForImage(); is called select_btn.
    I've tried this both in the main timeline on frame 1 and also as a class of it's own, either way I get the same error:
    1119: Access of possibly undefined property SELECT through a reference with static type Class
    which points to this line:
    mediaSource.addEventListener(MediaEvent.SELECT,imageSelected );
    and
    1119: Access of possibly undefined property data through a reference with static type Media event
    which points to this line:
    var imagePromise:MediaPromise = event.data;
    Below is the code placed on the timeline, which I found online here http://forums.adobe.com/thread/891997?decorator=print&displayFullThread=true
    [AS]
    import flash.media.CameraRoll;
    import flash.media.MediaPromise;
    import flash.media.MediaType;
    import flash.events.MediaEvent;
    import flash.events.Event;
    import flash.display.Loader;
    import flash.display.Sprite;
    import flash.events.IOErrorEvent;
    import flash.display.StageAlign;
    import flash.display.StageScaleMode;
    var mediaSource:CameraRoll = new CameraRoll();
    select_btn.addEventListener(MouseEvent.CLICK, CameraStart);
    function CameraStart(event:MouseEvent) : void
    CameraRollTest();
    function CameraRollTest()
    this.stage.align = StageAlign.TOP_LEFT;
    this.stage.scaleMode = StageScaleMode.NO_SCALE;
        if (CameraRoll.supportsBrowseForImage)
        log( "Browsing for image..." );
        mediaSource.addEventListener(MediaEvent.SELECT,imageSelected );
        mediaSource.addEventListener(Event.CANCEL, browseCanceled );
        mediaSource.browseForImage();
        } else {
        log( "Browsing in camera roll is not supported.");
    var imageLoader:Loader;
    function imageSelected( event:MediaEvent):void
    log( "Image selected..." );
    var imagePromise:MediaPromise = event.data;
    imageLoader = new Loader();
        if (imagePromise.isAsync)
        log( "Asynchronous media promise." );
        imageLoader.contentLoaderInfo.addEventListener( Event.COMPLETE, imageLoaded );
        imageLoader.contentLoaderInfo.addEventListener( IOErrorEvent.IO_ERROR, imageLoadFailed );
        imageLoader.loadFilePromise( imagePromise );
        } else {
        log( "Synchronous media promise." );
        imageLoader.loadFilePromise( imagePromise );
        imageArea.addChild( imageLoader );
    function browseCanceled( event:Event ):void
    log( "Image browse canceled." );
    function imageLoaded( event:Event ):void
    log( "Image loaded asynchronously." );
    imageArea.addChild( imageLoader );
    function imageLoadFailed( event:Event ):void
    log( "Image load failed." );
    function log( text:String ):void
    trace( text );
    [/AS]
    My only idea is that I need to import the class for mediaEvent, but I already am. I'm completely stuck on this and any help would be really appreciated.

    Moving the .fla file to a new folder removed this problem.

Maybe you are looking for

  • Itunes and windows installation prob...

    I had an older version of itunes and tried to upgrade to 7.1. Everytime I try to download it, I click on the 'itunes setup' icon on my desktop and a 'windows installer' window pops up with a bunch of info that I don't understand. I uninstalled the ol

  • Display log IN WD application

    Hi all, I want to display the logs for a particular application in the same application. The problem is that to view logs I should use the Administrator user (and to know its password) in all possible cases I thought of: remote connection to the mach

  • [Solved]No X, No Ctrl+Alt+Backspace, cant get to console...HELP!

    I did a new install and went for the ext4 option, I installed everything I usually do but went with nvidia-xcofig rather than the usual Xorg -configure, now having set everything up all I get is a blank screen, I cant ctrl alt backspace to get to con

  • DIMM slot freezes

    My G4 came with 3 x 512MB DIMM chips in slots J21, J22 and J23. I bought a fourth - as it turned out, identical to the existing three, same manufacturer, supplier and product code! Putting it in the empty J20 slot produced kernel panics and freezes.

  • Default selection of link bar control

    Hi All, I have a problem in my application. I have a link bar control in my app for navigation. And i want to make it selected without clicking an indiviual item. I dispetched a item click event of link bar manually, it works properly and it navigate