# programming

**URL:** https://forum.kirupa.com/c/programming/41.md?page=1551

[Latest](https://forum.kirupa.com/latest.md) · [Categories](https://forum.kirupa.com/categories.md)

**Page:** 1552

---

## [EventListener question...?](https://forum.kirupa.com/t/eventlistener-question/238306)

<div class="topic-metadata">

**Author:** [@psyfer88](https://forum.kirupa.com/u/psyfer88)\
**Replies:** 0\
**Last updated:** [September 9, 2007, 5:46pm UTC](https://forum.kirupa.com/t/eventlistener-question/238306 "2007-09-09T17:46:49Z")

</div>

Hello all, Is it possible to add an Event Listener to a target within a different class? I have tried about everything I could think of - but no luck...:-/

---

## [Automatically select first listItems? \[Flex\]](https://forum.kirupa.com/t/automatically-select-first-listitems-flex/238302)

<div class="topic-metadata">

**Author:** [@ff45t1z](https://forum.kirupa.com/u/ff45t1z)\
**Replies:** 0\
**Last updated:** [September 9, 2007, 4:41pm UTC](https://forum.kirupa.com/t/automatically-select-first-listitems-flex/238302 "2007-09-09T16:41:41Z")

</div>

Hey all, hopefully this isn't too obvious a question, but I've been wondering... In Flex I've built a DataGrid, inside which is contained a few options. You select an item, and several fields in the application display a…

---

## [Extending Events](https://forum.kirupa.com/t/extending-events/238301)

<div class="topic-metadata">

**Author:** [@endemoniada](https://forum.kirupa.com/u/endemoniada)\
**Replies:** 0\
**Last updated:** [September 9, 2007, 4:40pm UTC](https://forum.kirupa.com/t/extending-events/238301 "2007-09-09T16:40:37Z")

</div>

\[COLOR=black\]Hi guys,\[/COLOR\] \[COLOR=black\]I tried extending the TimerEvent to no avail, like this:\[/COLOR\] \[SIZE=2\]\[COLOR=#ffffff\]\[COLOR=black\]package packages.events {\[/COLOR\]\[/COLOR\]\[/SIZE\]\[COLOR=#ffffff\] \[SIZE…

---

## [Any Ruby gurus on Kirupa?](https://forum.kirupa.com/t/any-ruby-gurus-on-kirupa/238299)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [September 9, 2007, 4:10pm UTC](https://forum.kirupa.com/t/any-ruby-gurus-on-kirupa/238299 "2007-09-09T16:10:58Z")

</div>

:crying: My elegant scriptaculous sliding panels work perfectly in FF & not at all in IE when they are served, as they have to be for tracking purposes via a 3rd parties JS includes. Error is effect not defined. I ha…

---

## [nl2br help](https://forum.kirupa.com/t/nl2br-help/238298)

<div class="topic-metadata">

**Author:** [@VonGizzle](https://forum.kirupa.com/u/VonGizzle)\
**Replies:** 0\
**Last updated:** [September 9, 2007, 4:07pm UTC](https://forum.kirupa.com/t/nl2br-help/238298 "2007-09-09T16:07:21Z")

</div>

Hi guys, I'm aware of the theory behind nl2br, but I can't seem to get it working within this while loop. \<?php include("connect.php"); $showrecord = "Select \* from news"; $recordC = mysql\_query($showrecord,$conn…

---

## [Apply Active Content Update Issues](https://forum.kirupa.com/t/apply-active-content-update-issues/238292)

<div class="topic-metadata">

**Author:** [@fadijohn](https://forum.kirupa.com/u/fadijohn)\
**Replies:** 0\
**Last updated:** [September 9, 2007, 3:31pm UTC](https://forum.kirupa.com/t/apply-active-content-update-issues/238292 "2007-09-09T15:31:49Z")

</div>

Hello, I have a question about flash movies that have had the 'Active Content Update' applied to them. I'm using this update so that they are already activated on webpages without making the user clicking on them in or…

---

## [Complicated depth problem](https://forum.kirupa.com/t/complicated-depth-problem/238290)

<div class="topic-metadata">

**Author:** [@RaymondP](https://forum.kirupa.com/u/RaymondP)\
**Replies:** 0\
**Last updated:** [September 9, 2007, 2:36pm UTC](https://forum.kirupa.com/t/complicated-depth-problem/238290 "2007-09-09T14:36:03Z")

</div>

heres basicly my problem , im attaching movieclips to \_root using a string called depth which increases by 1 everytime a movieclip is added . so ive got the entire 101 - 200 depth range for movieclips 201 - 301 is for my…

---

## [Scroll bar customization help](https://forum.kirupa.com/t/scroll-bar-customization-help/238283)

<div class="topic-metadata">

**Author:** [@dravalanche](https://forum.kirupa.com/u/dravalanche)\
**Replies:** 0\
**Last updated:** [September 9, 2007, 12:32pm UTC](https://forum.kirupa.com/t/scroll-bar-customization-help/238283 "2007-09-09T12:32:34Z")

</div>

Hi, I'm using a scroll bar component ( from MX) in Mx 2004. I want to customize the scroller so instead of having the default rectangle/box scroller I want to have a custom shape ( in this instance a skull) The problem…

---

## [Scroll bar customizatio help](https://forum.kirupa.com/t/scroll-bar-customizatio-help/238282)

<div class="topic-metadata">

**Author:** [@dravalanche](https://forum.kirupa.com/u/dravalanche)\
**Replies:** 0\
**Last updated:** [September 9, 2007, 12:28pm UTC](https://forum.kirupa.com/t/scroll-bar-customizatio-help/238282 "2007-09-09T12:28:01Z")

</div>

Hi, I'm using a scroll bar component ( from MX) in Mx 2004. I want to customize the scroller so instead of having the default rectangle/box scroller I want to have a custom shape ( in this instance a skull) The problem…

---

## [Ext.swf in next scene?](https://forum.kirupa.com/t/ext-swf-in-next-scene/238281)

<div class="topic-metadata">

**Author:** [@Dutchiejohn](https://forum.kirupa.com/u/Dutchiejohn)\
**Replies:** 0\
**Last updated:** [September 9, 2007, 12:26pm UTC](https://forum.kirupa.com/t/ext-swf-in-next-scene/238281 "2007-09-09T12:26:11Z")

</div>

I hope someone can help me with this... I found somewhat similar topics, but nothing really helpfull. Hope I haven't overlooked. This is the problem: I have a menu in scene1. I want to be able to click a btn in this …

---

## [Scrollpane doesn't show the entire content](https://forum.kirupa.com/t/scrollpane-doesnt-show-the-entire-content/238278)

<div class="topic-metadata">

**Author:** [@dewdrops](https://forum.kirupa.com/u/dewdrops)\
**Replies:** 0\
**Last updated:** [September 9, 2007, 11:38am UTC](https://forum.kirupa.com/t/scrollpane-doesnt-show-the-entire-content/238278 "2007-09-09T11:38:30Z")

</div>

I am using the scrollpane component of Flash. Everything else works fine and my MC scrolls nicely inside the component until... I increased the vLineScrollSize and vPageScrollSize parameters of the scroll pane to 50 an…

---

## [Text Shadow](https://forum.kirupa.com/t/text-shadow/238272)

<div class="topic-metadata">

**Author:** [@flashLearner](https://forum.kirupa.com/u/flashLearner)\
**Replies:** 0\
**Last updated:** [September 9, 2007, 9:06am UTC](https://forum.kirupa.com/t/text-shadow/238272 "2007-09-09T09:06:03Z")

</div>

How to write text with shadow at down. I can make it in photoshop but I want to make it in flash. See the attached file for example.

---

## [Life of Session variable?](https://forum.kirupa.com/t/life-of-session-variable/238270)

<div class="topic-metadata">

**Author:** [@webmulgor](https://forum.kirupa.com/u/webmulgor)\
**Replies:** 0\
**Last updated:** [September 9, 2007, 7:46am UTC](https://forum.kirupa.com/t/life-of-session-variable/238270 "2007-09-09T07:46:59Z")

</div>

\[ASP/MSAccess\] In my website it is set that session expires around 20min. Sometimes it become too irritating, when person is reading some article and then sending his comment in given txtfield. Because session expires …

---

## [Detecting mouse movements?](https://forum.kirupa.com/t/detecting-mouse-movements/238269)

<div class="topic-metadata">

**Author:** [@humbuged](https://forum.kirupa.com/u/humbuged)\
**Replies:** 0\
**Last updated:** [September 9, 2007, 7:25am UTC](https://forum.kirupa.com/t/detecting-mouse-movements/238269 "2007-09-09T07:25:32Z")

</div>

Hello I need help pls with figuring out mouse actions that involve movement. Lets say I want to rub a lamp and make a genie appear. What codes do I need to detect when the mouse is clicked and dragged back and forth…

---

## [Spry / Dreamweaver Question](https://forum.kirupa.com/t/spry-dreamweaver-question/238267)

<div class="topic-metadata">

**Author:** [@hoss9009](https://forum.kirupa.com/u/hoss9009)\
**Replies:** 0\
**Last updated:** [September 9, 2007, 6:06am UTC](https://forum.kirupa.com/t/spry-dreamweaver-question/238267 "2007-09-09T06:06:34Z")

</div>

i have a dhtml menu and would like to have the drop down links open pages with tab or accordion sprys with the specified tab that was originally selected from the drop down menu open. Does that make sense? I was think ab…

---

## [Carousel](https://forum.kirupa.com/t/carousel/238266)

<div class="topic-metadata">

**Author:** [@jozyaneflore](https://forum.kirupa.com/u/jozyaneflore)\
**Replies:** 0\
**Last updated:** [September 9, 2007, 5:38am UTC](https://forum.kirupa.com/t/carousel/238266 "2007-09-09T05:38:42Z")

</div>

Hi everybody I have seen a great "animation" on this website : \[COLOR=#295687\]www.finaref.fr/etapes-du-credit.asp\[/COLOR\] I wish use it for my personel website, could you help me to creat it, could you please give me…

---

## [RegExp in Browser](https://forum.kirupa.com/t/regexp-in-browser/238262)

<div class="topic-metadata">

**Author:** [@Septenary](https://forum.kirupa.com/u/Septenary)\
**Replies:** 0\
**Last updated:** [September 9, 2007, 3:25am UTC](https://forum.kirupa.com/t/regexp-in-browser/238262 "2007-09-09T03:25:02Z")

</div>

Hello, I have made a flash applet in which a string is checked using the RegExp.exec() method. This works fine when I test it locally, but when I upload it to my website, the RegExp no longer works. Why would this be…

---

## [Changing Accordion Header Label's Font Size](https://forum.kirupa.com/t/changing-accordion-header-labels-font-size/238257)

<div class="topic-metadata">

**Author:** [@audiohominis](https://forum.kirupa.com/u/audiohominis)\
**Replies:** 0\
**Last updated:** [September 9, 2007, 2:32am UTC](https://forum.kirupa.com/t/changing-accordion-header-labels-font-size/238257 "2007-09-09T02:32:47Z")

</div>

Turning the whole freakin’ web upside down, including this page, didn't yield a solution. How on earth do you change the font or at least the font size of Accordion’s header (not children)? From what I understand, someti…

---

## [Adding my .as files to specific areas on my stage](https://forum.kirupa.com/t/adding-my-as-files-to-specific-areas-on-my-stage/238254)

<div class="topic-metadata">

**Author:** [@boywundr](https://forum.kirupa.com/u/boywundr)\
**Replies:** 0\
**Last updated:** [September 9, 2007, 12:31am UTC](https://forum.kirupa.com/t/adding-my-as-files-to-specific-areas-on-my-stage/238254 "2007-09-09T00:31:49Z")

</div>

I'm fairly new to ActionScript 3.0 and I have been learning from books and online tutorials. I feel like I am getting the hang of the .as files and have made a few 3D objects that I would like to display on my time line…

---

## [Events in external SWF](https://forum.kirupa.com/t/events-in-external-swf/238253)

<div class="topic-metadata">

**Author:** [@WMarsh](https://forum.kirupa.com/u/WMarsh)\
**Replies:** 0\
**Last updated:** [September 9, 2007, 12:09am UTC](https://forum.kirupa.com/t/events-in-external-swf/238253 "2007-09-09T00:09:53Z")

</div>

Hi. I have an external SWF made in the Flash IDE that is loaded in my AS, and then dispatches events. I don't seem to be able to pick up these events in my AS3 code - is this possible, and if so how should be be dispatch…

---

## [Reacting to sound output Via SoundMixer.computeSpectrum()](https://forum.kirupa.com/t/reacting-to-sound-output-via-soundmixer-computespectrum/238251)

<div class="topic-metadata">

**Author:** [@raven\_gm](https://forum.kirupa.com/u/raven_gm)\
**Replies:** 0\
**Last updated:** [September 8, 2007, 11:29pm UTC](https://forum.kirupa.com/t/reacting-to-sound-output-via-soundmixer-computespectrum/238251 "2007-09-08T23:29:19Z")

</div>

I wanted to design a pesudo-visualizer of sorts, so I looked up the computeSpectrum method... I can get a ByteArray out of it, but I don't know how to read the data out of it properly (I know the format 512 bianary num…

---

## [Form info to send directly from website](https://forum.kirupa.com/t/form-info-to-send-directly-from-website/238250)

<div class="topic-metadata">

**Author:** [@flyfisher2](https://forum.kirupa.com/u/flyfisher2)\
**Replies:** 0\
**Last updated:** [September 8, 2007, 11:24pm UTC](https://forum.kirupa.com/t/form-info-to-send-directly-from-website/238250 "2007-09-08T23:24:08Z")

</div>

I have just finished watching a Total Training Video on creating a eMail form in flash. At the end of the video it has my own e-mail open to send the info. I want the form to send the info directly from the website. Can …

---

## [Need dynamically loaded pics to be scooted down 5px and over 5x](https://forum.kirupa.com/t/need-dynamically-loaded-pics-to-be-scooted-down-5px-and-over-5x/238247)

<div class="topic-metadata">

**Author:** [@Mosy](https://forum.kirupa.com/u/Mosy)\
**Replies:** 0\
**Last updated:** [September 8, 2007, 10:58pm UTC](https://forum.kirupa.com/t/need-dynamically-loaded-pics-to-be-scooted-down-5px-and-over-5x/238247 "2007-09-08T22:58:38Z")

</div>

The attached file loads 6 pictures dynamically from my server - I need the pictures to be scooted down 5px and left 5 px but i cant quite figure out the code because i didnt make this. (And if u could write where this co…

---

## [Converting FLA CS3 to Flash 8](https://forum.kirupa.com/t/converting-fla-cs3-to-flash-8/238245)

<div class="topic-metadata">

**Author:** [@rumoroso](https://forum.kirupa.com/u/rumoroso)\
**Replies:** 0\
**Last updated:** [September 8, 2007, 10:13pm UTC](https://forum.kirupa.com/t/converting-fla-cs3-to-flash-8/238245 "2007-09-08T22:13:36Z")

</div>

I have a issue that is a bit complicated. I worked on a project at some company using CS3 on OSX. I took the files home to work on, however I run a PC with windows 2000. I tried opening the FLA in Flash 8, which, as i gu…

---

## [Parse error, unexpected ';'](https://forum.kirupa.com/t/parse-error-unexpected/238243)

<div class="topic-metadata">

**Author:** [@jasonhardwick](https://forum.kirupa.com/u/jasonhardwick)\
**Replies:** 0\
**Last updated:** [September 8, 2007, 10:09pm UTC](https://forum.kirupa.com/t/parse-error-unexpected/238243 "2007-09-08T22:09:44Z")

</div>

I know i have a problem in line 145, just dont know how to fix it $mailto = $row\["email\_address"\] ? '\<a href="mailto: {$row\["email\_address"\]}" target=\\"\_blank\\"\> {$row\["email\_address"\]} \</a\>'; \<? $DBhost…

---

## [How do I call RemoveEventListener()?](https://forum.kirupa.com/t/how-do-i-call-removeeventlistener/238241)

<div class="topic-metadata">

**Author:** [@Aesir](https://forum.kirupa.com/u/Aesir)\
**Replies:** 0\
**Last updated:** [September 8, 2007, 8:50pm UTC](https://forum.kirupa.com/t/how-do-i-call-removeeventlistener/238241 "2007-09-08T20:50:41Z")

</div>

I have a firework class, which fades over time and finally removes itself from the display parent. package { import flash.display.MovieClip; import flash.display.Sprite; import flash.events.Event; import flash.events…

---

## [PlatformGame HeadAngle](https://forum.kirupa.com/t/platformgame-headangle/238233)

<div class="topic-metadata">

**Author:** [@ZMau86](https://forum.kirupa.com/u/ZMau86)\
**Replies:** 0\
**Last updated:** [September 8, 2007, 7:13pm UTC](https://forum.kirupa.com/t/platformgame-headangle/238233 "2007-09-08T19:13:12Z")

</div>

I have been coding a platform game for several months in actionscript and I have started to program a boss for the level I created. The boss is several times larger on the stage than the hero. I was wondering if I ther…

---

## [Slopes](https://forum.kirupa.com/t/slopes/238228)

<div class="topic-metadata">

**Author:** [@fw2803](https://forum.kirupa.com/u/fw2803)\
**Replies:** 0\
**Last updated:** [September 8, 2007, 4:23pm UTC](https://forum.kirupa.com/t/slopes/238228 "2007-09-08T16:23:46Z")

</div>

Hello I'm thinking about one thing... When a ball falls from a height and hits a slope, it should slide down the slope, right? How do we simulate the whole thing? First of all, I've got a ball called just "ball". So …

---

## [Accurate collision tests among circles](https://forum.kirupa.com/t/accurate-collision-tests-among-circles/238226)

<div class="topic-metadata">

**Author:** [@fw2803](https://forum.kirupa.com/u/fw2803)\
**Replies:** 0\
**Last updated:** [September 8, 2007, 4:07pm UTC](https://forum.kirupa.com/t/accurate-collision-tests-among-circles/238226 "2007-09-08T16:07:53Z")

</div>

Aye! Hi there. I've been trying some collision tests among circles these days. And very unluckily, I encounter some problems. I could create a function of collision test pretty easily with this method: dx = this…

---

## [Accessing last element of array dynamically?](https://forum.kirupa.com/t/accessing-last-element-of-array-dynamically/238223)

<div class="topic-metadata">

**Author:** [@Psaldorn](https://forum.kirupa.com/u/Psaldorn)\
**Replies:** 0\
**Last updated:** [September 8, 2007, 2:44pm UTC](https://forum.kirupa.com/t/accessing-last-element-of-array-dynamically/238223 "2007-09-08T14:44:52Z")

</div>

Afternoon people, Well, I;ve been bashing my face against this code now and still can;t get it to work. I have been using myArray\[myArray.length\] = blah+i to successfully add values to an array. Now it's come…

[Previous page](https://forum.kirupa.com/c/programming/41.md?page=1550)

[Next page](https://forum.kirupa.com/c/programming/41.md?page=1552)
