I need to create a button that links to another swf file...

i'm creating my first website, and, for each menu item, i am
creating a new flash document... is this the correct way to create
a multi-page website?
plus: how to create a button that links to a jpg, thanks!
jane

Creating separate swf's these days as far as I know is
considered to be a better practice than using the "scenes" that are
in Flash. The reason is you can load various sections of your
entire Flash entity rather than the user downloading everything at
once.
But, it also depends on the complexity of where your menu
items are leading. If they are simple enough, then there may be no
need to create new documents.
To create a button that links to a jpeg, try this.
Whatever graphic you're using for the button, select it and
hit F8 to convert it to a movie clip. Once it's in your library,
click on your new movie clip on the stage and give it an instance
name in the properties window.
Click the first frame in your timeline (preferably on a layer
named "actions") and put this example in for the actionscript:
//buttonName is the instance name you gave it
//.onPress tells Flash when buttonName is pressed then do
what's
//inside the brackets of the function
buttonName.onPress = function (){
//getURL is the Flash function that will load your
picture.jpg
//_blank is the target. e.g. _blank, _self etc.
getURL("picture.jpg", "_blank");
}

Similar Messages

  • Is there a way to create a button that links to a website?

    Is there a way to create a button that links to a website?
    I was reading up that it's possible to this with menus, and tracks but can you do it with a button and how?
    I am hoping to create a button that people viewing my discs on a computer can click on the link and their web browser will pop up and take them to a website.
    Any help is appreciated.
    Thanks.
    -Fraky

    dvd@ccess questions are being asked once a week on this forum, so I'll repeat why it's useless:
    - Mac users have to enable the feature in the preferences of DVD Player in order to for the links to work.
    - PC users have to install a small application on their PC, and they have to reboot the PC in order for the links to work.
    - On top of this, it's still unreliable, and may not work on some computers.
    It's a dog: Don't use it.

  • How to create text buttons that link to video?

    I've finally gotten around to trying DVD SP, and even though I read the whole manual, it's not at all clear if, or how, you can create text buttons that link to the video you want to play, without displaying a clip of that video in the button itself.
    I have no problem creating a text button, but I can't change the font, and editing is counter-intuitive, unlike iDVD. I'd use iDVD, but it doesn't accept .m2v files, and it seems to think that my 6 videos of about 43 minutes each are too large for a DVD+DL disc, so it won't let me burn it or save it as a disc image.
    Does anyone have a way out of this conundrum, or am I SOL?
    Mulder

    It really isn't that hard!
    As Drew said, go into your menu and click and drag to create a button rectangle. With the button highlighted, look in the property inspector at the bottom and type in the text that you want to use. Ensure that you 'include in button highlight' and then set the colour choice for selected and activated.
    What you get is a simple line of text which illuminates when you roll over it, and changes colour when you click on it.
    Once that is done, click on the button area again and set the target to go to the piece of video that you want to have play back.
    You should also set the menu call and end jump on that track to make sure your viewer can get back to the menu.
    Once that is done the menu will show as a simple piece of text (more buttons means more bits of text, and the first button will be highlighted by default) and no video will play until the button is activated.
    DVDSP is definitely a steeper learning curve than iDVD but for very good reasons. You get far greater control and access to far more advanced features in DVDSP. This means that some things will seem harder, whereas in fact they are just different and the process for achieving the result you want is different. Much of what you want to know is in the manual and also in the tutorials which came with the app. Failing that there are several good online spaces where you can find a lot more information... not least of which is right here, of course!

  • I need to create a button that add "1" to a number box in "numbers" program

    hi
    I making an inventory list that often being change.
    I want to create a button that "add 1" and a button that "reduce 1" so i can adjust it faster
    how can i do it ?
    thanks

    Hi Yaniv,
    With a single Stepper, I can't see how you can make it refer to different cells in your *locked* inventory.
    Maybe this will work. Old Inventory (2012), then a mirror table with Steppers for every cell, then New Inventory (2013) with formulas to add or subtract Stepper values. Old and New inventories are locked. Stepper Table is not locked. That is where you enter the changes.
    Formula in B2 of the 2013 Inventory is
    =Inventory 30 June 2012 :: B2+Add or subtract :: B2
    Where the Stepper Table is called "Add or Subtract".
    Fill Down and Right.
    Regards,
    Ian
    Message was edited by: Yellowbox. Oops, had to revise Table names.

  • Can i create a button that links to the slideshow widget

    I am creating a portfolio site for a class. It is a one page site, One of my sections is going to be my "work" section. I want to categorize my work, So I have made buttons that pertain to each category of work. Is there anyway that I can link this to the slideshow widget. When one of the category buttons is clicked I want the slideshow widget to pop up. Is this possible? I can not find a tutorial and I am very new to Muse. Thank you!

    Hi,
    You can't directly associate a button with a slideshow. However, you can embed slideshow in a tooptip target and add the button to the tooltip trigger as mentioned in this post : Re: How do i create a button which will show new content on same page?
    Regards,
    Aish

  • Can ObjectStates become buttons that link to another object state?

    Hi. I am working on Adobe CS5 and I am trying to create an Image gallery.  I know how to create the basic type which is stacking the images, making them as object states, and then linking the navigation buttons to "Next State".
    The type of image gallery i'm trying to make involves thumbnails. In the thumbnails menu, there are back and forward arrows that will move the thumbnails from left to right. The way i did it was grouping the thumbnail images, convert them as object states, and just do the Left/Right animation through the Object State menu. The problem is, I can't make those thumbnails link to the picture it is assigned to. The Object states that appear in the button menu is just the object state of the thumbnails and not the Image viewer it self.
    If it is needed that i post a SWF demonstration of this, can someone show me how to?

    Here is a sample image
    What I'm trying to do is have a scroll like action with the thumbnails and when the user clicks the specific picture/thumbnail, the enlarged image will appear on the top.
    the only way i can create the scrolling action is by making the thumbnails into MOS and just change their position in each state. the problem is I can't link the thumbnails specifically to the image it is supposed to display. I hope this explanation helps.

  • Create a button that opens a XML data file

    I have a PDF form that was created in LifeCycle Designer. I want to have a button that when you click on it, it will open the "select File window" so that you can then import an XML data file to the PDF form.
    You can do this option manually when you are Adobe Reader in the Form by clicking Advanced, Data, Import Data to Form.
    I want to automate that by just clicking a button. Does anyone know the script to use behind the button to make this work. It's gotta be easy but I can't figure out how to bring up the "Select File Window"
    Can anyone help.
    Thanks
    Sean

    Hi Sean,
    You can import an XML data file by clicking a button, with following code:
    xfa.host.importData();

  • Error on creating Incoming Payment that links to another Incoming Payment

    Hi Experts,
    I am trying to create an Incoming Payment to pay an Invoice, as well as to use another Incoming Payment with an open balance (with Payment On Account box checked) to offset part of this payment.
    Conceptually...
    Incoming Payment A (-$75)
       --- link to Invoice B   ($85)
       --- link to Incoming Payment C  (-$10)
    This can be done manually, but by using DI API, I am facing this error:
    "-10: Base document card and target document card do not match.  (RCT2.DocLine)(line: 2)"
    Here is the source code:
    Dim oPayments As Payments = DirectCast(oCompany.GetBusinessObject(BoObjectTypes.oIncomingPayments), Payments)
    ' [HEADER]
    oPayments.CardCode = "C0001"
    oPayments.DocDate = Today
    oPayments.DocType = BoRcptTypes.rCustomer
    oPayments.CashSum = 0
    oPayments.BankChargeAmount = 0
    oPayments.TransferAccount = "12180208"
    oPayments.TransferDate = Today
    oPayments.TransferSum = 75
    oPayments.LocalCurrency = BoYesNoEnum.tYES
    ' [LINE 1 - AR Invoice B.]
    oPayments.Invoices.InvoiceType = BoRcptInvTypes.it_Invoice
    oPayments.Invoices.DocEntry = 16949
    oPayments.Invoices.SumApplied = 85
    ' [LINE 2 - Incoming Payment C with Open Balance.]
    oPayments.Invoices.Add()
    oPayments.Invoices.InvoiceType = BoRcptInvTypes.it_Receipt
    oPayments.Invoices.DocEntry = 20338           ' Journal Entry Number of the Incoming Payment
    oPayments.Invoices.SumApplied = -10
    If oPayments.Add() <> 0 Then
        oCompany.GetLastError(errCode, errMessage)
        BarError(String.Format("{0}: {1}", errCode, errMessage))
    Else
        BarSuccess("Success.")
    End If
    Initially I tried to set
    oPayments.Invoices.DocEntry
    with the Incoming Payment's DocEntry, but after trial and error, I realized I should be using the Incoming Payment's Journal Entry's Number instead. So this field should be correct. (If I were to use the Incoming Payment's DocEntry for this field, I get the "-2028: No matching records found (ODBC -2028)" error.)
    I have ensured that the Incoming Payment C's CardCode is the same as the one I set in
    oPayments.CardCode
    , so I'm not sure why it gives an error saying the document cards do not match. I would appreciate any form of help on this! Thanks!

    Hi,
    I am not trying to Pay to Account (you are referring to the top left radio button of the Incoming Payment right?). I am trying to create an Incoming Payment that uses another over-paid Incoming Payment (i.e. Open Balance > 0) to offset its Amount Due.
    Anyway I have found the solution to my problem. It seems that I need to also set the
    oPayments.Invoices.DocLine
    value to the over-paid Incoming Payment's Journal Entry's document line which contains the same business partner as my Incoming Payments. This DocLine value is usually 1 (0-based), as SAP usually creates the Journal Entry with the BP row in the second row.

  • I need instructions on how to create a button that will email a pdf form to someone else on a websit

    I NEED ASSISTANCE CREATING A BUTTON THAT WILL EMAIL A PDF FORM FROM A WEBSITE TO WHOEVER THE VIEWER WANTS TO

    Just a bit more info. E-mail can be used, but has potential problems -- often related to the client machine that you have no control over. Use the data submissions (either FDF or XML) rather than the full PDF so you do not have to deal with Reader Rights and the related license issues. The FDF and XML data files are easily imported into the original form so that you see what the client sees. With those aspects in mind, just go ahead and try one. Be aware that you can add form fields using the form tools in the Advanced Editing tools, OR use the forms menu that will take you to Designer. You might want to try both to see the pros and cons. Be sure to keep such a test simple so you are not wasting time on your final form just for testing. I typically create a 1 page form that has all of the possible fields for such a test.

  • Create a button to link to a pdf

    I created a button to link to a pdf but i cant get it to pull up when i click the button. Ive tried editing the index.asp file where the button resides but im having no luck. Can anyone help me?

    I infer that you are speaking of a form element button. You need not use a form to do this, just a hyperlink applied to the image of a button.
    I am unfamiliar with asp, but in straight html, all you need is an a tag wrapped around the 'button':
    <a href="[path to pdf]">button image</a>
    Beth

  • Is there a way to link or create a widget that links back to the iTunes U app on your iPad from your iBook?

    Is there a way to link or create a widget that links back to the iTunes U app on your iPad from your iBook?
    I have already found the Apple Widget Builder (http://widgets.itunes.apple.com/builder/) and that works fine if you want to link to the "App Store", but I want to know if there is a way to "open an app" that is already installed on the iPad instead of double tapping the home button to switch between apps. (I know using the home button is very simple, but I am trying to find an even easier way to just "tap a widget" or "link" that will open iTunes U right up) I am only asking if this is possible for people who may have a hard time running an iPad at the beginning.
    I appreciate any help, thanks!

    I appreciate your help, but I had already looked at LinkMaker and I thought that was my answer, but as far as I could tell that still only links to an app in the app store. Yes it will link to iTunes U in the app store and you can then hit Open, but that is too drawn out of a process. We would like to know a way to just open the app directly.
    Thank you!

  • Need to create a function that will act like the save as browser function

    I need to create a button on a web page that will open up a save dialog box and then save the current web page as an .html file on the persons hard drive. The reason for this is because the window is a pop up that does not have the browser menu or any toolbars showing just the what we call print view. This window was used only as a print view so people can print the form out but now the powers that be want a save button as well so the people can save it to there HD. I can do this in IE using javascript but no other browser allows that so I need to create something in java. I have read about the setHeader() to download the file but I am sort of new and from what I've read it all sounds like you will be downloading a specific file and not the web page as a file. Anyone have any ideas as to how I can accomplish this? It doesn't have to be the save as dialog box just a way the person can get the current web page on their HD for viewing offline and done at the press of a button. Thanks.

    You'll be wanting to output a PDF or the like instead of a web page. That's the solution to your problem.
    Please next time consider using a line break or two when you post. Thank you for your consideration.

  • Acrobat 9.0 Std - How do I create a button that will show / hide the menu bar?

    In Adobe Acrobat 8, I was able to create a button that would show the menu bar using Link Properties. In version 9.0, the option I used is missing.
    The other view options are there under "Execute a menu item": View > Toolbars > File, Edit, etc.
    Any help would be greatly appreciated - thanks!

    In Adobe Acrobat 8, I was able to create a button that would show the menu bar using Link Properties. In version 9.0, the option I used is missing.
    The other view options are there under "Execute a menu item": View > Toolbars > File, Edit, etc.
    Any help would be greatly appreciated - thanks!

  • Can I create a button that copy's a certain test to my clipboard?

    Can I create a button that copy's a certain test to my clipboard?
    For example, when I click the button on the website, then the next time to paste somewhere, a specific text appears?
    If this is possible, could someone please explain how? =(

    Hi Travis,
    There is no native feature in Muse to achieve this. However, you can use custom code to achieve this. Please refer to the following link for the sample code : How to copy to the clipboard in JavaScript? - Stack Overflow
    Regards,
    Aish

  • Creating a button that highlights itself and another object

    Hello all,
    I have a specific function I am trying to apply to my InDesign document intended for exporting to an interactive PDF and SWF/html format.
    The function I am trying to create is:
    I have a picture of a typical WYSIWYG tool bar. I have created highlight buttons that sit on top of each icon in the picture. When the reader rolls over (with cursor) this picture of an icon I want it to highlight, and also a piece of text further down the page to highlight as well (which is a definition and explanation of the icon). So I want the rollover action of my first button to also trigger another action, which is to highlight a piece of text elsewhere on the page. I have managed to get it so that I hover over the first button (picture of icon), it highlights, and the text further down the page appears. But this isn’t quite what i want. I want the text to exist already, then highlight. Basically, I want to the two buttons to be linked. So that every time I hover over a portion of the picture with a created button, it will highlight, and a piece of exploratory text will also highlight simultaneously elsewhere on the page. A bit like an infograph. Surely this is possible?
    Thanks in advance for your help.

    Generally, animations like this with the goal of exporting a SWF are better be done in Adobe Flash.
    In Indesign it sort of works, too. Only for export to SWF, you can assign the action "Go to status". For a text frame, you can assign different status, where the 1st status would be "normal" and the 2nd status would be "highlighted". Highlighted applies to the object "text frame", so you can assign a stroke or fill. Better than nothing.
    Example: Dropbox - test_highlight.indd

Maybe you are looking for

  • Adobe 9 issues with forms in Acrobat Reader 7

    I've been reading up on this forum as to why the adobe rights are disabled after a user saves their data in Reader.  I have been adding form fields in Adobe Standard 9 then save the file,  test it in Reader, then Extend the Forms Fill-In for Adobe Re

  • Viewing backed up files

    I just backed up my email and SMS messages to desktop software and am trying to figure out how to view these files before I delete them from my blackberry. Thanks

  • My suggestions:: 001 - Password Protected Pictures Folder

    since the iPhone is a device that everybody seems to want to touch... it follows that it would be nice to be able to have a secured folder within the Pictures folder that is passowrd protected so I can move pictures there that I dont want just anyone

  • My Computer Crashed Last night and now itunes is gone what do i do?

    Hi I have Windows XP on a HP Pavillion. I have itunes well had it until my computer crashed. Then all my music is gone. I had 30GB of music loaded and $5000 of music purchased from itunes. How do I get that back on my PC? Did I just lose $5000. All t

  • My BB curve shows this error every time it reboots. (0*70170be9d2fc292)

    This message keeps on coming up continously, on my BlackBerry Curve.(9380) Uncaught exception: ApplicationRegistry.waitFor (0*70170be9d2fc292) timeout also it freezez for a lot. last night it forze for 10 hours straight befor i decided to pull the b