• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Okay... i need some help.

New Here ,
Dec 27, 2010 Dec 27, 2010

Copy link to clipboard

Copied

Im trying to link a pdf file from my computer to a project. I imported a flash Catalyst project into Builder and need step by step instruction to create a hyperlink to a pdf on my computer. If anyone can help me with this it would be greatly apriciated. Thanks Everyone!

Views

427

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 28, 2010 Dec 28, 2010

Copy link to clipboard

Copied

Can anyone help me, or is this even possible to do?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 28, 2010 Dec 28, 2010

Copy link to clipboard

Copied

LATEST

This code opens a PDF that is on the web in a new browser window:

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
  <mx:Script><![CDATA[
    private function showPDF():void{
      navigateToURL(new URLRequest('http://help.adobe.com/en_US/flex/using/flex_4_help.pdf'));
    }
  ]]></mx:Script>
  <mx:Button label="Show PDF" click="showPDF();"/>
</mx:Application>

But in general, Flex apps can't access the hard drive as they are web apps.

If you are creating an AIR app they can.

If this post answers your question or helps, please mark it as such. Thanks!

http://www.chikaradev.com
Adobe Flex Development and Support Services

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines