Button creation with links in HTML

I have some buttons that have been created in Flash. I'd like
to be able to place the swf into HTML, then link each one as needed
in HTML, rather than exporting multiple swfs. What code do I need
to include in Flash, and what in HTML? Seems like it should be
simple, but nothing I Google is coming up with it.
Thanks!

you can pass the desired URL as "FlashVars" when composing
the <embed Src /> tag.
use that variable to fetch the url location to be navigated.

Similar Messages

  • RoboHelp 8 HTML - Toolbar Button: Email with Link to Topic

    Realized this would be better on this forum than the WebHelp forum:
    Within a skin, I'd like to create a custom email button on my toolbar that would allow a user to email a direct link to a specific file in my RoboHelp project (a Share this Topic feature).
    I thought it might be something like this:
    window.location=('mailto:[email protected]?Subject=Useful Step-by-Step&body=This Step-by-Step may be helpful for you: ' + window.location)
    but that just calls the toolbar, not the topic; the focus isn't on the correct window.
    I have the following code that I could imbed on each topic page, but for consistency, I'd like to have this functionality on the toolbar instead. Has anyone done this or come across this before?
    <p><script type="text/javascript">
    var mailSubject = 'Useful Information';
    var mailBody = 'This page might help: ' + location.href;
    var mailDisplay = 'Click here for a demo.';
    document.write(
    '<a href="mailto:[email protected]'
    + '?subject=' + escape(mailSubject)
    + '&body=' + escape(mailBody)
    + '">' + mailDisplay + '</a>'
    );</script></p>

    For a number of reasons we have decided to take a different approach.
    I was trying to include a button in the toolbar for launching the email program to send feedback and comments home in a prepopulated mail subject and body.
    I think instead, we can add this as a link in the master page using a modification of Peter's snippet 38 "Email this topic". This rsolves all the problems i was having (i am a novice tweaker not a scripter or coder) and we are able to get our first skin ready in the new Help in time for the forthcoming release candidate.
    However, my colleague also wants to add another link using this snippet as origianlly intended, but the body includes a link to the topic file, which in our case is stored locally. We are using webhelp in local product installations rather than via a file server. Obviously the link doesn't help anyone operaitng on another machine.
    How can the Javascript be modified to actually send the topic file itself?
    TIA
    Rob

  • How do I convert a PDF with links to html?

    I created a JPEG in Photoshop elements 9 and then used acrobat to overlay some links on the Jpeg.  I then saved the jpeg as a PDF.   How to convert this file to HTML so I may upload it to the web with all links active and original jpeg intact? 
    Having a really hard time with this! 
    Do I need to purchase a separate program?

    In my experience, there's not much you can do outside of copying and pasting page by page.

  • IDCS6 Mac Interactive Button creation with URL

    I have been requested to write a series of scripts that will automate the building of interactive objects such as buttons that will then activate a web page or an email address.  I looked at the object model and the Button object has a property called gotoURLBehaviors which, if one looks at it on a button that is already created, contains the web address of whatever web page the button is pointed to.  The button works.
    However, if I attempt to write to this list using the add method ESTK tells me that this property is readonly.
    Using Javascript, how can I get my URL associated with the button I am creating?

    Well, now, that's just the thing, Hans.  In the scripting guide, using "bounds" as an example, I may instantiate an object like this:
    var MyObject = new somethingOrTheOther(10,10,20,20);
    or I may do it like this:
    var MyObject = new somethingOrTheOther([10,10,20,20]);
    or I may do it like this:
    var MyObject = new somethingOrTheOther({bounds = (10,10,20,20)});
    Though your help was immensely appreciated, I searched for two hours on my own looking for a syntax that would work.  Did you discover it by trial and error, or is it stated someplace else where I can look and find other important, if hidden bits of information?
    I am also curious to know why the documentation calls that property "readonly" when in reality it is quite manipulable if you use the right syntax?
    TIA!
    R,
    John

  • How to use Spry validation with link styled submit buttons..??

    I'm working with a theme package that comes with a bunch of button styles that work with basic links.  For example:
    <a href='page.html' class='small-button smallblue'><span>Button Label</span></a>
    I've got a basic form setup with Spry validation, but the submit button needs some styling to make it look nice with the site.  Since there are already styles ready for me to turn links into buttons I figured I'd use the same thing for my submit buttons.
    To accomplish that, I'm using the following javascript...
    <script type="text/javascript">
    function submitForm() {
        document.getElementById("form_name").submit();   
    </script>
    And then I'm updating my submit button to something like this...
    <a href='javascript: submitForm()' class='small-button smallblue'><span>Button Label</span></a>
    When I do this, the form submits as expected, but the Spry validation doesn't work.  Is there a way I can make the Spry stuff work with these types of buttons?  I know I could create separate styles for the submit buttons themselves, or I could use an image type button, but I'd really like to figure out how to get these existing styles to work for me since the theme already has so many of them done for me.
    Any information on this would be greatly appreciated.  Thanks!

    Save yourself a lot of trouble and style the normal submit button as per
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css">
    <style>
    .Standout {
        font-family: Geneva, Arial, Helvetica, sans-serif;
        text-transform: uppercase;
        color: #FFFFFF;
        font-size: 16px;
        background-color: #CC0000;
        font-weight: bold;
        border-style: none;
        padding-top: 6px;
        padding-bottom: 5px;
        padding-right: 64px;
        padding-left: 64px;
        letter-spacing: 1px;
    .Standout:hover {
        background-color: #000000;
    </style>
    </head>
    <body>
    <form action="" method="get" name="myform">
      <span id="sprytextfield1">
      <label for="text1"></label>
      <input type="text" name="text1" id="text1">
      <span class="textfieldRequiredMsg">A value is required.</span></span>
      <input name="input" type="submit" class="Standout">
    </form>
    <script>
    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "none", {validateOn:["blur"]});
    </script>
    </body>
    </html>
    Gramps

  • Use a html:button as a Link ???

    Hi,
    i work on a little projekt with JSP(structs) and my JSP knowledge is not good :/
    My Problem is that i have a page with Links <html:link> but i want to use buttons as Link.
    <html:button property="test" ....> Testbutton </html:button>
    i create an action (Test.do) that open a new site but where do i write this action in die Tag ???
    onclick will not work :(
    bye Taki

    hi
    u want to provide a link by using button, then use like this
    location.href ="..path.."
    -Hari.

  • Flash button - linking to HTML page - weird problem

    There could be a really easy solution for this, but I can't
    figure it out. I have a simple button that links to an anchor
    within an HTML page. Here the actionscript for the button:
    on (release) {
    getURL ("test.html#two");
    when the button is pressed, the HTML page comes up but only
    to the top of test.html. The '#two' is not passed to the URL .
    Seems like everything after '#' is ignored. How can I get around
    this?

    hi
    on(press)
    getURL("path of html page");
    }

  • I just uploaded the latest IPad software to my IPad and am now having loads of trouble with the device recognizing "online buttons", that is, links, etc.

    I just uploaded the latest IPad software to my IPad and am now having loads of trouble with the device recognizing "online buttons", that is, links, etc.  what can I do?

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    -  Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar

  • How to use user defined object with linked button

    Hi experts
    Can I use user defined table data with linked button. If yes then how. plz give me sample examples.
    Regards
    Gorge

    If you have an UDO in your form, or any other, the FormDataLoad eventhandler should be used.
    Take care, it is not inside the eventhandler.
    for VB:
    Select SBO_APPLICATION in the classes, and select FormDataLoad event
    Private Sub SBO_Application_FormDataEvent(ByRef BusinessObjectInfo As SAPbouiCOM.BusinessObjectInfo, ByRef BubbleEvent As Boolean) Handles SBO_Application.FormDataEvent
    in C#
    Add a new eventhandler as
    // declaration
    SBO_Application.FormDataEvent += new SAPbouiCOM._IApplicationEvents_FormDataEventEventHandler(ref SBO_Application_FormDataEvent);
    // eventhandler:
    public void SBO_Application_FormDataEvent(ref SAPbouiCOM.BusinessObjectInfo BusinessObjectInfo, out bool BubbleEvent)

  • Link button in applet to open html file in same window

    Hello I am an student in holland.
    I am working on a project but can't find a code to make a button what links to an html file practicly just a link
    I got a html where i need to implent the applet to the applet only needs 10 buttons who can link to another html file or site.
    its not realy difficult i geus but i just cant find the right codes and because i only got 1 day left im asking for help on this forum.
    I realy hope you guys can help me.
    greets,
    Rob

    It's hard to tell what you're asking, but you should probably take a look at java.applet.AppletContext.showDocument.

  • We have been having a problem with newsletters for a client. The newsletter works fine except if we add a button and/or link to the top zone on that newsletter it blows up ONLY ON iPhones!

    We have been having a problem with newsletters for a client.
    The newsletter works fine except if we add a button and/or link to the top zone on that newsletter it blows up ONLY ON iPhones!
    This happened last month too. It seems to be related to length of the newsletter too. It works on every device except iPhones - so weird.

    Hi, is anyone else experiencing i-phone only problems on email campaigns? not bashing Apple, just having issues where our newsletter are only having issues on iPhones

  • Problem with link in SWF file

    good day to you all in this great forum
    my name is james and i want to see if i can find help here in the forum for my problem.
    I'm building a site for my friend. (the site is in hebrew so sorry....)
    for the site building I'm using the software iweb - on mac.
    the site is almost complete but i have 1 big problem.
    this is the link to the site - [URL="http://www.skip-up.com"]skip-up[/URL]
    I'm using a head menu in flash
    i have this flash from some template i downloaded from the internet and all i had to do is change the buttons names and to change the links of the buttons to point to my html pages.
    and now to the problem :
    to get to the problem in general - the flash head links don't work
    if i press it in the site on godaddy nothing happens i just don't see the flash head and instead i dee a page that says something like "the page can not be found"
    if i go to my desktop to my site directory and press the links the only thing that happened is that the button is changing the color like I'm in the right page but I'm still in the original page.
    and the strange thing is that by if i only open up the SWF file and press the links are working
    and it's open up my browser and to the right page
    1. you can see the structure of the site here in this page :
    [IMG]http://farm4.static.flickr.com/3442/3962332346_432d004df2.jpg[/IMG]
    what i have is the master index.html and 2 directories : - the first one
    called flash and have 1 flash file (this file is o.k with no problem)
    and the other directory had all my site files
    2. like i said i got the original FLA file and all i did is changing the buttons
    names and changing the links of the buttons
    the links i changed in the actions menu - i just searched for the original
    url and change the names to much my website html pages names
    3. here is the original FLA actions menu - you can see that I'm standing on
    one of the links :
    [IMG]http://farm4.static.flickr.com/3483/3961893129_2b8fc4ecd9.jpg[/IMG]
    and here is my fla after the changes - as you can see i just changed the
    name:
    [IMG]http://farm3.static.flickr.com/2544/3962668872_8693f399ba.jpg[/IMG]
    4. i uploaded all my site (it's small zip file) if someone wants to see more
    i tried to describe everything in details because it's very important for
    me to find a solution [URL="http://rapidshare.com/files/286059228/skipupsite.zip.html"]skip-up site download[/URL]
    I'm really hopping there's somebody that will be kind to help me out
    thank you very much

    Hi. It looks like your code is not finding the mp3. At least,
    I can reproduce your error code by removing the mp3 from the
    directory, or renaming it.
    Btw, if you test with FF instead of IE, you'd see the error:
    Error #2044: Unhandled IOErrorEvent:. text=Error #2032:
    Stream Error.
    at KZFlash_fla::Sound_2/KZFlash_fla::frame1()
    Hope that helps.

  • 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

  • Missing images in RH8 with linked Word files

    RH8 HTML and MS Word 2007
    The images from linked Word documents are not showing up in my RH8 project.
    Here's how the project is set up:
    The RH project is in its standard location: C drive, in a subfolder underneath My RoboHelp Projects.
    All content is included through the Link > Word Document option in RH.
    MS Word source files are in a network location (because several other writers are maintaining the source content). There are about 20 MS Word source files.
    I have an "Images" folder set up on the network at the same level as the source files, and we link the graphics into the MS Word files from there.
    Through my forum research, I have found several suggestions that have have made RH recognize the images in my linked files (previously, we were simply inserting the images into the Word source files, so in RH, the image was ignored and there was simply a blank line with no graphic indicator at all). So I am now selecting Insert > Picture > Link to File as the method for building images into the MS Word source file. I have also found the suggestion to ensure that the images are retained in the document, by selecting Office Button > Prepare > Edit Links to Files, and then checking the option for "Save picture in document" for each of the linked pictures.
    When I follow those methods, I now see a red-bordered box where the images should be, and the image file name is displayed in the box. However, I get an error message that says the image files used in each of the project htm files are "outside of the current project and will not be shown in Project Manager."
    I cannot figure out where to place the images so that RH's Project Manager recognizes them as part of the project. RH does not automatically create an Images folder within Project Manager. I've tried creating one myself and placing images there (and then even linking my source files to the images within the project folder). But still no dice.
    I have tried a volume of troubleshooting options--placing the linked source files and graphics within the project folder, leaving the source files on the network and placing copies in the project subfolders that RH creates after I link the source files into the project, etc etc etc. I've looked for a setting in RH that allows me to set a default location for images (never found one).
    Ergo, lots of troubleshooting, and still only half a solution here.
    I'd greatly appreciate it if anyone can shed some light. I am doing my best to avoid importing the graphics directly through RH because I want the online help to pick up the exact structure & content of the source files. This obviously negates the option for importing the Word content vs linking it in. In older versions of RH, I was at least accustomed to RH importing generically named images into the project regardless of whether they were copied directly into the Word file, but I see that this is not even an option when linking the source files into the project.
    Thanks in advance for any help you can provide.
    Best regards,
    Athena

    Hi Peter,
    Thank you for the recommendations. I want to be sure I’m understanding “embedded” the correct way. Do you mean to insert the images directly into the file—i.e., selecting the MS Word option Insert Picture > Insert? Or do you mean to insert them by selecting Insert Picture > Link to File?
    Also, could you let me know where in Windows Explorer I should attempt to trace the images? The image source files are stored with the content source files on my company network, in a separate sub-directory for Images (I have tested the build with all the files on my local drive as well). When I link the Word source files into RH and generate the topics, RH does not bring any images into the project folder within the My RoboHelp Projects directory on my local drive.
    I have searched through all the project files/directories that RH creates (top-level project folder, as well as subfolders it creates for each Word linked file), and there are no image files (except for one that I placed in my RH master page). I have attached a screenshot of the project folder (MainProjectFolder.png) and one of the linked file sub-folders (LogBookProjectFolder.png).
    The problem seems to be that RH is not recognizing an image as an image. RH knows there are supposed to be images in the htm topics because it does have the red box “placeholder” where the images should be, and the image names are displayed in the red boxes (see attached RH_Project.png screenshot). I have gone into the properties for an image and used the Image Name field to manually map to the directory that contains the source image. When I do that, the image then appears in the top-level project folder with the gold & green RH image icon, and it does then appear in the topic. But at that point, if I update the linked Word file, I lose the image again. I have set the topics with images to where they retain the RH image modifications I’ve done, but then the topic shows as broken in my TOC when I update the linked Word file, and those topics do not appear in the build at all when I generate the WebHelp.
    Since RH also does not automatically create any kind of Images folder in the project during the process of linking and generating the source files, I have tried copy/pasting the source images into the top-level RH project folder prior to even linking/generating htm topics from the Word source files. But when I go to a topic and view the properties associated with the image placeholder, RH still does not display any of the image files I pasted into the project folder.
    I am happy to provide my source file so that you can investigate this further. Please let me know if you need the file with the images inserted directly or if you need it with them linked in (in which case, I’ll send the image files too).
    Thanks,
    Athena

  • Can a menu link to .html pages?

    I want to make a DVD that will start with a video introduction, and upon finishing the brief minute or so intro, it will display a menu screen.
    1.) I would like the menu buttons to link to .html pages saved on the DVD. So after clicking on a link from the menu, it will open up a full-screen .html page.
    2.) Each .html page will link to other .html pages and have embedded images, and short quitcktime video clip links that will open up in small windows when links are clicked.
    3.) I need to have a link on each .html page that links back to the main dvd menu.
    Can this be done? Any issues with doing something like this?
    Thanks in advance for any advice!!!!

    Mark - you need to read up on DVD@ccess if you intend doing this through DVDSP. Yes, it is all possible, but you haven't quite got the way it works correct.
    What happens is you embed a URL into a menu. When the menu is accessed (typically by a button from a previous menu) the link is activated and the resource is launched. This opens in a window in front of the DVD playback window. The DVD player continues to run in the background - so you need to allow for that when returning. The viewer will simply close the web browser window and be back at the DVD window - by then you should have made the @ccess menu 'time-out' and return to the previous menu.
    You set up the HTML file (or whatever file you are using) in a folder on your Mac, and place it all within a parent folder. From within DVDSP you then use the property Inspector for the disc itself (click not he disc icon in the outline view) to specify a ROM folder. You browse for the parent folder you just created. Everything inside that will get added to the root level of the DVD, which is why you place your HTML inside a folder within that parent folder (unless of course, you don't mind your HTML file/s being scattered all over the root of the DVD).
    You set the URL for the @ccess link by using the following path format:
    file:///DVDname/ParentFolderName/filename.extension
    So if your html file is called 'index' and it is in a folder called 'ROM' on your DVD called 'Project' then the URL you set in the menu would be:
    file:///Project/ROM/index.html
    This should then get activated (as long as you have enabled DVD@ccess links in your DVD Player software).
    However, there are some caveats.
    Whilst this will work quite well on a Mac, a PC user will have a wildly varied experience - for some the links will work. For some the links won't work, and for some, all links will launch the moment the first link is encountered... ALL PC users will need to install the DVD@ccess software (which will be on the built DVD by default (DVDSP includes it there for you), unless they have already done so previously (unlikely).
    In order to maximise the experience for PC users and Mac users you should consider using Sonic's 'eDVD' to add the hyperlinks. This makes use of the Interactual player which has a far higher installed base in PCs, but will need installing in Macs. Again, this gets included on the disc when you use eDVD.
    eDVD is a PC only app - you'll need to build your project and transfer the VIDEO_TS folder to a PC, add the links and then burn it to disc or use software such as Gear Pro to create a DLT. Hopefully Jim (WTS) will see this and give more advice on how to use eDVD.
    Getting DVD@ccess working on a PC is a tricky thing to do - a lot depends on the PC software spec, and since you can't govern the user's choice in this, you are walking a tightrope of compatibility.
    Of course, you could simply set some text into your menu to say that there is additional content on the disc, and let the user browse to it at their leisure instead of relying on embedded links...

Maybe you are looking for