Make An Element Other Than Text Contain A Hyperlink?

Sep 1, 2009

I'm creating a swf that will go on a web page. It involves a circle which is divided into several portions, each of which must link to a different site. I've created the circle and a simple animation that will serve as the hover state for each of the segments, now all I need to do is get the appropriate links implemented. I know how to add a link to text in Flash, but is there an easy way to add one to another element such as a movie clip?

View 6 Replies


Similar Posts:


ActionScript 2.0 :: Adding Element To Function To Make Text Fade?

Feb 2, 2006

I'm looking to add an element to this function to make my text fade. On (release) of my 'biog' button this function starts. But also I need my text on the page to fade from 100 to 0 on release, before this function begins. I've tried applying code that I have but can't get it to wrk. Not sure how these functions work exactly and no matter how much reading I do I can't get this right.

scrollIt = function() {
this.onEnterFrame=function() {
if (_root.container1.SUB._x>440) {
_root.container1.SUB._x += -30;
} else if (_root.container1.SUB._x>-30) {
_root.container1.PAGE._x += (-40-_root.container1.PAGE._x)/8; _root.container1.SUB._x += (0-_root.container1.SUB._x) /2;
} else { delete this.onEnterFrame;
}}}

View 13 Replies

Hyperlink - Puting Other Link On The Flash Element With Internal Link Inside?

Mar 7, 2011

How to change a link inside the flash element? I have SWF file with set a link inside and I want to change to mine on the website. This thing I need to control the advertisment system.Trying this, but not working:

<style>
#content {
position: absolute;
z-index:2;

[code]....

But you need everytime to put top, left, margin-bottom parameters. Can someone modify it to make working correct without pointing top, left, margin-bottom parameters?

View 2 Replies

Actionscript 3.0 :: How To Make A Hyperlink

Sep 29, 2009

You know how when you click on youtube's video it takes you to a youtube page with the video. i am trying to make the same thing for my video. basically, i need a way to make an invisible frame put it on the entire stage, and decide when to show it.( when it becomes clickable and when not.. )...so i am guessing an invisible BUTTON?

View 2 Replies

IDE :: How To Make The Multi-hyperlink

Sep 10, 2009

i got a problem with building a Menu for my website, i'm using CS3, Actionscript 3 and i've a lot of buttons for one page, but i don't really know how to code them, because i juz know how to code single Button example :

btn1.addEventListener(MouseEvent.CLICK, goToEnter);
function goToEnter(event:MouseEvent):void{
navigateToURL(new URLRequest("http://www.exaple.com"));
}

so this is for single button, how if there are 5 buttons?

View 2 Replies

ActionScript 3.0 :: Link Text Hyperlink In Dynamic Text Box To Label

Nov 3, 2010

I have an AS3 flash movie and each page is a new frame. On my pages are dynamic scrollable text boxes that I created with the text tool. I would like to be able to make a piece of text a link (ex. click here for prices) so that it will direct the view to another page (label). I cannot figure out how to do so.

View 2 Replies

Make A Flash Ad A Hotspot / Hyperlink

Oct 21, 2009

I have created a simple Flash ad that will appear on an external website. How do I make the whole ad a hotspot or hyperlink? I simply need it to become a hyperlink to a website when clicked on.

View 13 Replies

Professional :: Can't Make Hyperlink Work

Nov 10, 2010

When I test the movie my hyperlink works fine, but when I publish it, doesn't work. I'm not experienced with ActionScript. Here are some screen shots of what I got...

View 3 Replies

ActionScript 3.0 :: Make A Different Hyperlink On Different Image Transition?

Aug 21, 2010

I got 3 images in one transition, but the problem is only the first image's link workingThe 2nd and 3rd image's link is not working.

Scripts
import flash.events.MouseEvent;var intel:URLRequest = new URLRequest("http://www.intel.com");var amd:URLRequest = new

[code].....

View 6 Replies

Professional :: Make A Hyperlink With Arcade Button?

Sep 23, 2010

I do not know really anything about ActionScript. I have completed a tut on it but that is all. I am trying to make a hyperlink from a classic arcade button but the code I found is apparently from AS2.

View 1 Replies

ActionScript 2.0 :: Make A Hyperlink For A Word In A Sentence?

May 7, 2003

how to make a hyperlink for a word in a sentense?

View 4 Replies

Professional :: Add A Simple Hyperlink In My Xmlhtml Hyperlink In My Xml?

Jan 11, 2010

