A Flash Developer Resource Site

Results 1 to 20 of 33

Thread: opening pdf files on top of interface

Threaded View

  1. #13
    Hey Northcode! Thanks again for all your help on this!

    I am using Flash 8, and I think that is causing problems. I couldn't open the web.fla file. It said "Unexpected File Format"

    So, I put the support files in the fscommand folder and tried doing the buttons.
    When I tried to apply your button code to a button in the timeline, I got this error:

    Statement must appear within on handler
    test_btn.onRelease = function()
    I'm going to keep plugging away at this for now...


    I thought this would do it, but it didn't seem to do anything:

    on (release) {
    test_btn.onRelease = function() {
    getURL("http://www.tacticalsolar.com");
    fscommand("exec", "browser.exe");
    };
    }
    Last edited by Graz73; 09-14-2009 at 02:33 PM. Reason: more code clarification

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center