A link to a file of htm/media on a local computer

Hello, this is probably a simple answer, but I've not used flash since version 3, so I'm a bit of a steep learning curve.

I'm trying to produce an interactive presentation using CC animate with script action 3, which is all presented locally on a laptop.

When I use the code

name1_button.addEventListener (MouseEvent.CLICK, fl_ClickToGoToWebPage_5);

function fl_ClickToGoToWebPage_5(event:MouseEvent):void

{

navigateToURL (new URLRequest ("wibble.htm"), "_blank");

}

to try and open the page Web wibble, htm it can not find the path of the file even if the wibble.htm is in the same directory as my swf file and the html wrapper.

Is it possible to define a directory for the paths of Web pages and other media that I want to link to somewhere in the program, or is there a better way to click on a button to open a Web page locally?

Thank you

James

do not use an absolute path.

Set your security settings to allow the directory you are using to test message 1.

or you can try to change your settings for publication:

Tags: Adobe Animate

Similar Questions

  • You want to edit a large file containing 100 minutes of audio digital into several smaller files in Windows Media Player.

    Original title: make a Simple Audio editing.

    I have a large file containing 100 minutes of audio digital I need to split into several smaller files.  The biggest file is on my desk. How do I do this on Windows Media Player?

    I have and older Version of WMP.   Can I download a more RECENT version of Windows Media Player or keep the one which currently?  Thank you!

    Booboothefool

    Hello

    ·         What type of audio file?

    ·         What version of Windows Media Player you have installed?

    You can use your favorite search engine to find a program that can modify the file.

    Note: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    In addition, follow this link to add files in Windows Media Player.

    http://Windows.Microsoft.com/en-us/Windows-XP/help/Windows-Media-Player/11/library#section_1

    Hope the helps of information.

    Please post back and we do know.

  • Links work only on the local computer

    I created a flash animation and to get the html file and the published swf file.  The html file is working fine on my local computer that I created it on but I went to send the html with the SWF file, the links in the film do not work?  Any ideas why or what I can do?  Help, please!

    Thank you

    KC

    fix.  for example, cs5 does not publish a js file

  • I have problems with anchors named in my htm file. I clearly identify them as being in the document (ie., internal links within the file).  When I preview the file in a browser, the links point to my hard drive, which is totally false. What do I need

    I have problems with anchors named in my htm file. I clearly identify them as being in the document (ie., internal links within the file).  When I preview the file in a browser, the links point to my hard drive, which is totally false. What should I do to change it?  I use DreamWeaver 2004 on a PC.

    You will need to correct the links that begin with "file".

    Now that your site has been defined, you just delete the bad links and DW left write the good ones for you.

    Click on the yellow folder on the property inspector, and then select the target page.

    If your site is small, you can edit the links manually (remove the part in red)

    content.htm file:///C:/desktop/localRootFolder/subfolder/subfolder/images/

    It would be useful that post you your code on the page so that we can see if you use the old technique or new for these links.

  • Put links to video files in web pages - want option 'Open with' when the viewer clicks on the links.

    If I go to a video file that is stored in my computer, for example xyz.mp4 and right click on it, one of the options is 'Open with' and several options for example QuickTime player, RealPlayer are presented for me to choose. But when I add the file to a web page and create a link to it for example http://sillyvideos.com/xyz.mp4 and then I right click on this link (on the web page) in my Firefox browser, I don't get the option 'open with '. My question is: is it possible to put a link to a video in a web page, so I or other viewers can click right on it and benefit from the option 'open with' (so we can choose the drive to open it, without having to download first in our computers)?

    Normally what happens, is that the server sends the content with one or more headers that dictate what Firefox did with the video.

    For example, if the content is sent with a header that Firefox can play internally, then Firefox can open the video in a tab and use a built-in player. You can see with MP3s when the server says that it is "audio/mpeg" content. However, if the server sends a content type that a capable of handling plugin, Firefox can attempt this plugin.

    Normally Firefox will assume that the content is meant to be displayed in the browser, unless it is an unknown type or has a content-disposition header set to "attachment". In these cases, Firefox usually has open/save/Cancel dialog box.

    I don't know what kinds of choices you want to offer visitors to your site, but if you thought giving them a choice of the players external , sending to content-disposition: attachment to make appear the probably the most logical open/save/Cancel dialog box. With smaller files such as JPEG and PDF, I did it with a script on the server side (for example, a PHP script). I don't know if the script would work with multimedia files.

    If you want to provide more choices, you might need the buttons or links in the page.

    This example applies to a PDF file, but the same idea applies to the image files and it can work with files more mainstream media. (In this case, you change the script to specify the correct content type.)

    Implementation of the PHP approach, you follow these steps. This assumes that your server supports PHP (most do so) and that your Web host allows you to download PHP files.

    (1) save the following as getpdf.php file

    http://www.jeffersonscher.com/RES/getpdf.php.txt

    (2) using a FTP software or your server download function, copy getpdf.php into the same folder as your PDF file

    (3) test with your link. In the address bar, or in an e-mail, insert the following text before the name of the PDF file:

    getpdf.php?f=
    

    Thus, for example, this direct link to the PDF:

    http://www.jeffersonscher.com/RES/Mixed_Content_Blocking.PDF

    would become this link to the PHP file:

    http://www.jeffersonscher.com/RES/getpdf.php? f =Mixed_Content_Blocking.pdf

  • I have a problem with adding and deleting files in Windows Media Player.

    Media Player will not play the selected files but then goes on to play other files. When I delete the files from the media player and try re - add I get the message "the media player is installed incorrectly. Have tried to reinstall media player, but it always fails at the implementation stage. It seems that the link between the player and the music files has been corrupted. Further, I have not found another way to read these files! They are referred to as Windows media audio files. Is that mean that only Media Player can read? I have hundreds of music files. Any help please? I can't upgrade XP on this computer so intended to stick with it for another year or so.

    Original title: Media player 11 with XP SP3. Link to player with audio files has been corrupted?

    Hi Martyn,

    Thanks for keeping us posted and share this information with us.

    I would have you look at the article-

    http://www.Microsoft.com/windows/windowsmedia/player/Webhelp/default.aspx?&mpver=11.0.5721.5145&ID=C00D11DF&ContextId=89&OriginalID=C00D11DF

    Back to us for any issues related to Windows in the future. We will be happy to help you.

  • How to play .aac or .m4a files in Windows media player 11

    Hello

    Can someone tell me how to play .aac or .m4a on Windows Media Player 11 files?
    I need an answer desperately please!
    Thank you.

    Hello

    The .m4a and .aac file extension is not a type of supported Windows Media Player file. However, you can user your favorite search engine to search for a solution that can convert the file in a supported file type Windows Media Player.

    Note: The use of third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    For more information on the types of files supported by Windows Media Player, you can also view the following link:

    Information on the types of media files that supports Windows Media Player
    http://support.Microsoft.com/kb/316992

    I hope this helps.

  • Error when you try to play audio files in Windows Media Player C00D11B1

    I can't play 5% of the songs in my Media Player. the other 95%, I get an error C00D11B1.  What is going on?

    Mada

    Hi MadaJohnson,

    1. did you of recent changes on the computer?

    2 when was the last time it was working fine?

    You have a multiple bit rate (MBR) file or a live stream that contains more than 32 media streams. You try to read the MBR file or live stream in Windows Media Player on a computer that is running Windows XP or Windows Vista. However, Windows Media Player cannot read the MBR file or the live stream. Additionally, you receive an error C00D11B1 error code.

    See the link below and try them the steps mentioned, check if it helps.

    http://www.Microsoft.com/windows/windowsmedia/player/Webhelp/default.aspx?&mpver=11.0.5721.5230&ID=C00D11B1&ContextId=68&OriginalID=8007007E

    See also: http://support.microsoft.com/kb/974905

  • Problem with the playback of an audio .asx file in Windows Media Player.

    Hello

    I'm not able to play an audio .asx file in Windows Media Player on the Windows Vista-based computer.

    I get the following in a pop-up error message:

    Windows Media Player cannot play the file because the specified protocol is not supported. If you typed a URL in the open URL dialog box, try using a different transport protocol (for example, "http:" or "rtsp:").

    Help, please.

    My email address is * address email is removed from the privacy *

    Thank you.

    -HimAlandi

    Hello

     
    1. facing this problem with the .asx format?
    2. you remember to make changes to the system?
    3. where is the file?
     
    Error message: "Windows Media Player cannot play the file because the specified protocol is not supported. If you typed a URL in the open URL dialog box, try using a different transport protocol (for example, "http:" or "rtsp:"). »
    Windows Media Player cannot play the file because the specified protocol is not supported by the player or not supported by the server.
    If you encountered this error by clicking a link on a Web page, the link isn't valid.
    If you encountered this error by typing a URL in the open URL dialog, try opening the file using a different transport protocol (for example, "http:" or "rtsp:").
    The following is a list of protocols supported by the player and the correct URL syntax examples:

    (a) MMS://serveur/nom_fichier (for example, a file with a .wma, .wmv, .asf, or .mp3 extension)
    (b) http://server/filename
    (c) rtsp://server/filename
    (d) mms://server/sami.asf? SAMI = http://server/sami/sami_demo.smi (SAMI file)
    If the Player supports the protocol you used in the URL and you can't always read the content, check that the drive is configured to use all of its supported protocols.
     
    To configure the protocol settings
    (a) in the Player Windows Media, on the Tools menu, click Options.
    (b) in the Options dialog box, on the tab of network in the Streaming protocols area, select all the checkboxes (Multicast, UDP, TCP, and HTTP) Protocol, so that a check mark appears in each.
    (c) note that the supported protocols can be used only to distribute digital media files. Windows Media Player cannot be used as a browser.
    If the fixes above don't work, you can rename the folder of information network for the drive so that it can rebuild its information network files after restarting it.
     
    To rename the folder of information networking of player.

    (a) close Windows Media Player. (To do this, on the file menu, click on exit).
    (b) to make the changes that you will be able to see the hidden files and folders
    Show hidden files.
    http://Windows.Microsoft.com/en-us/Windows-Vista/Show-hidden-files
    (c) click Start, and then click computer.
    (d) open the disc drive Local (c :)), open to users.
    (d) open your user account.
    (e) open %APPDATA%\microsoft\windows\sendto and open Local.
    (f) open Microsoft and open Windows Media.
    (g) click on the file and rename it.
    (h) if the file is name12.0, edit as file name as old 12.
    (i) restart the computer and check
  • Is it possible to transfer files to a media instead of just the streaming server it?

    How to transfer files on a DLNA media server. I know that you can create a DLNA Media Server and make it accessible to the view or flow content. For most listening to music videos and pictures: maybe. Either from PC to peripheral said or vice versa but I noticed that my PS3 has the option to copy/download the files selected its consultation on any media server: on its real hard disk. How can I get my PC to copy files on a media server.

    I can get WMP to display a media server and go back to said files for broadcast, mainly the music, photos, videos, but I tried to right click of sorts and no option to copy/download the file as my ps3 is able to
    How can I get my PC pretty much copy/download a file I shared on a media server, as my PS3 stop a media server.
    original title: How do I transfer files on DLNA wireless

    Hi Herbert86,

    I suggest you send the link.

    http://community.us.PlayStation.com/thread/2303478?start=0&TSTART=0

  • Transfer files from Windows Media Player to another account password

    Original title: windows media player

    How can I transfer my files from windows media player to another account password? on my PC. I have the vista operating system

    Ideas:

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    Hi zztopzztop,

    Instead of a new user account, you can move the public folder of music, and from there the two accounts are accessible and played.

    Check out the link:

    http://Windows.Microsoft.com/en-us/Windows-Vista/sharing-files-with-the-public-folder

    If you want to continue copying, then you can copy if the default location for the new user account.

    Sign in with the user account that you may have created. To ensure that this new user account has administrator privileges.

    a. open the Explorer, click on organize, and select folder and Search Options

    b. click the display and check the option Show hidden files and folders box and click OK to save the settings.

    Now navigate to your C:\Users\(Old Username folder) and copy all the files and folders in the folder C:\Users\(Old Username) in the C:\Users\(New Username folder).

    Hope this information is useful.

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • I need to add an hour to a file in my Media Player

    I added a file to my Media Player. It doesn't have the length of the song. How can I add the length so I can burn it?

    Hi Supersonia77,

    1. What is the file format of the file that you added to Windows media player?

    2 are you facing problems while burning the files?

    You can try to add media information automatically or manually only if this file format is supported by Windows media player using the link below.

    Add or edit media information in Windows Media Player

    http://Windows.Microsoft.com/en-us/Windows-Vista/add-or-edit-media-information-in-Windows-Media-Player

    I hope this helps!

    Halima S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to play .asx files in Windows Media Player

    original title; Can I play a video file of .asx with WMP? or if not, how to play with this extension .asx files?

    Can I play a video file of .asx with WMP? or if not, how to play with this extension .asx files?

    When I try to play the file, WMP shows error then update says "video codec".

    How then can I get this update for the video codec?

    Thank you, Michael Phelps 907

    Hi Mike,.

    an .asx file is not a media file. It is a file that contains a pointer to a content online. So if you are unable to read a .asx file and are able to play other files using Windows Media Player so the best thing is to open the .asx, a Notepad file. When you open the .asx using Notepad, you will see a link that starts by http: and so on. Please copy this link and go to Windows Media Player. On the Windows Media Player window, press the Alt key on the keyboard and click file and Open url. Paste the link and check if Windows Media Player is able to open the link. If she opens the link this is a problem with the formatting of the .asx file and if it does not open the link then it is a problem with the server online of the .asx file. It could be that it is deleted from the server.

    Hope this information helps. Keep us informed on the status of the issue.

  • Unable to play FLV files in Windows Media Player

    FLV file using windows media player
    Hello
    I have windows media player 12.7600.16415 version I download and installed ffdshow and I still can not read files with my windows media player.can flv someone please help me with this? I have windows 7 32 bit

    Thank you

    Hello

    Have you installed a third-party codec pack?

    Windows Media Player cannot play the FLV files. You will need a third party FLV player to play these files or you will need to install the latest codecs pack
    on your computer. If installing plugin ffshow did not help, then try searching the Internet for the codec pack.

    Check this link for more information:
    http://Windows.Microsoft.com/en-us/Windows7/codecs-frequently-asked-questions

    Note: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly.
    Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Kind regards
    Amal-Microsoft Support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • The problem "your current security settings do not allow this action" when I want to open the swf file in Windows Media Player.

    How to solve the problem when I want to open the swf file in windows media player? There, half year, when I click on a swf file, it could automatically play in Windows Media Player.

    Now when I want to open a SWF with Windows Media Player, it pops up a window "your current security settings do not allow this action".

    How to use watch the video in Windows Media Player swf?

    Hello

    SWF is a file format for multimedia, vector graphics and Action Script in the Adobe Flash environment. Origin with future Wave Software, then transferred to Macromedia and then coming under the control of Adobe, SWF files can contain animations or applets of varying degrees of interactivity and function.

    SWF functions as the dominant vector "animation" on the Web for graphics display format. It can also be used for programs, games by browser commonly, using ActionScript.

    Method 1:

    I suggest open he file in Internet Explorer and check to see if you encounter the same problem.

    Method 2:

    Step 1:

    You can also try reinstalling Flash Player on the system to fix the problem.

    To uninstall a program in Windows 7 refer to the link below

    http://Windows.Microsoft.com/en-in/Windows7/uninstall-or-change-a-program

    Step 2:

    Once you uninstall Flash Player reinstall rear and check to see if you encounter the same issue.
    To download the latest version of Flash player refer to the link below

    http://get.Adobe.com/flashplayer/

    Once you download Flash Player see the link below to install a program downloaded in Windows 7.

    http://Windows.Microsoft.com/en-us/Windows7/install-a-program

Maybe you are looking for

  • How do shorter bookmarks, IE, no text

    Hi, new to Firefox. Just rid IE11 for the FF.I would like to reduce the size of the bookmark tabs, that is to say, no text, just the tile. Is this possible?

  • Solution: Save all tabs and recharge anywhere (from thread archived)

    Hello My problem "was that I was working on Firefox at home and in my office." Since computers are fast these days, I'm used to open many tabs in firefox. And I always wanted to open the same tabs at my office that I opened my home and vice versa. I

  • How to synchronize private browsing

    I almost always use private browsing. I have sync setup in my office. Now in my Tablet if I sync, only the tabs on normal mode are synchronized but not on private browsing tabs. Is it everything that I need to install to make private browsing sync?

  • Satellite A200-1NB: Question about downgrade from Vista to XP

    I bought a 1NB A200 and I intend to downgrade from Vista to XP.I would like to create a CD of tools and utilities, but do I need to do before the low grade or can I do after? Also, I have to change the BIOS for XP before you install on the system or

  • How to display random lines from txt file

    Good morning (or evening all). I am creating an application and want to display random lines of a text file. I know how to create a text file using file connections, but how can I read the random lines of her?