AS to link to external Quicktime file

How can I modify the following code to create a button that
onclick
opens a Quicktime file on the same server?
Btn1.addEventListener(MouseEvent.CLICK, loadPage);
function loadPage(event:MouseEvent):void{
var myURL:URLRequest = new URLRequest("
http://www.adobe.com/file.pdf");
navigateToURL(myURL,"_blank");
Thanks!

so is the correct syntax the following?
Btn1.addEventListener(MouseEvent.CLICK, loadPage);
function loadPage(event:MouseEvent):void{
var myURL:URLRequest = new URLRequest("/about/us/blah.mov");
navigateToURL(myURL,"_blank");
Thanks!
ccoonen wrote:
> just change your path: from "
http://www.adobe.com/file.pdf"
to "/about/us/blah.mov".

Similar Messages

  • Strange problem with linking to external vob-file

    I have a strange problem with linking to external vob-file. I
    have created a link using BudApi:
    on mouseup
    set OK = baOpenFile ( the pathname &
    "Files\General\Video\VTS_01_1.VOB", "normal")
    end
    This code opens mpg-videos correctly, but nothing happens
    when I try to open vob-files with the same code. The strangest
    thing is that when I change the default program for vob-files to
    WinDVD this code works and the file opens, but when I change the
    default program to Nero Showtime this code doesn't do anything
    (when I open the file 'manually' from the folder, it opens
    correctly on Nero Showtime). My client uses Nero Showtime, so I
    really would appreciate any help on this one.

    temes wrote:
    >
    quote:
    Originally posted by:
    Newsgroup User
    >> When using Nero Showtime as a default program, the
    error code is 31,
    >> "There is no application associated with the given
    filename".
    >
    > Which suggests that something has gone wrong with file
    associations.
    > If
    > you double-click one of these files in an Explorer
    window does it fire
    > up Showtime and open the file?
    >
    >
    > Yes, the file opens correctly in Nero Showtime when
    double-clicking
    > it in an Explorer. I tried the file associations and
    created a
    > html-page with a link to the vob-file, and the html-link
    opens the
    > vob-file correcly with Nero Showtime. My client reported
    this
    > problem, so it's not just my computer which is having
    this problem.
    If you open a command prompt, do you get an association
    listed like this
    example for .txt files:
    C:\>assoc .txt
    .txt=txtfile
    C:\>ftype txtfile
    txtfile="D:\Program Files\JGsoft\EditPadLite\EditPadLite.exe"
    "%1"
    Andrew

  • Link To External .WVM Files

    Okay. Does anyone know how to link to an external .wmv file,
    making it play in Windows? I have used the simple getURL method,
    and it is opening up a new window, however nothing is displayed,
    nor does the media player open up. Any information would SURE be
    greatful at this point. I am trying to complete a website for a
    ministry who is very impatient. Thanks.

    Is this for the web or a CDROM ?
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. - www.flashjester.com
    "This has been one of the most impressive and thoroughly
    pleasant
    experiences of customer support I have ever come across -
    astounding!"
    Director - hedgeapple

  • Most reliable way to link to a Quicktime file in HTML

    What’s the best / most reliable way to link to a Quicktime.mov file in HTML (via Dreamweaver). Taking into account different browsers and operating systems PC & Mac.
    I want to use a text and/or image to link to the QT file, what’s the best way to do it, a QK player pop-up; or a new window?
    Thanks!
    imac G4   Mac OS X (10.3.9)  

    In all the years in using Dreamweaver. I have never used the embed code generated by by Dreamweaver. The coding not complete and I feel better writing my own. Untill a few years ago I found this neat little program that write a fairly complete code.
    PAGEot...and it free. It not only writes the emebed code but it can write the javascript code for IE7 (for Windows). Plus it does a lot of other neat things that you do with Quicktime...play lists, poster frames to name a few.
    http://www.qtbridge.com/pageot/pageot.html
    You can either use the html page it makes or just copy and paste the embed code into you own html...
    The coding it makes is compliant with most major browsers. either PC or Mac.

  • I develop electronic technical manuals. With new version all links to external xml files in the manual go to top of file not to designated ID. Works fine in IE.

    Links to external file in same directory does not go to proper location.
    <pre><nowiki>ex:Link
    <xref href="G00020-THRY-11-5840-390-23NP-510" inline="true" scilevel="no"
    security="uc" show="replace" title="RADAR W6" xml:link="simple"
    xrefentclass="xrefs"/>
    Destination: in G00020-THRY-11-5840-390-23NP-V-1-0-0.xml in same directory. Goes to top of this file. All similar links are defective in same manner. Does not recognize id ie.-510
    <row id="G00020-THRY-11-5840-390-23NP-510">
    <entry>
    <pcnarr>RADAR </pcnarr>
    <extref href="77A586771_REV-E.pdf" refconrevccrugenentname="null"
    refconrevgenentname="null" title="W6"/></entry>
    <entry>
    <pcnarr>77A586771P1 </pcnarr>
    </entry>
    <entry>
    <pcnarr>77A580358 SHT 2 ZONE C7 </pcnarr>
    <extref href="SCH_77A580325_REV-B.pdf" refconrevccrugenentname="null"
    refconrevgenentname="null" title="RADAR ASSEMBLY"/></entry>
    <entry>
    <pcnarr>77A580358 SHT 2 ZONE C6 </pcnarr>
    <extref href="SCH_77A580325_REV-B.pdf" refconrevccrugenentname="null"
    refconrevgenentname="null" title="RADAR ASSEMBLY"/></entry>
    <entry>
    <pcnarr>COMMS/CTRL/DISCRETES </pcnarr>
    </entry>
    <entry>
    <pcnarr>P1/A2A2J19 </pcnarr>
    </entry>
    <entry>
    <pcnarr>P2/A1J6 </pcnarr>
    </entry>
    <entry>
    <pcnarr>Point to Point : W6 connector P1 is mounted to the RPES bulkhead
    J6 on the curbside under the maintainence platform. The P2 connector
    is then routed to the AES bulkhead J19. </pcnarr>
    </entry>
    </row></nowiki></pre>

    I figured it out.
    I created the links in InDesign by making an interactive link to a file. When I open the file in Acrobat, the links work fine over the network. I burn to disk and the links no longer work.
    Problem: At some point, InDesign changes the "open file" hyperlink command in InDesign into a URL webpage request in Acrobat.
    Solution: So basically, I now have to go into the file in Acrobat and change all the buttons from "open web link" to "open file." It's only a product catalog with about 1,200 links that's due today.

  • Need help to find link to external AS2 file

    I have purchased an image gallery program that works fine but I am struggling to make a very minor modification. I have asked the author for assistance but previous requests have met with no response so I am also asking my question here.
    This program has most of its logic in an external AS2 file. I have made some small changes to this file and want to save it under a new name. However, that would also require me to change the reference to the external AS2 file from within the fla file. That's where my problem lies. I can't find any code in the fla that contains such a reference.
    If I try to publish an swf without this file in the required location it causes a compiler error thus proving that there must be a reference somewhere to that file. However, doing a search for this AS2 file in the 'current document' when viewing the fla file in Flash CS4 produces no results. Where else could this reference be hidden?
    David

    Unfortunately, the Movie Explorer window does not show class references of the type under discussion. I guess an alternative way to reference this external file might be via an include statement in an action, which would make it a lot easier to find than when it is hidden in the properties box of a library symbol.
    However, the Movie Explorer appears to be a useful facility for finding and searching timeline actions so thanks for bringing it to my attention. I used it for a brief exploration of another fla file with lots of code scattered all over the place.
    Thanks again for all your help.
    David

  • Major Finder Problem for Quicktime Files

    Hey all,
    I have noticed a horrible bug in Finder for Sprited Quicktime files.
    Some background. Some files I download have web 'popups' in the Quicktime file as a marketing campaign. We put a link inside the Quicktime file (you can do so in GoLive) so when it is opened to the end a web link pops up.
    However, Leopard has introduced a bug where if you open a folder that even HAS one of these sprited Quicktime files, it will open my browser and go to the link inside the Quicktime file, even though I did even open the file.
    I know this bug does not effect everyone, but it is a serious bug in the software.

    dude. gotta watch where you download your pornoze!
    heh
    thx for the heads up. havent noticed that yet here. i wonder if this bug is because of quick look...

  • Can a Quicktime file download from clickable link?

    Quicktime file download to desktop from clickable link?
    I have large movies that I want to make available for direct download to the desktop so people will click download and do something else.
    It is my understanding that you can't provide a quicktime file for download to a desktop because there are PC/MAC and browser issues across platform. But maybe I'm wrong.
    Is it possible to make a web page that allows users to download higher file size videos from a clickable link? The quicktimes are h.264 in SD + HD around 50-100 megs. The files will be so large people won't want to wait so I want it to go directly to the desktop.
    So far I can only find a few similar options
    1) Embed the file in a web page. Provide a download link after the movie loads.
    (This option requires you to load the file into the page. Users may not wait and close it)
    2) Provide a zip file. This allows you to create a clickable link to the zip which begins downloading upon clicking. You then unzip the file. (Some less computer savvy people may get confused by the zip)
    3) Put a raw file on server. This will play the movie in a blank window but can also be right clicked for direct download.

    Welcome to the discussions, jessestudio.
    I've seen a few sites that have a link to the video with instructions to "Right-click to download". Essentially, it's option three with instructions. It seems to be a fairly common way of handling it. (Even for non-QuickTime movies)

  • Links to external files don't work

    Hello
    Using RH 8.02 and converting linked Word docs (Word 2002) to WebHelp. These are policies and procedures that reference external documents.
    In my Word doc I have a hyperlink to an external document. This doc is on a network server. In Word I added the hyperlink and it appeared as a relative path, such as ../RelatedDocs/RelDoc1.doc.
    The referenced file is an external file, and I don't want to add it to RH because it may be updated; I just want to link to it so that a user gets the latest version.
    When I update the HTML files in RH I see this in my HTML file:
    <a href="file:////terminus/avbase_techsupport/av-base documents/supportmaster/documentationshare/relateddocs/reldoc1.doc">Related Doc 1</a>
    This is the correct absolute path for the referenced file. Note the file://// prefix, with four forward slashes.
    When I generate WebHelp, the link doesn't work. Nothing happens.
    I tried the following:
    1. Copied the whole path into my Windows Start > Run box and hit Enter. Nothing happens.
    2. Removed two of the forward slashes and copied it again into the Run box. Now the file opens in Word.
    I also tried removing the hyperlinks from the Word docs and adding them through RH instead. Same result.
    Why does RH add four forward slashes to the prefix? What can I do to get these external links working?
    Thanks for your help.
    Roger Shuttleworth
    London, Canada

    Hello Peter
    I apologize for taking so long to respond. I just received a new computer with Vista and have had to set it up. Here is what happens:
    1. In Word, I have a doc policy1.doc that contains a hyperlink to reldoc1.doc. The two files are in different folders. When I insert the link, Word shows it as a relative path ../RelatedDocs/reldoc1.doc. When I hover over it in the Word doc, it shows as an absolute path starting with file:///\\theserver, etc.
    2. My RH project includes policy1.doc but not reldoc1.doc. I update policy1.doc in RH. In the HTML topic file (HTML view) the link is:
    <a href="file:////theserver/path/reldoc1.doc">Link text</a>. Note the four forward slashes.
    3. I save all project files and generate WebHelp.
    4. In the resultant web page (in Firefox), I click the link in policy1 and nothing happens. The status bar shows the path the same as above.
    5. I navigate to the output !SSL! and find the index page, and open it in Internet Explorer 8. The link shows in the status bar as file://theserver/path/reldoc1.doc, and when clicked IE opens the Word doc.
    So in this case Firefox doesn't open the link but IE does.
    Here is another scenario:
    1. I have no links in myWord docs.
    2. I generate topic files in RH using the linked Word docs.
    3. In RH, in the HTML file for policy1 (policy1.htm) I add a link to reldoc1.doc. I choose the file protocol. RH asks me if I want to copy the doc into the project folder, and I say No.
    4. I check the HTML for policy1.htm and see that it has the link as follows:
    <a href="file://J:/Documents/rest of folder path/RelDoc1.doc">Related Doc 1</a>
    (Going to Hyperlink Properties shows the same path.) Note the two forward slashes.
    5. I save all files in the project and click Generate Primary Layout (which is WebHelp). A dialog asks if I want to update <some file or other, but I can't see which one because that darned dialog box is too small, but I expect it's policy1.htm>.
    6. I say No. The output is generated and I view it in Firefox. The link works and has a path in the status bar as:
    <a href="file://J:/Documents/rest of folder path/RelDoc1.doc">Related Doc 1</a>
    Note the three forward slashes.
    7. I view the index.htm file in IE and it works.
    As a variant of the above, instead of saying No when asked if I want to update the file, I say Yes.
    1.The HTML of policy1.htm now shows the link as:
    <a href="file:////server/rest of path/reldoc1.doc">Related Doc 1</a>
    Note the four forward slashes again.
    2. The link is as shown in the status bar of Firefox is now set to:
    <a href="file:////server/rest of path/reldoc1.doc">Related Doc 1</a>
    It doesn't work.
    2. The same link shown in IE status bar has two forward slashes (even though the source has four), and it works.
    So in answer to your question, the link definitely changes within RH. The two browsers deal with things differently, with IE seeing a file://// link as file://.
    Incidentally, I did some research on the file:// protocol and came up with:
    http://kb.mozillazine.org/Firefox_:_Issues_:_Links_to_Local_Pages_Don%27t_Work
    The answer seems to be:
    1. Add the links within RH.
    2. Don't update when generating output.
    3. If possible, get users to use IE instead of FF.
    Either way, it's not very satisfactory for my purposes.
    Regards,
    Roger

  • How do I dynamically load a SWF that was compiled from an Fla with a linked external class file

    I am dynamically loading external SWFs in a Main Fla in response to clicks on a menu.
    The loading code is standard and works fine for all of the SWFs except one. When I try to load it I get the following error:
    Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
    I am certain that the URL to the problem SWF is correct. The SWF itself doesn't load any other SWFs or images.
    The problem SWF is linked to an external class file and compiled with it.
    i.e. in the properties panel of the main timeline of the problem SWF's Fla I have entered the path to the external class.
    1. there is no problem compiling this SWF with the class (it works fine by itself)
    2. if I remove the external class from the properties panel and don't use it the resulting SWF imports without a problem into the Main Fla mentioned before
    So the problem seems to be the fact that the external class is linked in the properties panel. Is this a path problem?
    Would appreciate any suggestions,
    Thanks!

    despite what you say, that loaded swf most likely is loading something and that's the cause of the error.
    you could test that by putting the main swf's embedding html file in the same directory with problematic swf.  if the problem is as explained above, you'll have no problem when the main html is in the same directory with the loaded swf.

  • Quicktime files offline - When re-linked, they are out of sync.

    Opened a project and some Quicktime files were offline. When I re-linked media, shots were out of sync. Is this because Quicktimes dont use time code? Is there a way to avoid this. Any help much appreciated.

    Quicktime does support time code - that is the whole underlying concept of how FCP works. Some factors that can contribute to time-shifts on relinking:
    opening FCP5 projects in FCP6
    speed changes
    odd audio sample rates
    non-native quicktime formats, such as clips created with SnapZ Pro
    That is not to say that any of these conditions will cause sync shifts, I use all these features and workflows and almost never have issues.
    The biggie is that you need to be sure you are linking to the right clips. How did they go offline in the first place? How were they created? Your clips don't happen to be named Untitled1, Untitled2, etc. do they?

  • Link external .exe file to director buttons

    I want to create a CD menu that has buttons link to differents .exe file (application) When click on the button, the application will run directly on window so I can turn it to full screen.
    However I've encountered the problems when try to link external files (exe) into cast. I got this -1 errors. I've checked previous topic and try the 'open()' command that link to the .exe file but it didn't work either. Well, I've just study Director not so long ago, so I'll appriciate your help to archive the right result.
    Thank you.

    Don't import your exe in the cast. Just put it next to the projector or in a subfolder.
    Then give the full path to open().
    Example:
    open(_movie.path & "filename.exe")

  • Links to external files do nothing after being burned to disk

    I built a product catalog a while ago in CS4 and now I've had to edit it in InDesign CS5. With InDesign CS4, everything worked fine. The files were linked and then all the file were burned to disk, all the files worked on the disk (links, etc). I have since edited the files in InDesign CS5. I build the catalog, created all the links (interior within the same pdf, links to external pdfs and other file types). Everything works on the computer  but somehow fails after being burned to disk.
    My sequence  was like this:
    Set up product catalog last year with links and files, everything was fine and worked as expected.
    Opened the file, made my edits.
    Made links between the pdf's pages and from the pdf to external pdfs and videos etc. All of these links work in the pdf.
    Burn the files to a disk
    Some of the old links work
    All the links within the main pdf work
    None of the new links to external files work. I click the link and nothing happens. The paths are exactly the same as the previous version
    I have tried:
    Examining the links, everything is based on pseudo relative paths (last year it worked fine)
    Burning the disk on a Mac and a Windows XP
    Please help. Any and all help is very much apprecitated.

    I figured it out.
    I created the links in InDesign by making an interactive link to a file. When I open the file in Acrobat, the links work fine over the network. I burn to disk and the links no longer work.
    Problem: At some point, InDesign changes the "open file" hyperlink command in InDesign into a URL webpage request in Acrobat.
    Solution: So basically, I now have to go into the file in Acrobat and change all the buttons from "open web link" to "open file." It's only a product catalog with about 1,200 links that's due today.

  • Need help linking to an external PDF file

    How can I create a link inside my robohelp project that links to a PDF file that has NOT been copied into the project. I am looking for a link with a relative path in the event the files may someday need to be moved.
    Thanks

    Hi,
    Microsoft's HTML Help documentation includes a script with which you can link to an external file. See:
    http://msdn.microsoft.com/en-us/library/ms644690(vs.85).aspx
    This opens the external file in the topic pane of the Help viewer. If you'd rather open the file in its native application (Acrobat or Adobe Reader, in your case), you'd need to use a script like this one:
    http://groups.google.co.uk/group/microsoft.public.helpauthoring/msg/fa85cc619be13e3d?hl=en
    You may also find these resources useful:
    http://helpware.net/FAR/far_faq.htm#Script_to_External_File
    http://www.cybertext.com.au/tips_HTML_chm_external.htm
    Pete

  • How can client change link to external file in in-browser editing

    Hi, I made a website for a client. It has links to pdf files. Obviously they can change the text, but how can they change the link to another pdf file. Thank you.

    Sorry, this is not supported currently. Please vote for this idea: http://forums.adobe.com/message/5552091#5552091
    This helps the product team prioritize.
    Thanks,
    Abhishek

Maybe you are looking for