Linking a flash button to a html page

Hi, I was wondering if anyone knew the best way to link a
flash button to a page in DW?
Thanks

Place this actionscript into the hit area of your flash
button, then export the flash as a .swf and place onto the
dreamweaver page...
on(release){
getURL("YOUR_DESIRED_PAGE.html","_self");
This will open the new html page in the same window. Hope
that helps.
You can get a cheap but awesome tutorial on Flash buttons
here...
http://www.cartoonsmart.com/smooth_buttons.html
No, I don't know the guy and I don't get a commission. The
tutorials really helped me, that's all.

Similar Messages

  • Link button to local html page using AS3

    I am using AS3 and having trouble linking a button to a local html page

    Okay, I tried both of the codes and it is still now working.
    navigateToURL(new URLRequest("file:///fishcom/Home.html"));
    I get a Windows dialog box that states that the path can not be found.
    navigateToURL(new URLRequest("./fishcom/Home.html"));
    This goes to http://./fishcom/Home.html  but not my page.
    The Flash file and the HTML page are in the fishcom folder on my desktop. Very frustrating because this was so easy in AS2. 

  • Linking a flash button to a dreamweaver HTML page

    Hi. hope this is possible.
    i've created a short animation in flash, and converted one of
    the shapes to a button. I have brought the .swf file into a
    dreamweaver page, and the "hand icon" is visilbe over the button,
    but i can't figure out how to link the button to another
    Dream Weaver HTML page.
    any help would be great.
    thanks
    niko

    throw this in your actions
    buttonname_btn.onRelease = function() {
    getURL("
    http://www.whatever.com");

  • Flash button to show html layer

    I have embedded a Flash menu into an html doc with a hidden
    layer called player. I want a button in the Flash menu to show that
    layer. I used the instructions on this website:
    http://www.bestflashanimationsite.com/tutorials/1/2/
    But it doesn't work. I made a link on the html page that
    shows the layer, so the Dreamweaver MM_showHideLayers function is
    there in the html head. I tried this in the button actionscript:
    on(press) {
    getURL("javascript:MM_showHideLayers('player','','show')");
    I also tried writing a custom function in the html which does
    work from a button in the html:
    function showPlayer() {
    MM_showHideLayers('player','','show')
    and then putting this in the Flash button:
    on(press) {
    getURL("javascript:showPlayer()");
    Which does not work. (following are the Dreamweaver
    functions)
    Please help!!!!!

    I use externalInterface (instead of getURL). Its a great way
    to call javascript functions from flash and vice-versa.
    http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveD ocs_Parts&file=00002200.html
    There are some links to examples in the comments below the
    description.

  • I need to control flash button states within html

    I am utilizing a flash header for navigation on a site built
    in html. I need to control the button states in my flash header
    from within my html page to facilitate breadcrumbs. The header
    works in a similar manner to an expandable banner. The sub menu
    expands over the html page. However, I cannot figure out how to get
    the primary navigation buttons in the flash header to stay in the
    "hit state" so that the user knows which section of the site they
    are in.
    Can anyone point me in the right direction?
    Thanks

    You will want to use movieclips as buttons so that you can
    control what state they are in by code.
    As far as using the html to set the state, you could devise a
    scheme using FlashVars, which get designated in the embedding code
    of the html page.
    Assuming you are not using frames, and the flash is reloaded
    for each page that you navigate to, then you will have adjust the
    FlashVars code to reflect the relevant page's button.

  • Use Buttons to switch HTML Pages

    I have Dreamweaver 8 (as part of Studio 8 Mac). I use OSX.3.9
    on a G4-500, and OSX.4.7 on a PB17 !.67GB.
    I would like to have a home page with buttons some where
    acros the top or down one side. Maybe using a Tables, I would like
    to click a given button and the desired page would either come up
    replacing the previos page. Or if using a table, the top table part
    remains the same and either the right lower Table section or lower
    table section (depending upon where the button are) would change to
    contents of html page linked to. I've tried using an extension. But
    its my understanding I can actually do this from with Dreameaver
    without need of a Button designer extension.

    Create a graphic button. Place it on a page in the desired
    location.
    Select the button. Use the Property inspector to browse to
    and select a new
    page (the link field).
    Is that what you are asking?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "PJones, CET" <[email protected]> wrote in
    message
    news:e9do1o$5bs$[email protected]..
    >I have Dreamweaver 8 (as part of Studio 8 Mac). I use
    OSX.3.9 on a G4-500,
    >and
    > OSX.4.7 on a PB17 !.67GB.
    >
    > I would like to have a home page with buttons some where
    acros the top or
    > down
    > one side. Maybe using a Tables, I would like to click a
    given button and
    > the
    > desired page would either come up replacing the previos
    page. Or if using
    > a
    > table, the top table part remains the same and either
    the right lower
    > Table
    > section or lower table section (depending upon where the
    button are) would
    > change to contents of html page linked to. I've tried
    using an extension.
    > But
    > its my understanding I can actually do this from with
    Dreameaver without
    > need
    > of a Button designer extension.
    >

  • Flash not playing on html page after template is altered

    Hi,
    Can anyone help. If i alter anything on a template none of the .swf files on pages based on that template will work when previewed in the browser.
    I am using DW CS3.
    Anyone any ideas

    Good day,
    This issue can be considered as a limitation at some point because Dreamweaver lacked the ability to "auto-update", although it was not really the best practice to include Flash contents in a DW template.
    There is a workaround though. You may need to edit the template (.dwt) itself and work in Code View.
    While in Code View, use the Find and Replace (Edit > Find and Replace) feature so it will be easier for you to find what you are looking for.
    In the Find and Replace window, choose Current Document as value for Find in, and Source Code as Search.
    In the Find input field, type --> 'src' (including the single quotes) and click on Find Next.
    Once you found 'src', pay attention to the text next to it enclosed in single quotes. The value in the single quotes is the path of where the Flash file is saved. try to remove ../ if you happen to see it. (do this if the Flash file is located in the same folder where the HTML page which uses it is saved)
    Using Find and Replace again, this time, try to search for 'movie' (including single quotes). You'll see again the text next to it which is the same value as what you have searched before. Do the same thing, try removing ../. (do this if the Flash file is located in the same folder where the HTML page which uses it is saved)
    Save the DW template file and try to preview the pages again in the browser.
    I hope this helps.
    Regards,
    Christine R.
    Adobe North America Technical Support

  • Linking collapsable spry menu to other html pages

    Hi,
    I dont seem to be able the link the subject within my
    collapsible, to another html page.
    Surely it not hard, can someone explain how I do this, Im
    having a blonde day.
    Thanks in advance

    Thanks.
    I'll try my best to keep replying although I cannot guarantee further responses and no-one else here can help you further without those details.
    Several points:
    See http://www.projectseven.com/products/menusystems/pmm2/ug-examples/includes/index.htm
    (The instructions relate to a commercial product but the principles apply to every SSI.)
    Your include statement is <!--#include file="Includes/thiswillwork.shtml" -->
    The .shtml is required for the parent file to tell the server to parse the Include
    In other words, the parent page should read http://www.yourdomain.com/index.shtml - and every page which has an Include statement must have a .shtml extension. (The article linked above discusses alternatives to this requirement if you talk to your host)
    Then the include reads <!--#include file="Includes/thiswillwork.html" -->
    The include file extension can be anything provided it's correctly linked from the parent page.
    Also, with nav bars, you'll be calling them from every page of your website so you need a site root relative reference, not a document root relative one, so that the include file is correctly referenced from every page of the website regardless of its position in the folder structure.
    i.e. <!--#include virtual="/Includes/thiswillwork.html" -->
    Note: the "file=" changes to "virtual=" and the crucial forward slash in front of Includes.

  • Flash button not showing on page

    just new to flash cs3, but have been using dream weaver cs3
    for a while now, I am trying to add a flash button to a page its
    showing up when i preview it on my own computer, I uploaded all the
    files to root folder just cant under stand whats wrong, the site is
    http://www.poxh.com in case any one
    needs to see code, any help on this would be great
    Thanks

    David,
    I don't know what that file is. Can you elaborate?
    Thanks,
    Chris
    quote:
    Originally posted by:
    Newsgroup User
    chriscatalano wrote:
    > Hopefully this is a simple problem. I've added a Flash
    Button via the Insert
    > Media -> Flash Button in DW8. Unfortunately the
    button does not show up when
    > the php page is loaded up to the server. And yes, I did
    make sure to upload
    > the button file.
    But did you upload this file?
    Scripts/AC_RunActiveContent.js
    David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    http://foundationphp.com/

  • Links on Flash buttons ( CS3 )

    Hi pros and newbies ,
    I have a question regarding linking flash symbols /
    buttons.What I mean is : after creating dynamic / interactive
    symbol in Flash I want to add link to it so any help will be
    welcomed.Also , After inserting "Media Flash button" in dreamweaver
    and make a link on it - the browsers ask ( after cliking on it )
    what program they should open it with - ? Why don't the links open
    in new tabs after clicking on Flash buttons ? Thanks for any
    answers.

    So you have a button in Flash and you want it to take you to
    a url when clicking on it?
    Here is a quick example of how to do this by applying
    actionscript to the button itself. When you have the button on the
    stage, select it on the stage and then go into your Actions panel
    to add the actionscript code at the end of this post. You can view
    the FLA for this by downloading it
    here.
    Here is the actionscript which needs attached to your
    button:

  • Link Custom Flash Buttons in Dreamweaver?

    Hello,
    I created an animated button in flash and tried to link it up
    in Dreamweaver with no success. I don’t understand why I can
    use generic animated buttons that DW offers and have a link for
    them but, when I create my own DW doesn’t offer a link. All
    I’m trying to do is link to a different page on my site. I
    tried to use “getURL” in the action script in flash and
    got that to work but, I really didn’t want to open a new
    browser. Can anyone help?
    60vette

    If you want to use Flash for navigation, consider this -
    1. Some people don't have Flash installed - what do they do?
    2. Search engines don't parse Flash links - your site will
    not be spidered
    3. Screen assistive devices don't parse Flash links - what
    will those users
    do?
    4. DW cannot maintain links within a Flash movie, so if you
    move or rename
    a linked file, your navigation will break - what will you do?
    It's usually a very bad idea for these reasons...
    In addition, you cannot add a link to a Flash element using
    HTML. That link
    must be added in the Flash itself.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "60vete" <[email protected]> wrote in
    message
    news:fcpoqm$rou$[email protected]..
    > Hello,
    > I created an animated button in flash and tried to link
    it up in
    > Dreamweaver
    > with no success. I don?t understand why I can use
    generic animated buttons
    > that
    > DW offers and have a link for them but, when I create my
    own DW doesn?t
    > offer a
    > link. All I?m trying to do is link to a different page
    on my site. I tried
    > to
    > use ?getURL? in the action script in flash and got that
    to work but, I
    > really
    > didn?t want to open a new browser. Can anyone help?
    > 60vette
    >
    >

  • Embedding Flash Movies in an HTML page without browser warning...

    Hi guys...I have been using Flash for some time now....My
    problem is how to embbed a flash swf movie file in an HTML or XHTML
    page without the browser warning the user that this web site is
    trying to install ActiveX content on her or his computer....Almost
    all professional sites does not display a warning message in the
    browser...So how can I do this???

    I tried to embed it in Dreamweaver CS3.......Here is the code
    which Dreamweaver generates...
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>Untitled Document</title>
    <script src="Scripts/AC_RunActiveContent.js"
    type="text/javascript"></script>
    </head>
    <body>
    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','550','height','400','src','../My
    Documents/My Pictures/Samla E-Cards/Best Cards/13 July
    2006','quality','high','pluginspage','
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','../My
    Documents/My Pictures/Samla E-Cards/Best Cards/13 July 2006' );
    //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,28,0"
    width="550" height="400">
    <param name="movie" value="../My Documents/My
    Pictures/Samla E-Cards/Best Cards/13 July 2006.swf" />
    <param name="quality" value="high" />
    <embed src="../My Documents/My Pictures/Samla
    E-Cards/Best Cards/13 July 2006.swf" quality="high" pluginspage="
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
    type="application/x-shockwave-flash" width="550"
    height="400"></embed>
    </object></noscript>
    </body>
    </html>
    Can you look at the code and tell me which I have to
    change....Internet Explorer still displays the warning message
    saying: " To help your security, Internet Explorer has restricted
    this webpage from running scripts or ActiveX controls that could
    access your computer.Click here for options"......I am sorry to
    disturb you all....But I really need help!!!
    Text

  • Same flash sound on every html page

    Hi, i´ve a problem on site that i´m doing, ineed to
    put a background flash music/sound on all the pages, but i
    don´t want the sound to reload every html click/refresh. I
    know it should be possible by storing que sound position or legend
    on a veriable. but i dont´t know how.
    Please help, and thx in advance

    Ok i tried it, but still no working, because i´m not
    good enought. My code so far is :
    loop1 = new Sound( MC1 );
    loop1.attachSound( "theme" );
    this.onEnterFrame = function () {
    _root.songDurationText=_root.loop1.duration/1000;
    _root.songPositionText=_root.loop1.position/1000;
    songDuration = _root.loop1.duration / 1000;
    songPosition = _root.loop1.position / 1000;
    var local_data = SharedObject.getLocal( "sound_position" );
    local_data.data.sound_position = _root.loop1.position / 1000
    trace( "root sound_position: " +
    local_data.data.sound_position );
    if (stored_sound_position = local_data.data.sound_position) {
    playing=true;
    loop1.start();}
    else loop1.gotoAndPlay (1)
    help needed

  • Flash not seen in HTML page anymore.

    Hello,
    SW Flash has just stopped working in a HMTL page after years of working.
    It works in DW edit area when I play it, but not on linux site anymore.
    We have not changed any code on page.  Tried in FF, IE and Chrome.
    Page is here http://www.lonnielee.com/index1.html
    I sometimes get a Shockwave panel saying that it is trying to access ...    s.timg.com via internet.
    Many thanks
    oz

    I see the same thing - no Flash content. You need to ask in the Dreamweaver forum because this isn't anything to do wiith Flash Player - it's in your code.

  • How to link an  APEX button to a HTML file stored on the app server ??

    Hopefully this will be simple for someone
    We have some very technical word documents that I really didn't want to replicate in oracle reports
    So i have saved them as html docs , and when i open then in IE they look fine
    I have placed them in the folder where our reports are stored , but I cannot figure out how to create the URL to place behind a button in APEX ??
    Obviously the oracle reports url won't work as the uses pdf's and the servlet
    Thanks in advance
    Chris

    Assuming you are using Apache?
    You could place your Word docs in the same folder as your current Apex images directory (or a sub-directory off it) then reference them with a URL of the form http://yourserver/i/sample_word_file.doc. Alternatively you could add a new Alias entry to your dads.conf file (found in your Apache/modplsql/conf directory) to expose the folder on your webserver that contains your Word files via a URL such as http://yourserver/word_docs/
    E.g.
    Alias /word_docs/ "c:\my_docs\technical_word_docs/"
    Andy

Maybe you are looking for

  • Madness with iTunes 7 !!

    Apple how can you mess up this release so badly ? I mean come on didn't you test iTunes 7 properly before releasing this crippled piece of software to the masses ? Isn't itunes first and foremost a software for playing music ?? If it cant even do tha

  • Aperture 3 Places - does it include altitude

    My question(s): Does the geotagged information in Aperture 3 get placed into the metadate in the image file, and does this data include altitude? I've been using third party apps with the previous version of Aperture to geotag my photo's. I was quite

  • Slide shows in IPhoto

    How can I play 2 or 3 different songs from Itunes within the same (long) slide show ? Powerbook   Mac OS X (10.4.9)  

  • JComboBox Size Problem

    This is my code: MyComboBox.setSize(new Dimension(50, 20)); MenuBar.add(MyComboBox); But the combo Box take all the space of my menu ! What's wrong?

  • Song Restarts Halfway Through...

    Yesterday I began to play the song "So What" by Pink and 2:07 into the song, it ends & begins to play from the beginning. I have installed the update and no change. I went to the Apple Support page however could not seem to locate anything new I coul