# programming

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

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

**Page:** 1727

---

## [as2 oop - can't get setInterval to work](https://forum.kirupa.com/t/as2-oop-cant-get-setinterval-to-work/225306)

<div class="topic-metadata">

**Author:** [@jansensan](https://forum.kirupa.com/u/jansensan)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 3:45pm UTC](https://forum.kirupa.com/t/as2-oop-cant-get-setinterval-to-work/225306 "2007-05-10T15:45:59Z")

</div>

hello all, i am stuck here i am trying to trigger a function after a certain delay, which is why i used setInterval. i can get the function to happen after a certain time, but clearInterval doesnt seem to work it …

---

## [Preload and flv doesn't work on Firefox](https://forum.kirupa.com/t/preload-and-flv-doesnt-work-on-firefox/225305)

<div class="topic-metadata">

**Author:** [@valdemar](https://forum.kirupa.com/u/valdemar)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 3:32pm UTC](https://forum.kirupa.com/t/preload-and-flv-doesnt-work-on-firefox/225305 "2007-05-10T15:32:54Z")

</div>

Hello, We've created this interactive for a Cd-rom. Now we are trying to implement it to internet and are facing some problems. We were testing it in Internet Explorer and all works well. But the client in testing it i…

---

## [Filtering image types in an XML gallery](https://forum.kirupa.com/t/filtering-image-types-in-an-xml-gallery/225304)

<div class="topic-metadata">

**Author:** [@theMonitor](https://forum.kirupa.com/u/theMonitor)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 3:30pm UTC](https://forum.kirupa.com/t/filtering-image-types-in-an-xml-gallery/225304 "2007-05-10T15:30:22Z")

</div>

I wonder if anyone can help me? I have a Flash photo gallery working from an XML file. The gallery has two types of photos, internal and external, described by the value 'type' in the XML file, like this: \<type\>int\</t…

---

## [Create This Image Transition](https://forum.kirupa.com/t/create-this-image-transition/225301)

<div class="topic-metadata">

**Author:** [@tomyknoker](https://forum.kirupa.com/u/tomyknoker)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 3:01pm UTC](https://forum.kirupa.com/t/create-this-image-transition/225301 "2007-05-10T15:01:03Z")

</div>

Hi all... I want to create an image transition like the following, http://www.livinglindbergh.com/ -\> Gallery... I've managed to fade in my images in which load externally but doesn't work as well as this one... If anyon…

---

## [flex2,php,mysql](https://forum.kirupa.com/t/flex2-php-mysql/225300)

<div class="topic-metadata">

**Author:** [@pixeldude](https://forum.kirupa.com/u/pixeldude)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 2:58pm UTC](https://forum.kirupa.com/t/flex2-php-mysql/225300 "2007-05-10T14:58:13Z")

</div>

Hi all... just a quick shoot....Okay just need help and advise here...how to setup my flex file in order to using with php...as we know the php file should be place in webroot...so where should I save my flex file to w…

---

## [Counting rows](https://forum.kirupa.com/t/counting-rows/225296)

<div class="topic-metadata">

**Author:** [@lunetics](https://forum.kirupa.com/u/lunetics)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 2:16pm UTC](https://forum.kirupa.com/t/counting-rows/225296 "2007-05-10T14:16:34Z")

</div>

I´ve a little counting-row-problem. This how the SQL Query looks like: SELECT dog\_id, SUM(points) AS sum FROM Protocol AS Protocoll\_1 WHERE (prot\_status = 2) GROUP BY dog\_id ORDER BY sum DESC Now I just …

---

## [Rollover Captions in XML Flash Gallery](https://forum.kirupa.com/t/rollover-captions-in-xml-flash-gallery/225295)

<div class="topic-metadata">

**Author:** [@nameless](https://forum.kirupa.com/u/nameless)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 2:13pm UTC](https://forum.kirupa.com/t/rollover-captions-in-xml-flash-gallery/225295 "2007-05-10T14:13:42Z")

</div>

I've been asked to make an XML photo gallery and followed the tutorial on Kirupa http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm The person who I'm making it for would like to have some rollover capti…

---

## [Ajax / Prototype Updater Function](https://forum.kirupa.com/t/ajax-prototype-updater-function/225294)

<div class="topic-metadata">

**Author:** [@rschoenbach](https://forum.kirupa.com/u/rschoenbach)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 2:12pm UTC](https://forum.kirupa.com/t/ajax-prototype-updater-function/225294 "2007-05-10T14:12:46Z")

</div>

\<script type="text/javascript" language="JavaScript"\> function checkZip() { var url = 'check.php'; var params = 'zip=' + $F('zip'); var ajax = new Ajax.Updater( {success: 'zipResult'}, url, {method: 'get', p…

---

## [Mysql \>\> Php \>\> Xml](https://forum.kirupa.com/t/mysql-php-xml/225293)

<div class="topic-metadata">

**Author:** [@magjac](https://forum.kirupa.com/u/magjac)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 2:05pm UTC](https://forum.kirupa.com/t/mysql-php-xml/225293 "2007-05-10T14:05:01Z")

</div>

I have all the connections working etc but i cant get my PHP script to make a new .XML file Can anyone see whats wrong? $sql = "SELECT \* FROM apris"; $result=mysql\_query($sql) or die("query failed: $sql - ". my…

---

## [Insane Background?](https://forum.kirupa.com/t/insane-background/225292)

<div class="topic-metadata">

**Author:** [@jhallen](https://forum.kirupa.com/u/jhallen)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 2:01pm UTC](https://forum.kirupa.com/t/insane-background/225292 "2007-05-10T14:01:11Z")

</div>

Can you make a really trippy backround for flash 8, by making shapes transform to sin(x^2) and other mathematical equations? Kinda like 'Windows Media Player' Plugins. Thanks, ~J H Allen

---

## [Plotting on a curve.. I need a math genius](https://forum.kirupa.com/t/plotting-on-a-curve-i-need-a-math-genius/225291)

<div class="topic-metadata">

**Author:** [@gizma](https://forum.kirupa.com/u/gizma)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 1:56pm UTC](https://forum.kirupa.com/t/plotting-on-a-curve-i-need-a-math-genius/225291 "2007-05-10T13:56:31Z")

</div>

Hi All Great forum! I have a problem you might be able to help me with. I have a curveTo – an anchor point and a control point. Then I have a function that will return the x and y of a point along that curve if I g…

---

## [Enterframe Rollover problem](https://forum.kirupa.com/t/enterframe-rollover-problem/225287)

<div class="topic-metadata">

**Author:** [@vinnieq](https://forum.kirupa.com/u/vinnieq)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 12:55pm UTC](https://forum.kirupa.com/t/enterframe-rollover-problem/225287 "2007-05-10T12:55:18Z")

</div>

I am using the following code to try move the next frame of another movieclip. On Timeline: this.onEnterframe = function (){ } On rollover movieclip on rollover(){ \_root.circlelayer.nextframe() } Problem It doe…

---

## [Embedding FLV Player in HTML](https://forum.kirupa.com/t/embedding-flv-player-in-html/225286)

<div class="topic-metadata">

**Author:** [@lovejeet](https://forum.kirupa.com/u/lovejeet)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 12:49pm UTC](https://forum.kirupa.com/t/embedding-flv-player-in-html/225286 "2007-05-10T12:49:56Z")

</div>

I hv a flash site that needs to have a FLV player in it. when i embed it in the html its not showing the player but plays the animation before it..can anyone help me on that...its really imp...is it that if i upload it t…

---

## [Passing a javascript variable](https://forum.kirupa.com/t/passing-a-javascript-variable/225284)

<div class="topic-metadata">

**Author:** [@RubenFlash](https://forum.kirupa.com/u/RubenFlash)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 11:56am UTC](https://forum.kirupa.com/t/passing-a-javascript-variable/225284 "2007-05-10T11:56:22Z")

</div>

Hi! \[beer\] I have this Javascript function on my HTML... \<script language="JavaScript" type="text/javascript"\> function variaFunction(){ var varia = "something"; return varia; } \</script\> ... and the foll…

---

## [Loading external jpg right-to-left](https://forum.kirupa.com/t/loading-external-jpg-right-to-left/225282)

<div class="topic-metadata">

**Author:** [@kalexand](https://forum.kirupa.com/u/kalexand)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 11:50am UTC](https://forum.kirupa.com/t/loading-external-jpg-right-to-left/225282 "2007-05-10T11:50:29Z")

</div>

Hello everybody, Sorry about the topic title, not quite descriptive i admit. What i'm trying to do is to load an external .jpg using loadClip. That's easy. But i also wanna the loaded jpg's registration point not to be t…

---

## [PHP to MySQL](https://forum.kirupa.com/t/php-to-mysql/225280)

<div class="topic-metadata">

**Author:** [@magjac](https://forum.kirupa.com/u/magjac)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 11:28am UTC](https://forum.kirupa.com/t/php-to-mysql/225280 "2007-05-10T11:28:41Z")

</div>

I cant get this script to post to mysql, any ideas? \<?php // change the following values with your own MYSQL server access data $host = "xxxxxxxx"; $user = "xxxxxxxx"; $pwd = "xxxxxxxx"; $db = "xxxxxxxx"; $connectio…

---

## [Hiding buttons on the stage](https://forum.kirupa.com/t/hiding-buttons-on-the-stage/225274)

<div class="topic-metadata">

**Author:** [@mikeym](https://forum.kirupa.com/u/mikeym)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 9:49am UTC](https://forum.kirupa.com/t/hiding-buttons-on-the-stage/225274 "2007-05-10T09:49:17Z")

</div>

I have a thumbnail gallery consisting of small squares, which when clicked reveal a larger mosaic image directly below. The problem I have is how do I hide all the small squares when the larger image is in the over state…

---

## [Security Sandbox Violation](https://forum.kirupa.com/t/security-sandbox-violation/225273)

<div class="topic-metadata">

**Author:** [@Dazzer](https://forum.kirupa.com/u/Dazzer)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 9:21am UTC](https://forum.kirupa.com/t/security-sandbox-violation/225273 "2007-05-10T09:21:57Z")

</div>

Can someone explain to me why this is screwing up I am loading a swf from domain 1. This swf is accessing another domain (a jpg), and I encounter this error. I tried fiddling around with flash.system.Security but I s…

---

## [attachMovie and conditions problem](https://forum.kirupa.com/t/attachmovie-and-conditions-problem/225272)

<div class="topic-metadata">

**Author:** [@puppylove104104](https://forum.kirupa.com/u/puppylove104104)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 8:24am UTC](https://forum.kirupa.com/t/attachmovie-and-conditions-problem/225272 "2007-05-10T08:24:14Z")

</div>

hello again! :h: I have a problem with a site layout with a menu. I want that once you press on a button it loads the needed movie clip inside a places holder (\[COLOR=red\]done that\[/COLOR\]), when you press another b…

---

## [Calling window.resizeTo() javascript function from flash reporting error](https://forum.kirupa.com/t/calling-window-resizeto-javascript-function-from-flash-reporting-error/225271)

<div class="topic-metadata">

**Author:** [@vikasr](https://forum.kirupa.com/u/vikasr)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 7:22am UTC](https://forum.kirupa.com/t/calling-window-resizeto-javascript-function-from-flash-reporting-error/225271 "2007-05-10T07:22:58Z")

</div>

Hi All, I am facing problem when calling window.resizeTo() javascript function from flash movie. Flash movies wmode is set to window because I have to use the Flash player 9 fullscreeen option. And Fullscreen option do…

---

## [Detecting Params If none then send em'](https://forum.kirupa.com/t/detecting-params-if-none-then-send-em/225270)

<div class="topic-metadata">

**Author:** [@Multi\_Task](https://forum.kirupa.com/u/Multi_Task)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 7:12am UTC](https://forum.kirupa.com/t/detecting-params-if-none-then-send-em/225270 "2007-05-10T07:12:04Z")

</div>

Good morning yall. Question I wrote this little gallery module that uses a DB and flash for some family and friends. I have a question about what to do if there are no pictures for a certain user. Here is how I am gra…

---

## [Contact Form Troubles](https://forum.kirupa.com/t/contact-form-troubles/225266)

<div class="topic-metadata">

**Author:** [@mikenificent](https://forum.kirupa.com/u/mikenificent)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 6:27am UTC](https://forum.kirupa.com/t/contact-form-troubles/225266 "2007-05-10T06:27:24Z")

</div>

OK, I'm having trouble with the contact form on a site I'm building. I used the exact same form as the one I did for his photography site www.taoruspoliphotography.com And that one works perfectly but when I use it…

---

## [Loader class to load swf](https://forum.kirupa.com/t/loader-class-to-load-swf/225265)

<div class="topic-metadata">

**Author:** [@eudora](https://forum.kirupa.com/u/eudora)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 6:19am UTC](https://forum.kirupa.com/t/loader-class-to-load-swf/225265 "2007-05-10T06:19:41Z")

</div>

I am currently using the Loader class to load ext swfs. I have a problem, if the first frame of that swf is empty, the loader detects that its height and width to be only 0 and I won't be able to change the .height and .…

---

## [(AS 2.0) Making a clip/button close parent clip?](https://forum.kirupa.com/t/as-2-0-making-a-clip-button-close-parent-clip/225264)

<div class="topic-metadata">

**Author:** [@LeiaGraf](https://forum.kirupa.com/u/LeiaGraf)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 6:19am UTC](https://forum.kirupa.com/t/as-2-0-making-a-clip-button-close-parent-clip/225264 "2007-05-10T06:19:08Z")

</div>

Hi, this is probably a silly question, but I'm still fumbling around and learning, and now my employers expect me to be a genius with Flash! Can we make something, ie a close button, that onRelease will close the pare…

---

## [Problem in Flash Player 9 fullscreen, when called from localConnection](https://forum.kirupa.com/t/problem-in-flash-player-9-fullscreen-when-called-from-localconnection/225263)

<div class="topic-metadata">

**Author:** [@vikasr](https://forum.kirupa.com/u/vikasr)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 6:12am UTC](https://forum.kirupa.com/t/problem-in-flash-player-9-fullscreen-when-called-from-localconnection/225263 "2007-05-10T06:12:10Z")

</div>

Hi All, I have a situation in which I have to make use of two flash movies in the webpage. I am trying to communicate between these two movie through LocalConnection object, everything is working fine except the Flash …

---

## [Best onRollOver substitute?](https://forum.kirupa.com/t/best-onrollover-substitute/225261)

<div class="topic-metadata">

**Author:** [@asl](https://forum.kirupa.com/u/asl)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 5:56am UTC](https://forum.kirupa.com/t/best-onrollover-substitute/225261 "2007-05-10T05:56:25Z")

</div>

I realize that there is another thread that asks the same basic question, but I have some additional questions and I figured I'd ask them here instead. Let's say I have a MovieClip sitting in a layer with an instance n…

---

## [Blend mode at runtime!](https://forum.kirupa.com/t/blend-mode-at-runtime/225260)

<div class="topic-metadata">

**Author:** [@smita\_datar](https://forum.kirupa.com/u/smita_datar)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 5:50am UTC](https://forum.kirupa.com/t/blend-mode-at-runtime/225260 "2007-05-10T05:50:08Z")

</div>

Hello, Can i apply a blend mode to the movieclip at runtime..I mean through actionscript coding. Is there any way? If yes please give details. Thanks in advance Smita

---

## [100% cpu usage](https://forum.kirupa.com/t/100-cpu-usage/225259)

<div class="topic-metadata">

**Author:** [@npgames](https://forum.kirupa.com/u/npgames)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 4:57am UTC](https://forum.kirupa.com/t/100-cpu-usage/225259 "2007-05-10T04:57:20Z")

</div>

iv been working on a game since springbreak, and have started having serious cpu issues, would any of these be a reason for a max cpu usage? \*lots of movieclips, about 20-30 mc's during a fight, but game lags even when…

---

## [Loading Sounds Externally](https://forum.kirupa.com/t/loading-sounds-externally/225255)

<div class="topic-metadata">

**Author:** [@romfus](https://forum.kirupa.com/u/romfus)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 3:21am UTC](https://forum.kirupa.com/t/loading-sounds-externally/225255 "2007-05-10T03:21:46Z")

</div>

Does anyone know any codes to do this? For example, I have a sound file in the same folder of my FLA/SWF. How can I load this sound file into the flash?

---

## [Top Down Shooters](https://forum.kirupa.com/t/top-down-shooters/225254)

<div class="topic-metadata">

**Author:** [@Candyman](https://forum.kirupa.com/u/Candyman)\
**Replies:** 0\
**Last updated:** [May 10, 2007, 3:16am UTC](https://forum.kirupa.com/t/top-down-shooters/225254 "2007-05-10T03:16:06Z")

</div>

Does anybody know anything about making top down shooters in Flash MX. If so please help me. Either that or does anybody know where I can find decent tutorials that will not cost.

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

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