# programming

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

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

**Page:** 686

---

## [Button does not work in PHP?](https://forum.kirupa.com/t/button-does-not-work-in-php/296877)

<div class="topic-metadata">

**Author:** [@Um\_Design](https://forum.kirupa.com/u/Um_Design)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 7:02am UTC](https://forum.kirupa.com/t/button-does-not-work-in-php/296877 "2009-09-22T07:02:30Z")

</div>

Hi, I have made button and by it self it, when I test it on my computer works. But there is problem now: when I insert this .swf on my site, to me works, but all other visitors can not click on it, it doesnt work to th…

---

## [Flash10c.ocx Error](https://forum.kirupa.com/t/flash10c-ocx-error/296874)

<div class="topic-metadata">

**Author:** [@noelma](https://forum.kirupa.com/u/noelma)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 6:41am UTC](https://forum.kirupa.com/t/flash10c-ocx-error/296874 "2009-09-22T06:41:23Z")

</div>

In my AS3 , i am using web cam stream. So, in some IE browsers, when the end user click the web cam permission box , his/her IE crashes. And this error appears : Flash10c.ocx How can i solve that ?

---

## [Accessing mc functions from the root](https://forum.kirupa.com/t/accessing-mc-functions-from-the-root/296873)

<div class="topic-metadata">

**Author:** [@noelma](https://forum.kirupa.com/u/noelma)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 6:18am UTC](https://forum.kirupa.com/t/accessing-mc-functions-from-the-root/296873 "2009-09-22T06:18:50Z")

</div>

Hi everybody; How can i access a function that is in a movieclip from the root? i've tried these : mcName.functionName(); MoviClip(mcName).functionName(); but all of them didn't work at all.

---

## [Is it a number?](https://forum.kirupa.com/t/is-it-a-number/296868)

<div class="topic-metadata">

**Author:** [@newtome](https://forum.kirupa.com/u/newtome)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 2:18am UTC](https://forum.kirupa.com/t/is-it-a-number/296868 "2009-09-22T02:18:06Z")

</div>

My flash app uses an Access database via CF8 and CFC's. In the customer table, the key is auto-generated as a long integer. I read that table in and store the keys in an array and the customer name goes to a screen grid.…

---

## [Regular Expression for 1-9 or 01-09 or 10-12](https://forum.kirupa.com/t/regular-expression-for-1-9-or-01-09-or-10-12/296867)

<div class="topic-metadata">

**Author:** [@kBisk](https://forum.kirupa.com/u/kBisk)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 2:11am UTC](https://forum.kirupa.com/t/regular-expression-for-1-9-or-01-09-or-10-12/296867 "2009-09-22T02:11:23Z")

</div>

I have a regular expression (being used in JavaScript) which successfully passes 01-09 AND 10-12. It is: /0\[1-9\]|1\[012\]/.test( someOneOrTwoDigitNumber ); true if: 01,02,..09,10,11,12 However, I cannot figure out ho…

---

## [Follow Grid](https://forum.kirupa.com/t/follow-grid/296866)

<div class="topic-metadata">

**Author:** [@pi3rc3](https://forum.kirupa.com/u/pi3rc3)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 2:03am UTC](https://forum.kirupa.com/t/follow-grid/296866 "2009-09-22T02:03:15Z")

</div>

i have a 4x4 block that i want to follow where the mouse is but constrained to a grid. each block in the grid is 32x32 pxs. heres code i have: var distY = Math.sqrt((this.y-b.game.mouseLayer.mouseY)\*(this.y-b.game.mou…

---

## [Reconstructing a flash file](https://forum.kirupa.com/t/reconstructing-a-flash-file/296864)

<div class="topic-metadata">

**Author:** [@simich](https://forum.kirupa.com/u/simich)\
**Replies:** 0\
**Last updated:** [September 22, 2009, 12:20am UTC](https://forum.kirupa.com/t/reconstructing-a-flash-file/296864 "2009-09-22T00:20:46Z")

</div>

I have a flash file thats been on my comp. that I'd like to modify, I'm pretty new to flash so I don't understand to much of AC etc. Now the file and its resources are broken/seperated...there's a timeline as, an action …

---

## [Next step in Learning OOP AS2 Programming](https://forum.kirupa.com/t/next-step-in-learning-oop-as2-programming/296861)

<div class="topic-metadata">

**Author:** [@obmon](https://forum.kirupa.com/u/obmon)\
**Replies:** 0\
**Last updated:** [September 21, 2009, 11:15pm UTC](https://forum.kirupa.com/t/next-step-in-learning-oop-as2-programming/296861 "2009-09-21T23:15:50Z")

</div>

I have been learning about classes and oop programming with AS2. I think I have a very good idea of how it all works, but I'm lacking in one final area before I can truly say I'm coding in OOP. Currently, I use a conte…

---

## [More control](https://forum.kirupa.com/t/more-control/296855)

<div class="topic-metadata">

**Author:** [@AlexWD](https://forum.kirupa.com/u/AlexWD)\
**Replies:** 0\
**Last updated:** [September 21, 2009, 9:32pm UTC](https://forum.kirupa.com/t/more-control/296855 "2009-09-21T21:32:03Z")

</div>

I found a basic example of how to create something that'll shoot an object and create an arc based on an angle. I added a power Bar to it, but I noticed something bad about it. The way it works the higher the speed is …

---

## [I need a loader for my blog](https://forum.kirupa.com/t/i-need-a-loader-for-my-blog/296854)

<div class="topic-metadata">

**Author:** [@era2006](https://forum.kirupa.com/u/era2006)\
**Replies:** 0\
**Last updated:** [September 21, 2009, 9:14pm UTC](https://forum.kirupa.com/t/i-need-a-loader-for-my-blog/296854 "2009-09-21T21:14:38Z")

</div>

Hello Everybody ; I need a Flash Loader to load my blog i hope your help because i have 2 hours without any useful links . my blog at link : Click Here thanks ;

---

## [Accessing a movieclip from a static class](https://forum.kirupa.com/t/accessing-a-movieclip-from-a-static-class/296853)

<div class="topic-metadata">

**Author:** [@WillyR](https://forum.kirupa.com/u/WillyR)\
**Replies:** 0\
**Last updated:** [September 21, 2009, 8:55pm UTC](https://forum.kirupa.com/t/accessing-a-movieclip-from-a-static-class/296853 "2009-09-21T20:55:08Z")

</div>

Hey, I'm having a little problem here. I'm working on a small networked game (server is written in C# ready to go). I've completed all of the networking classes utilizing xmlsockets (socket handling, packets etc). My iss…

---

## [Dynamic XML links](https://forum.kirupa.com/t/dynamic-xml-links/296849)

<div class="topic-metadata">

**Author:** [@stratmack](https://forum.kirupa.com/u/stratmack)\
**Replies:** 0\
**Last updated:** [September 21, 2009, 8:18pm UTC](https://forum.kirupa.com/t/dynamic-xml-links/296849 "2009-09-21T20:18:23Z")

</div>

I've got a little issue with a flash searcher that finds a existing zip code within an xml file and then returns all the node items listed under that particular zip code into a dynamic textbox on stage with a url link. I…

---

## [Online Presentation App - Help](https://forum.kirupa.com/t/online-presentation-app-help/296848)

<div class="topic-metadata">

**Author:** [@noelma](https://forum.kirupa.com/u/noelma)\
**Replies:** 0\
**Last updated:** [September 21, 2009, 8:14pm UTC](https://forum.kirupa.com/t/online-presentation-app-help/296848 "2009-09-21T20:14:45Z")

</div>

Hi everybody. I am new to AS3 and i have to do something that requires AS3. i don't want you to give me source courses. just, i need to know where to start. Therefore , i wanna develop a online presentation app with …

---

## [Accessing AS classes in an MXML document](https://forum.kirupa.com/t/accessing-as-classes-in-an-mxml-document/296847)

<div class="topic-metadata">

**Author:** [@Limping\_Twerp](https://forum.kirupa.com/u/Limping_Twerp)\
**Replies:** 0\
**Last updated:** [September 21, 2009, 7:28pm UTC](https://forum.kirupa.com/t/accessing-as-classes-in-an-mxml-document/296847 "2009-09-21T19:28:22Z")

</div>

Hi guys, im wondering how to put actionscript classes into an MXML document? Lets say my class represents a movieclip, a rotating triangle for instance. How do i put that into a \<mx:vbox\> containter? I can do the AS wo…

---

## [Bitmap Cache](https://forum.kirupa.com/t/bitmap-cache/296842)

<div class="topic-metadata">

**Author:** [@dtk13](https://forum.kirupa.com/u/dtk13)\
**Replies:** 0\
**Last updated:** [September 21, 2009, 6:30pm UTC](https://forum.kirupa.com/t/bitmap-cache/296842 "2009-09-21T18:30:05Z")

</div>

I'm trying to create an bitmap image cache. What it needs to do is to store an image in a cache and then retrieve that image. package com.facebooth.PictureManager{ import flash.display.Sprite; import flash.di…

---

## [Reboot System from Flash](https://forum.kirupa.com/t/reboot-system-from-flash/296841)

<div class="topic-metadata">

**Author:** [@kkertz](https://forum.kirupa.com/u/kkertz)\
**Replies:** 0\
**Last updated:** [September 21, 2009, 6:13pm UTC](https://forum.kirupa.com/t/reboot-system-from-flash/296841 "2009-09-21T18:13:00Z")

</div>

Hello all, A client asked if it's possible to reboot the system using a button from flash after the viewer has watched the flash presentation? From Visual Basic, executing the command "Environment.Exit(-4)" will shutd…

---

## [Any ideas - 3 image tab menu?](https://forum.kirupa.com/t/any-ideas-3-image-tab-menu/296838)

<div class="topic-metadata">

**Author:** [@cocomangas](https://forum.kirupa.com/u/cocomangas)\
**Replies:** 0\
**Last updated:** [September 21, 2009, 5:21pm UTC](https://forum.kirupa.com/t/any-ideas-3-image-tab-menu/296838 "2009-09-21T17:21:20Z")

</div>

No idea where to start but am looking for a tab effect menu with the current page tab background white, the other tabs bg black then on mouseover tab changes to yellow. However when another tab selected (clicked) I then …

---

## [as2 problemo... pls help... how to limit users clicks](https://forum.kirupa.com/t/as2-problemo-pls-help-how-to-limit-users-clicks/296837)

<div class="topic-metadata">

**Author:** [@Leo75](https://forum.kirupa.com/u/Leo75)\
**Replies:** 0\
**Last updated:** [September 21, 2009, 5:15pm UTC](https://forum.kirupa.com/t/as2-problemo-pls-help-how-to-limit-users-clicks/296837 "2009-09-21T17:15:12Z")

</div>

Hi there... I am trying to limit the amount of clicks that i will receive by, maximum, one click per second. How could I limit the interaction of the user to just one click per second? Lets say, just ONE move to the l…

---

## [Wordpress... Problem with Description Page](https://forum.kirupa.com/t/wordpress-problem-with-description-page/296835)

<div class="topic-metadata">

**Author:** [@groogrukxing40](https://forum.kirupa.com/u/groogrukxing40)\
**Replies:** 0\
**Last updated:** [September 21, 2009, 4:27pm UTC](https://forum.kirupa.com/t/wordpress-problem-with-description-page/296835 "2009-09-21T16:27:41Z")

</div>

Hey everyone.. If you look at my main page www dot christiancouriernewspaper dot com / blogbase where it says WELCOME TO CHRISTIAN COURIER E-PAPER... I would like to install Twitter+Facebook icons where it says Follow …

---

## [JS- how to calculate a rectangle's ratio?](https://forum.kirupa.com/t/js-how-to-calculate-a-rectangles-ratio/296833)

<div class="topic-metadata">

**Author:** [@hroth](https://forum.kirupa.com/u/hroth)\
**Replies:** 0\
**Last updated:** [September 21, 2009, 4:19pm UTC](https://forum.kirupa.com/t/js-how-to-calculate-a-rectangles-ratio/296833 "2009-09-21T16:19:52Z")

</div>

Hi there, How do I calculate the height of a rectangle that has is 16:9 from only the width? More specifically, how do I calculate it using JavaScript \[smile\] Is there a standard way to determine the browser and do …

---

## [\[papervision\] rotate texture cube](https://forum.kirupa.com/t/papervision-rotate-texture-cube/296832)

<div class="topic-metadata">

**Author:** [@mitchelvase](https://forum.kirupa.com/u/mitchelvase)\
**Replies:** 0\
**Last updated:** [September 21, 2009, 4:09pm UTC](https://forum.kirupa.com/t/papervision-rotate-texture-cube/296832 "2009-09-21T16:09:31Z")

</div>

Hi there! I made a standard cube in papervision with 6 textures, but when i rotate the cube some of the textures are upside down, is there a way to flip the texture? and not edit it with photoshop?

---

## [\[CS4\]Function order confusion\[AS2\]](https://forum.kirupa.com/t/cs4-function-order-confusion-as2/296828)

<div class="topic-metadata">

**Author:** [@Signy](https://forum.kirupa.com/u/Signy)\
**Replies:** 0\
**Last updated:** [September 21, 2009, 3:26pm UTC](https://forum.kirupa.com/t/cs4-function-order-confusion-as2/296828 "2009-09-21T15:26:11Z")

</div>

Hello all, I am completely at a loss on this one I mean to me it looks like it should work I'm even 99% of the reason it doesn't work but serveral work arounds and experiments later and I'm no closer to solving it in a…

---

## [How can I Retrieve a record in mysql?](https://forum.kirupa.com/t/how-can-i-retrieve-a-record-in-mysql/296820)

<div class="topic-metadata">

**Author:** [@fries4me](https://forum.kirupa.com/u/fries4me)\
**Replies:** 0\
**Last updated:** [September 21, 2009, 1:43pm UTC](https://forum.kirupa.com/t/how-can-i-retrieve-a-record-in-mysql/296820 "2009-09-21T13:43:35Z")

</div>

hello everyone! I have a problem with my login code... I have here a code that deals with an empty result set in mysql... I have already dealt with that problem. However, I got into another problem which is the retriev…

---

## [FLV playback progressive download query](https://forum.kirupa.com/t/flv-playback-progressive-download-query/296819)

<div class="topic-metadata">

**Author:** [@theMonitor](https://forum.kirupa.com/u/theMonitor)\
**Replies:** 0\
**Last updated:** [September 21, 2009, 1:22pm UTC](https://forum.kirupa.com/t/flv-playback-progressive-download-query/296819 "2009-09-21T13:22:31Z")

</div>

I'm using the FLV Playback component to play FLV files on several web pages. The files on each page range from 15 to 30MB in size. I was under the impression that with progressive FLV Playback, the SWF started playing th…

---

## [pre\_replace not sure what the correct expression is](https://forum.kirupa.com/t/pre-replace-not-sure-what-the-correct-expression-is/296816)

<div class="topic-metadata">

**Author:** [@twelve20](https://forum.kirupa.com/u/twelve20)\
**Replies:** 0\
**Last updated:** [September 21, 2009, 12:05pm UTC](https://forum.kirupa.com/t/pre-replace-not-sure-what-the-correct-expression-is/296816 "2009-09-21T12:05:01Z")

</div>

Hi all I need to scan a block of body copy that will replace certain words within the copy with other words. I can do this is and got this part working. How ever i need it to replace only words out side of any htm…

---

## [Bent slider...possible?](https://forum.kirupa.com/t/bent-slider-possible/296813)

<div class="topic-metadata">

**Author:** [@speedy\_rudolf](https://forum.kirupa.com/u/speedy_rudolf)\
**Replies:** 0\
**Last updated:** [September 21, 2009, 11:36am UTC](https://forum.kirupa.com/t/bent-slider-possible/296813 "2009-09-21T11:36:02Z")

</div>

Hi. I have searched google for about an hour, and found nothing...so here I am \[smiley\] Ok...My question is this: Is it possible to make a bent percentage slider? Something like this http://www.agavegroup.com/?p=28 only …

---

## [Need one reusable play/stop button rather than full playlist!](https://forum.kirupa.com/t/need-one-reusable-play-stop-button-rather-than-full-playlist/296812)

<div class="topic-metadata">

**Author:** [@Patz](https://forum.kirupa.com/u/Patz)\
**Replies:** 0\
**Last updated:** [September 21, 2009, 10:04am UTC](https://forum.kirupa.com/t/need-one-reusable-play-stop-button-rather-than-full-playlist/296812 "2009-09-21T10:04:54Z")

</div>

Hi all, Putting together a releases section for a record label, I have hundreds of 45 sec mp3 samples of tracks to go on over about 20 pages... I don't want to use full playlist style flash players on each page as thi…

---

## [AS3 Class Structure](https://forum.kirupa.com/t/as3-class-structure/296807)

<div class="topic-metadata">

**Author:** [@BadgerFarmer](https://forum.kirupa.com/u/BadgerFarmer)\
**Replies:** 0\
**Last updated:** [September 21, 2009, 5:41am UTC](https://forum.kirupa.com/t/as3-class-structure/296807 "2009-09-21T05:41:36Z")

</div>

Righto, It's only this week had a little practical OOP click into place. Quite the revelation, really, I've been trying to hammer this stuff home for years (yes, since 2003) and it's only recently that the theory mater…

---

## [Flame Effect using actionscript](https://forum.kirupa.com/t/flame-effect-using-actionscript/296806)

<div class="topic-metadata">

**Author:** [@NovemberRain](https://forum.kirupa.com/u/NovemberRain)\
**Replies:** 0\
**Last updated:** [September 21, 2009, 5:19am UTC](https://forum.kirupa.com/t/flame-effect-using-actionscript/296806 "2009-09-21T05:19:06Z")

</div>

Hi, Any body knows how to create a realestic flame using actionscript. I did an extensive search but not found any thing :cry3:;( Thanks in advance.

---

## [Dynamic Text HELP!](https://forum.kirupa.com/t/dynamic-text-help/296803)

<div class="topic-metadata">

**Author:** [@jxmckenzie](https://forum.kirupa.com/u/jxmckenzie)\
**Replies:** 0\
**Last updated:** [September 21, 2009, 3:03am UTC](https://forum.kirupa.com/t/dynamic-text-help/296803 "2009-09-21T03:03:19Z")

</div>

I have a movie clip that uses an external txt to draw copy from. When run locally on my computer eveything works perfectly, but when uploaded it comes up undefined. I haven't changed any of the relationships between di…

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

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