Professional Web Applications Themes

please help - It should work..! - Macromedia Flash Sitedesign

ok, well, ive got another button problem, but this time its weird. I have a button which links to an extrnal swf file, but it wont load it. I have used a script i got off here awhile ago for loading a swf automaticaly and also when you pres the button the scripts are (and it creates a target, named "paper") for loading Automatically createEmptyMovieClip("paper",10) paper._y = 122 loadMovie("m1.swf","paper") m1.onRelease = function(){ loadMovie("m1.swf","paper") } For loading on the press of a button createEmptyMovieClip("paper",10) paper._y = 50 m1.onRelease = function(){ loadMovie("m1.swf","paper") } It works perfectly when i use the loading automaticaly ...

  1. #1

    Default please help - It should work..!

    ok, well, ive got another button problem, but this time its weird.

    I have a button which links to an extrnal swf file, but it wont load it.

    I have used a script i got off here awhile ago for loading a swf automaticaly and also when you pres the button the scripts are (and it creates a target, named "paper")

    for loading Automatically

    createEmptyMovieClip("paper",10)
    paper._y = 122
    loadMovie("m1.swf","paper")

    m1.onRelease = function(){
    loadMovie("m1.swf","paper")
    }


    For loading on the press of a button

    createEmptyMovieClip("paper",10)
    paper._y = 50

    m1.onRelease = function(){
    loadMovie("m1.swf","paper")

    }

    It works perfectly when i use the loading automaticaly version of the script, but it wont work for when i use the on press version.

    Please help.

    PS (Currently i have the loading automaticaly version, but i want it to be the presing version)

    Thanks

    [url]http://webforums.macromedia.com/attachments/problems1.zip[/url]


    GilesW webforumsuser@macromedia.com Guest

  2. #2

    Default Re: please help - It should work..!

    You have not given the button an instance name of m1 in the property inspector.


    Certified but not by Macromedia!
    myurl
    stwingy webforumsuser@macromedia.com Guest

  3. #3

    Default Re: please help - It should work..!

    oh, sorry I send you the un saved ile, I had named it a button instance, which was m1. And I put that code it, and when i preview, nothing at all happenes - no error or nething...


    GilesW webforumsuser@macromedia.com Guest

  4. #4

    Default Re: please help - It should work..!

    "GilesW" <webforumsusermacromedia.com> wrote in message
    news:bqduqr$kq8$1forums.macromedia.com...
    > oh, sorry I send you the un saved ile, I had named it a button instance,
    which was m1. And I put that code it, and when i preview, nothing at all
    happenes - no error or nething...
    >
    I put instance name of m1 on your button and it loads m1.swf just fine.
    Good luck,
    tf



    tralfaz Guest

  5. #5

    Default Re: please help - It should work..!

    thank, it works now,


    GilesW webforumsuser@macromedia.com Guest

Similar Threads

  1. Links don't work in Shockwave movie but work in p
    By rokarege in forum Macromedia Director Basics
    Replies: 1
    Last Post: May 3rd, 02:02 AM

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