I want to do is add a simple hyperlink in my xmlhtml hyperlink in my xml.how to do a hyperlink in xml.This is what I do know,you can add the <a href="http:[url]...but that does not work for me,when i save and preview my fla, it takes away my scroll bar that i have.I have also seen somwhere you can use the <?[[DATA tag, but this aswell doesnt work for me in my FLA, is there somewhere i need to reference hyperlinks before I can modify my xml?

View 38 Replies

ActionScript 2.0 :: Hyperlink The Text From XML?

Jun 28, 2007

I created a table in flash that holds some informations in rows (something like: Date, Company, Article - per one row). All entries are made by one single XML file. My objective was to create a DOWNLOAD ARTICLE button, or at least hyperlink TEXT so one can download a file related to the information given.

I made an intelligent trick I've putted invisible buttons in every row and hyperlinked them (in Flash, not XML) with general names (01.doc, 02.doc, 03.doc...) as this table is meant to be updated.

If you don't understand what I'm talking about, enter here to see the table in function [URL]

View 5 Replies

Create A Hyperlink In Text Field?

Jul 14, 2010

I am trying to create a hyperlink in my text field that when clicked will take you a website target a _blank page.I have created a text field and input the website through xml - src, I put the text field inside a movieclip - link, i created a sprite and put that in the movieclip. However anytime that I try to click it, no matter the configuration I get one of two errors: Error #1069: Property loader not found on flash.text.TextField and there is no default value.^^Is the most common The other one is I believe Error #1010 Can not target and object of null reference?? Something along those lines.

My Code:

var link:MovieClip = new MovieClip();
var anchor:Sprite = new Sprite();
anchor.graphics.drawRect(265, 235, 690, 20);
anchor.graphics.beginFill(0x00ff00);

[code]....

View 4 Replies

ActionScript 3.0 :: Hyperlink Rollover - In Text?

Feb 3, 2009

This is killing me - I have looked everywhere and cannot find a truly actionscript solution to creating a hyperlink in text and to have the color of the text change on rollover. I am doing the following

ActionScript Code:
menu1TXT.htmlText = '<a href="event:featured">featured</a><br/>'

I am not really excited about doing css solutions so I was hoping for a different solution. In fact a better solution then htmlText would be even better. I really like the power of the "addEventListener".

View 1 Replies

Flash - Know When A Hyperlink Within A Text Field Is Clicked?

Jun 4, 2009

In Flash, is there any event when the user clicks a hyperlink in a TextField?

View 4 Replies

ActionScript 2.0 :: Hyperlink In Dynamically Loaded Text

Feb 18, 2004

Im currently doing a quiz, which, after the user completes all the questions, displays the users score and depending on that score, a certain message ie

if (score<=2) {
Score_Msg.text =" That was poor!":
} else if (score<=5) {
Score_Msg.text = "You know a bit but not much";
}

In the text, i want to include a hyperlink. Is there anyway of making certain parts of dynamically loaded txt into a hyperlink?

View 2 Replies

ActionScript 2.0 :: Create A Hyperlink In A Dynamic Text Box?

Apr 4, 2003

Ok, it is possible to create a hyperlink in a dynamic text box. But it is possible to load a Movieclip from this hyperlink, instead a web address?

View 5 Replies

ActionScript 2.0 :: Converting Certain Lines Of Text To Be Hyperlink

May 18, 2010

I have a project where I'm working in Flash CS4 on a presentation that runs in ActionScript 1.0. I need certain lines of text to be hyperlinks. I have two instances in which there is an e-mail link and a URL link which are part of a larger block of text, and one instance with just the URL alone. So far I used the method where I used the Properties window to make the box static text and the text fields I require have been made into links, as well as making other instance dynamic text. Thing is the HTML version of the file works all right, but the swf version doesn't hyperlink properly. If I click on the link, it accesses my browser but does nothing else. Let me know if there's anything else I need to elaborate on from my end.

View 2 Replies

CS3 Hyperlink Text Animation Navigation Change Color

Apr 7, 2009

I have CS4 and have (it has taken over a month) created a banner with moving clouds (912 x 74). To the left is our company name and all I want to do is have a navigation menu across the bottom. I did not want buttons, but text with a dignified mouse over effect or color change. The links would be to .php pages and the would read Requirements, Samples, Pricing, FAQs and Contact. The dev site is at [URL] where you can see what I have already done.

View 5 Replies

ActionScript 3.0 :: Showing RSS Feed In Dynamic Text Box (with Hyperlink)

Mar 16, 2010

