Forum Moderators: open

Message Too Old, No Replies

Links to Frames Within A Flash Scene

How can I point a basic text link to a frame within my Flash file?

         

cmarshall

11:02 pm on Jul 20, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Stupid question, but I can't seem to find the answer anywhere (maybe because it is so obvious), I have had this happen before.

I have a block of text in a Flash frame.

A few of the words will become a URL, and I want them to refer to a specific frame in another scene within the same file.

However, there seems to be NO DOCUMENTATION that says how to do such an absurdly simple thing. I'm still fairly new to Flash, so maybe I'm googling the wrong search terms or something.

All documentation seems to use geturl to point OUT of the file.

I have no shame, so I will publicly proclaim my dumbassness here, and worship at the august feet of those godlike beings that would deign to impart their words of wisdom on this subject.

-There. Was that laying it on thick enough?

In all honesty, I hate asking these stupid questions, but I need the answer fast.

Thanks in advance.

Richard_N

6:03 am on Jul 21, 2005 (gmt 0)



a URL is an address on the internet not a frame within a flash file so your approaching this the wrong way.

You can create an invisible button over the text to go to the frame you require you simly atatch a gotoandPlay() or a gotoandStop() event to the button

cmarshall

10:21 am on Jul 21, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yeah, that's what I was afraid you'd say.

I can do that, but it does remove the flexibility. Because Flash doesn't support underlined text well at all, I have to draw the underlines by hand. It's actually better to create the buttons as text buttons.

What a royal pain. That just kills the flow completely.

I'm trying to use Flash as a dynamic presentation tool first, Web show-off second.

Thanks

Richard_N

6:23 pm on Jul 21, 2005 (gmt 0)



just change the text colour where you want the link and place the invisible button underneath?

cmarshall

6:44 pm on Jul 21, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yeah, except for the underline. That needs to be drawn. I may be able to use style sheets. I still have a lot to learn.

The problem with buttons is that it completely scrags the ability that you take for granted with HTML, which is to be able to just create inline links as you go.

This means that it follows the flow of text display and browser positioning, etc. Not such a problem with Flash, as it has ironclad control of all graphic elements.

The real problem is in writing dynamic text or localized versions.

I'll figure it out. It looks like I'll be moving towards HTML/Small SWF movies, as opposed to a single, monolithic movie. The problem with discrete movies is that they get bigger, because they can no longer share the library.

Richard_N

10:32 pm on Jul 21, 2005 (gmt 0)



yes they can share a library, provided its specified in the authoring

cmarshall

11:53 pm on Jul 21, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Cool! I'm sure I'll be learning that anon.