This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > April 2004 > how do i link an object in Flash to an HTML link?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author how do i link an object in Flash to an HTML link?
eniGMa-TheBiG-Man

2004-04-21, 3:14 pm

hi ppl,

i want to make a link on an HTML page to an object (layer) in a flash window
- this should be possible for multiple layers using different links,

when doing this the frame should somehow be highlited or the flash movie
should jump to a further frame in this layer.

can someone please help me out? THNX!

PS: if the second part is not realistic it doesnt matter

cVarz

2004-04-21, 3:14 pm

I am not sure I understand the question. Are you trying to link an object in Flash to an html page or picture? Or are you trying to control something in Flash with an external html link?
MailManUSA

2004-04-21, 3:14 pm

I was actually wondering the same thing...I think!

I am actually JUST beginning to learn Flash so I'm not sure if this is at all
possible. I have three layers, 35 frames apiece (Note: the following is the
exact order in my FLA):

L1] sound
L2] Shape tween
L3] 34 blank frames, 35th has text which just says click to enter

In the 35th frame of L2 (layer 2) I have a shape, an "X" to be exact. I would
like to have it so that when a user clicks on the "X" they are sent to a PURE
HTML page. I guess you could think of this Flash file as an into (for neubs).
I already tried editting the HTML file Flash generated and surrounding the
<OBJECT> tage with an <a href=""> tag...no luck! I'm just about to take a look
at the Action Script section of the book I'm reading. Would that have anything
to do with the outcome of my question? Thank you in advance.

Adam

cVarz

2004-04-21, 3:14 pm

You can do this in a number of ways, the easiest. Make the X from the text
tool, or, make the X with a graphic program so that the X is actually a picture.

Click the picture once so it's highlighted, then in the behavior panel, click
+, "goto web page" then enter your URL of the HTML doc you want to go to.

The behavior should look like this:

on (release) {

//Goto Webpage Behavior
getURL("http://www.macromedia.com","_self");
//End Behavior

}


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews