# programming

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

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

**Page:** 1502

---

## [Cant print if the loadedSwf isn't added it to displaylist](https://forum.kirupa.com/t/cant-print-if-the-loadedswf-isnt-added-it-to-displaylist/241962)

<div class="topic-metadata">

**Author:** [@smileyDandelion](https://forum.kirupa.com/u/smileyDandelion)\
**Replies:** 0\
**Last updated:** [October 20, 2007, 12:38am UTC](https://forum.kirupa.com/t/cant-print-if-the-loadedswf-isnt-added-it-to-displaylist/241962 "2007-10-20T00:38:12Z")

</div>

I'm having a problem- not being able to get the loaded\_swf that is not added to display list to get printed . The printer prints a blank page instead. I use Loader to load the external swf . If I add the loader to dis…

---

## [Jeopardy Source \[Flash CS3 - AS3\]](https://forum.kirupa.com/t/jeopardy-source-flash-cs3-as3/241960)

<div class="topic-metadata">

**Author:** [@la\_Swear](https://forum.kirupa.com/u/la_Swear)\
**Replies:** 0\
**Last updated:** [October 19, 2007, 11:46pm UTC](https://forum.kirupa.com/t/jeopardy-source-flash-cs3-as3/241960 "2007-10-19T23:46:39Z")

</div>

Kirupa Folks, I've found a few versions of Jeopardy Game source out there. A teacher has asked me to build him one, but has anyone built anything using the newest Flash build? (I'd rather build/modify it to be more…

---

## [Problems with dynamic buttons with XML](https://forum.kirupa.com/t/problems-with-dynamic-buttons-with-xml/241958)

<div class="topic-metadata">

**Author:** [@esquivel](https://forum.kirupa.com/u/esquivel)\
**Replies:** 0\
**Last updated:** [October 19, 2007, 10:36pm UTC](https://forum.kirupa.com/t/problems-with-dynamic-buttons-with-xml/241958 "2007-10-19T22:36:48Z")

</div>

Hello all, I'm kinda new using XML in flash, and I can't get this to work... Everything seems to be fine, all 7 buttons have their corresponding instance, but when I hit the button already published, nothing happens, not…

---

## [Dynamically Created Events?](https://forum.kirupa.com/t/dynamically-created-events/241957)

<div class="topic-metadata">

**Author:** [@oreth](https://forum.kirupa.com/u/oreth)\
**Replies:** 0\
**Last updated:** [October 19, 2007, 10:25pm UTC](https://forum.kirupa.com/t/dynamically-created-events/241957 "2007-10-19T22:25:43Z")

</div>

I've got a data structure: var obj:Object = new Object(); and a forLoop for (var i:Number = 0; i\< SomeNumber; i++){ \[INDENT\] obj\['line\_mc'+i\] = new MovieClip(); obj\['line\_mc'+i\].someData = i; ... do some…

---

## [Is it possible to assign z-index to a pulldown?](https://forum.kirupa.com/t/is-it-possible-to-assign-z-index-to-a-pulldown/241956)

<div class="topic-metadata">

**Author:** [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Replies:** 0\
**Last updated:** [October 19, 2007, 9:30pm UTC](https://forum.kirupa.com/t/is-it-possible-to-assign-z-index-to-a-pulldown/241956 "2007-10-19T21:30:45Z")

</div>

I've tried applying a z-index of 1 to the span class, and tried applying it as a div wrapped around that include. In IE 6 only the pulldown appears above an image that has a z-index of 10,000. the 10,000 z-index div is…

---

## [Flash Detection in the same page](https://forum.kirupa.com/t/flash-detection-in-the-same-page/241949)

<div class="topic-metadata">

**Author:** [@sudewo](https://forum.kirupa.com/u/sudewo)\
**Replies:** 0\
**Last updated:** [October 19, 2007, 7:22pm UTC](https://forum.kirupa.com/t/flash-detection-in-the-same-page/241949 "2007-10-19T19:22:07Z")

</div>

Hello, I have a site with navigation menu built from DW extension - extend studio menu. This menu uses flash, but it doesn't call flash object directly, instead, it has a long javascript file that calling the flash obj…

---

## [Members](https://forum.kirupa.com/t/members/241945)

<div class="topic-metadata">

**Author:** [@Irontigerz](https://forum.kirupa.com/u/Irontigerz)\
**Replies:** 0\
**Last updated:** [October 19, 2007, 7:00pm UTC](https://forum.kirupa.com/t/members/241945 "2007-10-19T19:00:28Z")

</div>

does anyone know how to make a game just have something special for members and if they not a member it don't show. all help is appreciated

---

## [Looping through objects?](https://forum.kirupa.com/t/looping-through-objects/241944)

<div class="topic-metadata">

**Author:** [@axiomflash](https://forum.kirupa.com/u/axiomflash)\
**Replies:** 0\
**Last updated:** [October 19, 2007, 6:53pm UTC](https://forum.kirupa.com/t/looping-through-objects/241944 "2007-10-19T18:53:52Z")

</div>

It is easy to loop through an Object or Array's properties with the following: for(var j:String in myData){ trace(j, myData\[j\]); } But I need to loop through the properties of an unknown object, a sprite for exa…

---

## ["Bank" design pattern: is it worth it?](https://forum.kirupa.com/t/bank-design-pattern-is-it-worth-it/241939)

<div class="topic-metadata">

**Author:** [@Rezmason](https://forum.kirupa.com/u/Rezmason)\
**Replies:** 0\
**Last updated:** [October 19, 2007, 5:48pm UTC](https://forum.kirupa.com/t/bank-design-pattern-is-it-worth-it/241939 "2007-10-19T17:48:06Z")

</div>

A Python-based associate and I have pondered over the use of the following design pattern, which I call a "Bank" (I think it differs somewhat from the Flyweight pattern): Say you have a game that instantiates Enemy obj…

---

## [AS PHP/MYSQL Help](https://forum.kirupa.com/t/as-php-mysql-help/241936)

<div class="topic-metadata">

**Author:** [@prado97](https://forum.kirupa.com/u/prado97)\
**Replies:** 0\
**Last updated:** [October 19, 2007, 4:58pm UTC](https://forum.kirupa.com/t/as-php-mysql-help/241936 "2007-10-19T16:58:33Z")

</div>

Hi, I'm just beginning to work on flash and actionscript. I just finished working on a simple quiz game and I'd like to integrate with a current php/mysql script. How can I send/pass the score variable from the flash q…

---

## [Hello and question (currentframe)](https://forum.kirupa.com/t/hello-and-question-currentframe/241931)

<div class="topic-metadata">

**Author:** [@Padaxes](https://forum.kirupa.com/u/Padaxes)\
**Replies:** 0\
**Last updated:** [October 19, 2007, 4:03pm UTC](https://forum.kirupa.com/t/hello-and-question-currentframe/241931 "2007-10-19T16:03:12Z")

</div>

Hi, I've just started out with flash/action script and have been trawling through tutorials/examples etc learning the ropes. However the easy slide show tutorial I was using is in action script 2.0, I\`m trying to adep…

---

## [Strange mail form problem!](https://forum.kirupa.com/t/strange-mail-form-problem/241930)

<div class="topic-metadata">

**Author:** [@insats](https://forum.kirupa.com/u/insats)\
**Replies:** 0\
**Last updated:** [October 19, 2007, 3:54pm UTC](https://forum.kirupa.com/t/strange-mail-form-problem/241930 "2007-10-19T15:54:34Z")

</div>

I have a weird mail form problem. I have a flash/php-based mail form which works perfectly except for one thing: When typing in the form, the keyboard acts like it has english/american layout. On a swedish keyboard you…

---

## [What window size?](https://forum.kirupa.com/t/what-window-size/241929)

<div class="topic-metadata">

**Author:** [@tpann](https://forum.kirupa.com/u/tpann)\
**Replies:** 0\
**Last updated:** [October 19, 2007, 3:42pm UTC](https://forum.kirupa.com/t/what-window-size/241929 "2007-10-19T15:42:51Z")

</div>

I'm developing a training demo in Flash and I need to decide how big the window should be that contains the demo. I'm not privvy to such best practices considerations. Any advice on this? I've tried 800 x 600 and that …

---

## [Blur transitions](https://forum.kirupa.com/t/blur-transitions/241924)

<div class="topic-metadata">

**Author:** [@ChrisSe7en](https://forum.kirupa.com/u/ChrisSe7en)\
**Replies:** 0\
**Last updated:** [October 19, 2007, 1:46pm UTC](https://forum.kirupa.com/t/blur-transitions/241924 "2007-10-19T13:46:45Z")

</div>

Since using Flash with video, I've yet to figure out how people are doing blur transitions like these: http://www.shaveeverywhere.com/ How are they doing these smooth trasition from one VC to the next? I'm sure it is …

---

## [Converting site from Flash 6 to Flash 8](https://forum.kirupa.com/t/converting-site-from-flash-6-to-flash-8/241918)

<div class="topic-metadata">

**Author:** [@Dubhsith](https://forum.kirupa.com/u/Dubhsith)\
**Replies:** 0\
**Last updated:** [October 19, 2007, 11:38am UTC](https://forum.kirupa.com/t/converting-site-from-flash-6-to-flash-8/241918 "2007-10-19T11:38:25Z")

</div>

I'm trying to convert a flash 6 file to a flash 8 file, but when i do, it screws up the menu in my flash site. the menu freezes half way down. It compiles error free. The menu has 4 items. When the user selects a menu …

---

## [Display on stage from subclass](https://forum.kirupa.com/t/display-on-stage-from-subclass/241915)

<div class="topic-metadata">

**Author:** [@Qbe](https://forum.kirupa.com/u/Qbe)\
**Replies:** 0\
**Last updated:** [October 19, 2007, 11:16am UTC](https://forum.kirupa.com/t/display-on-stage-from-subclass/241915 "2007-10-19T11:16:58Z")

</div>

I'm trying to add a series ofTextFields on the stage from a subclass of the creatorclass. This is my structure: FLA, the .fla file CRE, the creator file that's connected to the FLA. PROD, the sub class of CRE. I have…

---

## [MouseEventDispatcher anyone?](https://forum.kirupa.com/t/mouseeventdispatcher-anyone/241914)

<div class="topic-metadata">

**Author:** [@tezzutezzu](https://forum.kirupa.com/u/tezzutezzu)\
**Replies:** 0\
**Last updated:** [October 19, 2007, 11:01am UTC](https://forum.kirupa.com/t/mouseeventdispatcher-anyone/241914 "2007-10-19T11:01:13Z")

</div>

Hello, I find myself a little bored by the fact that every time I want to add any sort of mouse interaction to a DisplayObject I have to add at least 4 rows of addEventListener and 4 functions for each different state (…

---

## [\[help\] Game + left/right mouse movement](https://forum.kirupa.com/t/help-game-left-right-mouse-movement/241913)

<div class="topic-metadata">

**Author:** [@cjj](https://forum.kirupa.com/u/cjj)\
**Replies:** 0\
**Last updated:** [October 19, 2007, 10:56am UTC](https://forum.kirupa.com/t/help-game-left-right-mouse-movement/241913 "2007-10-19T10:56:09Z")

</div>

Hi. I'm busy creating a game and Im stuck on this one part. I basically need to have the 'character' move with the mouse. The movement must be like Hasee Bounce http://www.neopets.com/games/play.phtml?game\_id=368 I …

---

## [Please Help, Bullet direction](https://forum.kirupa.com/t/please-help-bullet-direction/241910)

<div class="topic-metadata">

**Author:** [@bottomline\_2](https://forum.kirupa.com/u/bottomline_2)\
**Replies:** 0\
**Last updated:** [October 19, 2007, 10:17am UTC](https://forum.kirupa.com/t/please-help-bullet-direction/241910 "2007-10-19T10:17:14Z")

</div>

Hello, i am creating a game wer bullets are fired from an arrow at the bottom of the screen. I have been trying to get the bullets move in the same direction as the arrow is facing when fired. I have the arrow\_rotation o…

---

## [Xml Search with "Adding Thumbnails"](https://forum.kirupa.com/t/xml-search-with-adding-thumbnails/241907)

<div class="topic-metadata">

**Author:** [@psefitt](https://forum.kirupa.com/u/psefitt)\
**Replies:** 0\
**Last updated:** [October 19, 2007, 9:43am UTC](https://forum.kirupa.com/t/xml-search-with-adding-thumbnails/241907 "2007-10-19T09:43:35Z")

</div>

Hi.. I used Kirupa's Thumbnail Gallery and everything works well. In gallery section I have 2 categories..One of has 148 images, the other one has 264 images. So that I need a search engine for thumbnail gallery. I have …

---

## [AS3 drawing api - creating a line that follows my mouse](https://forum.kirupa.com/t/as3-drawing-api-creating-a-line-that-follows-my-mouse/241906)

<div class="topic-metadata">

**Author:** [@clot](https://forum.kirupa.com/u/clot)\
**Replies:** 0\
**Last updated:** [October 19, 2007, 9:25am UTC](https://forum.kirupa.com/t/as3-drawing-api-creating-a-line-that-follows-my-mouse/241906 "2007-10-19T09:25:35Z")

</div>

I'm sure this is pretty simple but can't figure it out. I want to set a point to start my line from and have the other end of the line follow my mouse. Here's what I have so far: var clip:Shape = new Shape() addChil…

---

## [Remove \_level from trace](https://forum.kirupa.com/t/remove--level-from-trace/241901)

<div class="topic-metadata">

**Author:** [@mako](https://forum.kirupa.com/u/mako)\
**Replies:** 0\
**Last updated:** [October 19, 2007, 8:28am UTC](https://forum.kirupa.com/t/remove--level-from-trace/241901 "2007-10-19T08:28:50Z")

</div>

Hi there, Trying to remove the \_level part from from the instance name when I trace something. Is it possible to trace just the name without the \_level part. Here's my code. \[AS\] var btnA:Array = \[infoicon,infoico…

---

## [Image, or swf cacheing](https://forum.kirupa.com/t/image-or-swf-cacheing/241897)

<div class="topic-metadata">

**Author:** [@SolBrad](https://forum.kirupa.com/u/SolBrad)\
**Replies:** 0\
**Last updated:** [October 19, 2007, 8:00am UTC](https://forum.kirupa.com/t/image-or-swf-cacheing/241897 "2007-10-19T08:00:21Z")

</div>

Hi all I am hoping someone can clear something up for me, if i create an empty movieclip, then i load and image into it, then when clicking on a next button it loads the next image over that 1 and then again on the …

---

## [External Actionscript](https://forum.kirupa.com/t/external-actionscript/241890)

<div class="topic-metadata">

**Author:** [@Random490](https://forum.kirupa.com/u/Random490)\
**Replies:** 0\
**Last updated:** [October 19, 2007, 5:23am UTC](https://forum.kirupa.com/t/external-actionscript/241890 "2007-10-19T05:23:42Z")

</div>

I've never used an external .as file before and I've been trying to link it with the document class but I keep getting an error. I searched all over looking for a simple explanation on how to use an actionscript file and…

---

## [Pseudo 3d with bitmap as displacement for y-axis](https://forum.kirupa.com/t/pseudo-3d-with-bitmap-as-displacement-for-y-axis/241886)

<div class="topic-metadata">

**Author:** [@Jerryscript](https://forum.kirupa.com/u/Jerryscript)\
**Replies:** 0\
**Last updated:** [October 19, 2007, 5:01am UTC](https://forum.kirupa.com/t/pseudo-3d-with-bitmap-as-displacement-for-y-axis/241886 "2007-10-19T05:01:38Z")

</div>

I'm sure someone has already done something similar to this: Using the basic focal length formula for simple 3d positioning of objects, I wanted a simple way to create a terrain. Creating a huge array of all the terra…

---

## [End Process on Another Computer](https://forum.kirupa.com/t/end-process-on-another-computer/241884)

<div class="topic-metadata">

**Author:** [@vietskynet](https://forum.kirupa.com/u/vietskynet)\
**Replies:** 0\
**Last updated:** [October 19, 2007, 3:42am UTC](https://forum.kirupa.com/t/end-process-on-another-computer/241884 "2007-10-19T03:42:10Z")

</div>

Can we use Dos Command to turn off a process on another Computer (in LAN) And How to do that??? Thx,

---

## [Simple fade in and out function?](https://forum.kirupa.com/t/simple-fade-in-and-out-function/241881)

<div class="topic-metadata">

**Author:** [@RichGags](https://forum.kirupa.com/u/RichGags)\
**Replies:** 0\
**Last updated:** [October 19, 2007, 3:05am UTC](https://forum.kirupa.com/t/simple-fade-in-and-out-function/241881 "2007-10-19T03:05:04Z")

</div>

Can someone help me with a function that I can re-use and pass movie clips to and cause mc's to fade in and out?...such as function fadeMeIn(fadewhat,fadespeed) { if (fadewhat \< 100) { fadewhat.\_alpha += fadespeed; …

---

## [Compulsory Fields](https://forum.kirupa.com/t/compulsory-fields/241880)

<div class="topic-metadata">

**Author:** [@GGMcGee](https://forum.kirupa.com/u/GGMcGee)\
**Replies:** 0\
**Last updated:** [October 19, 2007, 2:54am UTC](https://forum.kirupa.com/t/compulsory-fields/241880 "2007-10-19T02:54:47Z")

</div>

Hey, I’ve created an email contact form on a web page for a client, using HTML and PHP. Below is the code for the contact HTML page, and the mailer PHP page I’m using. It works, but I need to make all the input fields …

---

## [onRollOver event of parent MC preventing onRollOver of child](https://forum.kirupa.com/t/onrollover-event-of-parent-mc-preventing-onrollover-of-child/241879)

<div class="topic-metadata">

**Author:** [@snailface](https://forum.kirupa.com/u/snailface)\
**Replies:** 0\
**Last updated:** [October 19, 2007, 2:53am UTC](https://forum.kirupa.com/t/onrollover-event-of-parent-mc-preventing-onrollover-of-child/241879 "2007-10-19T02:53:39Z")

</div>

I have a movieClip, which in turn has a nested movieClip. I need each of these to have thier own onRollOver events, the parent movieClip is OK, but the event never fires for the nested movieClip. Can anyone think of a …

---

## [Var Inside Function](https://forum.kirupa.com/t/var-inside-function/241877)

<div class="topic-metadata">

**Author:** [@outdoors](https://forum.kirupa.com/u/outdoors)\
**Replies:** 0\
**Last updated:** [October 19, 2007, 1:36am UTC](https://forum.kirupa.com/t/var-inside-function/241877 "2007-10-19T01:36:05Z")

</div>

Hi, I know this has been asked before but no solid answer yet. I want to declare a var inside a function and then access it from the outside. This does not work. I know i can do it with classes or declaring it from t…

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

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