# programming

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

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

**Page:** 360

---

## [How come this include works on it's own, but not as an include?](https://forum.kirupa.com/t/how-come-this-include-works-on-its-own-but-not-as-an-include/317436)

<div class="topic-metadata">

**Author:** [@AliH](https://forum.kirupa.com/u/AliH)\
**Replies:** 0\
**Last updated:** [December 20, 2010, 3:59pm UTC](https://forum.kirupa.com/t/how-come-this-include-works-on-its-own-but-not-as-an-include/317436 "2010-12-20T15:59:41Z")

</div>

So, I'm trying to create a drop-down, dynamic select box. Essentially, MySQL iterates through the rows, printing 'vname' from each line. This works as a standalone code: \<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0…

---

## [AS3 Documentation in Flash CS5](https://forum.kirupa.com/t/as3-documentation-in-flash-cs5/317434)

<div class="topic-metadata">

**Author:** [@theonlycarmire](https://forum.kirupa.com/u/theonlycarmire)\
**Replies:** 0\
**Last updated:** [December 20, 2010, 3:53pm UTC](https://forum.kirupa.com/t/as3-documentation-in-flash-cs5/317434 "2010-12-20T15:53:52Z")

</div>

Hey all, It's been a while since I've done any AS3 dev. but now I'm working with CS5. I remember back in the good ol' days of CS3, there was a great set of documentation in the help section. You opened it up and there …

---

## [Error 5007](https://forum.kirupa.com/t/error-5007/317430)

<div class="topic-metadata">

**Author:** [@nav99](https://forum.kirupa.com/u/nav99)\
**Replies:** 0\
**Last updated:** [December 20, 2010, 2:24pm UTC](https://forum.kirupa.com/t/error-5007/317430 "2010-12-20T14:24:58Z")

</div>

I use flash cs4, and i'm doing a mouse trail effect, but i keep getting error 5007 saying : An ActionScript file must have at least one externally visible definition. i dunno what on earth it means and how to fix it.it…

---

## [How to access an external class in an existing fla file?](https://forum.kirupa.com/t/how-to-access-an-external-class-in-an-existing-fla-file/317427)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [December 20, 2010, 11:08am UTC](https://forum.kirupa.com/t/how-to-access-an-external-class-in-an-existing-fla-file/317427 "2010-12-20T11:08:16Z")

</div>

Hi, I have an Existing FLA file (It is my Project file) and I have downloaded one good example Class file with Fla. But there is no code at all on the stage just it is retrieving instructions from the Class. How can I …

---

## [Create a mc of typed in text](https://forum.kirupa.com/t/create-a-mc-of-typed-in-text/317426)

<div class="topic-metadata">

**Author:** [@keiney](https://forum.kirupa.com/u/keiney)\
**Replies:** 0\
**Last updated:** [December 20, 2010, 11:01am UTC](https://forum.kirupa.com/t/create-a-mc-of-typed-in-text/317426 "2010-12-20T11:01:06Z")

</div>

hi I have the input text component on the stage. I also have an empty movieclip on the stage called "contain\_mc". My question is how can i create a moviclips of the text that is typed in inside the mc "contain\_mc" …

---

## [Basic help with an ASP.NET mailing script](https://forum.kirupa.com/t/basic-help-with-an-asp-net-mailing-script/317425)

<div class="topic-metadata">

**Author:** [@theSchtickler](https://forum.kirupa.com/u/theSchtickler)\
**Replies:** 0\
**Last updated:** [December 20, 2010, 10:28am UTC](https://forum.kirupa.com/t/basic-help-with-an-asp-net-mailing-script/317425 "2010-12-20T10:28:02Z")

</div>

Hi there, I've been put in charge of developing a simple mailing script for a client. Trouble is, I don't have access to a .NET test server, and there is a 2 day turn around with the clients, which is AWESOME for achie…

---

## [How to stop looping an external .SWF file?](https://forum.kirupa.com/t/how-to-stop-looping-an-external-swf-file/317420)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [December 20, 2010, 7:43am UTC](https://forum.kirupa.com/t/how-to-stop-looping-an-external-swf-file/317420 "2010-12-20T07:43:23Z")

</div>

Hi, How can I stop my Logo.swf file from looping. Actually the external Logo.swf file doesn't contain any looping code inside it. If I open it in any flash player it animates only one time. Writing "stop();" in code…

---

## [Help with child's and parent's please?](https://forum.kirupa.com/t/help-with-childs-and-parents-please/317419)

<div class="topic-metadata">

**Author:** [@groovdafied](https://forum.kirupa.com/u/groovdafied)\
**Replies:** 0\
**Last updated:** [December 20, 2010, 7:37am UTC](https://forum.kirupa.com/t/help-with-childs-and-parents-please/317419 "2010-12-20T07:37:58Z")

</div>

oookay. So I have setup a flash MovieClip with a scrollpane in it, and another MovieClip that run's a FOR loop to create a list of buttons dynamically. I have the script pull the dynamic MovieClip and load it as a sour…

---

## [Static Variable Troubles](https://forum.kirupa.com/t/static-variable-troubles/317417)

<div class="topic-metadata">

**Author:** [@Amzipotatosheep](https://forum.kirupa.com/u/Amzipotatosheep)\
**Replies:** 0\
**Last updated:** [December 20, 2010, 3:50am UTC](https://forum.kirupa.com/t/static-variable-troubles/317417 "2010-12-20T03:50:27Z")

</div>

Hi all, I'm currently working on a particle system for a game that I recently started development on, but I've hit a snag: I have a class particlecontainer that tells each particle what to do on enterframe, and which c…

---

## [Help Please? - Flash CS3 and AS3 Issues - Gallery Scroll](https://forum.kirupa.com/t/help-please-flash-cs3-and-as3-issues-gallery-scroll/317416)

<div class="topic-metadata">

**Author:** [@c8warren](https://forum.kirupa.com/u/c8warren)\
**Replies:** 0\
**Last updated:** [December 20, 2010, 2:21am UTC](https://forum.kirupa.com/t/help-please-flash-cs3-and-as3-issues-gallery-scroll/317416 "2010-12-20T02:21:46Z")

</div>

Hello, I would love it if someone could help me out with this code. I've created a basic basic website which I've done quite a bit before with working buttons, text, links, etc. Unfortunately, I tried something new toda…

---

## [ASP.NET String to checkbox list](https://forum.kirupa.com/t/asp-net-string-to-checkbox-list/317415)

<div class="topic-metadata">

**Author:** [@yanivamar](https://forum.kirupa.com/u/yanivamar)\
**Replies:** 0\
**Last updated:** [December 19, 2010, 11:09pm UTC](https://forum.kirupa.com/t/asp-net-string-to-checkbox-list/317415 "2010-12-19T23:09:11Z")

</div>

I am trying to retrieve a string of data from a single column and then explode it out and use its values to create a check box list example. user enters their id. SELECT \[IMR\], \[Social\] FROM \[AlphaRoster\] WHERE (\[Soc…

---

## [NextGen Pattern? or is MVVM the current standard for awhile](https://forum.kirupa.com/t/nextgen-pattern-or-is-mvvm-the-current-standard-for-awhile/317414)

<div class="topic-metadata">

**Author:** [@AlxGofOC](https://forum.kirupa.com/u/AlxGofOC)\
**Replies:** 0\
**Last updated:** [December 19, 2010, 11:04pm UTC](https://forum.kirupa.com/t/nextgen-pattern-or-is-mvvm-the-current-standard-for-awhile/317414 "2010-12-19T23:04:08Z")

</div>

Hello all Does any trail blazer of data patterns care to hint at the next generation pattern? or is MVVM going to be the popular one for a while. Thanks =D ~Alex

---

## [AS3 Multitouch text field](https://forum.kirupa.com/t/as3-multitouch-text-field/317412)

<div class="topic-metadata">

**Author:** [@LoveTheresa](https://forum.kirupa.com/u/LoveTheresa)\
**Replies:** 0\
**Last updated:** [December 19, 2010, 9:05pm UTC](https://forum.kirupa.com/t/as3-multitouch-text-field/317412 "2010-12-19T21:05:42Z")

</div>

I'm doing some application on the multitouch, everything is working find, everything can be rotate, expand (pinch) but only one problem... all my text field disappear when I rotate it... but somehow the textfield will …

---

## [ComboBox values color change based on "if" condition](https://forum.kirupa.com/t/combobox-values-color-change-based-on-if-condition/317408)

<div class="topic-metadata">

**Author:** [@rajesh\_flash](https://forum.kirupa.com/u/rajesh_flash)\
**Replies:** 0\
**Last updated:** [December 19, 2010, 3:24pm UTC](https://forum.kirupa.com/t/combobox-values-color-change-based-on-if-condition/317408 "2010-12-19T15:24:13Z")

</div>

hello friends, I need a small help from you guys. I am doing a simple combobox example. Now my requirement was, i want to differentiate the combobox values with some colors based on a condition. Suppose for ex: if my …

---

## [Complex Flash Form info not passing through whiled embedded a dreamweaver site](https://forum.kirupa.com/t/complex-flash-form-info-not-passing-through-whiled-embedded-a-dreamweaver-site/317407)

<div class="topic-metadata">

**Author:** [@Ksuguy25](https://forum.kirupa.com/u/Ksuguy25)\
**Replies:** 0\
**Last updated:** [December 19, 2010, 2:43pm UTC](https://forum.kirupa.com/t/complex-flash-form-info-not-passing-through-whiled-embedded-a-dreamweaver-site/317407 "2010-12-19T14:43:46Z")

</div>

Okay, there is something that I don't quite understand. I built a flash contact form in Flash CS4 and embedded the swf in my webpage using Dreamweaver CS4. I upload the files in my server but why it's not working? I crea…

---

## [\[Actionscript 2\] Help - Conflicting 'movement' functions](https://forum.kirupa.com/t/actionscript-2-help-conflicting-movement-functions/317405)

<div class="topic-metadata">

**Author:** [@rezter](https://forum.kirupa.com/u/rezter)\
**Replies:** 0\
**Last updated:** [December 19, 2010, 10:19am UTC](https://forum.kirupa.com/t/actionscript-2-help-conflicting-movement-functions/317405 "2010-12-19T10:19:54Z")

</div>

Nevermind. (Please delete if need be)

---

## [flash8 actionscript 2.0 having trouble with aligning a "draw" element](https://forum.kirupa.com/t/flash8-actionscript-2-0-having-trouble-with-aligning-a-draw-element/317402)

<div class="topic-metadata">

**Author:** [@Starrey](https://forum.kirupa.com/u/Starrey)\
**Replies:** 0\
**Last updated:** [December 19, 2010, 7:52am UTC](https://forum.kirupa.com/t/flash8-actionscript-2-0-having-trouble-with-aligning-a-draw-element/317402 "2010-12-19T07:52:23Z")

</div>

Im working with a perpetual calander and it using the following code to set the xPos and yPos. I know how to change positions with numbers but this code has a equation of sorts that i cant seem to find the right search t…

---

## [as2 + php forms](https://forum.kirupa.com/t/as2-php-forms/317397)

<div class="topic-metadata">

**Author:** [@Numinus](https://forum.kirupa.com/u/Numinus)\
**Replies:** 0\
**Last updated:** [December 19, 2010, 12:15am UTC](https://forum.kirupa.com/t/as2-php-forms/317397 "2010-12-19T00:15:56Z")

</div>

i've tried a hundred different codes and tutorials trying to create a simple form in as2. i have one on my site in as1, it works fine. but when i create the same thing in as2 using the same php codes, i get no email. i d…

---

## [onClick Updating a variable on the page](https://forum.kirupa.com/t/onclick-updating-a-variable-on-the-page/317395)

<div class="topic-metadata">

**Author:** [@jw06](https://forum.kirupa.com/u/jw06)\
**Replies:** 0\
**Last updated:** [December 18, 2010, 10:42pm UTC](https://forum.kirupa.com/t/onclick-updating-a-variable-on-the-page/317395 "2010-12-18T22:42:41Z")

</div>

Hello.. I am trying to figure out how to change text on my page after an onclick event occurs. I am tracking a variable, lets say myVar, that when a certain button is clicked it updates the variable and then updates …

---

## [Dynamic Text in Menus](https://forum.kirupa.com/t/dynamic-text-in-menus/317393)

<div class="topic-metadata">

**Author:** [@Lenie](https://forum.kirupa.com/u/Lenie)\
**Replies:** 0\
**Last updated:** [December 18, 2010, 8:44pm UTC](https://forum.kirupa.com/t/dynamic-text-in-menus/317393 "2010-12-18T20:44:50Z")

</div>

I'm incredibly new to ActionScript, but I know my ins and outs of Flash. Anyway, I'm creating a simple game, and I want my dropdown menu to display the character's HP and Money count, which already have values assigned…

---

## [Problems with localToGlobal](https://forum.kirupa.com/t/problems-with-localtoglobal/317392)

<div class="topic-metadata">

**Author:** [@pepeu](https://forum.kirupa.com/u/pepeu)\
**Replies:** 0\
**Last updated:** [December 18, 2010, 8:27pm UTC](https://forum.kirupa.com/t/problems-with-localtoglobal/317392 "2010-12-18T20:27:01Z")

</div>

Hi all kirupians, I'm having problems with localToGlobal here for some reason. When I rotate an object and then tries to convert it's childs childrens x and y to global it just... wont work var r2d = 180 / Math.PI; v…

---

## [How to center resizable flash content with gallery](https://forum.kirupa.com/t/how-to-center-resizable-flash-content-with-gallery/317390)

<div class="topic-metadata">

**Author:** [@Klay](https://forum.kirupa.com/u/Klay)\
**Replies:** 0\
**Last updated:** [December 18, 2010, 7:41pm UTC](https://forum.kirupa.com/t/how-to-center-resizable-flash-content-with-gallery/317390 "2010-12-18T19:41:48Z")

</div>

Hi there.. I'm trying to center my flash site horizontally to be resizable using actions, but I have a SimpleViewer gallery to load at some point on the timeline inside a movieclip. Everything is working without the ga…

---

## [Need help on video loop](https://forum.kirupa.com/t/need-help-on-video-loop/317387)

<div class="topic-metadata">

**Author:** [@Jaikopd](https://forum.kirupa.com/u/Jaikopd)\
**Replies:** 0\
**Last updated:** [December 18, 2010, 3:47pm UTC](https://forum.kirupa.com/t/need-help-on-video-loop/317387 "2010-12-18T15:47:11Z")

</div>

Hi... I need help I made a video in After Effect and export it to flash as a FLV video.. and write de code to load it into flash.. but I need it to loop.. Here is the code import flash.net.URLRequest; import flash.ev…

---

## [rotationX kills MOUSE\_CLICK](https://forum.kirupa.com/t/rotationx-kills-mouse-click/317386)

<div class="topic-metadata">

**Author:** [@patrickjv](https://forum.kirupa.com/u/patrickjv)\
**Replies:** 0\
**Last updated:** [December 18, 2010, 3:45pm UTC](https://forum.kirupa.com/t/rotationx-kills-mouse-click/317386 "2010-12-18T15:45:09Z")

</div>

I'm encountering a weird phenomena. I have a multi nested display object structure. Some of the deeper display objects have MOUSE\_CLICK events. But as soon as I set main display item container.rotationX = 5 then the mous…

---

## [Flash AS3 Virtual Keyboard and Search XML](https://forum.kirupa.com/t/flash-as3-virtual-keyboard-and-search-xml/317385)

<div class="topic-metadata">

**Author:** [@edtech](https://forum.kirupa.com/u/edtech)\
**Replies:** 0\
**Last updated:** [December 18, 2010, 2:50pm UTC](https://forum.kirupa.com/t/flash-as3-virtual-keyboard-and-search-xml/317385 "2010-12-18T14:50:34Z")

</div>

Hello, I have created a virtual keyboard and would like its input in the textfield which has a search button next to it. When the search button is hit XML data is searched and result is shown in output field under text…

---

## [Completely stumped](https://forum.kirupa.com/t/completely-stumped/317384)

<div class="topic-metadata">

**Author:** [@Metroid756](https://forum.kirupa.com/u/Metroid756)\
**Replies:** 0\
**Last updated:** [December 18, 2010, 2:12pm UTC](https://forum.kirupa.com/t/completely-stumped/317384 "2010-12-18T14:12:46Z")

</div>

Hi everyone! I've been following a tutorial on asgamer.com but changing and removing various things to fit to the game I am (very, very slowly) trying to make. I am attempting to make an up-side-down Space Invaders lik…

---

## [as2 preloader glitch](https://forum.kirupa.com/t/as2-preloader-glitch/317383)

<div class="topic-metadata">

**Author:** [@simondp](https://forum.kirupa.com/u/simondp)\
**Replies:** 0\
**Last updated:** [December 18, 2010, 1:21pm UTC](https://forum.kirupa.com/t/as2-preloader-glitch/317383 "2010-12-18T13:21:58Z")

</div>

Hi all, I've just built a site using mx2004 and as2, that's around 6MB in size. I stuck a very simple preloader on using the following code in frame 1: \<as\> stop (); var loaderInterval = setInterval (loading,10); f…

---

## [1.29 + 0.05 = 1.39 ? 1.29 - 0.05 = 1.19 Issue](https://forum.kirupa.com/t/1-29-0-05-1-39-1-29-0-05-1-19-issue/317380)

<div class="topic-metadata">

**Author:** [@ayumilove](https://forum.kirupa.com/u/ayumilove)\
**Replies:** 0\
**Last updated:** [December 18, 2010, 12:08pm UTC](https://forum.kirupa.com/t/1-29-0-05-1-39-1-29-0-05-1-19-issue/317380 "2010-12-18T12:08:51Z")

</div>

My Flash Develop is acting really weird, Does this issue happens to you too? 1.29 + 0.05 = 1.39 (expected value should be 1.34) 1.29 - 0.05 = 1.19 (expected value should be 1.24) \[skull\]

---

## [How can I access the movie Clip using button?](https://forum.kirupa.com/t/how-can-i-access-the-movie-clip-using-button/317379)

<div class="topic-metadata">

**Author:** [@learner\_7n](https://forum.kirupa.com/u/learner_7n)\
**Replies:** 0\
**Last updated:** [December 18, 2010, 11:35am UTC](https://forum.kirupa.com/t/how-can-i-access-the-movie-clip-using-button/317379 "2010-12-18T11:35:31Z")

</div>

Hi, I need the following: Using Flash CS4 AS3. 1) GoUp (GoUp is a button to move a square (Box\_mc) up) 2) Once it is go up the button label of GoUp to be changed to "GoDown" 3) DoDown (GoDown is a button to move down…

---

## [flash8 actionscript 2.0 help w/code for specific date & time for a frame jump](https://forum.kirupa.com/t/flash8-actionscript-2-0-help-w-code-for-specific-date-time-for-a-frame-jump/317377)

<div class="topic-metadata">

**Author:** [@Starrey](https://forum.kirupa.com/u/Starrey)\
**Replies:** 0\
**Last updated:** [December 18, 2010, 10:22am UTC](https://forum.kirupa.com/t/flash8-actionscript-2-0-help-w-code-for-specific-date-time-for-a-frame-jump/317377 "2010-12-18T10:22:40Z")

</div>

Just when i think I have learned something and can make something work....I find out I know less than nothing...hahaha...its either laugh or tear my hair out (thinks there must be a lot of bald actionscripters) LOL this …

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

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