# programming

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

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

**Page:** 1273

---

## [Keylistener not working for Home key](https://forum.kirupa.com/t/keylistener-not-working-for-home-key/258036)

<div class="topic-metadata">

**Author:** [@thegrrraue](https://forum.kirupa.com/u/thegrrraue)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 1:16am UTC](https://forum.kirupa.com/t/keylistener-not-working-for-home-key/258036 "2008-04-20T01:16:38Z")

</div>

So I've got this code running: var keyListener\_obj:Object = new Object(); keyListener\_obj.onKeyDown = function() { if (Key.isDown(Key.HOME)) { gotoAndStop(1); } }; Key.addListener(keyListener\_obj); An…

---

## [How to name instances of Boolean values](https://forum.kirupa.com/t/how-to-name-instances-of-boolean-values/258035)

<div class="topic-metadata">

**Author:** [@setzer9999](https://forum.kirupa.com/u/setzer9999)\
**Replies:** 0\
**Last updated:** [April 20, 2008, 12:42am UTC](https://forum.kirupa.com/t/how-to-name-instances-of-boolean-values/258035 "2008-04-20T00:42:01Z")

</div>

Hello, I had a good response on a problem from user jon\_bla on a previous issue where he introduced me to using Boolean values. My problem is that I want to use Boolean values to create functionality for buttons to allo…

---

## [Depth Help!](https://forum.kirupa.com/t/depth-help/258032)

<div class="topic-metadata">

**Author:** [@establishment](https://forum.kirupa.com/u/establishment)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 10:33pm UTC](https://forum.kirupa.com/t/depth-help/258032 "2008-04-19T22:33:00Z")

</div>

Hello, I'm having trouble making a movie clip (portfolio\_mc) appear on top of another movie clip. (bg\_mc) I've tried setting portfolio\_mc to the next highest depth using the following directly on the movie clip. onClip…

---

## [Another way to do this?](https://forum.kirupa.com/t/another-way-to-do-this/258031)

<div class="topic-metadata">

**Author:** [@iceflyin](https://forum.kirupa.com/u/iceflyin)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 9:53pm UTC](https://forum.kirupa.com/t/another-way-to-do-this/258031 "2008-04-19T21:53:56Z")

</div>

Is there another way to do this with less code? AS3-CS3 Each tile in my game is a MovieClip with multiple frames for different states. //Psedocode of what I would want... A single function for generating all tile mc…

---

## [PHP Subscribe Script (Site Launch Date List)](https://forum.kirupa.com/t/php-subscribe-script-site-launch-date-list/258028)

<div class="topic-metadata">

**Author:** [@k77](https://forum.kirupa.com/u/k77)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 8:32pm UTC](https://forum.kirupa.com/t/php-subscribe-script-site-launch-date-list/258028 "2008-04-19T20:32:50Z")

</div>

Hey Kirupa! Looking for a script which allows me to have an subscribe list. I want users to be able to add his/her email on a form, and then when my site is launched an admin panel function to send them the message.

---

## [Attaching MovieClip from Library (Please help)](https://forum.kirupa.com/t/attaching-movieclip-from-library-please-help/258027)

<div class="topic-metadata">

**Author:** [@adnan794](https://forum.kirupa.com/u/adnan794)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 8:03pm UTC](https://forum.kirupa.com/t/attaching-movieclip-from-library-please-help/258027 "2008-04-19T20:03:54Z")

</div>

Hello I have created a textfield and then attached a movieclip as a background on top of which I wanna place the text field just like a button. Here is the code var txt:TextField = new TextField(); var bg:MovieCl…

---

## [Dynamically generated movieClipS hitTesting](https://forum.kirupa.com/t/dynamically-generated-movieclips-hittesting/258023)

<div class="topic-metadata">

**Author:** [@t0w](https://forum.kirupa.com/u/t0w)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 7:30pm UTC](https://forum.kirupa.com/t/dynamically-generated-movieclips-hittesting/258023 "2008-04-19T19:30:14Z")

</div>

So I'm doing a little project that requires movie clips to be created through action script. Im not sure how to get them to hitTest because they are both created in seperate functions. //Enemy function newEnemy = fu…

---

## [CS3 with 3D](https://forum.kirupa.com/t/cs3-with-3d/258022)

<div class="topic-metadata">

**Author:** [@ogundogan](https://forum.kirupa.com/u/ogundogan)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 7:13pm UTC](https://forum.kirupa.com/t/cs3-with-3d/258022 "2008-04-19T19:13:48Z")

</div>

Does anyone happen to know any pre-rendered or real time 3D flash site? www.indreamcity.com is the only site that I know as a good example. Please help. Thanks.

---

## [CSS stationary BG image-scrollable container](https://forum.kirupa.com/t/css-stationary-bg-image-scrollable-container/258019)

<div class="topic-metadata">

**Author:** [@NS05](https://forum.kirupa.com/u/NS05)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 6:27pm UTC](https://forum.kirupa.com/t/css-stationary-bg-image-scrollable-container/258019 "2008-04-19T18:27:14Z")

</div>

Hi, I have a background gradient that I want to stay stationary while my container box on top of it scrolls like normal. Is this possible? I am using an X-repeate for the BG to expand on the X axis but I cant do that w…

---

## [XML Data \* XPath Querrying and PHP - URGENT](https://forum.kirupa.com/t/xml-data-xpath-querrying-and-php-urgent/258018)

<div class="topic-metadata">

**Author:** [@svpriyan](https://forum.kirupa.com/u/svpriyan)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 6:13pm UTC](https://forum.kirupa.com/t/xml-data-xpath-querrying-and-php-urgent/258018 "2008-04-19T18:13:57Z")

</div>

Dear Sir, I am priyan from Netherlands, I am referring your site to do my assignment in XML. Actually i am doing a Querying in XML Database and i have to use PHP for the Querying interface, I wanted to get some hints or …

---

## [NOOB HERE - inserting video](https://forum.kirupa.com/t/noob-here-inserting-video/258016)

<div class="topic-metadata">

**Author:** [@suganoob](https://forum.kirupa.com/u/suganoob)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 5:52pm UTC](https://forum.kirupa.com/t/noob-here-inserting-video/258016 "2008-04-19T17:52:20Z")

</div>

OK I'M A DEFINITE NOOB! I am doing a simple video and I wanted to add this video http://www.istockphoto.com/file\_closeup/object/3863966\_money\_falling\_from\_the\_sky.php?id=3863966 to the background of one of the tweens I …

---

## [Problem with Abstract Data Types](https://forum.kirupa.com/t/problem-with-abstract-data-types/258015)

<div class="topic-metadata">

**Author:** [@lixus](https://forum.kirupa.com/u/lixus)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 5:49pm UTC](https://forum.kirupa.com/t/problem-with-abstract-data-types/258015 "2008-04-19T17:49:41Z")

</div>

Hey everyone... I'm new to OOP with Actionscript, and i guess i understand the basics, but the following costed me half the day and i still don't understand it: I have two classes, Node.as and Player.as. I have this …

---

## [Flash class for better css support](https://forum.kirupa.com/t/flash-class-for-better-css-support/258013)

<div class="topic-metadata">

**Author:** [@brian914](https://forum.kirupa.com/u/brian914)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 5:08pm UTC](https://forum.kirupa.com/t/flash-class-for-better-css-support/258013 "2008-04-19T17:08:40Z")

</div>

I just looked into the styleSheet and TextFormat class for the first time and built a text scroller that pulls its content from a text file with html in it. I am having great problems with the fact that I can't add top …

---

## [Problem with parsing XML file in PHP](https://forum.kirupa.com/t/problem-with-parsing-xml-file-in-php/258011)

<div class="topic-metadata">

**Author:** [@zomby\_pengy](https://forum.kirupa.com/u/zomby_pengy)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 4:47pm UTC](https://forum.kirupa.com/t/problem-with-parsing-xml-file-in-php/258011 "2008-04-19T16:47:02Z")

</div>

I'm using XML and PHP to make a "news" portion of a website... the xml looks like: \<news\> \<id\>\</id \<author\>\</author\> \<date\>\</date\> \<summary\>\</summary\> \<content\>\</content\> \</news\> it works for the …

---

## [QTVR objects in Flash](https://forum.kirupa.com/t/qtvr-objects-in-flash/258008)

<div class="topic-metadata">

**Author:** [@alanmace](https://forum.kirupa.com/u/alanmace)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 3:29pm UTC](https://forum.kirupa.com/t/qtvr-objects-in-flash/258008 "2008-04-19T15:29:36Z")

</div>

I am subcontracting for a producer who wants me to embed a QTVR object into a Flash kiosk. I told him from the very outset that I didn't know how to do that, or even if it were possible, since I'm mediocre at AS 2.0 (at …

---

## [Tweening Clips greater than 2880 in width or height?](https://forum.kirupa.com/t/tweening-clips-greater-than-2880-in-width-or-height/258005)

<div class="topic-metadata">

**Author:** [@DavidOrtiz](https://forum.kirupa.com/u/DavidOrtiz)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 2:45pm UTC](https://forum.kirupa.com/t/tweening-clips-greater-than-2880-in-width-or-height/258005 "2008-04-19T14:45:55Z")

</div>

Hi, any ideas on how I should go about tweening a mc thats greater than 2880? Would breaking up the jpeg into 2 parts be the most efficient way?

---

## [Simple pop up html window - sized HELP!](https://forum.kirupa.com/t/simple-pop-up-html-window-sized-help/257999)

<div class="topic-metadata">

**Author:** [@flufilms](https://forum.kirupa.com/u/flufilms)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 12:01pm UTC](https://forum.kirupa.com/t/simple-pop-up-html-window-sized-help/257999 "2008-04-19T12:01:31Z")

</div>

Hi guys, I've been looking through the posts but just can't solve this simple question - it's 2 years since I've been in Flash and my memory is dying! I'm linking from a button in index.swf - opening mainpage.html in a…

---

## [Dynamically creating Color Swatches](https://forum.kirupa.com/t/dynamically-creating-color-swatches/257998)

<div class="topic-metadata">

**Author:** [@mastermode](https://forum.kirupa.com/u/mastermode)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 11:59am UTC](https://forum.kirupa.com/t/dynamically-creating-color-swatches/257998 "2008-04-19T11:59:16Z")

</div>

So, I have to do this drawing application, and I want to integrate almost as much colors as Flash has, in it's standard swatch picking thingy, i.e 18x12 = 216 swatches. In other words, A LOT of them \[smile\] The only id…

---

## [Help needed with a card shuffling function](https://forum.kirupa.com/t/help-needed-with-a-card-shuffling-function/257994)

<div class="topic-metadata">

**Author:** [@Bolshoi333](https://forum.kirupa.com/u/Bolshoi333)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 9:40am UTC](https://forum.kirupa.com/t/help-needed-with-a-card-shuffling-function/257994 "2008-04-19T09:40:56Z")

</div>

Hello all! I’m trying to make a game that makes primary use of a deck of cards, but right now I’m having trouble making the deck random. My attempted method is to pop or shift (based on a random roll) the contents of a…

---

## [Making Flash file protected](https://forum.kirupa.com/t/making-flash-file-protected/257987)

<div class="topic-metadata">

**Author:** [@seek\_nik](https://forum.kirupa.com/u/seek_nik)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 5:53am UTC](https://forum.kirupa.com/t/making-flash-file-protected/257987 "2008-04-19T05:53:19Z")

</div>

Dear All, I am in a big trouble. Actually I have made multiple swf, is it possible to call them as .exe?? please help Regards

---

## [Sick of my tweens not being smooth. Please help?](https://forum.kirupa.com/t/sick-of-my-tweens-not-being-smooth-please-help/257978)

<div class="topic-metadata">

**Author:** [@dtrace](https://forum.kirupa.com/u/dtrace)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 2:44am UTC](https://forum.kirupa.com/t/sick-of-my-tweens-not-being-smooth-please-help/257978 "2008-04-19T02:44:36Z")

</div>

I am not understanding why a simple alpha tween is staggering my processor every time and just making the tween seem slow and not smooth. I basically have a black movie clip that covers my screen, and i want it to fade…

---

## [More BitmapData woes](https://forum.kirupa.com/t/more-bitmapdata-woes/257975)

<div class="topic-metadata">

**Author:** [@substance](https://forum.kirupa.com/u/substance)\
**Replies:** 0\
**Last updated:** [April 19, 2008, 1:53am UTC](https://forum.kirupa.com/t/more-bitmapdata-woes/257975 "2008-04-19T01:53:23Z")

</div>

I've recently tried to take my bitmapdata skills to the next level by creating my own animation and rotation classes to help bring life to a sitll image. However I might have set my sights a bit too high when I tried to …

---

## [Navigation tabs](https://forum.kirupa.com/t/navigation-tabs/257974)

<div class="topic-metadata">

**Author:** [@jeffonfire](https://forum.kirupa.com/u/jeffonfire)\
**Replies:** 0\
**Last updated:** [April 18, 2008, 11:36pm UTC](https://forum.kirupa.com/t/navigation-tabs/257974 "2008-04-18T23:36:10Z")

</div>

I need to get this done soon and am stumped. http://petersweb.strokemymouse.com/it/ The navigation tabs don't go all the way to the bar on the right side. How can i make them go to the bottom!

---

## [Noob problem with PHP :P](https://forum.kirupa.com/t/noob-problem-with-php-p/257971)

<div class="topic-metadata">

**Author:** [@Web\_Stylist](https://forum.kirupa.com/u/Web_Stylist)\
**Replies:** 0\
**Last updated:** [April 18, 2008, 10:47pm UTC](https://forum.kirupa.com/t/noob-problem-with-php-p/257971 "2008-04-18T22:47:24Z")

</div>

I've just started reading the book "Build your own database driven website using PHP and MySQL and managed myself to fly my way through to the actual mysql commands in creating/managing tables and databases. I have a sma…

---

## [PHPMyAdmin help needed](https://forum.kirupa.com/t/phpmyadmin-help-needed/257969)

<div class="topic-metadata">

**Author:** [@Maqrkk](https://forum.kirupa.com/u/Maqrkk)\
**Replies:** 0\
**Last updated:** [April 18, 2008, 10:36pm UTC](https://forum.kirupa.com/t/phpmyadmin-help-needed/257969 "2008-04-18T22:36:15Z")

</div>

Hello, I've heard about PHPMyAdmin and I'm trying to get it to work. I'll explain my situation: I'm borrowing a server from my father, theres was already some stuff on this server. I have 'access' to this computer th…

---

## [Special Character Php Help](https://forum.kirupa.com/t/special-character-php-help/257968)

<div class="topic-metadata">

**Author:** [@unkempt](https://forum.kirupa.com/u/unkempt)\
**Replies:** 0\
**Last updated:** [April 18, 2008, 9:55pm UTC](https://forum.kirupa.com/t/special-character-php-help/257968 "2008-04-18T21:55:43Z")

</div>

Hi - sorry if i am new to php I am using flash 8 and i am grabbing data from mySql using php to feed flash. My data has special characters in it (éö etc) I have embedded these characters in flash but the data is not …

---

## [Movie clip Linking](https://forum.kirupa.com/t/movie-clip-linking/257967)

<div class="topic-metadata">

**Author:** [@establishment](https://forum.kirupa.com/u/establishment)\
**Replies:** 0\
**Last updated:** [April 18, 2008, 9:49pm UTC](https://forum.kirupa.com/t/movie-clip-linking/257967 "2008-04-18T21:49:14Z")

</div>

Greetings! I'm using the Interactive Image Panning tutorial, and I must say it's excellent. (http://www.kirupa.com/developer/flash8/interactive\_image\_pan.htm) I've edited the AS code around a bit to get my desired eff…

---

## [\[Flash CS3 - AS 2.0\] btn.enabled = true; / false; problem](https://forum.kirupa.com/t/flash-cs3-as-2-0-btn-enabled-true-false-problem/257962)

<div class="topic-metadata">

**Author:** [@camel\_smuggler](https://forum.kirupa.com/u/camel_smuggler)\
**Replies:** 0\
**Last updated:** [April 18, 2008, 9:18pm UTC](https://forum.kirupa.com/t/flash-cs3-as-2-0-btn-enabled-true-false-problem/257962 "2008-04-18T21:18:46Z")

</div>

Hello everyone I have abit of an issue with enabling and disabling buttons. They enable and disable fine. Unfortunately when they re-enable the buttons don't go back to frame(1) This makes me extremely sadface. Below i…

---

## [MouseEvent Problem](https://forum.kirupa.com/t/mouseevent-problem/257961)

<div class="topic-metadata">

**Author:** [@endemoniada](https://forum.kirupa.com/u/endemoniada)\
**Replies:** 0\
**Last updated:** [April 18, 2008, 9:12pm UTC](https://forum.kirupa.com/t/mouseevent-problem/257961 "2008-04-18T21:12:37Z")

</div>

Hi guys, I have a child Sprite called Table that's smaller than the main window, and the Table has a child called Bat, like this: Main -Table --Bat Here is the problem: when I handle MOUSE\_MOVE in Table it will tri…

---

## [removeChild?](https://forum.kirupa.com/t/removechild/257960)

<div class="topic-metadata">

**Author:** [@marshalldean](https://forum.kirupa.com/u/marshalldean)\
**Replies:** 0\
**Last updated:** [April 18, 2008, 8:42pm UTC](https://forum.kirupa.com/t/removechild/257960 "2008-04-18T20:42:24Z")

</div>

So here is what I am doing. You click a navigation button on the screen (artclassNav, eventsNav, exhibitionNav, museumNav) A box slides onto the screen (infoBox) and the appropriate text fades in (artclassTxt, events…

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

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