Ask a Question related to Macromedia Director Basics, Design and Development.

  1. #1

    Default Why?

    Hi,

    Can someone tell me why the following script works in the authoring environment but in a projector, produces a 'script error'?

    on MouseUp me
    set MSWord = baFindApp("doc")
    open "CHECKLIST.doc" with MSWord
    end


    Director 8.5
    Win2000

    Regards
    AJJA17


    "I can resist anything but temptation"
    Oscar Wilde
    AJJA17 webforumsuser@macromedia.com Guest

  2. #2

    Default Re: Why?

    Can someone tell me why the following script works in the authoring environment but in a projector, produces a 'script error'?

    The other reply is what I would have suggested first, the Xtra might not be being included in the projector or in an Xtras folder where the projector would expect to find it.

    Question for you, now: it looks like you're just wanting to open that Word file. If that's all, you could just use baOpenFile. It'll open the file with the associated program on its own, rather than your having to specify what it is (and where it is, and what it had for breakfast, etc.). I love the Buddy API Xtras.

    HTH.



    prw webforumsuser@macromedia.com Guest

  3. #3

    Default Re: Why?

    > Question for you, now: it looks like you're just wanting to open that Word
    file. If that's all, you could just use baOpenFile.

    As in, at a bare minimum:

    err=baOpenFile(the moviePath & "CHECKLIST.doc", "normal")
    if err<32 then
    alert "Could not open CHECKLIST.doc." & return & "Error number=" & err
    end if

    Andrew

    Andrew Morton Guest

  4. #4

    Default why?

    Hi, small problem here...

    I got myself a new portfolio site, and uploaded it to a submap on my main webdomain. if it loads the first external swf.file Flash shows a security message about an unsafe operation?
    I published some small projects before an it never happened?
    Can someone tell me why? I think it scares my visitors :-(
    [url]http://users.skynet.be/mojographics[/url]



    Referring URLs
    users.skynet.be/mojographics




    debelg Guest

  5. #5

    Default Re: why?

    Check Macromedia site and/or your manual for cross domain loading of data.
    Users encounter a security sandbox vuiolation here.

    John

    --
    ----------------------------------------------------------------------------
    -----------
    RESOURCES
    [url]http://groups.google.com/advanced_group_search?hl=en&as_ugroup=*flash[/url]
    ----------------------------------------------------------------------------
    -----------
    TUTORIALS at
    [url]www.laiverd.com[/url]
    Flash & PHP Emailform
    Using textfiles in Flash
    ----------------------------------------------------------------------------
    -----------


    Laiverd.COM Guest

  6. #6

    Default Re: why?

    Ok, i see what's goin one here, i'm not supposed to load data from a submap. The problem is that on the main directory are files from a different site and a few are named identical. (it was another project).
    I wonder if can i override this warning, or do i have to rename that files in a dozen of fla's?



    debelg Guest

  7. #7

    Default Re: why?

    You can work arround it. Do a search for cross domain policy and some things
    will show up. Never worked with it, but I think the basics are also
    described in the MX2004 manual

    John

    --
    ----------------------------------------------------------------------------
    -----------
    RESOURCES
    [url]http://groups.google.com/advanced_group_search?hl=en&as_ugroup=*flash[/url]
    ----------------------------------------------------------------------------
    -----------
    TUTORIALS at
    [url]www.laiverd.com[/url]
    Flash & PHP Emailform
    Using textfiles in Flash
    ----------------------------------------------------------------------------
    -----------


    Laiverd.COM Guest

  8. #8

    Default why?

    why is it possible to use line spacing and no char. spacing with a device font?

    some good ideas or some complains would be apericiated

    thanks,

    adriaan
    adriaan_ Guest

  9. #9

    Default Re: why?

    other ideas :use text picture
    "adriaan_" <webforumsuser@macromedia.com> дÈëÏûÏ¢ÐÂÎÅ:c13rgq$qb$1@forums.macromedia.com...
    why is it possible to use line spacing and no char. spacing with a device font?

    some good ideas or some complains would be apericiated

    thanks,

    adriaan

    Yeson Guest

  10. #10

    Default Re: Why?

    "Vladimir S. Petukhov" <vladimir@sycore.org> writes:
    > select * from nets;
    > name | note | net
    > ------+------+---------------
    > | | 172.16.0.0/16
    > (1 row)
    > select * from nets where net >>= '172.16.4.0/8';
    > name | note | net
    > ------+------+-----
    > (0 rows)
    Are you confusing >>= with <<= perhaps? The >>= operator tests

    ip_bits(a1) <= ip_bits(a2)
    && bitncmp(ip_addr(a1), ip_addr(a2), ip_bits(a1)) == 0

    which looks reasonable enough to me. By that logic a /16 net
    can never be a supernet of a /8 net.

    regards, tom lane

    ---------------------------(end of broadcast)---------------------------
    TIP 9: the planner will ignore your desire to choose an index scan if your
    joining column's datatypes do not match

    Tom Lane Guest

  11. #11

    Default Why?

    select * from nets;

    name | note | net
    ------+------+---------------
    | | 172.16.0.0/16
    (1 row)

    select * from nets where net >>= '172.16.4.0/8';
    name | note | net
    ------+------+-----
    (0 rows)

    ??????

    ---------------------------(end of broadcast)---------------------------
    TIP 1: subscribe and unsubscribe commands go to [email]majordomo@postgresql.org[/email]

    Vladimir S. Petukhov Guest

  12. #12

    Default Re: Why?

    Sorry, of course... :)
    On Thursday 20 January 2005 03:15, Vladimir S. Petukhov wrote:
    > select * from nets;
    >
    > name | note | net
    > ------+------+---------------
    >
    > | | 172.16.0.0/16
    >
    > (1 row)
    >
    > select * from nets where net >>= '172.16.4.0/8';
    > name | note | net
    > ------+------+-----
    > (0 rows)
    >
    > ??????
    >
    > ---------------------------(end of broadcast)---------------------------
    > TIP 1: subscribe and unsubscribe commands go to [email]majordomo@postgresql.org[/email]
    --
    ëÁË ÓÅËÓÁÐÉÌØÎÏ ÍÏÌ×ÉÛØ ÔÙ "äÕÒÁË"...
    -- ÷ÌÁÄÉÍÉÒ ÷ÉÛÎÅ×ÓËÉÊ

    Now playing: 13 - Wayne Johnson - Goodnight Moon.mp3
    AutoGenerated by fortune & xmms...

    ---------------------------(end of broadcast)---------------------------
    TIP 7: don't forget to increase your free space map settings

    Vladimir S. Petukhov Guest

  13. #13

    Default WHY?

    Hello,

    I'm new at using dreamweaver or even at creating webpages, i managed to get a
    site working ([url]http://kathodyne.coconia.net[/url])
    In this site (dutch) i describe my projects in building with tubes, as well as
    giving advice/study

    Now, my problem is...
    I created a page projecten.htm where there are four java applets (copied code
    from frontpage's hoverbutton... )the code of these buttons is below.
    All the files mentioned in the applets exist, both local as remote...

    The 1st one (param text buizenvoeding) does not display the image, when
    hovering above it gives a white square (background)

    The 2nd applet works fine

    Well everything looks exactly the same (not regarding the order the param's
    are in, i tried almost every combination :P and nothing gets this ^&^%% picture
    to display), oh yeah the hovercolor doesn't seem to matter, both (#ffffff,
    F0000ff) work fine with the other 3 buttons

    Can you help me please,


    <p>De opvolger; een nieuwe kast en enkele nieuwe snufjes!</p>
    <p>
    <applet code="fphover.class" codebase="./" width="320" height="240">
    <param name="text" value="buizenvoeding">
    <param name="color" value="#C0C0C0">
    <param name="hovercolor" value="#FFFFFF">
    <param name="textcolor" value="#FF0000">
    <param name="effect" value="glow">
    <param name="url" valuetype="ref" value="buizenvoeding.htm">
    <param name="font" value="TimesRoman">
    <param name="fontstyle" value="bold">
    <param name="fontsize" value="14">
    <param name="bgcolor" value="#FFFFFF">
    <param name="hoverimage" valuetype="ref" value="500.JPG">
    </applet>
    </p>
    <p>Externe voeding is luxe</P>
    <p>
    <applet code="fphover.class" codebase="./" width="320" height="240">
    <param name="hovercolor" value="#0000FF">
    <param name="text" value="VU-meter">
    <param name="effect" value="glow">
    <param name="url" valuetype="ref" value="vu meter.htm">
    <param name="bgcolor" value="#FFFFFF">
    <param name="hoverimage" valuetype="ref" value="vumeter.JPG">
    <param name="textcolor" value="#FF0000">
    <param name="fontsize" value="14">
    <param name="font" value="TimesRoman">
    <param name="fontstyle" value="bold">
    <param name="color" value="#C0C0C0">
    </applet>
    </p>
    <p> sound to light</p>
    </body>

    </html>


    kathodyne Guest

  14. #14

    Default Re: WHY?

    I would help you get rid of Java buttons altogether. There is absolutely no
    reason to use them when javascript or even CSS does a much better job with
    much less bandwidth. Are you interested?

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "kathodyne" <webforumsuser@macromedia.com> wrote in message
    news:d3r7bi$pot$1@forums.macromedia.com...
    > Hello,
    >
    > I'm new at using dreamweaver or even at creating webpages, i managed to
    > get a
    > site working ([url]http://kathodyne.coconia.net[/url])
    > In this site (dutch) i describe my projects in building with tubes, as
    > well as
    > giving advice/study
    >
    > Now, my problem is...
    > I created a page projecten.htm where there are four java applets (copied
    > code
    > from frontpage's hoverbutton... )the code of these buttons is below.
    > All the files mentioned in the applets exist, both local as remote...
    >
    > The 1st one (param text buizenvoeding) does not display the image, when
    > hovering above it gives a white square (background)
    >
    > The 2nd applet works fine
    >
    > Well everything looks exactly the same (not regarding the order the
    > param's
    > are in, i tried almost every combination :P and nothing gets this ^&^%%
    > picture
    > to display), oh yeah the hovercolor doesn't seem to matter, both (#ffffff,
    > F0000ff) work fine with the other 3 buttons
    >
    > Can you help me please,
    >
    >
    > <p>De opvolger; een nieuwe kast en enkele nieuwe snufjes!</p>
    > <p>
    > <applet code="fphover.class" codebase="./" width="320" height="240">
    > <param name="text" value="buizenvoeding">
    > <param name="color" value="#C0C0C0">
    > <param name="hovercolor" value="#FFFFFF">
    > <param name="textcolor" value="#FF0000">
    > <param name="effect" value="glow">
    > <param name="url" valuetype="ref" value="buizenvoeding.htm">
    > <param name="font" value="TimesRoman">
    > <param name="fontstyle" value="bold">
    > <param name="fontsize" value="14">
    > <param name="bgcolor" value="#FFFFFF">
    > <param name="hoverimage" valuetype="ref" value="500.JPG">
    > </applet>
    > </p>
    > <p>Externe voeding is luxe</P>
    > <p>
    > <applet code="fphover.class" codebase="./" width="320" height="240">
    > <param name="hovercolor" value="#0000FF">
    > <param name="text" value="VU-meter">
    > <param name="effect" value="glow">
    > <param name="url" valuetype="ref" value="vu meter.htm">
    > <param name="bgcolor" value="#FFFFFF">
    > <param name="hoverimage" valuetype="ref" value="vumeter.JPG">
    > <param name="textcolor" value="#FF0000">
    > <param name="fontsize" value="14">
    > <param name="font" value="TimesRoman">
    > <param name="fontstyle" value="bold">
    > <param name="color" value="#C0C0C0">
    > </applet>
    > </p>
    > <p> sound to light</p>
    > </body>
    >
    > </html>
    >
    >

    Murray *TMM* Guest

Posting Permissions

  • You may not post new threads
  • You may 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