Rollover Effect On Dynamic Textbox Links
I have a dynamic textbox that scrolls. inside is a list of different websites (much like the one shown on a kirupa tutorial). I need the hand to show up when it goes over certain links, or get a roll over effect (much like css). how do i do this?
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 06-07-2005, 11:36 PM
View Complete Forum Thread with Replies
Sponsored Links:
Links In Dynamic Textbox
Hello,
I have a dynamic textbox of which render as html is selected.I am passing the link from php to flash.
Problems:
1. I have to pass a link which includes the char "&" and this causes problems.(Ex: index.php?go=1&show=3)
2. I wand the text to be alined at center but i couldn't figure it how,choosing aling center at flash does not work. Also i tried to pass the variable including the <center></center> tags but no use.
I will be glad if you can help me.
Thanks for taking your time
View Replies !
View Related
Links In Dynamic Textbox
Hello,
I have a dynamic textbox of which render as html is selected.I am passing the link from php to flash.
Problems:
1. I have to pass a link which includes the char "&" and this causes problems.(Ex: index.php?go=1&show=3)
2. I wand the text to be alined at center but i couldn't figure it how,choosing aling center at flash does not work. Also i tried to pass the variable including the <center></center> tags but no use.
I will be glad if you can help me.
Thanks for taking your time
View Replies !
View Related
Dynamic Textbox With Scriptable Links...
I'd like to create a dynamic textbox (with autoscrolling). The textbox will pull it's info from an external .txt file. The info it pulls will be a list of individual names... and each name will be a link in flash that will target an internal MC to load different content into it (i.e., another .swf.)
I'm guessing this may not be too difficult (?) - but I haven't done it before... anybody have any suggestions or perhaps template file for this?
Thanks,
- Brian
View Replies !
View Related
Dynamic Textbox Links Unstyled
Hello,
I have created a dynamic text box that is HTML enabled and I import text to it from a .TXT file. Everything displays correctly: <b> tags are bold, <i> tags are italic and <a> tags link to another webpage.
My problem is that when I use an <a href> the link looks like the rest of the text instead of being underlined or blue or some sort of link delimiter.
I would love to use CSS but alas, I only have FlashMX, not MX2004.
Does anone know how to make these links into obvious-looking links?
Thanks!
View Replies !
View Related
Dynamic Textbox With Active Links That Have Actionscript...
I'd like to create a dynamic textbox (with autoscrolling). The textbox will pull it's info from an external .txt file. The info it pulls will be a list of individual names... and each name will be a link in flash that will target an internal MC to load different content into it (i.e., another .swf.)
I'm guessing this may not be too difficult (?) - but I haven't done it before... anybody have any suggestions or perhaps template file for this?
Thanks,
- Brian
View Replies !
View Related
PHP Links As Result In Flash8 Dynamic Textbox
Hi to all. I'm user that is able to make some good things using PHP 4 (version 5 is not interesting for me yet). After some time I saw many nice Flash based web site and I got idea to make Flash menu which is able to show results from PHP code. I wrote PHP code that read active directory and show files (PDF) as links in order to be selected and opened. I tested it and working fine but when I each link transfered by variable to Flash there it presented together with HTML formatting codes, without any presence that they are links! I made this textbox like dynamics, put code, activate option HTML and multi line but result is completely different! I tried and tried... and gave up. As last destination in my research I decided to try to find out here possible question. Thanks in advance to everyone. If someone need PHP code for better understanding I could show it and other things from Flash.
View Replies !
View Related
Not Opening Links In Dynamic Textbox Pulled From LoadVars()
I have a collection of text files that I am pulling out of to generate text for a dynamic text box. It reads the files and the formatting properly. When there is an html link (<a href......) it won't let the link work. The cursor turns into a hand and acts as if there is a link. If I right click on the link it gives me the options to Open, Open in a new window, or copy link. If I copy and paste the link, it works. Whenever I just single left click on the link, nothing whatsoever happens.
Below is a segment of the text file that I am trying to pull. Reminder, it prints the text fine (it does not print the html code)
<a href="http://www.microsoft.com/athome/security/spyware/default.mspx" target="_blank">Microsoft Windows Defender</a>
I have tried with and without the 'target="_blank"' with the same results.
I am at a total loss, and facing a deadline. Any ideas?
View Replies !
View Related
Marquee Effect In Dynamic Textbox
Hello all,
I have a dynamic flash textbox that loads a large text in it [the textbox is single line , not multilined]
I want to make the text scroll as the marquu tag in HTML..
how to do it ??
Startig from the beggining of the text it must reach to the end of the text..
Hope you all get me.. thanks bye
View Replies !
View Related
[mx] Rollover On Dynamic Links?
hey,
i have multi text field that is populated with links from a text file. I have links in the text like so:
&chrono=
<a href='asfunction:_parent.traceIt,1'><p align="center">Cosmetic Consultations</p></a>
a href='asfunction:_parent.traceIt,1' calls my function which loads in other things etc. I was wondering if there is any way to have rollovers on the text buttons? i know it is probably not possilbe, but if anyone has any good ideas, let me know!
thanks.
View Replies !
View Related
[mx] Rollover On Dynamic Links?
hey,
i have multi text field that is populated with links from a text file. I have links in the text like so:
&chrono=
<a href='asfunction:_parent.traceIt,1'><p align="center">Cosmetic Consultations</p></a>
a href='asfunction:_parent.traceIt,1' calls my function which loads in other things etc. I was wondering if there is any way to have rollovers on the text buttons? i know it is probably not possilbe, but if anyone has any good ideas, let me know!
thanks.
View Replies !
View Related
Rollover Links In Dynamic Text, Xml
So I've got a textbox that loads in 1 tag of xml (the other tags get put into other text boxs). What I need is to make my links have rollover colors and different. Is this possible? Right now my xml for links looks like this:
[a href=]'www.hangar-7.com'[a]http://www.hangar-7.com[/a]
Then the flash code to turn my []'s into links:
content_content = content_content.split("[a href=]").join("<.a href=");
content_content = content_content.split("[a]").join(".>");
content_content = content_content.split("[/a]").join("</a.>");
(i put little dots so it doesn't turn into a link on flashkit)
How can I incorporate rollovers/css into certain text?
View Replies !
View Related
Underlined Links On Rollover, In Dynamic Text?
Hello,
I have to make a website in flash with a lot of texts, and i would like to change the color of the links which it contains when the cursor is over them. The text is dynamical (database generated).
This kind of thing is easy to manage in HTML, with a simple CSS, but is it possible to do this in flash?
If someone knows...
RMK
View Replies !
View Related
Underlined Links On Rollover, In Dynamic Text?
Hello,
I have to make a website in flash with a lot of texts, and i would like to change the color of the links which it contains when the cursor is over them. The text is dynamical (database generated).
This kind of thing is easy to manage in HTML, with a simple CSS, but is it possible to do this in flash?
If someone knows...
RMK
View Replies !
View Related
Multiple Dynamic Text Links On A Rollover Movieclips
I need help on having a kitchen sink based nav. The idea is to show only one sink at a time when the list is rolled over.
The rules are:
- hide the sink when the mouse rolls out of any of the list or its sink boundaries.
- the sink remains open when mouse moves to and on the sink.
- have dynamic links in the sink and should be individually clickable with different urls.
The problem that I have is that when I assign the whole movie clip with the dynamic text in it, I cannot click on the dynamic links. Why?
My hypothesis is that maybe the "list" movie clip is above the dynamic text links. If this is true, how should I implement this kitchen sink nav?
View Replies !
View Related
Rollover Links In Dynamic Text Fields (with Actions)
Hi all,
I am currently working on a record label's site, and they want to able to update their "releases" section quite frequently without having to open the .fla and rexport the .swf. So I went with the system of updating using .txt files which has worked fine until now. I'd like those hyperlinks to run actions when clicked rather than link to URL's. So in other words, i'd like it to load a .swf file into a MC container.
Possible?
If not, what is the best way to go about this?
View Replies !
View Related
Dynamic Menu And Rollover Effect
Here's the situation:
In my main timeline I have a Store movieclip. The store movieclip is what you see here: http://victoriakeencom.ntitemp.com/Flash/test.swf
The categories box contains a movieclip(categoriesMC) that has a scrollpane, and the rollover effect in the timeline. Within the scrollpane is another MC that contains the dynamically generated menu (from ASP) using createEmptyMovieClip and createTextField.
The problem:
Without the rollover effect, everything works fine. I can click on the dynamic categories menu, then the items will show up, then I can click on the item I want and the details will appear. When I add the rollover effect, depending on how I set it up, either the rollover effect works fine and I can't click on the dynamically generated buttons (this is the way it is now at http://victoriakeencom.ntitemp.com/Flash/test.swf). Or, I can click the buttons, but the rollover effect is interrupted and reset everytime I pass the mouse over a button.
How would I go about making a rollover that won't be interrupted and would allow me to click on the dynamic menu? Is there a way to do this using hittest? I've been experimenting and at the moment I'm stumped.
Thanks for your help.
View Replies !
View Related
Links Within A Textbox?
I have never seen this done, that I know of, so it might not even be possible. But I have created a flash website with a dynamically loading textbox, which pulls text from a text file. Within that text file there are possibly at times going to be links. <a href="blah">Blah</a>. I've set up my dynamic textbox to read HTML. It works like a charm. If you click a link, bam opens up exactly what you wanted. However, some of the links within the text will be to other pages within the same site. I'm using one swf for the entire site and a movieclip for the navigation that when a button is clicked on a different text file loads. So how is it (if at all) possible to make a text/HTML link within Flash either A) go to another frame, B) go to another scene, C) load a movieclip or D) change the variable that represents which text file to read from.
For example, if I have Click Here to view the Calendar of Events as a text link within a body paragraph in my movie, where would I put the Calendar of Events (separate frame, separate scene, nowhere) and how would I call it by just clicking on the link.
Thanks in advance!
View Replies !
View Related
Rollover On A Button With A Textbox In The Way
HI, looking for some suggestions:
I am trying to create buttons with rollover, that also have a dynamic textbox on it. What I am finding is that the area of the text box does not allow for the rollover state of the button. I have tried creating the button with the textbox on a seperate layer, doesn't seem to work.
Is there a better way to build this?
Any suggestions would be great.
-Tea
View Replies !
View Related
HELP With Textbox Inside Rollover MC
I have been trying to figure a solution to this problem. I have a rollover script:
on(rollOver){
gotoAndPlay("bar in");
}
on(rollOut){
gotoAndPlay("bar out");
}
I use this to open a calendar month, but when the window scrolls open there is a textbox with a scrollbar, because i can only open the window to a limited size. My problem is that this script does not allow me to scroll the bar in the textbox becuase the whole window reads a button. I did this so that when you roll out of the window it would close. Can anyone please tell me how i can activate the scrollbar but still allow me to close the window when you rollout? THANK YOU IN ADVANCE!
View Replies !
View Related
Textbox+htmlText+css(on Rollover Of Link The Format Of Text Changes)
Hi,
Iam using a dynamic textbox with autosize true.i am also using css to with rollover and normal color to text links.
I am loading data from xml file,the text also conatin img tags for images.
I am attaching images in the textbox along with text.
the problem is when i rollover the links the format of text changes.
Code:
The textNode in the xml file
"<text1><![CDATA[jdlfdf ddsd-dd-sdsdsdsd dsdsds dd dskdshks sdsdsdsd<br>in its class. <a href='asfunction:_root.displayGlossary'><u><B>Exte nded service intervals</B></u></a>,<br><a href='asfunction:_root.displayGlossary'><u><B>hdsk d hskd hskhdks</B></u></a> (khskd hskdsk sgksgds dsgdkskd sdgskdgks dsdsk d dssd ddsk d dsdskd), khskd sdshdk dsdksd hdskd sdsdk dshskhs ds dks d dshdsk dssk dhskhdskd <br>cost. <br><br><a href='asfunction:_root.displayGlossary'><u><B>The free full maintenance</B></u></a> program covers all <br>ggddj sgdsjgdsjdsjd sdjsgdj dsgdgsdjs dsdgs ds dsd<br>as indicated by the <a href='asfunction:_root.displayGlossary'><u><B>hshs ds hskhdskhdskhds skdsd.</B></u></a><br><br>khxkhcxkhcxkhcxc kcx hxchxk cxccx cxxcx <br>khkhkhdf dfdhfd ddhf dfkdd fdfk fdhff dfkdfkd<br>ljdjsls ss sjs djdsljdsljdsljdsl dsjdsl ds ds ds dljds ldsdsds<br>these:<br><br><img src='arrow1' align='left'></img>ljljl jgflgf fjlfg ff<B>khkdhsds hdskhdsk</B> (manual transmission)<br><br><img src='arrow1' align='left'></img>khkhsk sh skdhskd ss<B>lhshdsl ds shsl dshdlsd]]></text1>"
my CSS sheet contains:
Code:
a:link {
color: #ffffff;
text-decoration: underline;
}
a:active{
color: #666666;
text-decoration: underline;
}
.bullet {
list-style-position: inside;
list-style-type: disc;
color:#ffffff;
}
my Code
Code:
mytext.autoSize = true;
mytext.styleSheet = myCss;
mytext.htmlText = xmlText;
Another problem is if i make autosize property of textbox true then images are not loaded in the textbox,so i place textbox with porper height so that whole text covers in the textbox.
pls help
Thanks in advance.
View Replies !
View Related
Help With Rollover Links
I have probably a simple ?
in this sample picture how could I in Flash make the bracket borders move with the mouse to the links and kind of settle in in an exact spot? I want the border to follow the mouse to whatever link I am poiting too and stop exactly enough to fit perfectly around the link and stay there(if I have'nt clicked on a link yet) until I move the mouse back over to the flash animation.
View Replies !
View Related
Blink Rollover Effect On Rollover
- i have three layers within the OVER state of a button (layer1, layer2, layer3)
- layer 3 has a rollover fade in effect for my button
- layer 2 has a blinking effect for my button
- layer 1 is the canvas of my button
I just want layer 3 to animate 1 upon rollover but has layer 2 keep on blinking while the user has its cursor on the OVER state of the button.
I have the "stop();" actionscript function for the rollover fade effect on my layer 3 but it stops everything! I want the layer 2 effect to continue the blinking.
I have tried extending the keyframe time on layer 2 but that didnt work.
Anything else I should try?
View Replies !
View Related
Text For Links And Rollover
Im using text input tool for my links. When I run the movie file and rollover the text it changes the cursor to the little hand click icon for each letter. This is annoying.... Im sure its just a matter of converting the text to something. Anyone know what it is? thanks
Ive used input text for my links... I make a copy of each link only the 2nd copy was in bold. Id like to have the effect that when I rollover the nonbold text it would show the bold text. Im assuming ill have to convert the text to something... i dont know what (was hoping you could help me on that one) and then I need to enter the actionscript. I can get the rolloverpart but im not sure what comes after that.
View Replies !
View Related
Rollover Links In Scrollbox Help
Hey there,
So I am having an annoying problem with some actionscript from a tutorial on this site - I tried e-mailing the writer, but his e-mail is disabled.
http://www.actionscripts.org/tutoria...ox/index.shtml
Now, this is the site I am working on:
http://www.milesbrownmusic.com
My problem is that I want to include links in the Scrollbox, but I cannot at the a href coding without breaking the code and getting an actionscript error in the .fla
For instance - On the music page I would like to include all of those link in a scrollbox, but I have had to resort to rollover images because I'm in high school and a major newb to this web business.
Does anyone know what I need to do?
Thanks,
- Sarah
P.S. - If anyone knows how to get the links to change color from black to brick red on rollover, I would like to learn how to do that too .. thanks!!
View Replies !
View Related
Rollover Text Links
Hi there,
Does anybody know how to make text links rollover like on the "Ask Us What We Do" page of this flash site:
http://www.avb.ie/home.html
I've been trying to use CSS but without any luck.
Thanks!
Andrew
View Replies !
View Related
Rollover With Multiple Links
Hello,
I've inherited a job that sounds simple but I need some advice. Here's the layout - I have a map of the US with rollover buttons in a few of the states. When you rollover the buttons (they are small black dots) the name of the place appears to the right and if clicked, it takes you to a detail page (not dynamic). Pretty straight forward right?
Here's what I've been asked to do - when someone rolls over a button (the small black dot), I need to make a larger graphic of the particular state selected fade in or grow and expand over top of the original state. In the larger graphic that appears, I need to create buttons/links to the detail page. If the end user decides to try another state, I need for it disappear once they roll off.
The reason - more buttons (the small black dots) will be added and will start to crowd the smaller state images and I need to offer a way to kinda zoom in and bring the info for each state into a larger more readable view.
To get a better idea, here's a look at the web page:
http://store.webstorepackage.com/imi...BE72D83C38.asp
Any feedback, advice, tutorials would be much appreciated.
Thanks
View Replies !
View Related
Loading CSS And Rollover Links
I will attach my files. Please let me know where I am going wrong. I have read tute's and have had little luck.
Here are the basics:
8 dynamic text boxes
8 pieces of text loaded via text file
1 CSS document to style the 8 dynamic text boxes
I will be adding more text boxes down the road, up to about 20.
I guess it would be better to put this all in an XML file or something.
Really just need to the text in the text boxes to use the CSS to rollover.
Here are the files.
Thanks for any help!!!
View Replies !
View Related
Help With Links And Rollover Effects
Hi folks,
I'm pretty new to Flash in general, and I'm trying to put up a slick website for my illustrative work. At present, I understand animation and movement pretty decently. I'm at the point where I could probably put together an entire site - if not for these pesky links and rollovers!
I'm needing to solve these problems (I'm working in ActionScript 3.0 in Flash CS3):
- I have a preloader that essentially works, but I don't think it's set up right to fix the time it is loading with the time it takes the page to load. Basically all I think it's doing now is playing for the length of the timeline it occupies..
- I cannot get my "Skip Intro" button to link anywhere. I just need it to link to my external homepage swf, called "home.swf". I see the hand sign, as it is a button, but it will not link out to another page (which I'd like to be self-contained, not opening up another window). I've tried many versions of code I've found through Flash help places I've visited online.., nothing works..
- I need the last frame of the intro to automatically redirect to the "home.swf" page - in the same window. Right now it just keeps looping, although I have a "stop" on the last frame of the last row/layer, and I've made certain there are no other layers that are longer than this row.
- Once all of my menu buttons (which are actually movies) load on the "home.swf" page, I'd like them to serve as buttons that will link to the other pages (within the same window). But I can't for the life of me figure out how to link these movies to the URLs for the corresponding pages, or how to accomplish rollover effects (just a simple contracting/expanding of the button-movie based upon whether the mouse is over it). I've followed 2 tutorials and came up dry.
- Last, I'd like the "home.swf" page's exit animation (when a user clicks on another page via the menu buttons) to be a reverse of the existing intro animation. I'd probably like to add a different sound though.
For anyone kind enough to want to take a few minutes to look at this - I've uploaded both the "intro.swf" (containing the preloader and intro) and the "home.swf" pages, here at: http://www.gigasize.com/get.php?d=ncrotstydnd.
Thanks for any help at all!
P.S., I'm really doing as much as I can on my own. I even paid someone experienced with Flash quite a bit to tutor me, but obviously I still need help ..
-S
View Replies !
View Related
Rollover With Multiple Links
Hello,
I've inherited a job that sounds simple but I need some advice. Here's the layout - I have a map of the US with rollover buttons in a few of the states. When you rollover the buttons (they are small black dots) the name of the place appears to the right and if clicked, it takes you to a detail page (not dynamic). Pretty straight forward right?
Here's what I've been asked to do - when someone rolls over a button (the small black dot), I need to make a larger graphic of the particular state selected fade in or grow and expand over top of the original state. In the larger graphic that appears, I need to create buttons/links to the detail page. If the end user decides to try another state, I need for it disappear once they roll off.
The reason - more buttons (the small black dots) will be added and will start to crowd the smaller state images and I need to offer a way to kinda zoom in and bring the info for each state into a larger more readable view.
To get a better idea, here's a look at the web page:
http://store.webstorepackage.com/imi...BE72D83C38.asp
Any feedback, advice, tutorials would be much appreciated.
Thanks
View Replies !
View Related
Loading CSS And Rollover Links
I will attach my files. Please let me know where I am going wrong. I have read tute's and have had little luck.
Here are the basics:
8 dynamic text boxes
8 pieces of text loaded via text file
1 CSS document to style the 8 dynamic text boxes
I will be adding more text boxes down the road, up to about 20.
I guess it would be better to put this all in an XML file or something.
Really just need to the text in the text boxes to use the CSS to rollover.
Here are the files.
Thanks for any help!!!
View Replies !
View Related
Flash Rollover Links
Help!
Can someone pls. go into www.psi.no and check out the image rollover links. They look so unprofessional.
I would appeciate if somone would explain to me how I can stop the text poping up when when they're not surpose too.
"When i move the mouse over the an emply space the text popup".
Is their anyone out their that can help ...
View Replies !
View Related
List Of Links With Rollover And Scroll
Hello !
I need some help to develop my band's website. I'm graphic designer and not developer.. I do my best but it is not enough...
I've got a problem with some lists.
You can have a look at the actual version at this address :
> http://modernvintage.free.fr/test/
If you click on an item like press or download for example, you will see some lists with elastic scrollers. To do this, I've got some invisible buttons on each text lines with gotoframe for the onpress and onrollover effects (stop laughing please...)
I can easy imagine that an easier solution exists. Something dynmanic based on variables or duplicatemovie ? I also tried to import a HTML document with a CSS for the interactive effects, but it is not so good
I will have to do the link page and there will be lots of links on it, I can't imagine creating invisible buttons and gotoframe for it
So if you know a tutorial, a link or a source, send it to me !
I'm lost !
Please help me, I'm going crazy....
Thank you for your support,
R/.
View Replies !
View Related
Multiple Links Within A Flash Rollover
I'm sure this is a newbie question, but I have exhausted all of my options. I am trying to add a link to an external webpage from some text that is in a flash rollover. I have tried creating invisible buttons, movies, and graphics, but It just won't work. I think it might be due to the script for the rollover effect. Any help would be greatly appreciated. Thanks Again. Below is the current script for the rollover.
Current script for rollover.
stop();
this.onEnterFrame = function(){
if(rewind == true){ //if rewind switch is set to true play backwards
prevFrame(); // play backwards
}
}
this.onRollOver = function(){
rewind = false; //set variable (or switch) that decides wether ot not to play backwards...
play(); // play this movie clip.. (grow the button(tween));
this.swapDepths (2);
}
this.onRollOut = function(){
rewind = true; //set or rewind switch to true so it will play backwards...
}
View Replies !
View Related
Multiple Links Within A Flash Rollover
I'm sure this is a newbie question, but I have exhausted all of my options. I am trying to add a link to an external webpage from some text that is in a flash rollover. I have tried creating invisible buttons, movies, and graphics, but It just won't work. I think it might be due to the script for the rollover effect. Any help would be greatly appreciated. Thanks Again. Below is the current script for the rollover.
Current script for rollover.
stop();
this.onEnterFrame = function(){
if(rewind == true){ //if rewind switch is set to true play backwards
prevFrame(); // play backwards
}
}
this.onRollOver = function(){
rewind = false; //set variable (or switch) that decides wether ot not to play backwards...
play(); // play this movie clip.. (grow the button(tween));
this.swapDepths (2);
}
this.onRollOut = function(){
rewind = true; //set or rewind switch to true so it will play backwards...
}
View Replies !
View Related
Rollover Effects & Links Not Working
Greetings all. I have to admit that I'm a novice at Flash & have been trying to get more into it.
I downloaded a template from TemplateMonster.com (http://www.templatemonster.com/cart....vjiqo8vbf2dj7), and have been working on it for a while.
I have just about everything updated, and the navigation button works upon page load. The problem, however, is that the navigation button effect does NOT work with a rollover, and I also can't get the links to function.
The template has a TON of stuff in it (by my standards), and the effects themselves are designated as movie clips (called sprite44, for example).
Any suggestions would be GREATLY appreciated.
Thanks!!
View Replies !
View Related
Rollover Links Controling Other Animations
I am currently making a website for a car audio/video shop. Here is the link to the basic layout.
http://www.pxlmatrix.com/ah/layout3.jpg
Now, the links are on the left, and there is a subwoofer in the bottom right corner. I made an animation that moves the sub. My question is, can I make it so that the animation of the subwoofer plays everytime the mouse cursor rolls over one of the links.
Thanks in advance.
View Replies !
View Related
RollOver Events For TextField Links
Hi,
So, I have this little job to run some events from rolling over http links in a textfield. Clicking is no big deal.
Anyway, I came up with this method, using the rectangles derived from getCharBoundaries to basically calculate a hitrect for each word.
ActionScript Code:
var wordRect:Array = []var tmpString:String = introTxt.text var strAr:Array = ["River Road", "Waikato River", "Hamilton City","Ngaruawahia"] var startRect:Rectangle var endRect:Rectangle for (var i:String in strAr) { startRect = introTxt.getCharBoundaries(tmpString.search(strAr[i])) endRect = introTxt.getCharBoundaries(tmpString.search(strAr[i]) + strAr[i].length) wordRectArray.push([startRect.union(endRect),strAr[i]] ) } trace(wordRectArray)
At the moment, it just pushes the rect and string in question into an array. I'm just gonna write a class that I'll use instead of the array, which will handle dispatching back an event with the word and link's url.
I dunno, is this the best approach to this problem. Am I missing something blindingly obvious about simulating rollOver events from text links?
View Replies !
View Related
Making Links In Flash + Animations On Rollover
can someone PLEASE give me a reference file or SOMETHING ive gone to 3 tutorials now all dated 2003, outdated and dont work.
www.clutchproductions.com/linknav.fla
Im trying to make it so when you go over each link it fades to red, and when you rollout it fades back to white, and if you click it, obviously to execute some code.
View Replies !
View Related
Text Links Animate In, With Rollover States
I am getting pretty good at using Flash, but having trouble with text links (seems sooo simple, yet I can't grasp it)
What I want to do is have four text links animate in from the right side. They animate in and go into their correct positions on the website. Then they have over states and hit states, no other animation is needed. For some reason, all the tutorials I find are for buttons made with the rectangle tool with text on top. The problems I am running into are .. what becomes a movie clip and what becomes a button. It's so simple, yet I can't find anywhere that will discuss JUST text animating in and not having a rectangular button associated with it.
NOTE: Here is the link of the uploaded file. The size was expanded so it's easier to see. http://kristardesign.com/flash/kristarflashtest.swf
See how it animates in, goes into place, can be clicked on and the content pops up?? I can't get rollover states in these text links for some reason. How do I add those in?
View Replies !
View Related
|