Can't Get My Share Button To Work Properly.. HTML Code Difficulties

Hello
I have a share button on one of my pages of my website (for facebook) but i can't seem to get the "title", "description" and "image" to work properly on the preview when its posted on peoples walls. It just seems to scan the website for information and i want to be able to control what the post looks like. Please Help. Here is what i have
<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
<meta name="title" content="Enter To Win A Free Trip For Spring Break 2011" />
<meta name="description" content="Write something/anything on the blog and you will be entered to win a week’s stay in the “Royal Azure” for Spring Break 2011, the villa that you see on the website, cheers!" />
<link rel="image_src" href="http://www.vistadelmarbvi.com/Site/VisitorsBlog/Entries/2010/2/25_Blog_and_Win_files/shapeimage3.jpg" />
Thank you
Message was edited by: nater85

a name="fb_share" type="button" shareurl="http://www.vistadelmarbvi.com/Site/Visitors_Blog/Entries/2010/2/25_Blog_andWin.html"> at the beginning and end

Similar Messages

  • I have Windows 7 and PS Elements 10 and can't get the text button to work properly.  What can I do?

    I have Windows 7 and PS Elements 10 and can't get the text button to work properly.  What can I do?

    Try selecting the T tool and then doing a reset (see image below)

  • Can't get thunar-shares-plugin to work properly

    I have installed from AUR thunar-vfs and thunar-shares-plugin, to be able to easily create shares in XFCE. Then I followed the steps detailed in the wiki, but I can't get it to work. When I right click on a folder and select properties, I get the additional "Shares" tab, but its contents are disabled and I can't do anything. In the bottom of the tab, I can see in written in red "You are not the owner of the folder", but indeed I am.
    Samba is running, and as I stated, I configured it following the steps in the wiki. I can also open other shares in thunar, but I can't create shares.
    The only reason I think that might be causing problems it that when I built thunar-vfs, I had to remove the 'hal' dependency, and also '--with-volume-manager=hal' from the configure script, because the hal dependency was failing. Could this be the problem? How can I fix it?
    Also, is there other good alternative for XFCE to easily create shares?

    Ok, heres what I just tried. I tried playing The Dark Knight on DVD on my PC. Background music is playing throughout, as well as some sound effects, but voices and speech as well as most other sound effects cannot be heard. I am experiencing the same problem with some of the PC games I'm playing as well. You'll hear background music and background effects but you wont hear other SFX or speech. The strange this is that whatever music or background SFX are playing is playing out of all the speakers. What seems to be the issue?

  • Answer: to How can I get the reset button to work.

    How can I get the reset button to work?: Answer
    Thanks to everyone who helped on this. You are awesome. Especially Ned!!  Posted here because I was unable to add more to the existing post.
    Here is the question:
    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.
    ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
        at flash.display::DisplayObjectContainer/removeChild()
        at AddATree2/onReset()
    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.
      Here is the answer:
    //when you click the reset button everything is removed from the stage
        //except the star, baclground, and reset button (trees and greeting REMOVED)
        public function onClear(Event:MouseEvent):void
                if (tree3) removeChild(tree3);
                if (tree2) removeChild(tree2);
                if (webText) removeChild(webText);
                if (tree) removeChild(tree);
                clickCount = 0;

    This is the answer to what to put in the onclear function.

  • TS3274 I can not get my video button to work

    I can not get my video button to work, it will not response when I try to use it

    Try sliding the words up or down to select the various modes.

  • How can I get my home button to work again

    How can I get my home button to work again

    Well, if your Home button is broken, you won't be able to reset your phone, and if the Sleep/Wake button won't turn your phone on, it's a trip to the Apple store.

  • Why PhotoBooth can't get the background images to work properly on the picture

    Why PhotoBooth can get the background images to work properly on the picture, is it because too much luminosity in the environment or too little? I have tried everything and nothing works.
    <Re-Titled By Host>

    Might try this...
    Go to System Preferences > Universal Access and down in the Display: section make sure that the Enhance contrast: slider is all the way to left to Normal, or more to the right for less Contrast.
    Go to System Preferences > Accessibility in 10.8.x,and down in the Display: section make sure that the Enhance contrast: slider is all the way to left to Normal, or more to the right for less Contrast.

  • Can't get Next/Previous Buttons to work

    Hi,
    I am trying to get the next/previous buttons to work on my jsp page. I have collected data from a resultset and stored it in an arrayList. My problem is that I am getting a null pointer exception when I try to display the jsp. I have a one to many relationship 1 company to many contracts and want to be able to go backwards and forwards through the contracts using the previous/next buttons. Any suggestions would be greatly appreciated. Below is my code:
    <%
    // Connection
    String pid = request.getParameter("partID");
    if (pid == null) {
    pid = "1034";
    String pname = null;
    String ref4 = null;
    String url = null;
    String program = null;
    String tier = null;
    String numcon = null;
    String active = null;
    String publish = null;
    String agreeid = null;
    String type = null;
    String recdate = null;
    String status = null;
    String rendate = null;
    String termdate = null;
    String descrip = null;
    ArrayList agreements = new ArrayList();
    try {
    ResultSet rs = statement.executeQuery("Select p.*, a.agreeid, a.type, a.status, a.recdate, "
    + "a.descrip, a.termdate, a.rendate "
    + "from partDB.partner p, partDB.agreement as a "
    + "where p.partid = '" + pid + "'"
    + "and p.partid=a.partid ");
    while (rs.next()) {
    Agreement agreement = new Agreement();
    agreement.setAgreeID(rs.getString("agreeid"));
    agreement.setPname(rs.getString("pname"));
    agreement.setRef4(rs.getString("ref4"));
    agreement.setUrl(rs.getString("url"));
    agreement.setProgram(rs.getString("program"));
    agreement.setTier(rs.getString("tier"));
    agreement.setNumcon(rs.getString("numcon"));
    agreement.setActive(rs.getString("active"));
    agreement.setPublish(rs.getString("publish"));
    agreement.setType(rs.getString("type"));
    agreement.setRecdate(rs.getString("recdate"));
    agreement.setStatus(rs.getString("status"));
    agreement.setDescrip(rs.getString("descrip"));
    agreement.setRendate(rs.getString("rendate"));
    agreement.setTermdate(rs.getString("termdate"));
    agreements.add(agreement);
    session.setAttribute("agreements", agreements);
    catch (Exception e){
    out.println("<pre>");
    PrintWriter errorOut = new PrintWriter(out);
    e.printStackTrace(errorOut);
    out.println("<br></pre>" + e);
    %>
    <!-- InstanceBeginEditable name="main" -->
    <%
    int agreementIndex = 0;
    agreements = (ArrayList) request.getAttribute("agreements");
    if (agreements == null) {
    request.setAttribute("agreements", agreements);
    if (request.getParameter("agreementIndex") != null) {
    agreementIndex = Integer.parseInt(request.getParameter("agreementIndex"));
    Agreement agreement = (Agreement)agreements.get(agreementIndex);
    int nextIndex = 0;
    int previousIndex = 0;
    if ((agreementIndex+1) >= agreements.size()) {
    nextIndex = -1;
    } else {
    nextIndex = agreementIndex++;
    if ((agreementIndex-1) < 0) {
    previousIndex = -1;
    } else {
    previousIndex = agreementIndex--;
    %>
    <div id="mainentity"><!-- #BeginLibraryItem "/library/oppEntityHeader.lbi" -->
    <div class="section">
    <div class="sectionheader">
    <div class="sectionheadertext">
     General Information<img src="../images/collapsesection.gif" id="general_img" width="12" height="14" border="0" hspace="0" vspace="0" title="" alt="" style="vertical-align:middle" /> General Information
    </div>
    <div class="sectionbody" id="general">
    <div class="formfields">
    <table border="0" cellpadding="0" cellspacing="0">
    <tr><td class="formfieldlabel">Partner Name:</td><td class="formfieldvalue"><%=agreement.getPname() %></td></tr>
    <tr><td class="formfieldlabel">Contract:</td><td class="formfieldvalue"><%= agreement.getRef4() %></td></tr>
    <tr><td class="formfieldlabel">URL:</td><td class="formfieldvalue"><%= agreement.getUrl() %></td></tr>
    <tr><td class="formfieldlabel">Program:</td><td class="formfieldvalue"><%= agreement.getProgram() %></td></tr>
    <tr><td class="formfieldlabel">Tier:</td><td class="formfieldvalue"><%= agreement.getTier() %></td></tr>
    <tr><td class="formfieldlabel"># of Consultants:</td><td class="formfieldvalue"><%= agreement.getNumcon() %></td></tr>
    <tr><td class="formfieldlabel">Active:</td><td class="formfieldvalue"><%= agreement.getActive() %></td></tr>
    <tr><td class="formfieldlabel">Publish to Web:</td><td class="formfieldvalue"><%= agreement.getPublish() %></td></tr>
    </table>
    </div>
    </div>
    </div>
    <div class="dialogbuttons">
    <input type="button" value=" Edit " class="mmhide_btn" onmouseover="hov(this,'mmhide_btn mmhide_btnhov')" onmouseout="hov(this,'mmhide_btn')" onclick="window.location.href='#'" />
    </div>
    </div>
    <br>
    <div class="section">
    <div class="sectionheader">
    <div class="sectionheadertext">
     Agreement(s)<img src="../images/collapsesection.gif" id="codes_img" width="12" height="14" border="0" hspace="0" vspace="0" title="" alt="" style="vertical-align:middle" /> Agreement(s)
    </div>
    <div class="sectionbody" id="codes">
    <div class="formfields">
    <table border="0" cellpadding="0" cellspacing="0">
    <tr><td class="formfieldlabel">Agreement:</td><td class="formfieldvalue"><%= agreement.getType() %></td></tr>
    <tr><td class="formfieldlabel">Received Date:</td><td class="formfieldvalue"><%= agreement.getRecdate() %></td></tr>
    <tr><td class="formfieldlabel">Status:</td><td class="formfieldvalue"><%= agreement.getStatus() %></td></tr>
    <tr><td class="formfieldlabel">Description:</td><td class="formfieldvalue"><%= agreement.getDescrip() %></td></tr>
    <tr><td class="formfieldlabel">Renewal Date:</td><td class="formfieldvalue"><%= agreement.getRendate() %></td></tr>
    <tr><td class="formfieldlabel">Termination Date:</td><td class="formfieldvalue"><%= agreement.getTermdate() %></td></tr>
    </table>
    </div>
    </div>
    </div>
    <div class="dialogbuttons">
    <tr><td id="dialogbuttons" colspan="3">
    <!-- InstanceBeginEditable name="wizardbuttons" -->
    <%
    if (previousIndex != -1) {
    %>
    <input type="button" value="Previous" class="mmhide_btn" onmouseover="hov(this,'mmhide_btn mmhide_btnhov')" onmouseout="hov(this,'mmhide_btn')" onclick="window.location.href='/partDB/partners/PartnerAgree.jsp?agreementIndex=' + <%=previousIndex%>" />
    <%
    } else {
    %>
    <input type="button" value="Previous" class="mmhide_btn" onmouseover="hov(this,'mmhide_btn mmhide_btnhov')" onmouseout="hov(this,'mmhide_btn')" onclick="" disabled="disabled" />
    <%
    %>
    <%
    if (nextIndex != -1) {
    %>
    <input type="button" value=" Next " class="mmhide_btn" onmouseover="hov(this,'mmhide_btn mmhide_btnhov')" onmouseout="hov(this,'mmhide_btn')" onclick="window.location.href='/partDB/partners/PartnerAgree.jsp?agreementIndex=' + <%=nextIndex%>" />
    <%
    } else {
    %>

    Hi Annie,
    Below is the code as I have it now and am still getting the null pointer exception. Thanks for looking at this for me, I have been struggling with it since before Christmas!
    <%
    // Connection
    String pid = request.getParameter("partID");
    if (pid == null) {
    pid = "1034";
    String pname = null;
    String ref4 = null;
    String url = null;
    String program = null;
    String tier = null;
    String numcon = null;
    String active = null;
    String publish = null;
    String agreeid = null;
    String type = null;
    String recdate = null;
    String status = null;
    String rendate = null;
    String termdate = null;
    String descrip = null;
    ArrayList agreements = new ArrayList();
    %>
    <!-- InstanceBeginEditable name="main" -->
    <%
    int agreementIndex = 0;
    agreements = (ArrayList) request.getAttribute("agreements");
    if (agreements == null) {
    try {
    ResultSet rs = statement.executeQuery("Select p.*, a.agreeid, a.type, a.status, a.recdate, "
    + "a.descrip, a.termdate, a.rendate "
    + "from partDB.partner p, partDB.agreement as a "
    + "where p.partid = '" + pid + "'"
    + "and p.partid=a.partid ");
    while (rs.next()) {
    Agreement agreement = new Agreement();
    agreement.setAgreeID(rs.getString("agreeid"));
    agreement.setPname(rs.getString("pname"));
    agreement.setRef4(rs.getString("ref4"));
    agreement.setUrl(rs.getString("url"));
    agreement.setProgram(rs.getString("program"));
    agreement.setTier(rs.getString("tier"));
    agreement.setNumcon(rs.getString("numcon"));
    agreement.setActive(rs.getString("active"));
    agreement.setPublish(rs.getString("publish"));
    agreement.setType(rs.getString("type"));
    agreement.setRecdate(rs.getString("recdate"));
    agreement.setStatus(rs.getString("status"));
    agreement.setDescrip(rs.getString("descrip"));
    agreement.setRendate(rs.getString("rendate"));
    agreement.setTermdate(rs.getString("termdate"));
    agreements.add(agreement);
    session.setAttribute("agreements", agreements);
    catch (Exception e){
    out.println("<pre>");
    PrintWriter errorOut = new PrintWriter(out);
    e.printStackTrace(errorOut);
    out.println("<br></pre>" + e);
    request.setAttribute("agreements", agreements);
    if (request.getParameter("agreementIndex") != null) {
    agreementIndex = Integer.parseInt(request.getParameter("agreementIndex"));
    Agreement agreement = (Agreement)agreements.get(agreementIndex);
    int nextIndex = 0;
    int previousIndex = 0;
    if ((agreementIndex+1) >= agreements.size()) {
    nextIndex = -1;
    } else {
    nextIndex = agreementIndex++;
    if ((agreementIndex-1) < 0) {
    previousIndex = -1;
    } else {
    previousIndex = agreementIndex--;
    %>
    <div id="mainentity"><!-- #BeginLibraryItem "/library/oppEntityHeader.lbi" -->
    <div class="section">
    <div class="sectionheader">
    <div class="sectionheadertext">
     General Information<img src="../images/collapsesection.gif" id="general_img" width="12" height="14" border="0" hspace="0" vspace="0" title="" alt="" style="vertical-align:middle" /> General Information
    </div>
    <div class="sectionbody" id="general">
    <div class="formfields">
    <table border="0" cellpadding="0" cellspacing="0">
    <tr><td class="formfieldlabel">Partner Name:</td><td class="formfieldvalue"><%=agreement.getPname() %></td></tr>
    <tr><td class="formfieldlabel">Contract:</td><td class="formfieldvalue"><%= agreement.getRef4() %></td></tr>
    <tr><td class="formfieldlabel">URL:</td><td class="formfieldvalue"><%= agreement.getUrl() %></td></tr>
    <tr><td class="formfieldlabel">Program:</td><td class="formfieldvalue"><%= agreement.getProgram() %></td></tr>
    <tr><td class="formfieldlabel">Tier:</td><td class="formfieldvalue"><%= agreement.getTier() %></td></tr>
    <tr><td class="formfieldlabel"># of Consultants:</td><td class="formfieldvalue"><%= agreement.getNumcon() %></td></tr>
    <tr><td class="formfieldlabel">Active:</td><td class="formfieldvalue"><%= agreement.getActive() %></td></tr>
    <tr><td class="formfieldlabel">Publish to Web:</td><td class="formfieldvalue"><%= agreement.getPublish() %></td></tr>
    </table>
    </div>
    </div>
    </div>
    <div class="dialogbuttons">
    <input type="button" value=" Edit " class="mmhide_btn" onmouseover="hov(this,'mmhide_btn mmhide_btnhov')" onmouseout="hov(this,'mmhide_btn')" onclick="window.location.href='#'" />
    </div>
    </div>
    <br>
    <div class="section">
    <div class="sectionheader">
    <div class="sectionheadertext">
     Agreement(s)<img src="../images/collapsesection.gif" id="codes_img" width="12" height="14" border="0" hspace="0" vspace="0" title="" alt="" style="vertical-align:middle" /> Agreement(s)
    </div>
    <div class="sectionbody" id="codes">
    <div class="formfields">
    <table border="0" cellpadding="0" cellspacing="0">
    <tr><td class="formfieldlabel">Agreement:</td><td class="formfieldvalue"><%= agreement.getType() %></td></tr>
    <tr><td class="formfieldlabel">Received Date:</td><td class="formfieldvalue"><%= agreement.getRecdate() %></td></tr>
    <tr><td class="formfieldlabel">Status:</td><td class="formfieldvalue"><%= agreement.getStatus() %></td></tr>
    <tr><td class="formfieldlabel">Description:</td><td class="formfieldvalue"><%= agreement.getDescrip() %></td></tr>
    <tr><td class="formfieldlabel">Renewal Date:</td><td class="formfieldvalue"><%= agreement.getRendate() %></td></tr>
    <tr><td class="formfieldlabel">Termination Date:</td><td class="formfieldvalue"><%= agreement.getTermdate() %></td></tr>
    </table>
    </div>
    </div>
    </div>
    <div class="dialogbuttons">
    <tr><td id="dialogbuttons" colspan="3">
    <!-- InstanceBeginEditable name="wizardbuttons" -->
    <%
    if (previousIndex != -1) {
    %>
    <input type="button" value="Previous" class="mmhide_btn" onmouseover="hov(this,'mmhide_btn mmhide_btnhov')" onmouseout="hov(this,'mmhide_btn')" onclick="window.location.href='/partDB/partners/PartnerAgree.jsp?agreementIndex=' + <%=previousIndex%>" />
    <%
    } else {
    %>
    <input type="button" value="Previous" class="mmhide_btn" onmouseover="hov(this,'mmhide_btn mmhide_btnhov')" onmouseout="hov(this,'mmhide_btn')" onclick="" disabled="disabled" />
    <%
    %>
    <%
    if (nextIndex != -1) {
    %>
    <input type="button" value=" Next " class="mmhide_btn" onmouseover="hov(this,'mmhide_btn mmhide_btnhov')" onmouseout="hov(this,'mmhide_btn')" onclick="window.location.href='/partDB/partners/PartnerAgree.jsp?agreementIndex=' + <%=nextIndex%>" />
    <%
    } else {
    %>
    <input type="button" value=" Next " class="mmhide_btn" onmouseover="hov(this,'mmhide_btn mmhide_btnhov')" onmouseout="hov(this,'mmhide_btn')" onclick="" disabled="disabled" />
    <%
    %>

  • Can't get the Submit button to work on Acrobat X

    I was having this problem on Acrobat 9 and so I bit the bullet and upgraded, hoping the problem would go away, but it did not.
    I have a simple form for an event which recipients will fill out and submit, emailing the entirePDF to others (not to me)
    I've done these forms a zillion times, no problemo, but this is the first time I've tried since upgrading from Entourage email to Outlook, and I have a sneaking suspicion the problem lies there somehow.
    Can install the button, all fine, but when I click it to test, I get this message:
    "An error occured while trying to create a mail document. Acrobat is unable to complete your request."
    Anybody know what I can do to fix this?
    signed,
    Desperate

    I gave up on the 'Submit' button long ago, as have others, I suspect.
    It fails in about half of the cases.
    Now I place a note at the top of the form instructing users how to manually attach the form to an email in case the button doesn't work – it's ridiculous. Thinking about it, it would be more clean-cut to get rid of the button alltogether.
    I also keep getting requests to provide forms as Word documents instead. Apparently people are way more comfortable with Word than willing to deal with idiosyncrasies in PDFs.

  • Sennheiser MM50s with iPhone - can't get the voice button to work :(

    Can anybody advise?
    I am on the latest iPhone OS. The headphones are brand new and sound great - but the voice/music control button does nothing but switch one speaker off while I hold it.
    Any advice welcome. I've cleaned the earbud socket with surgical spirit and my original headset works perfectly.
    Thanks.
    Steve

    Sorry if my answer confused.
    I don't mean you need to use excessive force to push it home, but I do need to make sure the connector is all the way in and that it's easy to leave it nearly-but-not-quite home, and when that's the case the mic button doesn't work.
    I've just tried quantifying it. From the front of the iPhone, when the headphones are all the way in there's no more than 0.5mm of gold connector showing. But with as little as 1.0mm showing, the mic button doesn't work, although sound does in both ears (and sometimes it's louder than normal too).
    (Because of the curve on the iPhone, there's a good 1-2MM of connector showing at the back even when fully inserted)
    If you're confident the connector is as far in as it'll go without damaging something, then it sounds like you've got either something in the connector slot of the iPhone or duff headphones. Do the buttons on the stock iPhone headphones work for you? That would narrow down the problem for you...
    PS: you don't need to push-and-hold; that launches Voice Control. A short but confident stab should play/pause; two quick pushes will skip a track, and 3 quick ones will go back to the start of the current track or go to the previous track if you were already near the start. I found the button on the MM50s a bit un-ergonomic in position and operation to start with but I'm getting more confident with knowing I've hit it now. There can be a 1-2 second delay between hitting the button and getting an effect though.

  • STILL can't get a simple button to work

    Okay, I get this error message when I try to publish
    settings:
    **Error** Scene=Scene 1, layer=button, frame=1:Line 1: Mouse
    events are permitted only for button instances
    on (release) {
    Total ActionScript Errors: 1 Reported Errors: 1
    I thought I HAD created a button instance! I SO do not get
    this. I did all the steps any tutorial talks about - and I took
    your suggestions about putting in the scripting, i.e.:
    on (release) {
    getURL("
    http://www.mypage.com/?from=tracking","_blank");
    This is what I put when I opened up the actions window for
    the button on frame 1 of Scene 1. Is this wrong? I'm seriously
    about to have a heart attack - I need super explicit instructions
    to understand, because if you leave out a step thinking it's so
    obvious of course I would do it, that's definitely not the case.
    :(

    You have to make sure the button is selected so that this AS
    code is actually connected to the button. If you want a different
    method where the button isn't selected when you put in the AS code
    then use this:
    buttonInstanceName.onRelease = function() {
    getUrl....
    That way the code references the button's intance name and
    doesn't need to be attached directly to the button, but rather the
    frame containing it.
    Please note that you can attach code to objects or the frames
    containing them. Your code needs to be attached to the button. My
    code needs to be attached to the frame. Get the difference?

  • How can I get the reset button to work?

    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.
    ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
        at flash.display::DisplayObjectContainer/removeChild()
        at AddATree2/onReset()
    Here is the code:
    THERE IS AN ATTACHED .FLA AND 3 AS FILES, RESET, TREE, AND ADDATREE2
    Appreciate your thoughts!  w_sights
    ADDATREE2.AS
    /* AS3
        Copyright 2008 __MyCompanyName__.
    package
         *    Class description.
         *    @langversion ActionScript 3.0
         *    @playerversion Flash 9.0
         *    @author
         *    @since  19.05.2009
        import flash.display.Sprite;
        import flash.display.MovieClip;
        import flash.events.MouseEvent;
        import flash.events.Event;
        import flash.utils.Timer;
        import flash.text.TextField;
        import flash.text.TextFormat;
        import flash.text.StyleSheet;
        import Reset;
        import Tree;
        public class AddATree2 extends MovieClip {
            // CLASS CONSTANTS
             //  CONSTRUCTOR
             *    @Constructor
            public function AddATree2(){
                reset.addEventListener( MouseEvent.CLICK, onReset ) ;
                reset.buttonMode = true ;
                reset.mouseChildren = false;
                mcAdd.addEventListener ( MouseEvent.CLICK , onClick ) ;
                mcAdd.buttonMode = true ;
                mcAdd.mouseChildren = false;
                //var reset_btn:reset = new reset();
            //  PRIVATE VARIABLES
                private var clickCount:Number = 0;
            //  PUBLIC VARIABLES
                public var reset:MovieClip = new MovieClip();
            //  GETTER/SETTERS
            //  PUBLIC METHODS
            //  EVENT HANDLERS
            private function onClick ( evt : MouseEvent ) : void
                clickCount++;
                switch(clickCount)
                    case 1:
                            var tree = new Tree ( ) ;
                            addChild ( tree ) ;
                            tree.x = 430;
                            tree.y = 300;
                            tree.scaleX = .95;
                            tree.scaleY = .95;
                            var brickham:BrickhamScriptProBMP = new BrickhamScriptProBMP();
                            var fmt:TextFormat = new TextFormat();
                            fmt.font =  brickham.fontName;
                            fmt.size = 58;
                            /*var regularText:TextField =  new TextField();
                            regularText.autoSize = "left";
                            regularText.embedFonts = true;
                            regularText.defaultTextFormat = fmt;
                            //regularText.text = "Merry Christmas"
                            addChild(regularText);
                            var css:StyleSheet = new StyleSheet();
                            css.setStyle("p", {fontFamily:brickham.fontName, fontSize:78,color:"#FFFFFF"});
                            //css.setStyle("a", {textDecoration:"underline"});
                            var webText:TextField = new TextField();
                            webText.autoSize = "left";
                            webText.embedFonts = true;
                            webText.styleSheet = css;
                            webText.htmlText = "<p>Merry Christmas</p>";
                            webText.x = 52;
                            webText.y = 41;
                            addChild(webText);
                            break;
                    case 2:
                            var tree2 = new Tree();
                            addChild(tree2);
                            tree2.x = 175;
                            tree2.y = 450;
                            tree2.scaleX = .65;
                            tree2.scaleY = .65;
                            break;
                    case 3:
                            var tree3 = new Tree();
                            addChild(tree3);
                            tree3.x = 45;
                            tree3.y = 365;
                            tree3.scaleX = .45;
                            tree3.scaleY = .45;
                            break;
               /*     case 4:
                            var tree4 = new Tree();
                            addChild(tree4);
                            tree4.x = 660;
                            tree4.y = 195;
                            tree4.scaleX = .25;
                            tree4.scaleY = .25;
                            break;
            //mcAdd.removeEventListener ( MouseEvent.CLICK , onClick ) ;
            //  PRIVATE & PROTECTED INSTANCE METHODS
            /*reset_btn.addEventListener(MouseEvent.CLICK, resetButton);*/
            function onReset(event:MouseEvent)
                var webText:TextField = new TextField();
                var reset:MovieClip = new MovieClip();
                reset.x = 450;
                reset.y = 500;
                reset.scaleX = .01;
                reset.scaleY = .01;
                addChild(reset);
                stage.addEventListener(MouseEvent.CLICK, removeWebText);
                var tree = new Tree();
                removeChild(tree);
                var tree2 = new Tree();
                removeChild(tree2);
                var tree3 = new Tree();
                removeChild(tree3);
            public function removeWebText(event:MouseEvent):void
                var webText:TextField = new TextField();
                var fmt:TextFormat = new TextFormat();
                removeChild(webText);
    TREE.AS
    package
        import flash.display.MovieClip;
        import flash.events.Event;
        public class Tree extends MovieClip
            function Tree()
                addEventListener ( Event.ADDED_TO_STAGE , onAddedToStage ) ;
            private function onAddedToStage ( evt : Event ) : void
                width = stage.stageWidth ;
                height = stage.stageHeight ;
    RESET.AS
    package
        import flash.display.MovieClip;
        import flash.events.Event;
        public class Reset extends MovieClip
            function Reset()
                addEventListener ( Event.ADDED_TO_STAGE , onAddedToStage ) ;
            private function onAddedToStage ( evt : Event ) : void
                width = stage.stageWidth ;
                height = stage.stageHeight ;

    Hello:
    Thank you for responding so quickly.
    I have added child and it has removed the error. However, the button icon has disappeared as you can see when you play the .swf and the reset button doesn't clear the stage of everything but the star and the back ground.
    See new code:
    /* AS3
        Copyright 2008 __MyCompanyName__.
    package
         *    Class description.
         *    @langversion ActionScript 3.0
         *    @playerversion Flash 9.0
         *    @author
         *    @since  19.05.2009
        import flash.display.Sprite;
        import flash.display.MovieClip;
        import flash.events.MouseEvent;
        import flash.events.Event;
        import flash.utils.Timer;
        import flash.text.TextField;
        import flash.text.TextFormat;
        import flash.text.StyleSheet;
        import Reset;
        import Tree;
        public class AddATree2 extends MovieClip {
            // CLASS CONSTANTS
             //  CONSTRUCTOR
             *    @Constructor
            public function AddATree2(){
                reset.addEventListener( MouseEvent.CLICK, onReset ) ;
                reset.buttonMode = true ;
                reset.mouseChildren = false;
                mcAdd.addEventListener ( MouseEvent.CLICK , onClick ) ;
                mcAdd.buttonMode = true ;
                mcAdd.mouseChildren = false;
                //var reset_btn:reset = new reset();
            //  PRIVATE VARIABLES
                private var clickCount:Number = 0;
            //  PUBLIC VARIABLES
                public var reset:MovieClip = new MovieClip();
            //  GETTER/SETTERS
            //  PUBLIC METHODS
            //  EVENT HANDLERS
            private function onClick ( evt : MouseEvent ) : void
                clickCount++;
                switch(clickCount)
                    case 1:
                            var tree = new Tree ( ) ;
                            addChild ( tree ) ;
                            tree.x = 430;
                            tree.y = 300;
                            tree.scaleX = .95;
                            tree.scaleY = .95;
                            var brickham:BrickhamScriptProBMP = new BrickhamScriptProBMP();
                            var fmt:TextFormat = new TextFormat();
                            fmt.font =  brickham.fontName;
                            fmt.size = 58;
                            /*var regularText:TextField =  new TextField();
                            regularText.autoSize = "left";
                            regularText.embedFonts = true;
                            regularText.defaultTextFormat = fmt;
                            //regularText.text = "Merry Christmas"
                            addChild(regularText);
                            var css:StyleSheet = new StyleSheet();
                            css.setStyle("p", {fontFamily:brickham.fontName, fontSize:78,color:"#FFFFFF"});
                            //css.setStyle("a", {textDecoration:"underline"});
                            var webText:TextField = new TextField();
                            webText.autoSize = "left";
                            webText.embedFonts = true;
                            webText.styleSheet = css;
                            webText.htmlText = "<p>Happy Happy</p>";
                            webText.x = 52;
                            webText.y = 41;
                            addChild(webText);
                            break;
                    case 2:
                            var tree2 = new Tree();
                            addChild(tree2);
                            tree2.x = 175;
                            tree2.y = 450;
                            tree2.scaleX = .65;
                            tree2.scaleY = .65;
                            break;
                    case 3:
                            var tree3 = new Tree();
                            addChild(tree3);
                            tree3.x = 45;
                            tree3.y = 365;
                            tree3.scaleX = .45;
                            tree3.scaleY = .45;
                            break;
               /*     case 4:
                            var tree4 = new Tree();
                            addChild(tree4);
                            tree4.x = 660;
                            tree4.y = 195;
                            tree4.scaleX = .25;
                            tree4.scaleY = .25;
                            break;
            //mcAdd.removeEventListener ( MouseEvent.CLICK , onClick ) ;
            //  PRIVATE & PROTECTED INSTANCE METHODS
            /*reset_btn.addEventListener(MouseEvent.CLICK, resetButton);*/
            function onReset(event:MouseEvent)
                var webText:TextField = new TextField();
                var reset:MovieClip = new MovieClip();
                reset.x = 450;
                reset.y = 500;
                reset.scaleX = .01;
                reset.scaleY = .01;
                addChild(reset);
                stage.addEventListener(MouseEvent.CLICK, removeWebText);
                var tree = new Tree();
                addChild(tree)
                var tree2 = new Tree();;
                addChild(tree2);
                var tree3 = new Tree();
                addChild(tree3);
                removeChild(tree);
                removeChild(tree2);
                removeChild(tree3);
            public function removeWebText(event:MouseEvent):void
                var webText:TextField = new TextField();
                var fmt:TextFormat = new TextFormat();
                addChild(webText);
                removeChild(webText);
    ===============
    TREE.AS
    package
        import flash.display.MovieClip;
        import flash.events.Event;
        public class Tree extends MovieClip
            function Tree()
                addEventListener ( Event.ADDED_TO_STAGE , onAddedToStage ) ;
            private function onAddedToStage ( evt : Event ) : void
                width = stage.stageWidth ;
                height = stage.stageHeight ;
    RESET.AS
    package
        import flash.display.MovieClip;
        import flash.events.Event;
        public class Reset extends MovieClip
            function Reset()
                addEventListener ( Event.ADDED_TO_STAGE , onAddedToStage ) ;
            private function onAddedToStage ( evt : Event ) : void
                width = stage.stageWidth ;
                height = stage.stageHeight ;

  • How can i get my n97 back to work properly?

    Hi everybody!
    I need some help, i don't know what to do with my n97...
    I have updated its firmware every time was needed, i've done a lot of hard resets, i've free a lot of space in C, a lot of RAM memory and....it keeps randomly freezing!!
    After six months dealing and struggling with it, i can say some sure things:
    -I think it's a software problem, because every time i do a hard reset, it works perfectly without freezing for a while. Always after a reset all works fine, and always a while after, even if no aplication were installed, the phone start freezing.
    -It worked quite good before the famous kinetic scrolling on firmware v20. Sometimes i try to select an option and the menu scrolls down again and again. I suggest that kinetic scrolling is optional in next firmware revision OR have the chance of downgrading the firmware through NSU, so i can install the firmware that works better for my device.
    Does anyone has fixed this problems?i can't use this phone, i use it as a very expensive 32Gb portable hard drive, while i daily use my old n95 8gb, a very reliable phone.
    Thanks in advance!
    Edit: By the way, any news on firmware update?

    If you've followed the troubleshooting steps in the article that you were reading, then you will have to go into the Apple Store or contact Apple Support to get a repair/replacement set up.

  • Can't get the view function to work properly...

    For some reason, I no longer can get the VIEW function to do what I want. Specifically, everytime I try to get ARTIST to show, it shows ALBUM BY ARTIST instead. This does NOT happen in my downloaded file, only in the entire library. Anyone else have this happen to them? Please advise.

    In the Masked Artwork folder go to a photo with the keyword "food".   Does it have a check mark at food?
    I have had situations where the photo had the keyword printed under the title, but the check mark is not present.  A search with that combination for the keyword yields "no image found".
    Go to bottom of your keywords panel and look under Other Keywords.  Is Food there and checked?  If so you can right click on this keyword and Find will work.  If you have the type of situration where keyword has no check mark in your tree, except for at Other, I found you have to delete them and then re-enter them.  It will then work.
    Let me know what you find discover.

  • How can I get "Edit in Photoshop" to work properly again?

    Hi all,
    I purchased and upgraded to Lightroom 4.0. Got things to work fine with some ACR updates for Photoshop CS3 that I'm currently using. Now have ACR 4.6 installed (the latest for my version of PS) as well as ACR 6.7.
    I was able to make edits to the DNG RAW files in Lightroom 4.0 and then choose Edit in Photoshop (Command-E) and see those changes in a PSD file in Photoshop, where I could make further changes.
    All of a sudden, I went to edit a photo in Photoshop and saw the original DNG file with no Lightroom edits. Some tinkering and update to Lightroom 4.1 but nothing can seem to make it show those Lightroom edits now when I go to Photoshop.
    How did this break? How do I fix it?
    Mac OSX 10.7.3
    Photoshop Lightroom 4.1
    Photoshop CS3 Extended 10.0.1

    My Lightroom 4 was doing a fine job rendering my changes to the RAW file as a PSD on the way into PS, especially after I downloaded Adobe Camera Raw 4.6 for Photoshop CS3. Then it just stopped, with no warning. To try to fix this problem, I downloaded ACR 6.7 and also LR4.1, but it's still just opening the DNG file when I run Command-E to edit in Photoshop CS3.
    When I use Adobe Bridge CS3 to see the changes I've made in LR4.1 (especially after saving the metadata to the file with Command-S), it shows the updated changes but when I then open in Camera Raw or Photoshop, they're gone.
    Thoughts? I'm worried because Command-E in LR4.1 just opens the DNG without modified changes instead of the PSD file as was customary.

Maybe you are looking for

  • Erro copia de ambiente PI/GRC

    Boa tarde, Fizemos uma copia de um ambiente GR1 para GR2, e fiz o pos-installation da SAP para Netweaver ABAP+JAVA SR3, ocorre que quando finalizei as configuracoes do GR2, as configuracoes de endereco e porta que eu alterei no GR2 foram alteradas ta

  • Setting folder permission in windows 8.1

    setting folder permission in windows 8.1

  • PowerMac G5 playing onto 1080p HDTV

    I wish to view some 30GB HD QuickTime files on a Samsung HL-R6168W tv - I've connected G5 Dual 1.8Ghz DVI output to tv HDMI input, but get no 'mirrored' display on tv. The same cable/plugging set-up does mirror successfully on tv with MacBook Pro 2GH

  • Is version of Internet explorer casuing a problem to view PDF?

    I have a table with document blob, doc_type varchar2(50) two fields . I have created a form based on this table where doc_type is mime type stored by blob field document. Everything is working fine but when i want view that pdf file i have stored bef

  • Subquery in Select Issue

    Hi all, I have a quick question. I'm just testing out Subqueries in the Select portion of the query. Here's what I'm trying to do: select count(rownum) cnt, count(rownum)/(select count(rownum) from tablex) pcnt from tablex where contraintfield = cons