• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Multiple hyperlinks within a SWF???

jyi786

Supreme [H]ardness
2FA
Joined
Jun 13, 2002
Messages
5,847
Most of you Flash junkies would know this better than me. :p

I made a nice flash file using Adobe After Effects CS3. I just started playing around with it, and it came out nice, but there's only one problem.

This clip is about 30 seconds long, "divided" up into 3 parts 10 seconds long. I want each "section" to have its own hyperlink, but I don't know how to do this. I've tried looking everywhere to no avail. I can get the entire SWF to one hyperlink, but that's useless.

In other words, I want someone to be able to click on one section before it goes to the next, and it would have its own hyperlink.

I appreciate all help and suggestions.
 
If you have a movieclip on each section that the user can click on, then use the following code in your Actions layer:

<movieclip>.onRelease = function()
{
getURL("<URL>", "_blank");
}

and just change the URL for each frame to go to a different link (assuming you're using frames)
 
Tabris_Zero,

Lots of ways to do this. You could put each section into 3 seperate movie clips and then play each one with three different buttons.

You could use scenes.

You could add labels to the frames and have a frame with "part1" another with "part2" and the last with "part3". Then for example on a button click write this code gotoAndPlay("part1")

Send me your .fla and I will help you get started. dnelson at imagetrend.com

-Dan
 
Back
Top