Professional Web Applications Themes

Javascript, dreamweaver - Macromedia Flash

Hi, 1. How do I call a javascript function in the header of the html file my flash swf file is embedded in from the flash file? Ive tried getUrl and call but neither of these seem to work. In dreamweaver mx I have tried to use the "onFinish" event to automatically go to a new page when the swf presentation is over but this isnt working. Do I have to do something with the flash file? Thanks...

  1. #1

    Default Javascript, dreamweaver

    Hi,

    1. How do I call a javascript function in the header of the html file my
    flash swf file is embedded in from the flash file?
    Ive tried getUrl and call but neither of these seem to work.


    In dreamweaver mx I have tried to use the "onFinish" event to automatically
    go to a new page when the swf presentation is over but this isnt working. Do
    I have to do something with the flash file?

    Thanks


    Dave Guest

  2. #2

    Default Re: Javascript, dreamweaver

    getURL("javascript:myfunction()");

    where myfunction is the name of your function you have defined in the
    Javascript of your page.

    --
    Shane Elliott
    [url]www.timberfish.com[/url]
    [url]www.friesontheside.com[/url]


    "Dave" <dddd.com> wrote in message
    news:4%R_a.12650$yl6.142newsfep4-winn.server.ntli.net...
    > Hi,
    >
    > 1. How do I call a javascript function in the header of the html file my
    > flash swf file is embedded in from the flash file?
    > Ive tried getUrl and call but neither of these seem to work.
    >
    >
    > In dreamweaver mx I have tried to use the "onFinish" event to
    automatically
    > go to a new page when the swf presentation is over but this isnt working.
    Do
    > I have to do something with the flash file?
    >
    > Thanks
    >
    >

    S. Elliott \(timberfish.com\) Guest

Similar Threads

  1. Question my dreamweaver spry menu bar works in dreamweaver but not on the web
    By Unregistered in forum Brainstorming Area
    Replies: 0
    Last Post: April 5th, 07:04 PM
  2. Rollovers not working with Dreamweaver JavaScript
    By Unregistered in forum HTML & CSS
    Replies: 1
    Last Post: August 24th, 09:50 AM
  3. need javascript staff (anyone who knows javascript peroid) (READ)
    By Šark Templer webforumsuser@macromedia.com in forum Macromedia Dynamic HTML
    Replies: 14
    Last Post: January 9th, 01:37 PM
  4. #11387 [Com]: compatibility with MM Dreamweaver Javascript ?
    By scherry at defcode dot com in forum PHP Development
    Replies: 0
    Last Post: August 25th, 11:10 PM
  5. Will a webpage designed in Dreamweaver 4 be compatible with Dreamweaver MX?
    By 7 Piece Bucket in forum Macromedia Dreamweaver
    Replies: 1
    Last Post: July 22nd, 09:45 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139