# Help with this action script, im sure theres a simple solution

**URL:** https://forum.kirupa.com/t/help-with-this-action-script-im-sure-theres-a-simple-solution/6479
**Category:** Uncategorized
**Created:** [October 8, 2002, 4:02pm UTC](https://forum.kirupa.com/t/help-with-this-action-script-im-sure-theres-a-simple-solution/6479 "2002-10-08T16:02:28Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![freeeky](https://avatars.discourse-cdn.com/v4/letter/f/41988e/32.png) [@freeeky](https://forum.kirupa.com/u/freeeky)
#### Post date: [October 8, 2002, 4:02pm UTC](https://forum.kirupa.com/t/help-with-this-action-script-im-sure-theres-a-simple-solution/6479/1 "2002-10-08T16:02:28Z")

</div>

Help with this action script, im sure theres a simple solution.

This script is taken from the Flash Ticker component, and i wish to add a function to it. I wish to add a click to get url function to the lines of text that can be highlighted.

must be pretty easy to do, just that i am a actionscript newbie!

Ive uploaded the file for you to take a look at it.

it can be grabbed from here (PLEASE DO NOT CLICK THE LINK BELOW\< JUST COPY AND PASTE IT INTO THE BROWSER WINDOW):

[http://www.geocities.com/freeeky/ticker.zip](http://www.geocities.com/freeeky/ticker.zip)

Thanks

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 8, 2002, 5:03pm UTC](https://forum.kirupa.com/t/help-with-this-action-script-im-sure-theres-a-simple-solution/6479/2 "2002-10-08T17:03:32Z")

</div>

hi there,

ur question was not clear, so how about you try to be more specific, and maybe i can help u. and just in case u did not notice, the file u posted is empty.  
try to reply soon, i’ll try to help

good luck

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 8, 2002, 5:07pm UTC](https://forum.kirupa.com/t/help-with-this-action-script-im-sure-theres-a-simple-solution/6479/3 "2002-10-08T17:07:59Z")

</div>

yep, the .zip file has a .php file, a .swf file and a .fla file. But when you open the .fla file, there is nothing in there.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 8, 2002, 5:10pm UTC](https://forum.kirupa.com/t/help-with-this-action-script-im-sure-theres-a-simple-solution/6479/4 "2002-10-08T17:10:26Z")

</div>

okay, what is it that u want to do , exactly

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 8, 2002, 5:12pm UTC](https://forum.kirupa.com/t/help-with-this-action-script-im-sure-theres-a-simple-solution/6479/5 "2002-10-08T17:12:24Z")

</div>

If you open the .swf file you can see his example.

When you mouseover the sections they highlight orange. What he wants is these each to have a getURL function to open up pages. Which does sound pretty simple, but without a .fla to see the actually coding used, we can’t fix it (or maybe it isn’t as simple as we think)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 8, 2002, 5:17pm UTC](https://forum.kirupa.com/t/help-with-this-action-script-im-sure-theres-a-simple-solution/6479/6 "2002-10-08T17:17:16Z")

</div>

i got ur point. i guess there is nothing we can do to help fix his code, so the next best thing to do is build him a code that would do what we think he wants.  
i will work on it now. if u think it is a good idea, stick around and take a look at the fla i will post in a fiew minutes, just in case i still did not get it.

cu

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 8, 2002, 5:21pm UTC](https://forum.kirupa.com/t/help-with-this-action-script-im-sure-theres-a-simple-solution/6479/7 "2002-10-08T17:21:54Z")

</div>

Keep in mind his text and everything is loaded dynamically through a PHP file.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 8, 2002, 5:27pm UTC](https://forum.kirupa.com/t/help-with-this-action-script-im-sure-theres-a-simple-solution/6479/8 "2002-10-08T17:27:38Z")

</div>

okay, i did not know that. so i think i will not build the fla, but what i recommend, is that he uses (transparent buttons) that load in the exact location as his text but on top off them, and he places his function in the transparent buttons panel. i think this will do the trick. sorry but i am using a piblic computer and it does not support php. if my suggestion does not kick in , then i will try to build the fla as soon as i gety home.  
do u think transparent buttons will work? they should

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 8, 2002, 5:31pm UTC](https://forum.kirupa.com/t/help-with-this-action-script-im-sure-theres-a-simple-solution/6479/9 "2002-10-08T17:31:28Z")

</div>

What I was thinking was to just HTML enable the text and use standard HTML link tags. I don’t know if that will work though.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 8, 2002, 5:38pm UTC](https://forum.kirupa.com/t/help-with-this-action-script-im-sure-theres-a-simple-solution/6479/10 "2002-10-08T17:38:43Z")

</div>

lostinbeta, chick ur private messages plz.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 9, 2002, 9:44am UTC](https://forum.kirupa.com/t/help-with-this-action-script-im-sure-theres-a-simple-solution/6479/11 "2002-10-09T09:44:20Z")

</div>

apologies guys, the file is now there. I dont know why the file was empty, but it is there now.

Thanks

BTW, At the moment I am looking at all the text to just goto 1 url, and not individual links, although i may want this feature in the future.

Thanks
