# programming

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

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

**Page:** 556

---

## [hasOwnProperty to find private function](https://forum.kirupa.com/t/hasownproperty-to-find-private-function/305159)

<div class="topic-metadata">

**Author:** [@Loren1233](https://forum.kirupa.com/u/Loren1233)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 11:22pm UTC](https://forum.kirupa.com/t/hasownproperty-to-find-private-function/305159 "2010-02-19T23:22:28Z")

</div>

I am returning to an object after a custom event- the custom event has a property in it called "aFunctionName" which is the name of a function I wish to run if this particular object, or any others that catch this event,…

---

## [Custom main window](https://forum.kirupa.com/t/custom-main-window/305157)

<div class="topic-metadata">

**Author:** [@wallis2xk](https://forum.kirupa.com/u/wallis2xk)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 10:41pm UTC](https://forum.kirupa.com/t/custom-main-window/305157 "2010-02-19T22:41:25Z")

</div>

What's the best way to have a Custom window component as your main app window in AIR (built in Flex)? Is it within the mxml, or to create it dynamically as I'm having issues either way?

---

## [Flex MXML Componenet in Flash CS4?](https://forum.kirupa.com/t/flex-mxml-componenet-in-flash-cs4/305156)

<div class="topic-metadata">

**Author:** [@MrFlashMan](https://forum.kirupa.com/u/MrFlashMan)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 10:28pm UTC](https://forum.kirupa.com/t/flex-mxml-componenet-in-flash-cs4/305156 "2010-02-19T22:28:30Z")

</div>

Hey there Flash Experts! I've got a question... Does anyone know of the best way to use a Flex Component (i.e. ComboBox, TextArea, RichTextEditor) inside a Flash CS4 project? I've found an example of creating a "Fle…

---

## [Tween "alpha"](https://forum.kirupa.com/t/tween-alpha/305154)

<div class="topic-metadata">

**Author:** [@Luigi\_Vercotti](https://forum.kirupa.com/u/Luigi_Vercotti)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 10:06pm UTC](https://forum.kirupa.com/t/tween-alpha/305154 "2010-02-19T22:06:03Z")

</div>

Hello I'v got this code... imageLoaderClipTrasa.addChild(imigeLoaderTrasa); var imigeLoaderTrasaClipAlpha:Tween = new Tween (imigeLoaderTrasa, "alpha", Regular.easeOut, 0.5, 1, 1, true); in one of function. When…

---

## [Modifying Library Assets at Runtime](https://forum.kirupa.com/t/modifying-library-assets-at-runtime/305153)

<div class="topic-metadata">

**Author:** [@johnsonw](https://forum.kirupa.com/u/johnsonw)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 9:34pm UTC](https://forum.kirupa.com/t/modifying-library-assets-at-runtime/305153 "2010-02-19T21:34:40Z")

</div>

Hey guys, Overview: I'm building an avatar class that will allow a user to swap out character assets during runtime. The idea is pretty straight forward. The artist I am working with designed the art assets for the ind…

---

## [AS2 - loading dynamic text into an external swf](https://forum.kirupa.com/t/as2-loading-dynamic-text-into-an-external-swf/305152)

<div class="topic-metadata">

**Author:** [@hondo311](https://forum.kirupa.com/u/hondo311)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 9:18pm UTC](https://forum.kirupa.com/t/as2-loading-dynamic-text-into-an-external-swf/305152 "2010-02-19T21:18:45Z")

</div>

Ok, I'm trying to figure this out but I'm not sure I'm doing it right. I have a Flash file with an FLVPlayback component that loads a video. I have an actions frame that sets listeners and then sends the current runni…

---

## [Sending dynamic text to an external SWF - AS2](https://forum.kirupa.com/t/sending-dynamic-text-to-an-external-swf-as2/305151)

<div class="topic-metadata">

**Author:** [@hondo311](https://forum.kirupa.com/u/hondo311)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 9:15pm UTC](https://forum.kirupa.com/t/sending-dynamic-text-to-an-external-swf-as2/305151 "2010-02-19T21:15:32Z")

</div>

Ok, I'm trying to figure this out but I'm not sure I'm doing it right. I have a Flash file with an FLVPlayback component that loads a video. I have an actions frame that sets listeners and then sends the current runni…

---

## [Tip: Randomize the contents of an Array](https://forum.kirupa.com/t/tip-randomize-the-contents-of-an-array/305150)

<div class="topic-metadata">

**Author:** [@arosemena](https://forum.kirupa.com/u/arosemena)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 9:09pm UTC](https://forum.kirupa.com/t/tip-randomize-the-contents-of-an-array/305150 "2010-02-19T21:09:14Z")

</div>

just wanted to share this, some months ago i was looking all over the web for an array content randomizer and found none, yesterday i was reading a book about AS3 and after finishing the arrays chapters tough of this: …

---

## [Alternatives to Flash Pro (preferably cheap or free)](https://forum.kirupa.com/t/alternatives-to-flash-pro-preferably-cheap-or-free/305149)

<div class="topic-metadata">

**Author:** [@derm116](https://forum.kirupa.com/u/derm116)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 8:32pm UTC](https://forum.kirupa.com/t/alternatives-to-flash-pro-preferably-cheap-or-free/305149 "2010-02-19T20:32:53Z")

</div>

Hi All, I have found a few posts on this question but they all seem to be dated a few years back so wanted to make sure I was up to date. I've also googled around a bit but find it a lot more useful to get opinions on …

---

## [Problem, session\_destroy(); works but only once?](https://forum.kirupa.com/t/problem-session-destroy-works-but-only-once/305147)

<div class="topic-metadata">

**Author:** [@pebas](https://forum.kirupa.com/u/pebas)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 7:27pm UTC](https://forum.kirupa.com/t/problem-session-destroy-works-but-only-once/305147 "2010-02-19T19:27:36Z")

</div>

Hi guys, Please can anyone help me with this problem? Actually I'm pretty dummy in PHP/MYSQL but this script works but only once, when I again log in I can't logout anymore, only if I restart browser mannual I can l…

---

## [Php multi variable form problem](https://forum.kirupa.com/t/php-multi-variable-form-problem/305145)

<div class="topic-metadata">

**Author:** [@Joselito31](https://forum.kirupa.com/u/Joselito31)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 6:33pm UTC](https://forum.kirupa.com/t/php-multi-variable-form-problem/305145 "2010-02-19T18:33:14Z")

</div>

Hi there, please, I need some help for my php form. In the zip file I have included a “backend.php” file, that is composed from 3 textfield (I need to add more text field in this form) that will write their content in th…

---

## [Advice on setup](https://forum.kirupa.com/t/advice-on-setup/305144)

<div class="topic-metadata">

**Author:** [@Maqrkk](https://forum.kirupa.com/u/Maqrkk)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 6:04pm UTC](https://forum.kirupa.com/t/advice-on-setup/305144 "2010-02-19T18:04:28Z")

</div>

Hey everyone, for a game I'm working on, I want to make a 'digital display', like a digital clock for example. Every character exists of 7 lines which are either on or off. This picture will demonstrate what I mean. C…

---

## [Problem with accessing AS3 vars while using google map api](https://forum.kirupa.com/t/problem-with-accessing-as3-vars-while-using-google-map-api/305143)

<div class="topic-metadata">

**Author:** [@barry](https://forum.kirupa.com/u/barry)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 6:02pm UTC](https://forum.kirupa.com/t/problem-with-accessing-as3-vars-while-using-google-map-api/305143 "2010-02-19T18:02:26Z")

</div>

I've created a google map application using AS3 that creates a map, gives it custom zoom controls and adds a custom marker to the map. I'm trying to get my custom marker to access variables on the main timeline but keep …

---

## [Problem with buttons in loop](https://forum.kirupa.com/t/problem-with-buttons-in-loop/305141)

<div class="topic-metadata">

**Author:** [@NS05](https://forum.kirupa.com/u/NS05)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 5:29pm UTC](https://forum.kirupa.com/t/problem-with-buttons-in-loop/305141 "2010-02-19T17:29:33Z")

</div>

I'm new to AS3 and I'm trying to redo all of my interaction templates that I have in AS2 as AS3 and make them more streamlined and on 1 frame. This one has 5 statements with true and false. I have the interaction wor…

---

## [Stuck on a Problem](https://forum.kirupa.com/t/stuck-on-a-problem/305140)

<div class="topic-metadata">

**Author:** [@jdoany](https://forum.kirupa.com/u/jdoany)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 5:26pm UTC](https://forum.kirupa.com/t/stuck-on-a-problem/305140 "2010-02-19T17:26:03Z")

</div>

I'm trying to figure out how to accomplish something, and am having a great deal of trouble. Perhaps someone can help me out, or at least point me in the right direction. I have a .csv file given to me by a client. T…

---

## [Print TextArea Component Content](https://forum.kirupa.com/t/print-textarea-component-content/305133)

<div class="topic-metadata">

**Author:** [@abhikumar](https://forum.kirupa.com/u/abhikumar)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 4:10pm UTC](https://forum.kirupa.com/t/print-textarea-component-content/305133 "2010-02-19T16:10:48Z")

</div>

I have a TextArea component with a lot of content (images+text) - the content is coming from a xml file.. i need to print the textarea content and when i do - it is printing just the visible content area with scrollbar- …

---

## [Declaring multiple variables with a loop?](https://forum.kirupa.com/t/declaring-multiple-variables-with-a-loop/305132)

<div class="topic-metadata">

**Author:** [@TooRomeo](https://forum.kirupa.com/u/TooRomeo)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 4:09pm UTC](https://forum.kirupa.com/t/declaring-multiple-variables-with-a-loop/305132 "2010-02-19T16:09:01Z")

</div>

I have the following variables: $PlayerName1 = htmlspecialchars($\_POST\['PlayerName1'\]); $PlayerName2 = htmlspecialchars($\_POST\['PlayerName2'\]); $PlayerName3 = htmlspecialchars($\_POST\['PlayerName3'\]); $PlayerName4 = ht…

---

## [Drop down menu not working](https://forum.kirupa.com/t/drop-down-menu-not-working/305131)

<div class="topic-metadata">

**Author:** [@sjmar](https://forum.kirupa.com/u/sjmar)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 3:58pm UTC](https://forum.kirupa.com/t/drop-down-menu-not-working/305131 "2010-02-19T15:58:35Z")

</div>

I use a flash header on my website with a slideshow and i want to create a drop down menu. I have created a movie clip for this menu and can get it to drop down but when i attempt to add buttons for links to other pages …

---

## [Pretty Basic gotoAndPlay() not working](https://forum.kirupa.com/t/pretty-basic-gotoandplay-not-working/305130)

<div class="topic-metadata">

**Author:** [@jimbobian](https://forum.kirupa.com/u/jimbobian)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 3:45pm UTC](https://forum.kirupa.com/t/pretty-basic-gotoandplay-not-working/305130 "2010-02-19T15:45:08Z")

</div>

Hey, so basically I have an instance called "tile\_mc" (imaginative huh?!) and it is being duplicated using: for (j=0; j\<gridH; j++) { for (i=0; i\<gridW; i++) { tile\_mc.duplicateMovieClip("tile\_"+tiles,\_roo…

---

## [Ticker Animation - Scrolling Text](https://forum.kirupa.com/t/ticker-animation-scrolling-text/305129)

<div class="topic-metadata">

**Author:** [@bhjodokast](https://forum.kirupa.com/u/bhjodokast)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 3:05pm UTC](https://forum.kirupa.com/t/ticker-animation-scrolling-text/305129 "2010-02-19T15:05:18Z")

</div>

Anyone have a ticker animation class for AS3? AKA as horizontal text scrolling (automatic, not with scrollbars). Thanks! Something based on the fl.transitions.tween would be fine

---

## [Character Animation - Platform Game](https://forum.kirupa.com/t/character-animation-platform-game/305128)

<div class="topic-metadata">

**Author:** [@jason116](https://forum.kirupa.com/u/jason116)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 2:44pm UTC](https://forum.kirupa.com/t/character-animation-platform-game/305128 "2010-02-19T14:44:52Z")

</div>

Hey, Ive been trying to create a simple platform game but are having some problems with trying to get the character running animation to show? Thanks Jason

---

## [\[AS2\] Problem attaching several MCs in Flash 6](https://forum.kirupa.com/t/as2-problem-attaching-several-mcs-in-flash-6/305127)

<div class="topic-metadata">

**Author:** [@asdronin](https://forum.kirupa.com/u/asdronin)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 2:43pm UTC](https://forum.kirupa.com/t/as2-problem-attaching-several-mcs-in-flash-6/305127 "2010-02-19T14:43:04Z")

</div>

Hi all, Im targetting Flash Player 6 users and the trouble I found is that while using attachMovie function I cant attach all the MCs I want in same frame for some reason, I know its because of Flash version since changi…

---

## [Help on form validation please :-)](https://forum.kirupa.com/t/help-on-form-validation-please/305125)

<div class="topic-metadata">

**Author:** [@che\_boludo](https://forum.kirupa.com/u/che_boludo)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 2:01pm UTC](https://forum.kirupa.com/t/help-on-form-validation-please/305125 "2010-02-19T14:01:02Z")

</div>

Hi, I was hoping someone might be able to shed light on a newb kinda question. I have a contact form that validates. The fields in the form are NAME, TELEPHONE, EMAIL and DATE. I have it set up so if anything is le…

---

## [Shoutcast and NetStream](https://forum.kirupa.com/t/shoutcast-and-netstream/305123)

<div class="topic-metadata">

**Author:** [@Binji](https://forum.kirupa.com/u/Binji)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 12:59pm UTC](https://forum.kirupa.com/t/shoutcast-and-netstream/305123 "2010-02-19T12:59:12Z")

</div>

I would like to create a Shoutcast player in Flex using NetStream and NetConnection classes. Looking at examples like this: http://livedocs.adobe.com/flex/3/langref/flash/net/NetStream.html#includeExamplesSummary everyth…

---

## [Hold while JS loads](https://forum.kirupa.com/t/hold-while-js-loads/305122)

<div class="topic-metadata">

**Author:** [@gkp\_gaurav1](https://forum.kirupa.com/u/gkp_gaurav1)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 12:49pm UTC](https://forum.kirupa.com/t/hold-while-js-loads/305122 "2010-02-19T12:49:21Z")

</div>

Hello, I am calling a JS file within another JS file with document.write("\<script type='text/javascript' src='.............'\>\</script\>"); after that some functions are written over there again with document.write. The …

---

## [Scale browser scale flash](https://forum.kirupa.com/t/scale-browser-scale-flash/305120)

<div class="topic-metadata">

**Author:** [@junior\_kimbroug](https://forum.kirupa.com/u/junior_kimbroug)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 12:45pm UTC](https://forum.kirupa.com/t/scale-browser-scale-flash/305120 "2010-02-19T12:45:58Z")

</div>

Hello! I am fairly new to flash. I want my flash content to scale when I scale my browser window. Can someone help me with this? Kind regards

---

## [TypeError: Error #1009. (Trying to control loaded swf)](https://forum.kirupa.com/t/typeerror-error-1009-trying-to-control-loaded-swf/305119)

<div class="topic-metadata">

**Author:** [@weedunc65](https://forum.kirupa.com/u/weedunc65)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 12:42pm UTC](https://forum.kirupa.com/t/typeerror-error-1009-trying-to-control-loaded-swf/305119 "2010-02-19T12:42:26Z")

</div>

Hello Only recently started aquainting myself with AS3 and have created a basic fla. with 2 buttons. One to load a swf with xml in it which animates onto the stage in my main fla. The second button is just supposed to …

---

## [Quickie. Just cant access any properties of a mc](https://forum.kirupa.com/t/quickie-just-cant-access-any-properties-of-a-mc/305116)

<div class="topic-metadata">

**Author:** [@snape](https://forum.kirupa.com/u/snape)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 11:26am UTC](https://forum.kirupa.com/t/quickie-just-cant-access-any-properties-of-a-mc/305116 "2010-02-19T11:26:30Z")

</div>

Hi, Sorry about this but can anyone tell me why I cannot access the alpha property of the mc called 'newImageContainer' below? (This is just an extract of the code): var newImageContainer = new mcGroupItemHolder(); …

---

## [Same class, same constructor arguments, different instances](https://forum.kirupa.com/t/same-class-same-constructor-arguments-different-instances/305115)

<div class="topic-metadata">

**Author:** [@Kukukuchu](https://forum.kirupa.com/u/Kukukuchu)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 11:00am UTC](https://forum.kirupa.com/t/same-class-same-constructor-arguments-different-instances/305115 "2010-02-19T11:00:18Z")

</div>

It's an odd behaviour for someone used to c# and more or less synchronous programming, not to mention complete ignorance regarding frame and timeline behaviour.. (i have never before worked with as3 or flash) I'm worki…

---

## [Fullscreen problem...!](https://forum.kirupa.com/t/fullscreen-problem/305114)

<div class="topic-metadata">

**Author:** [@DrMaxMad](https://forum.kirupa.com/u/DrMaxMad)\
**Replies:** 0\
**Last updated:** [February 19, 2010, 10:55am UTC](https://forum.kirupa.com/t/fullscreen-problem/305114 "2010-02-19T10:55:03Z")

</div>

HI, i have a weired problem which i have never faced before, i have swf file which has a normal fullscreen control which turn fullscreen on and off , now if i check the function on local machine in any browser it work…

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

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