I am currently trying to pull RSS data into a project for my first time and am trying to get 3 (potentially 4) boxes filled with rss data that will be updated. So far, I am going with Actionscript 3. So far I have the code below, but it puts data in a listbox. What is the easiest way to put the data in three dynamic text boxes inside a movie clip, so I have one for the title, one for description and one for link (shown as 'read more' text but a link using the url from the rss value)?I am really banging my head against the wall on this one and want to get it sorted asap,I have also attached an image to show what I am trying to do:I also want to know if it's possible to show rss values only if they exist. For example, my xml feed currently only has 3 items that change, and i will be assigning these to boxes, but is it possible to display a fourth if it exists, and if it doesn't it just shows the first?[code]

View 3 Replies

ActionScript 3.0 :: Hyperlink Text - File To Open Up In The Same Window?

Jan 13, 2011

I have attempted to have a hyperlink text using actionscript:

[Code]...

when I run the code it always creates a new window to open up the file in. I have even attempted to switch out _self with _top, _parent, and _blank, always with the same result. I simply want the file to open up in the same window.

View 2 Replies

Professional :: ClickTag On Dynamic Hyperlink Text In Scroll Box

Aug 15, 2011

Is it possible to add a ClickTag for tracking purposes to dynamic text (hyperlink) in a scrollbar box in Flash CS5?  I have ever only added a ClickTag to a button and/or banner before.

View 1 Replies

ActionScript 2.0 :: Hyperlink In Dynamic Text Field From Xml File

Mar 25, 2009

I'm pulling data from an XML file into dynamic text fields in Flash. I have a field where I want to pull in a different url for each node, but display the same text and I'm not sure how to set that up.

View 4 Replies

ActionScript 1/2 :: Hyperlink Button With Variable From Text Input Field?

Jun 24, 2009

I have a text input field called 'phone' and a button with the GetUrl function. Button script looks like this:

on (release){getURL("http://url/sendlink.page?country=160&phone=phone&keyword=33&msgtype=26", "", "POST");}

First of all when I press the button nothing happens. When I paste the link directly into my browser everythinbg works as it should. But not from flash file.

adding the 'phone' variable into the hyperlink. What do I write? Something like this: [URL]

View 13 Replies

ActionScript 3.0 :: Hyperlink Text Will Not Work With _self, Only As Self And Then Creates Window?

Jan 14, 2011

I understand that the code below should work but it doesn't, I have to take the underline before self out, for the hyperlink to work at all, and then it creates another window for the file. There may some sort of glitch that I am not aware of. But the code below does not work as is in my app. 
 
var t:TextField = new TextField();
t.htmlText = "hello world"+ "<a href='weeTestPage.html' target='_self'><u>click here</u></a>";
t.autoSize=TextFieldAutoSize.LEFT;
addChild(t);

View 1 Replies

Professional :: *EMERGENCY* Convert Broken Text Into Single Hyperlink?

Nov 17, 2011

I have been handed a clients project that goes live tomorrow from the boss who just fired the guy who was working on it. I AM NOT A FLASH EXPERT! If you can walk me through step by step how to do this,I have a Flash (AS3) intro homepage, the index page is already written and setup. A Mask and fill approach was used to create the animated effect in which the text gradually appears. In order to do the fill, the text 'Home' 'About' 'Works' 'Contacts' are all broken apart text (i.e. (H)(O)(M)(E)) Here's what I need to do and would not even know where to start. How do I convert each of the words which are made up of broken text, into navagation buttons as hyperlinks to the other documents in the page (i.e. convert (H)(O)(M)(E) into HOME which you can click on and be taken to index.htm)

View 7 Replies

ActionScript 2.0 :: Dynamic HTML Text... Hyperlink Triggers Function?

Jul 22, 2004

I have a flash movie with a dynamic loading textfield formatted in html. What I'm looking to do is format (using a tag?) the loaded html code to have a hyperlink (<a href?>) gotoAndPlay(2) or perform other functions.

View 3 Replies

ActionScript 2.0 :: Give The Hyperlink To Dynamically Loaded Xml Text In Flash

Sep 1, 2005

my question is how to give the hyperlink for the dynamically loading xml text in Flashmx.

View 1 Replies

ActionScript 3.0 :: Make A Navbar With An AddChild Element

Jan 6, 2010

I'm creating a simple AS3 based navigation bar that has a child that comes up when you rollover the Portfolio button. Problem is rolling out. See if you mouse out of the button you lose the child. Now you should but only when you're out of the area of both the button and the child. Not just the button. Like most navbars you see on websites. How can I achieve this using AS3?

View 9 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved