Want an invisible button to html page

the last method was a very complicated one I found at
http://www.adobe.com/education/resources/k12/instructional/digitaldesign/pdfs/ddcg_cs3_uni t7_student_guides_a4.pdf
I got three error messages when I did that
here is my action script:
import flash.events.IEventDispatcher;
import flash.events.MouseEvent;
this.nameit.addEventListener();
MouseEvent.CLICK;
not_set_yet.addEventListener(MouseEvent.CLICK,gotohtml);
function gotohtml(event:MouseEvent) {
navigateToURL("aboutme.html");

ok, that gets me through making the invisible button, which I
have been able to do successfully, but yours are good clear
directions.
But THEN what do I do to create a hyperlink to the url? Could
you tell me step by step? I have tried 6 or 7 variations found in
books or on the web, none work
in CS3 with ActionScript 3.0
I can't find the getURL command...have tried manually typing
following various directions.
and do I apply the getURLto the button hit stage or the
keyframe on the timeline
actually, I tried both and neither worked when I tested the
movie.
thanks for your help, you can see I know nothing!

Similar Messages

  • Run a function in flash when click a button on HTML page

    dear friends,
    i have loaded my swf in an html/ aspx page. when i click a button in html page, i want to pause my swf movie. Actually swf has another movie clip i want to stop that. any option pls help me. possible send me some sample coadings.. i tried with externalInterface but no result..
    or if i click a button in html page, i want to run a function existing in loaded swf....
    thanks in advance...
    Thanks and Regards,
    Syed Abdul Rahim

    Dear Mr.ned,
    Greetings! i tried to put the id also, still its not working.. any ideas? find below my codings:
    flash code:
    import flash.external.ExternalInterface;
    ExternalInterface.addCallback("methodName", method );
    function method() {
        mytxt.text = "call from java script";
        trace("called from javascript");
    HTML code:
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>jscr_rd</title>
    <script language="javascript">AC_FL_RunContent = 0;</script>
    <script src="AC_RunActiveContent.js" language="javascript"></script>
    </head>
    <body bgcolor="#ffffff">
    <p>
      <!--url's used in the movie-->
      <!--text used in the movie-->
      <!--
    <p align="left"></p>
    -->
      <!-- saved from url=(0013)about:internet -->
      </script>
      <script language="javascript" type="text" >
    function methodName() {
       jscr_rd.method();
       window.alert("hi.. u clicked me?");
    </script>
      <script language="javascript">
        if (AC_FL_RunContent == 0) {
            alert("This page requires AC_RunActiveContent.js.");
        } else {
            AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0','widt h','550','height','400','id','jscr_rd','align','middle','src','jscr_rd','quality','high',' bgcolor','#ffffff','name','jscr_rd','allowscriptaccess','sameDomain','allowfullscreen','fa lse','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','jscr_rd' ); //end AC code
    </script>
      <noscript>
        <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="550" height="400" id="jscr_rd" align="middle">
          <param name="allowScriptAccess" value="sameDomain" />
          <param name="allowFullScreen" value="false" />
          <param name="movie" value="jscr_rd.swf" />
          <param name="quality" value="high" />
          <param name="bgcolor" value="#ffffff" />   
          <embed src="jscr_rd.swf" quality="high" bgcolor="#ffffff" width="550" height="400" name="jscr_rd" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />   
      </object>
      </noscript>
    </p>
    <form name="form1" method="post" action="">
    <input name="but" type="button" value="click me" onClick="methodName()">
    </form>
    <p> </p>
    </body>
    </html>
    pls check advice me
    Thanks and Regards,
    Syed Abdul Rahim

  • Flash button in html page

    Hello,
    I have created button in flash and I want that each time I
    press on the button, html page will open in frame name mainFrame in
    my site the problem is the html page always open in new window.
    As you can see in the code attach, I have two frames in my
    page one called leftFrame and the flash button is in there, and the
    other is mainFrame which i want to open test.html in
    any idea how to solve this?
    thanks

    What happens if you use the full absolute url instead of a
    relative url?

  • Sorting,  polls, ratings, - want to add to my html page

    How's the best way using HTML, CSS and JavaScript and libraries to add sorting, polls and ratings.  Here is what i have and the center content part is just an image.  The image is what I need to create.
    http://www.tammyfarringtoncreative.com/test/index.html#
    Thanks, Tammy

    Do a Google search for star ratings scripts.  There are various methods with jQuery, Ajax, PHP & MySql.
    Nancy O.

  • Trying to link a html page in AS3

    I made a flash site with a button I want to link to a html page I made. But I don't know what I'm doing. I tried this:
    _root.cele1.on(release);{
    getURL("celebrities.html");
    where cele1 is the button name, but that don't work.  I know what I need to do to navigateToURL but I want to link a HTML page I created.
    Any help would be great. Thanks.

    THis is likely a literal case of helping yourself... See your other posting and leave out the part where you try to size the window...
    I'm trying to make the window size smaller in flash actionscript 3.0

  • Html page maximize

    Hi All,
    i have small doubts in html page, actually my client requirement is to increase the size the of the html page, i already gave the height and width, but he wants maximize button, actually maximize button is disabled  in my html page, how to enable the maximize button in html page,
    thanks
    chinnu

    Hi ,
    Is this HTML page called using JavaScript window.open?
    If yes then just remove the attribute RESIZABLE
    Regards,
    Anubhav
    Edited by: Anubhav Jain on May 26, 2009 3:38 PM

  • How to create dynamic HTML page using PL/SQL code in APEX.

    hello,
    I am woking on one APEX application in which i want to create one dynamic HTML page on button press using PL/SQL code.
    Thanks

    It is possible to create HTML page with dynamic content. One way would be creating hidden field (e.g. P1_HTML on page 1) with dynamic HTML and on button click you redirect to page 2 and pass P1_HTML item value to item P2_HTML on page 2. On page you must have PL/SQL region. You can then render your dynamic HTML with code:
    htp.p(:P2_HTML);
    Don use APEX URL for passing HTML value. Problem and solution is described here: http://blog.trent-schafer.com/2011/04/03/dont-pass-string-parameters-in-the-url-in-apex-its-a-bad-idea/
    Edited by: MiroMas on 3.2.2012 3:20

  • Linking to a point on the timeline from a separate html page

    Hi,
    I'm using Edge Animate 1.0 in windows Vista.
    I want to link from an html page to within a point (label) on the timeline. What code would I need to put on the button?
    John

    worked a few months on an js file, to make this kind of stuff alot easyer for beginners and a timesaver for an experts (simplify and less coding for edge animate)
    will be released over a few days

  • How can I find the name and path of the host html page

    Hi all,
    I want to make a banner using flash. This banner will be
    included in several pages in several domains.
    So, I want to count the clicks and store statistical data,
    calling an asp, and I want to get the host HTML page name which
    includes my banner.
    How can I do this?
    Thanks in advance

    or you can use the localConnection class inside of flash....
    it will return the domain name for you.
    var lc:LocalConnection = new LocalConnection();
    trace(lc.domain());

  • Create HTML page inside form 6i

    Hi ,
    I would like to know if it's possible to create an HTML page inside form 6i ,, where this html page will include a time using html code, and a refresh button will be in the form whenever I press the refresh button the html page inside the form will be updated ..
    how can i do that ?
    Thanks in advance … :)

    Yes its possible . If you are running forms in client server , use host built in to open the html page. This html page can be created
    dynamically using text io.
    If you are running on web use webutil client host and text io.
    Best Regards
    Rajesh Alex

  • To open a window & html page at a time on a single button, in JSP.

    Hello!
    I want to open 1 window as well as i want to open 1 html page on a single button click at a same time, in JSP.
    on button's "action" event i am opening the html page and button's "onclick" event i am opening the window, but it is not showing these 2 actions at a time. only window gets open when i click the button.
    [Also on form's "action" event i am having validate() function.]
    how do i open a window & html page at a time on a single button, in JSP?
    I don't know how to do this. I have stuck over here, if anyone is having any solution, please let me know.
    I need your help.
    Thank You.

    write js as
    window.open(page, "Popup", windowprops);
    windowprops = "height="+hi+",width="+wd+",top="+ wint +",left="+ winl +",location=no,"
              + "scrollbars=yes,menubars=no,toolbars=no,resizable=no,status=yes";
              encapsulate this in one function and call that function on button click event !!

  • Opening a HTML page on clicking of button .

    i created a button under menuItem help , i want to open a HTML page in other window (that is save inside my project folder ) when i click that button.
    for this i created jeditorpane and passing the URL in to its constructor but i m getting exception when i m using URL like "D:/x/y.html" exception is protocol not find and in the case of "http://localhost/d:/x/y.html" exception is java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method
    my code is
    import javax.swing.JEditorPane;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JScrollPane;
    import javax.swing.SwingUtilities;
    import java.awt.Color;
    import java.awt.Container;
    import java.io.IOException;
    public class HelpDialog {
    * height of frame in pixels
    private static final int height = 1000;
    * width of frame in pixels
    private static final int width = 1000;
    private static final String TITLE_STRING = "Help";
    * URL of page we want to display
    private static final String URL = "http://localhost/D:/SVGcode/javaApplet/src/com/Documentation.html";
    // --------------------------- main() method ---------
         public HelpDialog()
         SwingUtilities.invokeLater( new Runnable()
         public void run()
         System.out.println( "Starting" );
         final JFrame jframe =
         new JFrame( TITLE_STRING );
         Container contentPane = jframe.getContentPane();
         jframe.setSize( width, height );
         contentPane.setBackground( Color.WHITE );
         contentPane.setForeground( Color.BLUE );
         jframe.setDefaultCloseOperation( JFrame.DISPOSE_ON_CLOSE);
         try
         System.out.println( "acquiring URL" );
         JEditorPane jep = new JEditorPane(URL);
         System.out.println( "URL acquired" );
         JScrollPane jsp =
         new JScrollPane( jep,
         JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,
         JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED );
         contentPane.add( jsp );
         catch ( IOException e )
         System.err.println( "can't find URL" );
         e.printStackTrace();
         contentPane.add( new JLabel( "can't find URL" ) );
         jframe.validate();
         jframe.setVisible( true );
    plz help me

    Hi Sandy,
    Instead of giving url in the constructor. Paste the code below the JEditorPane. Remove the url from the JEditorPane constructor.
    try{
                        /** Files from system */
                        java.net.URL helpURL = new URL ("file:///" + "C:\\thread.jspa.htm");     
                        /** Files from inter net */
                         helpURL = new URL ("http://forums.sun.com/thread.jspa?threadID=5421146&tstart=0");
              if(helpURL!=null)     
               jHelp.setPage(helpURL);
              else
                   System.out.println("Couldnt find file");
               }catch(MalformedURLException exp){
                    System.out.println("Exception in page loading---"+exp);
               }catch(IOException ioexp){
                    System.out.println("Exception in page loading"+ioexp);
               }

  • How to execute an applet after a button was clicked in an html page?

    the title says it all..
    I have an applet, and I want it to run only after I click a button, anyone knows how to do that?

    here is htmlpage
    www.somepage.com/index.html
    index.html has a button the hrefs to /yourapplet.html page
    www.sompage.com/appletPage.html

  • HTML Page With Icon Buttons

    Hi there,
    So I'm not too familiar with HTML pages but I think this
    might be advanced...at least for me. ;-) What I have is a html page
    that is set up with a table and inside the table is a background
    image. The table is aligned to center and that's pretty much set to
    go for the background. What I want to do now is add buttons onto
    this page but I can't figure out how to have the buttons stay in
    the same exact place of the background image when I change the size
    of my web page. I know how to do this in ImageReady by just slicing
    this thing left and right, but I wasn't sure if there's a way to do
    this in Dreamweaver to make this easy.
    This is what the page looks like as of right now:
    http://www.crawfordgroup.tv/4th/
    What I would like to do is not have the page load up in
    chunks since I had to slice everything in ImageReady. Any
    suggestions? I would really appreciate any advice. Thanks a lot!
    Brian

    Put the buttons into cells of the table. But (and this is a
    big one) - The
    table must be constructed using good table methods. This
    means it would
    have to be built so that if your content expands (i.e.,
    someone resizes
    their text in the browser), it doesn't expand those cells.
    You cannot,
    therefore, merge and split cells in this table containing the
    buttons.
    That means you have to understand HTML tables enough to be
    able to build
    that layout.
    A point I am subtly trying to make is that this alignment of
    foreground
    things with background things is usually not a good page
    layout approach.
    > I know how to do this in ImageReady by just slicing this
    > thing left and right,
    This is the way that most people enter the dreaded domain of
    "Table Hell".
    Do not use a graphics editor to write your HTML.
    Taking a Fireworks comp to a CSS-based layout in Dreamweaver
    http://www.adobe.com/devnet/fireworks/articles/web_standards_layouts_pt1.html
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "BriGuyHogie" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hi there,
    >
    > So I'm not too familiar with HTML pages but I think this
    might be
    > advanced...at least for me. ;-) What I have is a html
    page that is set
    > up
    > with a table and inside the table is a background image.
    The table is
    > aligned
    > to center and that's pretty much set to go for the
    background. What I
    > want to
    > do now is add buttons onto this page but I can't figure
    out how to have
    > the
    > buttons stay in the same exact place of the background
    image when I change
    > the
    > size of my web page. I know how to do this in ImageReady
    by just slicing
    > this
    > thing left and right, but I wasn't sure if there's a way
    to do this in
    > Dreamweaver to make this easy.
    >
    > This is what the page looks like as of right now:
    >
    http://www.crawfordgroup.tv/4th/
    >
    > What I would like to do is not have the page load up in
    chunks since I had
    > to
    > slice everything in ImageReady. Any suggestions? I would
    really
    > appreciate
    > any advice. Thanks a lot!
    >
    > Brian
    >

  • I have a button in JSP page inside an UIWebView by pressing the button i want to run another existing iPhone native application in background only.Do anyone have a solution for this.

    I have a button in JSP page inside an UIWebView by pressing the button i want to run another
    existing iPhone native application in background only.Do anyone have a solution for this.

    Sounds like a virus.... I hope it's not...
    Launching Other Apps within an iPhone

Maybe you are looking for

  • [ot] A UML tool for a new Java project

    I am working on the new Java project and need a UML tool to get it start. I am wondering whether anyone one can recommend such tool or not. It can be either stand alone or as an Eclipse plug-in. It shall be able to handle at least 50 classes. Thanks.

  • Backup problem with iOS4

    Currently, my dad's iphone (3gs) is using iOS4.1, no iCloud. My dad's phone used to sync to my computer only (nearly a year ago since he went aboard). But now it cannot sync with my computer When I try to sync, iTune is forcing me to do either setup

  • Swatch Library Name Limit

    Items in the swatch libraries are allowed to have names up to 31 characters long.  We need longer names up to 50 characters long.

  • Serial letter Templates from the Intranet

    By now our customer  has its serial letter Templates (Word) on a volume in LAN. Since this volume will be deinstalled, the customer wants to store these templates in Intranet in the future (on some sharepoint volume). By now (SAP R/3 Release 4.7) thi

  • Table and columns separation  in string

    Hi, I am having one column data containing combining table and column names like act_hand_table.work_order i want seperate table and column names i want separte . filed Please help me Regards, Kiran