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

  1. #1

    Default links, scaling

    I've only started using director, so excuse my entire lack of knowledge and
    stupidity. I have a few basic questions.

    1. I know I can use part of the text within a text box to create hyperlinks by
    going to Window -> Inspectors-> Text and typing in the address. What about a
    link to a marker?

    2. It's easy to change the cast member and location in a sprite's behavior,
    but what about rescaling or resizing it? I am trying to read up on lingo, but i
    haven't found a way to rescale it in its behavior. I am use to C, and lingo
    looks a bit wierd to me.

    3. I've some of the replies about having clocks in the movie, what about
    digital clocks which uses one's PC as a reference?

    Thanks.

    JJJ5 Guest

  2. Similar Questions and Discussions

    1. scaling
      How do I check to see if an image has been scaled. The scaling in the top menu shows a file is still 100% but I can tell it has been scaled. How...
    2. Links not scaling consistently in Transform window
      I’ve inherited catalog files constructed in ID2 that I’m working on in IDCS. I have 100’s of small linked CMYK Tiffs (<2”x2”@300dpi) that I’m...
    3. Scaling with 10.0.3 in OSX
      I used to be able to hold down the shift key while resizing objects and they would retain their integrity while scaling. However I have just upgraded...
    4. When we move Image Links and HTML links
      On our Local Site (hard drive), our web projects is almost complete and we have already uploaded and sync the internet site (remote site). I have...
    5. ?Hard links, Soft links, & Aliases--Explain
      Hi All, Could some knowledgeable UNIX type please explain the differences between hard links, soft links, and traditional Mac aliases. Responses...
  3. #2

    Default Re: links, scaling

    The hyperlink setup using the text inspector passes the entered link to
    a handler when clicked, you deside in that handler code how to respond
    to th click, going to a marker takes about the same effort as calling a
    web address.

    You can change a sprite's rect or it's width and height to alter it's
    dimensions, there are some predefined behaviors in the Library pallete
    that allow the end user to interactively resize a sprite, these behviors
    might be a good jumping off point.

    The Time returns the user's system time, you can put the time string or
    a portion of it into a a text member, perhaps using an LED style font.

    member("timeDisplay").text = word 1 of the time -- truncating AM/PM
    JB Guest

  4. #3

    Default Re: links, scaling

    thanks.

    with the rescaling problem, i've been having trouble with the syntax from the
    standard library.
    can someone give me a sample line that works?
    sorry, i just don't get lingo at the moment, trying to read up on it.

    JJJ5 Guest

  5. #4

    Default Re: links, scaling


    on hyperlinkClicked me, data, range
    if label(data) then -- validates that marker exists
    go to data
    else
    alert "no such hyperlink marker: "& data
    end if
    end



    on way to scale a sprite dims

    scaleFactor = .5

    sprite(1).width = sprite(1).width * scaleFactor
    sprite(1).height = sprite(1).height * scaleFactor

    this shrinks it toward the upper left unless it's a bitmap with a
    centered regpoint.




    One lingo trick is rect math:

    sprite(1).rect = sprite(1).rect * .5

    will half the dimensions, but also move it half way to the 0, 0 location.
    JB 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