Ask a Question related to Macromedia Director Basics, Design and Development.
-
JJJ5 #1
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
-
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... -
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... -
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... -
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... -
?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... -
JB #2
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
-
JJJ5 #3
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
-
JB #4
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



Reply With Quote

