# programming

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

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

**Page:** 1744

---

## [How do i centralize dynamically loaded thumbs](https://forum.kirupa.com/t/how-do-i-centralize-dynamically-loaded-thumbs/224212)

<div class="topic-metadata">

**Author:** [@SilverChariot](https://forum.kirupa.com/u/SilverChariot)\
**Replies:** 0\
**Last updated:** [April 30, 2007, 2:51am UTC](https://forum.kirupa.com/t/how-do-i-centralize-dynamically-loaded-thumbs/224212 "2007-04-30T02:51:47Z")

</div>

Hi guys, I have been doing some studies on my own but i just cant figure 2 things out ... my prototype code doesnt seems to work and i cant seem to centralize this dynamically loaded thumbs via stage listener... can …

---

## [DHTML: Passing a variable a value (problem)](https://forum.kirupa.com/t/dhtml-passing-a-variable-a-value-problem/224209)

<div class="topic-metadata">

**Author:** [@digitalmatt](https://forum.kirupa.com/u/digitalmatt)\
**Replies:** 0\
**Last updated:** [April 30, 2007, 2:24am UTC](https://forum.kirupa.com/t/dhtml-passing-a-variable-a-value-problem/224209 "2007-04-30T02:24:07Z")

</div>

The assignment was to create an animated menu for a fictional search engine. I eventually got one to work and here it is: http://www.digitalmatt.net/DHTML/midterm/index2.html Here's the code: var position var int…

---

## [Problem with For loop](https://forum.kirupa.com/t/problem-with-for-loop/224208)

<div class="topic-metadata">

**Author:** [@drosa10](https://forum.kirupa.com/u/drosa10)\
**Replies:** 0\
**Last updated:** [April 30, 2007, 2:20am UTC](https://forum.kirupa.com/t/problem-with-for-loop/224208 "2007-04-30T02:20:58Z")

</div>

maxday = 30; monthcodes = new Array(6, 2, 2, 5, 0, 3, 5, 1, 4, 6, 2, 4); calcday = function (currentday) { iyear = year-2000; iyear += Math.floor(iyear/4); correspondingcode = monthcodes\[monthnum\]; iyear…

---

## [Give movie clips a padded border of a different color, how to?](https://forum.kirupa.com/t/give-movie-clips-a-padded-border-of-a-different-color-how-to/224207)

<div class="topic-metadata">

**Author:** [@mwiley63](https://forum.kirupa.com/u/mwiley63)\
**Replies:** 0\
**Last updated:** [April 30, 2007, 1:28am UTC](https://forum.kirupa.com/t/give-movie-clips-a-padded-border-of-a-different-color-how-to/224207 "2007-04-30T01:28:00Z")

</div>

I think I know I should of messed with the glow filter class before asking, but I require a little more in depth-ness to it. I need the movie clips padded area (the square behind them) to change color onRollOver/onRollO…

---

## [\[OOP 2.0\] Help Calling Functions within Class Definitions](https://forum.kirupa.com/t/oop-2-0-help-calling-functions-within-class-definitions/224205)

<div class="topic-metadata">

**Author:** [@DeletedUser12345](https://forum.kirupa.com/u/DeletedUser12345)\
**Replies:** 0\
**Last updated:** [April 30, 2007, 12:09am UTC](https://forum.kirupa.com/t/oop-2-0-help-calling-functions-within-class-definitions/224205 "2007-04-30T00:09:11Z")

</div>

Hey all, This seems like it would be really easy but for some reason it's not working. I have a class file, class DataSet, which right now only takes an XML file, parses it, and pushes the XML into an array: The ob…

---

## [Link think?](https://forum.kirupa.com/t/link-think/224201)

<div class="topic-metadata">

**Author:** [@edell](https://forum.kirupa.com/u/edell)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 9:56pm UTC](https://forum.kirupa.com/t/link-think/224201 "2007-04-29T21:56:51Z")

</div>

Hello, Pardon this easy one for many of you, but I have a Flash document whre I have created some text and assigned a link to a word using static text, highlighting it and typing the link in the box. When I test the fi…

---

## [Advanced rollover button part 2](https://forum.kirupa.com/t/advanced-rollover-button-part-2/224196)

<div class="topic-metadata">

**Author:** [@mod1968](https://forum.kirupa.com/u/mod1968)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 9:07pm UTC](https://forum.kirupa.com/t/advanced-rollover-button-part-2/224196 "2007-04-29T21:07:03Z")

</div>

I think I now got this the way the tutorial on http://www.kirupa.com/developer/flash5/advroll.htm has it. But it still doesn't work for me. If anybody has a any helpfull advice I'd surely appreciate it. I've attached a .…

---

## [Is it possible to get smooth scrubbing with FLV files?](https://forum.kirupa.com/t/is-it-possible-to-get-smooth-scrubbing-with-flv-files/224195)

<div class="topic-metadata">

**Author:** [@pete66](https://forum.kirupa.com/u/pete66)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 8:54pm UTC](https://forum.kirupa.com/t/is-it-possible-to-get-smooth-scrubbing-with-flv-files/224195 "2007-04-29T20:54:00Z")

</div>

I'm using the FLV component to watch FLVs located on the hard drive but scrubbing is very jumpy. I've tried adding keyframes to every frame when encoding the FLVs but still, when scrubbing through them I only see about o…

---

## [Targetting the main timeline?](https://forum.kirupa.com/t/targetting-the-main-timeline/224194)

<div class="topic-metadata">

**Author:** [@radioheadrule](https://forum.kirupa.com/u/radioheadrule)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 8:41pm UTC](https://forum.kirupa.com/t/targetting-the-main-timeline/224194 "2007-04-29T20:41:43Z")

</div>

I've either cocked something up or I'm really confused about what I'm meant to be doing. In AS2, I used to be able to get the main timeline to play through a variety of ways -- \_level0.play and \_root.play being two suc…

---

## [attachMovie help](https://forum.kirupa.com/t/attachmovie-help/224193)

<div class="topic-metadata">

**Author:** [@PrinceTaj](https://forum.kirupa.com/u/PrinceTaj)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 8:31pm UTC](https://forum.kirupa.com/t/attachmovie-help/224193 "2007-04-29T20:31:38Z")

</div>

Hi Guys, I need some help with the logic for an event handler function I'm trying to write. Basically its an onPress event handler on a movie clip that attaches another movie to it when pressed.The problem is, I only w…

---

## [Proximity Fade out](https://forum.kirupa.com/t/proximity-fade-out/224189)

<div class="topic-metadata">

**Author:** [@Grimshaw](https://forum.kirupa.com/u/Grimshaw)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 7:25pm UTC](https://forum.kirupa.com/t/proximity-fade-out/224189 "2007-04-29T19:25:54Z")

</div>

Is there a way to fade a movie clip out based on the proximity of the mouse? Basically if my mouse is greater than 100 pixels away from a movie clip, I want the movie clip to fade to 0 and stay invisible.

---

## [Help Needed from Newbie](https://forum.kirupa.com/t/help-needed-from-newbie/224188)

<div class="topic-metadata">

**Author:** [@Gruntfuttock](https://forum.kirupa.com/u/Gruntfuttock)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 7:23pm UTC](https://forum.kirupa.com/t/help-needed-from-newbie/224188 "2007-04-29T19:23:33Z")

</div>

Hi Folks I am trying to create a new website to host my part time photography business. I really want the site to be in Flash and I have downloaded a template that I thought I would be able to customise using Flash 8 P…

---

## [Error 1119 while trying to check if Enter key is pressed?](https://forum.kirupa.com/t/error-1119-while-trying-to-check-if-enter-key-is-pressed/224187)

<div class="topic-metadata">

**Author:** [@JMowery](https://forum.kirupa.com/u/JMowery)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 7:14pm UTC](https://forum.kirupa.com/t/error-1119-while-trying-to-check-if-enter-key-is-pressed/224187 "2007-04-29T19:14:11Z")

</div>

txt\_input.addEventListener(KeyboardEvent.KEY\_UP, eventResponse); function eventResponse(event:Event):void { if(event.keyCode == Keyboard.ENTER) { trace("Enter Key Pressed!"); } } stop(); txt\_in…

---

## [\[PHP\] checking swf files](https://forum.kirupa.com/t/php-checking-swf-files/224184)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 6:07pm UTC](https://forum.kirupa.com/t/php-checking-swf-files/224184 "2007-04-29T18:07:52Z")

</div>

I know how to validate an image file that a user sends through a form, but I don't know how to do that for Flash SWF files. Is there some analogous function similar to the below code? If not, is there at least a way to t…

---

## [Div centering problems in Opera & Firefox](https://forum.kirupa.com/t/div-centering-problems-in-opera-firefox/224182)

<div class="topic-metadata">

**Author:** [@chrisclick](https://forum.kirupa.com/u/chrisclick)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 5:26pm UTC](https://forum.kirupa.com/t/div-centering-problems-in-opera-firefox/224182 "2007-04-29T17:26:23Z")

</div>

Ok... So Internet Explorer isnt to blame because it works ok. Now here is the problem I am making a sort of web template of my own, and its all supposed to be centerd. I checked in IE it was ok... then Seb sent me a…

---

## [Timed Change & Email](https://forum.kirupa.com/t/timed-change-email/224181)

<div class="topic-metadata">

**Author:** [@egostudios](https://forum.kirupa.com/u/egostudios)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 5:16pm UTC](https://forum.kirupa.com/t/timed-change-email/224181 "2007-04-29T17:16:13Z")

</div>

I have a website made up along the timeline with a contact form setup on scene 55. What i want to happen once people press the submit button is the page to take 1o seconds to go to frame 60. The actionscript i have so fa…

---

## [.htaccess | clean url | problems](https://forum.kirupa.com/t/htaccess-clean-url-problems/224180)

<div class="topic-metadata">

**Author:** [@andreas\_h87](https://forum.kirupa.com/u/andreas_h87)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 4:52pm UTC](https://forum.kirupa.com/t/htaccess-clean-url-problems/224180 "2007-04-29T16:52:21Z")

</div>

Hey everybody! I'm new to .htaccess and today, I tried to make the tutorial about Clean URLs with Apache. I am not sure, why it doesn't show a clean url. I will show you the code of my example and what I changed in the "…

---

## ["For" Loop Problem](https://forum.kirupa.com/t/for-loop-problem/224173)

<div class="topic-metadata">

**Author:** [@kingofnukes](https://forum.kirupa.com/u/kingofnukes)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 3:20pm UTC](https://forum.kirupa.com/t/for-loop-problem/224173 "2007-04-29T15:20:37Z")

</div>

ActionScript Code: \[FONT=Courier New\]\[LEFT\]\[COLOR=#000000\]function\[/COLOR\] hitCheck COLOR=#000000\[/COLOR\] \[COLOR=#000000\]{\[/COLOR\] \[COLOR=#0000FF\]for\[/COLOR\] \[COLOR=#000000\](\[/COLOR\]\[COLOR=#000000\]var\[/COLO…

---

## [Recreating "growth" effect](https://forum.kirupa.com/t/recreating-growth-effect/224171)

<div class="topic-metadata">

**Author:** [@abhi99](https://forum.kirupa.com/u/abhi99)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 2:49pm UTC](https://forum.kirupa.com/t/recreating-growth-effect/224171 "2007-04-29T14:49:43Z")

</div>

Hi people, wondering if you could help me out on a small issue here. There is a specific effect I want to recreate with my own vector graphics, but I can't quite figure out how to do it. One example of the effect can b…

---

## [Flash linking button problem](https://forum.kirupa.com/t/flash-linking-button-problem/224170)

<div class="topic-metadata">

**Author:** [@Hellion](https://forum.kirupa.com/u/Hellion)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 2:40pm UTC](https://forum.kirupa.com/t/flash-linking-button-problem/224170 "2007-04-29T14:40:41Z")

</div>

Hi everyone: I'm doing a site where I made a template in Dreamweaver. The header is a flash movie and contains the site's menu buttons. All the buttons work fine. Yet, I have a folder named Programas that includes a co…

---

## [Bar Chart](https://forum.kirupa.com/t/bar-chart/224166)

<div class="topic-metadata">

**Author:** [@vini](https://forum.kirupa.com/u/vini)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 2:04pm UTC](https://forum.kirupa.com/t/bar-chart/224166 "2007-04-29T14:04:01Z")

</div>

Hi, I have two Dynamic texts getting their values from the server. Is there a way to compare them in bar charts. Thanks in advance

---

## [attachMovie() doesn't attach](https://forum.kirupa.com/t/attachmovie-doesnt-attach/224165)

<div class="topic-metadata">

**Author:** [@figo2476](https://forum.kirupa.com/u/figo2476)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 1:39pm UTC](https://forum.kirupa.com/t/attachmovie-doesnt-attach/224165 "2007-04-29T13:39:24Z")

</div>

hi there: I tried this: var pos:Object = {\_x:0, \_y:0}; var test:MovieClip = this.attachMovie("front", "front", this.getNextHighestDepth(), pos); "front" is a movie clip with some text on it. It doesn't work and I…

---

## [Browser Window Height and Width](https://forum.kirupa.com/t/browser-window-height-and-width/224163)

<div class="topic-metadata">

**Author:** [@grenouille](https://forum.kirupa.com/u/grenouille)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 12:58pm UTC](https://forum.kirupa.com/t/browser-window-height-and-width/224163 "2007-04-29T12:58:15Z")

</div>

Hi, I'm working on a site for a client : http://www.introbvba.be/newsite/mainsite.html When the contact button is clicked, the contact pane is scrolled downwards. However, for lower screen resolutions or when the b…

---

## [Placing dynamic / variable content onscreen via .xml?](https://forum.kirupa.com/t/placing-dynamic-variable-content-onscreen-via-xml/224162)

<div class="topic-metadata">

**Author:** [@skitboxkilla](https://forum.kirupa.com/u/skitboxkilla)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 12:57pm UTC](https://forum.kirupa.com/t/placing-dynamic-variable-content-onscreen-via-xml/224162 "2007-04-29T12:57:38Z")

</div>

I'm trying to place a series of graphical text boxes (they look like tooltips), alternately above & below a horizontal timeline, running from left to right across the screen. The idea is that each graphical text box is …

---

## [Movieclip Rollover?](https://forum.kirupa.com/t/movieclip-rollover/224161)

<div class="topic-metadata">

**Author:** [@vinnieq](https://forum.kirupa.com/u/vinnieq)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 12:55pm UTC](https://forum.kirupa.com/t/movieclip-rollover/224161 "2007-04-29T12:55:05Z")

</div>

Does anyone know how i might use a movieclip as a rollover in Flash to display another movieclip? Simple as... If i could be re-directed either, that'd do...

---

## [Flash chat app?](https://forum.kirupa.com/t/flash-chat-app/224160)

<div class="topic-metadata">

**Author:** [@Chesso](https://forum.kirupa.com/u/Chesso)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 12:36pm UTC](https://forum.kirupa.com/t/flash-chat-app/224160 "2007-04-29T12:36:02Z")

</div>

Anyone know any tuts/articles on making a chat app in flash 8? Iv'e looked at a few that might be possible running on my machine, but not much good running on my webhost when I don't have that kind of access to get some …

---

## [Specia FX in Flash](https://forum.kirupa.com/t/specia-fx-in-flash/224159)

<div class="topic-metadata">

**Author:** [@net\_sumit](https://forum.kirupa.com/u/net_sumit)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 12:03pm UTC](https://forum.kirupa.com/t/specia-fx-in-flash/224159 "2007-04-29T12:03:04Z")

</div>

How can I create stunning 3D effects in Flash intros which can be seen in m'templatemonster' and other related sites. Please suggest.

---

## [IE6 online viewer](https://forum.kirupa.com/t/ie6-online-viewer/224158)

<div class="topic-metadata">

**Author:** [@noTime](https://forum.kirupa.com/u/noTime)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 11:56am UTC](https://forum.kirupa.com/t/ie6-online-viewer/224158 "2007-04-29T11:56:18Z")

</div>

Hey, I've recently installed my fresh copy of WinXP. Unfortunately, it came with IE7 (damn). I've seen a nice online tool, which makes a screenshot of IE6 with your desired site. But since my disk is empty, I can't rem…

---

## [AS changing Instance Name](https://forum.kirupa.com/t/as-changing-instance-name/224156)

<div class="topic-metadata">

**Author:** [@DJLy5y](https://forum.kirupa.com/u/DJLy5y)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 11:35am UTC](https://forum.kirupa.com/t/as-changing-instance-name/224156 "2007-04-29T11:35:10Z")

</div>

Is there a posibilyty to use as and change instance name of a text field ?

---

## [Custom Dynamic text Scroller](https://forum.kirupa.com/t/custom-dynamic-text-scroller/224154)

<div class="topic-metadata">

**Author:** [@shazellb](https://forum.kirupa.com/u/shazellb)\
**Replies:** 0\
**Last updated:** [April 29, 2007, 11:28am UTC](https://forum.kirupa.com/t/custom-dynamic-text-scroller/224154 "2007-04-29T11:28:02Z")

</div>

Hello everyone, I, may be asking for to much, but I need to create a custom scrollbar with easing capabilities, which loads dynamic text from an external file or files. it does not sound like much to ask, but i am just…

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

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