# programming

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

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

**Page:** 1441

---

## [Potential race condition with timers](https://forum.kirupa.com/t/potential-race-condition-with-timers/246239)

<div class="topic-metadata">

**Author:** [@raal](https://forum.kirupa.com/u/raal)\
**Replies:** 0\
**Last updated:** [December 8, 2007, 6:49pm UTC](https://forum.kirupa.com/t/potential-race-condition-with-timers/246239 "2007-12-08T18:49:57Z")

</div>

Allow me to give an example: myTimer1 :Timer = new Timer(500); myTimer2 :Timer = new Timer(1000); myTimer1.addEventListener("timer", TimerFunctionOne); myTimer2.addEventListener("timer2",TimerFunctionTwo); MyTimer1…

---

## [Upgrade to Flash 8 or CS3](https://forum.kirupa.com/t/upgrade-to-flash-8-or-cs3/246238)

<div class="topic-metadata">

**Author:** [@rgloverd](https://forum.kirupa.com/u/rgloverd)\
**Replies:** 0\
**Last updated:** [December 8, 2007, 6:27pm UTC](https://forum.kirupa.com/t/upgrade-to-flash-8-or-cs3/246238 "2007-12-08T18:27:50Z")

</div>

Hi, I have not been using Flash for a few years but have a new project to do for a client. What I want to know should I use Flash 8 or CS. The client can give me access to Flash 8 and is willing to upgrade to CS if neede…

---

## [Scrollpane challenge!](https://forum.kirupa.com/t/scrollpane-challenge/246237)

<div class="topic-metadata">

**Author:** [@orahorse](https://forum.kirupa.com/u/orahorse)\
**Replies:** 0\
**Last updated:** [December 8, 2007, 5:08pm UTC](https://forum.kirupa.com/t/scrollpane-challenge/246237 "2007-12-08T17:08:08Z")

</div>

I have a movie clip of some thumbnail images in a scrollpane, and have customized the appearance of the pane by editing the ScrollBar Assets. Works great. Now I want to change the position of the scrollbar arrows, so…

---

## [Mouse events for \_parent and child clips](https://forum.kirupa.com/t/mouse-events-for--parent-and-child-clips/246235)

<div class="topic-metadata">

**Author:** [@absolutezero342](https://forum.kirupa.com/u/absolutezero342)\
**Replies:** 0\
**Last updated:** [December 8, 2007, 4:51pm UTC](https://forum.kirupa.com/t/mouse-events-for--parent-and-child-clips/246235 "2007-12-08T16:51:19Z")

</div>

I have a \_parent movieclip that receives mouse events and I want the clips inside the \_parent clip (child clips) to receive mouse events also, but because of the \_parent's mouse event handlers, the child clips are "inter…

---

## [Fire effect does not work in Flash8](https://forum.kirupa.com/t/fire-effect-does-not-work-in-flash8/246231)

<div class="topic-metadata">

**Author:** [@Dancso](https://forum.kirupa.com/u/Dancso)\
**Replies:** 0\
**Last updated:** [December 8, 2007, 2:58pm UTC](https://forum.kirupa.com/t/fire-effect-does-not-work-in-flash8/246231 "2007-12-08T14:58:35Z")

</div>

Hi, I'd like to put a fire effect in my game i am working on, i'm trying to use a free fire effect from the site FlashKit, but if I publish(export) my flash, It won't work! If i decrase the flash player thingy on expor…

---

## [Accessing SQL Server from Flash](https://forum.kirupa.com/t/accessing-sql-server-from-flash/246230)

<div class="topic-metadata">

**Author:** [@loydmav](https://forum.kirupa.com/u/loydmav)\
**Replies:** 0\
**Last updated:** [December 8, 2007, 1:44pm UTC](https://forum.kirupa.com/t/accessing-sql-server-from-flash/246230 "2007-12-08T13:44:50Z")

</div>

Can anyone point me to any simple tutorials on how to access SQL Server data from my flash project?? or even how to access a list of files from a server location? thanks lloyd

---

## [Quick Fuse question :)](https://forum.kirupa.com/t/quick-fuse-question/246229)

<div class="topic-metadata">

**Author:** [@steve\_b](https://forum.kirupa.com/u/steve_b)\
**Replies:** 0\
**Last updated:** [December 8, 2007, 12:30pm UTC](https://forum.kirupa.com/t/quick-fuse-question/246229 "2007-12-08T12:30:09Z")

</div>

In the middle of writing some fuse tweens, using the proper syntax for the first time! However, the following code runs the tweens in a sequence, I need them to run at the same time. Im sure its something simple, but I c…

---

## [removeMovieClip after n seconds](https://forum.kirupa.com/t/removemovieclip-after-n-seconds/246224)

<div class="topic-metadata">

**Author:** [@o0seanray0o](https://forum.kirupa.com/u/o0seanray0o)\
**Replies:** 0\
**Last updated:** [December 8, 2007, 10:56am UTC](https://forum.kirupa.com/t/removemovieclip-after-n-seconds/246224 "2007-12-08T10:56:59Z")

</div>

how can i remove a movie clip after 10 seconds when it was called

---

## [SWF/HTML Looping Problem](https://forum.kirupa.com/t/swf-html-looping-problem/246222)

<div class="topic-metadata">

**Author:** [@pucku19](https://forum.kirupa.com/u/pucku19)\
**Replies:** 0\
**Last updated:** [December 8, 2007, 8:18am UTC](https://forum.kirupa.com/t/swf-html-looping-problem/246222 "2007-12-08T08:18:50Z")

</div>

Hi. I have set my SWF and my HTML files to NOT loop in my publishing settings, but let the flash file still loops. Could you PLEASE let me know how I can fix this? The page can be found at www.spotfellas.com/index1.htm …

---

## [\[CSS\] double border](https://forum.kirupa.com/t/css-double-border/246216)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Replies:** 0\
**Last updated:** [December 8, 2007, 4:39am UTC](https://forum.kirupa.com/t/css-double-border/246216 "2007-12-08T04:39:46Z")

</div>

Is there any way to define 2 borders (inner and outer) in CSS without using 2 DIV's. A 1 DIV solution would be clean and easily manageable. Here's an example from www.netvibes.com : \[image\] The inner border is a thin…

---

## [Background music issue](https://forum.kirupa.com/t/background-music-issue/246215)

<div class="topic-metadata">

**Author:** [@fw2803](https://forum.kirupa.com/u/fw2803)\
**Replies:** 0\
**Last updated:** [December 8, 2007, 4:31am UTC](https://forum.kirupa.com/t/background-music-issue/246215 "2007-12-08T04:31:08Z")

</div>

Hi all To add background music, I will have to create a music player within my game. Is there any nice tutorials out there about making music players? Thanks

---

## [Display:inline w/Opera](https://forum.kirupa.com/t/display-inline-w-opera/246214)

<div class="topic-metadata">

**Author:** [@Icy\_Penguin](https://forum.kirupa.com/u/Icy_Penguin)\
**Replies:** 0\
**Last updated:** [December 8, 2007, 3:32am UTC](https://forum.kirupa.com/t/display-inline-w-opera/246214 "2007-12-08T03:32:11Z")

</div>

Howdy, I've been using display: inline to counter the double margin bug in IE - but doing so causes Opera 9 to display the inline element at 100% width. http://icypenguin.ca/work/teetree/contact.php The form and er…

---

## [How to access a variable in one function by another function](https://forum.kirupa.com/t/how-to-access-a-variable-in-one-function-by-another-function/246213)

<div class="topic-metadata">

**Author:** [@tarunkumar\_redd](https://forum.kirupa.com/u/tarunkumar_redd)\
**Replies:** 0\
**Last updated:** [December 8, 2007, 2:58am UTC](https://forum.kirupa.com/t/how-to-access-a-variable-in-one-function-by-another-function/246213 "2007-12-08T02:58:54Z")

</div>

Hello,,,, i am doing a small application and am a less knowledged fellow in actionscript. consider function a() { var test = 20; } function b() { trace(test); } in the above there is no global variable…

---

## [Strange math handling: var\*var != var^2](https://forum.kirupa.com/t/strange-math-handling-var-var-var-2/246207)

<div class="topic-metadata">

**Author:** [@Felixz](https://forum.kirupa.com/u/Felixz)\
**Replies:** 0\
**Last updated:** [December 8, 2007, 12:42am UTC](https://forum.kirupa.com/t/strange-math-handling-var-var-var-2/246207 "2007-12-08T00:42:17Z")

</div>

It's a question concernig that: http://www.kirupa.com/forum/showthread.php?t=282936 var date=new Date(2007,11,1,12); trace((date.getHours() \* date.getHours()) / 144 - date.getHours() / 6 + .75); trace((date.getHours()…

---

## [Full Browser Question](https://forum.kirupa.com/t/full-browser-question/246205)

<div class="topic-metadata">

**Author:** [@Syous](https://forum.kirupa.com/u/Syous)\
**Replies:** 0\
**Last updated:** [December 7, 2007, 11:49pm UTC](https://forum.kirupa.com/t/full-browser-question/246205 "2007-12-07T23:49:27Z")

</div>

I am constructing a site and am wondering how to make it fill the browser so there isn't any white space along the edges. Each page is an external .swf and I think that might have something to do with it. http://desig…

---

## [\[actionscript 2\] drawing API help with attachMovie](https://forum.kirupa.com/t/actionscript-2-drawing-api-help-with-attachmovie/246203)

<div class="topic-metadata">

**Author:** [@bobbybaboon](https://forum.kirupa.com/u/bobbybaboon)\
**Replies:** 0\
**Last updated:** [December 7, 2007, 11:24pm UTC](https://forum.kirupa.com/t/actionscript-2-drawing-api-help-with-attachmovie/246203 "2007-12-07T23:24:43Z")

</div>

I hope I can articulate this well. I've been searching forums and the internet for a few days trying to find a way to do the following but with no luck. I'm creating a mind mapping application and so far I have an int…

---

## [Full Browser Background Picture](https://forum.kirupa.com/t/full-browser-background-picture/246201)

<div class="topic-metadata">

**Author:** [@Gaia](https://forum.kirupa.com/u/Gaia)\
**Replies:** 0\
**Last updated:** [December 7, 2007, 11:12pm UTC](https://forum.kirupa.com/t/full-browser-background-picture/246201 "2007-12-07T23:12:32Z")

</div>

I am trying to build an AS3.0 flash site with a full browser background imagethat scales proportionally like in http://www.kanyon.com.tr/ I found some stuff online but nothing on how to do it with AS3.0 Can anyone help m…

---

## [Content area as different movie clips](https://forum.kirupa.com/t/content-area-as-different-movie-clips/246200)

<div class="topic-metadata">

**Author:** [@pagey](https://forum.kirupa.com/u/pagey)\
**Replies:** 0\
**Last updated:** [December 7, 2007, 11:11pm UTC](https://forum.kirupa.com/t/content-area-as-different-movie-clips/246200 "2007-12-07T23:11:28Z")

</div>

Hi there, I'm sure this is a pretty simple question for some of you. I'm building a site in Flash, and at the moment, I have my buttons, and a few other bits and pieces. When the user navigates via the buttons, I wan…

---

## [Security of Games](https://forum.kirupa.com/t/security-of-games/246195)

<div class="topic-metadata">

**Author:** [@Irontigerz](https://forum.kirupa.com/u/Irontigerz)\
**Replies:** 0\
**Last updated:** [December 7, 2007, 10:21pm UTC](https://forum.kirupa.com/t/security-of-games/246195 "2007-12-07T22:21:44Z")

</div>

i was thinking of another way to keep a game safe from hacker, i was wondering if anyone else knows any other ways, these are my two way: use a SSL certificate Convert the game to a FLV could anyone tell me if these wa…

---

## [Reusing Listener functions](https://forum.kirupa.com/t/reusing-listener-functions/246194)

<div class="topic-metadata">

**Author:** [@hobbbz](https://forum.kirupa.com/u/hobbbz)\
**Replies:** 0\
**Last updated:** [December 7, 2007, 10:16pm UTC](https://forum.kirupa.com/t/reusing-listener-functions/246194 "2007-12-07T22:16:10Z")

</div>

Has anyone had any luck reusing listener functions? IE I have a function displayImage(); that I register for displayBtn's MouseEvent.CLICK but I also want to call that function from some other place in the code. So fa…

---

## [Converting Library to Symbol](https://forum.kirupa.com/t/converting-library-to-symbol/246193)

<div class="topic-metadata">

**Author:** [@kayla](https://forum.kirupa.com/u/kayla)\
**Replies:** 0\
**Last updated:** [December 7, 2007, 9:46pm UTC](https://forum.kirupa.com/t/converting-library-to-symbol/246193 "2007-12-07T21:46:15Z")

</div>

I realize this is a very basic question, but am completely new to flash. I am working with a template and need to replace an image but when I click "swap" under properties it lists symbols. I have an image in the libra…

---

## [getChildByName + Loader](https://forum.kirupa.com/t/getchildbyname-loader/246191)

<div class="topic-metadata">

**Author:** [@alexmmn](https://forum.kirupa.com/u/alexmmn)\
**Replies:** 0\
**Last updated:** [December 7, 2007, 9:38pm UTC](https://forum.kirupa.com/t/getchildbyname-loader/246191 "2007-12-07T21:38:53Z")

</div>

What seemed logical to do is not working apparently. I have four buttons named button\_0...button\_3 on the stage and compiled into assets.swf. Essentially, I want the layout to be handled by designers and placed on sta…

---

## [Help with exsisting code for scrolling flash 8 menu](https://forum.kirupa.com/t/help-with-exsisting-code-for-scrolling-flash-8-menu/246190)

<div class="topic-metadata">

**Author:** [@meglundy](https://forum.kirupa.com/u/meglundy)\
**Replies:** 0\
**Last updated:** [December 7, 2007, 9:28pm UTC](https://forum.kirupa.com/t/help-with-exsisting-code-for-scrolling-flash-8-menu/246190 "2007-12-07T21:28:47Z")

</div>

First thank you to all who read and help. Here is a sample of what the page looks like so far: http://paragon.sortismarketing.com/ here is my code so far: onClipEvent (load) { xcenter=453; speed=1/30; } onCli…

---

## ["Typing" XML text](https://forum.kirupa.com/t/typing-xml-text/246185)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [December 7, 2007, 8:23pm UTC](https://forum.kirupa.com/t/typing-xml-text/246185 "2007-12-07T20:23:30Z")

</div>

More on the project I've posted about recently... I've developed a class, TypewriterXML, that loads text from an XML file and IS SUPPOSED TO render the text typewriter-like. Here's TyperwriterXML: package { import …

---

## [Strange Bahavior - a Flash Mistery](https://forum.kirupa.com/t/strange-bahavior-a-flash-mistery/246184)

<div class="topic-metadata">

**Author:** [@mr\_n00](https://forum.kirupa.com/u/mr_n00)\
**Replies:** 0\
**Last updated:** [December 7, 2007, 8:11pm UTC](https://forum.kirupa.com/t/strange-bahavior-a-flash-mistery/246184 "2007-12-07T20:11:11Z")

</div>

sorry. I couldn't find the delete thing.

---

## [Using bullet lists from external .txt files](https://forum.kirupa.com/t/using-bullet-lists-from-external-txt-files/246183)

<div class="topic-metadata">

**Author:** [@damainman](https://forum.kirupa.com/u/damainman)\
**Replies:** 0\
**Last updated:** [December 7, 2007, 8:11pm UTC](https://forum.kirupa.com/t/using-bullet-lists-from-external-txt-files/246183 "2007-12-07T20:11:11Z")

</div>

Hello, In my flash file, I'm calling external data from a .txt file which is being formated from an imported .css file. Everything is working well, but I can't seem to make unordered bullet lists display correctly. …

---

## [swapDepths problems , please help](https://forum.kirupa.com/t/swapdepths-problems-please-help/246182)

<div class="topic-metadata">

**Author:** [@jimted](https://forum.kirupa.com/u/jimted)\
**Replies:** 0\
**Last updated:** [December 7, 2007, 8:02pm UTC](https://forum.kirupa.com/t/swapdepths-problems-please-help/246182 "2007-12-07T20:02:55Z")

</div>

Trying to use swapDepths in XML gallery to send the "picture" to the background, whatever I try it doesn't want to play... files below, would appreciate some help..

---

## [Reverse Starfield Effect](https://forum.kirupa.com/t/reverse-starfield-effect/246181)

<div class="topic-metadata">

**Author:** [@missbenny](https://forum.kirupa.com/u/missbenny)\
**Replies:** 0\
**Last updated:** [December 7, 2007, 7:53pm UTC](https://forum.kirupa.com/t/reverse-starfield-effect/246181 "2007-12-07T19:53:37Z")

</div>

Hey folks i am looking to reverse this effect http://jrgraphix.net/research/flash\_starfield.php i want the circles to scale away rather then towards you. any ideas, tips, anything at all -thanks a bunch

---

## [onClick, spin to front](https://forum.kirupa.com/t/onclick-spin-to-front/246177)

<div class="topic-metadata">

**Author:** [@bardic](https://forum.kirupa.com/u/bardic)\
**Replies:** 0\
**Last updated:** [December 7, 2007, 7:10pm UTC](https://forum.kirupa.com/t/onclick-spin-to-front/246177 "2007-12-07T19:10:57Z")

</div>

Ok, I am having some probs with my math here. I have a carousel and when I click an item I want to bring it to the front and center it. So I have this: function mover(){ this.\_x = Math.cos(this.angle) \* radiusX +…

---

## [DisplayObjects, Loaders and Bugs](https://forum.kirupa.com/t/displayobjects-loaders-and-bugs/246174)

<div class="topic-metadata">

**Author:** [@daidai](https://forum.kirupa.com/u/daidai)\
**Replies:** 0\
**Last updated:** [December 7, 2007, 6:46pm UTC](https://forum.kirupa.com/t/displayobjects-loaders-and-bugs/246174 "2007-12-07T18:46:08Z")

</div>

Im building a multi gallery site. A major buggy area Ive found is while an element is loading and then another part is asked to load, usually included removing and adding children...Is there a good way of telling differe…

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

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