Ask a Question related to Macromedia Flash Actionscript, Design and Development.

  1. #1

    Default coding

    Hi Gang,

    I am a Director programmer and do a little Flash.

    I've noticed some pretty complex coding in Flash and
    have searched diligently for books or web sites that
    have some good code explanations but don't ever seem
    to find what I am looking for.

    Recently, someone told me not to put code on a button
    but put it on a frame and reference the button instance.
    I don't know how to do that. Anyone have any ideas
    of resources and how to reference the button instance.

    Thanks,

    Tim


    Tim A. Setliff Guest

  2. Similar Questions and Discussions

    1. help in coding
      Hi, I want to build up interactive tutorials that has videos and audios, I want to show some images with voice comments on them, pleeeeeeeease...
    2. ASP Coding
      Is it tough to code ASP for a simple database results page? I've only ever used FrontPage wizards to create my database results ASP pages before,...
    3. c# coding
      (Type your message here) -------------------------------- From: lovey dovey I need help in writing a program that takes any integer and...
    4. Platform Coding....
      im attempting to make some sort of platform game which of course requires jumping and landing on platforms and a scrolling background. I have the...
    5. Lil fun be4 coding
      http://www.stud.ntnu.no/~shane/stasj/div_bilder/107.html Have a nice day ! -- Julien CROUZET
  3. #2

    Default Re:coding

    What is your flash version ?

    For MX 2004 you can se directly in the macromedia`s official page !

    Just go to

    macromedia.com/devnet/ There is full action script reference !


    elemental .std webforumsuser@macromedia.com Guest

  4. #3

    Default Re: coding

    First your button needs an instance name. lets say btnMyButton. Then you use
    either

    btnMyButton.onPress = function(){
    //do whatever here
    }

    or

    btnFunction = function(){
    //do whatever
    }
    btnMyButton.onPress = btnFunction


    hth
    }`¬P
    --
    ---------------------------------------
    [url]http://www.phageinteractive.com[/url]
    PhageInteractive Ltd.
    remove mm_ to mail
    ---------------------------------------
    'I wish we lived in a world where it was possible to be religious and think
    at the same time.' - Jonh Graves



    Peter Blumenthal 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