Ask a Question related to Macromedia Director Lingo, Design and Development.
-
pixelburger webforumsuser@macromedia.com #1
Re: making simple hyperlinks work
I had considered that option, however, this is a modular design for a CD-ROM learning course, and there are multiple volumes involved. Some fields will be scrolling, so the overlay would not work, as it does not move along with the text beneath.
pixelburger webforumsuser@macromedia.com Guest
-
Making hyperlinks from Mysql
.....hum....ive found asp scripts but none for php. I have a results recordset and in the web link and contact results section i would like to have... -
Hyperlinks in Index Don't Work
I created a book containing several documents. At the end of the book is an index. I converted the book to an Acrobat v5 PDF and checked the... -
Hyperlinks Don't Work
OK. I officially feel like a computer illiterate. I have several web sites on the web; 2 are great, but when I upload the new one, I can not get... -
Addition to Hyperlinks Don't Work
Sorry. Forgot to mention that I am using Pub. 2003. Thanks -
Some Hyperlinks will not work
Some hyperlinks to other pages on my web site will not work when I publish my web site. Different ones may or may not work each time I publish to... -
Inglese a Roma webforumsuser@macromedia.com #2
Re: making simple hyperlinks work
Other than creating using a scroll behavoir that enables you to scroll multiple sprites, then I cant help you sorry.
Let me know if you want it, Ive done one in the past.
Inglese a Roma webforumsuser@macromedia.com Guest
-
Gretchen Macdowall #3
Re: making simple hyperlinks work
In article <bjkt87$i0d$1@forums.macromedia.com>, "pixelburger"
[email]webforumsuser@macromedia.com[/email] wrote:
have created multiple links, and they appear as the typical blue underline> First of all, I have a simple text area with hypertext formatting. I
text that we all know and love. However, when the links are clicked,
nothing happens.sprite, but I have no idea where to start.....yes, I'm a n00b.>
> I'm sure there is probably some simple script I could attach to the textto a tutorial or some such resource where I could walk through it.>
> Could someone please explain the process in simple terms, or direct meWhat are the links to? The following will work if they are links to html pages.>
on hyperLinkClicked me,link
goToNetPage link
end
If they are links to labels in your movie:
on hyperLinkClicked me,link
go link
end
The variable "link" gets passed into the handler by Director when the user
clicks a link and has inside it whatever you entered when you created the
hyperlink. That's why one little handler works for all of the links.
Gretchen Macdowall
[url]http://www.updatestage.com/[/url]
Gretchen Macdowall Guest
-
Pixel Burger #4
Re: making simple hyperlinks work
How could I make that work if I have more than one link (separate URLs)
within the text? Your script may work for a single link on an event, but I'm
not exactly sure how to pass the separate links to the same behavior script.
Pixel Burger Guest
-
Gretchen Macdowall #5
Re: making simple hyperlinks work
In article <bjl576$3u3$1@forums.macromedia.com>, "Pixel Burger"
<pixelburger@yahoo.com> wrote:
You don't have to. Director does it for you. Try the behavior, as it is> How could I make that work if I have more than one link (separate URLs)
> within the text? Your script may work for a single link on an event, but I'm
> not exactly sure how to pass the separate links to the same behavior script.
written, on a text sprite with multiple hyperlinks. As you click each
link, Director extracts whatever you specified in the text inspector for
the link url and passes it to the hyperlinkClicked handler. So each time
you click a link the variable "link" will contain a different url.
Try this behavior on the text sprite instead, to see what's going on:
on hyperLinkClicked me, link
alert "Variable link contains: " & link
end
Gretchen Macdowall
[url]http://www.updatestage.com/[/url]
Gretchen Macdowall Guest
-
Pixel Burger #6
Re: making simple hyperlinks work
I got an error, which is why I was asking for clarification. Maybe this
error message will give you a better idea of what I'm up against.
[url]http://www.pixelburger.com/forum_resources/link_error.gif[/url]
"Gretchen Macdowall" <gcm@updatestage.com> wrote in message
news:gcm-0909031532000001@192.168.1.102...I'm> In article <bjl576$3u3$1@forums.macromedia.com>, "Pixel Burger"
> <pixelburger@yahoo.com> wrote:
>> > How could I make that work if I have more than one link (separate URLs)
> > within the text? Your script may work for a single link on an event, butscript.> > not exactly sure how to pass the separate links to the same behavior>
> You don't have to. Director does it for you. Try the behavior, as it is
> written, on a text sprite with multiple hyperlinks. As you click each
> link, Director extracts whatever you specified in the text inspector for
> the link url and passes it to the hyperlinkClicked handler. So each time
> you click a link the variable "link" will contain a different url.
>
> Try this behavior on the text sprite instead, to see what's going on:
>
> on hyperLinkClicked me, link
> alert "Variable link contains: " & link
> end
>
> Gretchen Macdowall
> [url]http://www.updatestage.com/[/url]
Pixel Burger Guest
-
Doug Golenski #7
Re: making simple hyperlinks work
It would be more useful if you would post the actual code or code snippet.
Based on that error message it looks as if you have several problems with
the code. The other thing to watch out for is that some newsreaders delete
colons and other critical punctuation marks.
hth,
Doug
"Pixel Burger" <pixelburger@yahoo.com> wrote in message
news:bjleta$kal$1@forums.macromedia.com...URLs)> I got an error, which is why I was asking for clarification. Maybe this
> error message will give you a better idea of what I'm up against.
>
> [url]http://www.pixelburger.com/forum_resources/link_error.gif[/url]
>
>
> "Gretchen Macdowall" <gcm@updatestage.com> wrote in message
> news:gcm-0909031532000001@192.168.1.102...> > In article <bjl576$3u3$1@forums.macromedia.com>, "Pixel Burger"
> > <pixelburger@yahoo.com> wrote:
> >> > > How could I make that work if I have more than one link (separatebut> > > within the text? Your script may work for a single link on an event,> I'm> script.> > > not exactly sure how to pass the separate links to the same behavior>> >
> > You don't have to. Director does it for you. Try the behavior, as it is
> > written, on a text sprite with multiple hyperlinks. As you click each
> > link, Director extracts whatever you specified in the text inspector for
> > the link url and passes it to the hyperlinkClicked handler. So each time
> > you click a link the variable "link" will contain a different url.
> >
> > Try this behavior on the text sprite instead, to see what's going on:
> >
> > on hyperLinkClicked me, link
> > alert "Variable link contains: " & link
> > end
> >
> > Gretchen Macdowall
> > [url]http://www.updatestage.com/[/url]
>
Doug Golenski Guest
-
Ned #8
Re: making simple hyperlinks work
you've got a quote problem :
"gotoNetPage "http:...........""
quotes in quoted text can't work, since lingo compiler doesn't see opening
and closing quotes, but just quotes, it thinks that you have to strings,
that should be separated with a comma because passed as parameters :
"gotoNetPage "
and
"http:............."
you'll have to change the inner quotes by another unused char before sending
the handler to the sprite, and then change them back in the handler.
--
----------------
-- Ned
----------------------------------------
Bien faire et laisser braire
----------------------------------------
"Pixel Burger" <pixelburger@yahoo.com> a écrit dans le message de
news:bjleta$kal$1@forums.macromedia.com...
| I got an error, which is why I was asking for clarification. Maybe this
| error message will give you a better idea of what I'm up against.
|
| [url]http://www.pixelburger.com/forum_resources/link_error.gif[/url]
|
|
| "Gretchen Macdowall" <gcm@updatestage.com> wrote in message
| news:gcm-0909031532000001@192.168.1.102...
| > In article <bjl576$3u3$1@forums.macromedia.com>, "Pixel Burger"
| > <pixelburger@yahoo.com> wrote:
| >
| > > How could I make that work if I have more than one link (separate
URLs)
| > > within the text? Your script may work for a single link on an event,
but
| I'm
| > > not exactly sure how to pass the separate links to the same behavior
| script.
| >
| > You don't have to. Director does it for you. Try the behavior, as it is
| > written, on a text sprite with multiple hyperlinks. As you click each
| > link, Director extracts whatever you specified in the text inspector for
| > the link url and passes it to the hyperlinkClicked handler. So each time
| > you click a link the variable "link" will contain a different url.
| >
| > Try this behavior on the text sprite instead, to see what's going on:
| >
| > on hyperLinkClicked me, link
| > alert "Variable link contains: " & link
| > end
| >
| > Gretchen Macdowall
| > [url]http://www.updatestage.com/[/url]
|
|
Ned Guest
-
Pixel Burger #9
Re: making simple hyperlinks work
I think you're right. I think it's supposed to work with solution you
provided in the example. It works fine for me when I run your movie, but I
get an error. I will have to look at the cose more closely, but I definitely
appreciate your help.
"Gretchen Macdowall" <gcm@updatestage.com> wrote in message
news:gcm-1009031014360001@192.168.1.102...> In article <bjleta$kal$1@forums.macromedia.com>, "Pixel Burger"
> <pixelburger@yahoo.com> wrote:
>>> > I got an error, which is why I was asking for clarification. Maybe this
> > error message will give you a better idea of what I'm up against.
> >
> > [url]http://www.pixelburger.com/forum_resources/link_error.gif[/url]
> >
> It looks like you are trying to send a "hyperlinkclicked" message to the
> text sprite via Lingo. Here's a little Director movie with one text member
> and one behavior on it that shows what I mean. Maybe I am not
> understanding what you really want to do.
>
> [url]http://www.updatestage.com/temp/hyperlink.zip[/url]
>
> Gretchen Macdowall
> [url]http://www.updatestage.com/[/url]
Pixel Burger Guest



Reply With Quote

