# programming

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

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

**Page:** 417

---

## [Beginner question about using document class](https://forum.kirupa.com/t/beginner-question-about-using-document-class/313945)

<div class="topic-metadata">

**Author:** [@faff](https://forum.kirupa.com/u/faff)\
**Replies:** 0\
**Last updated:** [September 14, 2010, 12:39pm UTC](https://forum.kirupa.com/t/beginner-question-about-using-document-class/313945 "2010-09-14T12:39:03Z")

</div>

I have 2 files and no code on the timeline. I have set the class Main in the .fla properties. These files are supposed to draw a circle (Pixel class) and then have it go around in a circle. I can't figure out what the Ma…

---

## [How do we pass a filestream to MediaElement Control in WPF](https://forum.kirupa.com/t/how-do-we-pass-a-filestream-to-mediaelement-control-in-wpf/313939)

<div class="topic-metadata">

**Author:** [@meddle58](https://forum.kirupa.com/u/meddle58)\
**Replies:** 0\
**Last updated:** [September 14, 2010, 10:22am UTC](https://forum.kirupa.com/t/how-do-we-pass-a-filestream-to-mediaelement-control-in-wpf/313939 "2010-09-14T10:22:22Z")

</div>

MediaElement is a control used in Expression Blend for playing Videos and this thread is related to WPF Windows Application rather than Silverlight. I am working on a project and i am using Media Element control in the…

---

## [Flash is removing my objects](https://forum.kirupa.com/t/flash-is-removing-my-objects/313938)

<div class="topic-metadata">

**Author:** [@SticksStones](https://forum.kirupa.com/u/SticksStones)\
**Replies:** 0\
**Last updated:** [September 14, 2010, 9:53am UTC](https://forum.kirupa.com/t/flash-is-removing-my-objects/313938 "2010-09-14T09:53:03Z")

</div>

Hi all I seem to be running into some garbage collection issues. I'm making an RTS game with a side scrolling map. I have a "game" layer on the stage which scrolls left and right, all the troops, vehicles, bullets, etc…

---

## [removeChild(getChildByName("backButton")); //help please](https://forum.kirupa.com/t/removechild-getchildbyname-backbutton-help-please/313937)

<div class="topic-metadata">

**Author:** [@oluc](https://forum.kirupa.com/u/oluc)\
**Replies:** 0\
**Last updated:** [September 14, 2010, 9:45am UTC](https://forum.kirupa.com/t/removechild-getchildbyname-backbutton-help-please/313937 "2010-09-14T09:45:52Z")

</div>

hi! i added a display object like so: var backButton:BtnSMenu = new BtnSMenu(); backButton.name = "backButton"; mainHolder.parent.parent.parent.addChild(backButton); but then later in the code i want to remove the …

---

## [XML & AS3 - "code recognition"](https://forum.kirupa.com/t/xml-as3-code-recognition/313936)

<div class="topic-metadata">

**Author:** [@inkSheep](https://forum.kirupa.com/u/inkSheep)\
**Replies:** 0\
**Last updated:** [September 14, 2010, 9:19am UTC](https://forum.kirupa.com/t/xml-as3-code-recognition/313936 "2010-09-14T09:19:45Z")

</div>

Hi! New to these forums, and quite new to the XML/Flash enviroment aswell, however i have common knowledge of action script and have been using XML along with it in previous applications. I've run into a quite stupid…

---

## [Review new iPod and iPhone: how to enjoy DVD/Video with all apple devices](https://forum.kirupa.com/t/review-new-ipod-and-iphone-how-to-enjoy-dvd-video-with-all-apple-devices/313935)

<div class="topic-metadata">

**Author:** [@coolautumnr](https://forum.kirupa.com/u/coolautumnr)\
**Replies:** 0\
**Last updated:** [September 14, 2010, 8:56am UTC](https://forum.kirupa.com/t/review-new-ipod-and-iphone-how-to-enjoy-dvd-video-with-all-apple-devices/313935 "2010-09-14T08:56:14Z")

</div>

San Francisco- Apple Inc is hosting a music-themed event Wednesday that is likely to yield updated iPods and iOS 4.1, though the company will not confirm any details. The main focus of the event was iPods, ostensibly -- …

---

## [AS3, remove function](https://forum.kirupa.com/t/as3-remove-function/313934)

<div class="topic-metadata">

**Author:** [@nellisbasson](https://forum.kirupa.com/u/nellisbasson)\
**Replies:** 0\
**Last updated:** [September 14, 2010, 8:41am UTC](https://forum.kirupa.com/t/as3-remove-function/313934 "2010-09-14T08:41:07Z")

</div>

Good day! I was wondering, if you make a function and you call it in another function as "createLines(textBlock);" how do you remove it again? I know if you call a function as bla.addEventListener(...); and you say …

---

## [Web Form service engine](https://forum.kirupa.com/t/web-form-service-engine/313932)

<div class="topic-metadata">

**Author:** [@iorgobe2](https://forum.kirupa.com/u/iorgobe2)\
**Replies:** 0\
**Last updated:** [September 14, 2010, 7:22am UTC](https://forum.kirupa.com/t/web-form-service-engine/313932 "2010-09-14T07:22:15Z")

</div>

\[COLOR=black\]Create and power up your own web form service with our engine. Have millions of users signup, login and create forms on your website, then they are able to copy paste the code to their site where the forms w…

---

## [AS3 next\_image button (Help meeee!)](https://forum.kirupa.com/t/as3-next-image-button-help-meeee/313931)

<div class="topic-metadata">

**Author:** [@catalin](https://forum.kirupa.com/u/catalin)\
**Replies:** 0\
**Last updated:** [September 14, 2010, 7:18am UTC](https://forum.kirupa.com/t/as3-next-image-button-help-meeee/313931 "2010-09-14T07:18:32Z")

</div>

Can someone help me to add 2 buttons : next\_image, prev\_image to this gallery http://www.flashmo.com/preview/flashmo\_202\_motion\_gallery, when the image is loadet at full size i want that 2 buttons to apper and when i pre…

---

## [Custom playhead with draggable slider](https://forum.kirupa.com/t/custom-playhead-with-draggable-slider/313930)

<div class="topic-metadata">

**Author:** [@nsi](https://forum.kirupa.com/u/nsi)\
**Replies:** 0\
**Last updated:** [September 14, 2010, 6:41am UTC](https://forum.kirupa.com/t/custom-playhead-with-draggable-slider/313930 "2010-09-14T06:41:20Z")

</div>

Hi all, I believe there is a previous thread for this but i couldnt find it. I am creating a custom playhead with draggable slider in a flash file(AS2.0) which has some animaiton and externally loaded sound. I am u…

---

## [Tutorial: Detecting the Theme in Windows Phone 7](https://forum.kirupa.com/t/tutorial-detecting-the-theme-in-windows-phone-7/313928)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [September 14, 2010, 4:50am UTC](https://forum.kirupa.com/t/tutorial-detecting-the-theme-in-windows-phone-7/313928 "2010-09-14T04:50:58Z")

</div>

This thread is designed to help collect discussion on the Detecting the Theme in Windows Phone 7 tutorial. Feel free to drop in \[smile\] Cheers, Kirupa :megaman\_x:

---

## [Photogallery tutorial question- Rollover instead of onRelease](https://forum.kirupa.com/t/photogallery-tutorial-question-rollover-instead-of-onrelease/313925)

<div class="topic-metadata">

**Author:** [@ASimon](https://forum.kirupa.com/u/ASimon)\
**Replies:** 0\
**Last updated:** [September 14, 2010, 2:17am UTC](https://forum.kirupa.com/t/photogallery-tutorial-question-rollover-instead-of-onrelease/313925 "2010-09-14T02:17:25Z")

</div>

Hi, I went through the tutorial for the Photogallery and Thumbnail scroller, loved it. I have Flash CS3. I want to modify the script so instead of having to click on the thumbnail to see the enlarged image I want to sh…

---

## [Vector-letters as particles to spell a phrase](https://forum.kirupa.com/t/vector-letters-as-particles-to-spell-a-phrase/313924)

<div class="topic-metadata">

**Author:** [@will\_s](https://forum.kirupa.com/u/will_s)\
**Replies:** 0\
**Last updated:** [September 14, 2010, 1:21am UTC](https://forum.kirupa.com/t/vector-letters-as-particles-to-spell-a-phrase/313924 "2010-09-14T01:21:42Z")

</div>

I want to create a particle system that spews into the air multiple copies of letters that eventually spell out a phrase. Since the final file will involve hitTestObject collisions, I think I'd need, as a first step, …

---

## [Accessing XML on Stage from Class](https://forum.kirupa.com/t/accessing-xml-on-stage-from-class/313923)

<div class="topic-metadata">

**Author:** [@zik80](https://forum.kirupa.com/u/zik80)\
**Replies:** 0\
**Last updated:** [September 14, 2010, 1:18am UTC](https://forum.kirupa.com/t/accessing-xml-on-stage-from-class/313923 "2010-09-14T01:18:15Z")

</div>

I declared and loaded an xml on stage loaded as infoData, but I need code to access some information from the infoData.age nodes from within an external class. Please help.

---

## [TransitionManager fade to certain alpha](https://forum.kirupa.com/t/transitionmanager-fade-to-certain-alpha/313922)

<div class="topic-metadata">

**Author:** [@Frosteh](https://forum.kirupa.com/u/Frosteh)\
**Replies:** 0\
**Last updated:** [September 14, 2010, 1:03am UTC](https://forum.kirupa.com/t/transitionmanager-fade-to-certain-alpha/313922 "2010-09-14T01:03:50Z")

</div>

What I'm trying to do is make a movie clip button that will fade from a certain alpha to a different alpha when I mouse over. Is this possible to do withing the transitionmanager fade effect? Or do I need to make separat…

---

## [Scrollbar causing resize problem](https://forum.kirupa.com/t/scrollbar-causing-resize-problem/313920)

<div class="topic-metadata">

**Author:** [@unknownelementx](https://forum.kirupa.com/u/unknownelementx)\
**Replies:** 0\
**Last updated:** [September 14, 2010, 12:36am UTC](https://forum.kirupa.com/t/scrollbar-causing-resize-problem/313920 "2010-09-14T00:36:02Z")

</div>

Ok guys, this is killing me. I can't figure out what is going on and ive been smashing my head against it for weeks. I am using snickelfritz's code for a dynamic text scrollbar from here actionscript.org/forums/showth…

---

## [Slideshow with video](https://forum.kirupa.com/t/slideshow-with-video/313919)

<div class="topic-metadata">

**Author:** [@solivan2010](https://forum.kirupa.com/u/solivan2010)\
**Replies:** 0\
**Last updated:** [September 13, 2010, 11:45pm UTC](https://forum.kirupa.com/t/slideshow-with-video/313919 "2010-09-13T23:45:37Z")

</div>

Hi everyone, Does anybody knows how to create a slide show with still images combined with video? For example you'll see a couple of still images like a regular slide show but the next one is a video and when the vide…

---

## [\[AS2/CS3\] Error opening URL file undefined](https://forum.kirupa.com/t/as2-cs3-error-opening-url-file-undefined/313916)

<div class="topic-metadata">

**Author:** [@BadBoyMcCoy](https://forum.kirupa.com/u/BadBoyMcCoy)\
**Replies:** 0\
**Last updated:** [September 13, 2010, 7:20pm UTC](https://forum.kirupa.com/t/as2-cs3-error-opening-url-file-undefined/313916 "2010-09-13T19:20:08Z")

</div>

Hi all I've been working with flash on and off for about 4 years now so I'm used to the interface but I've never worked with actionscript that much. I'm working on a flash photo gallery that uses XML to load each im…

---

## [Maximum point?](https://forum.kirupa.com/t/maximum-point/313915)

<div class="topic-metadata">

**Author:** [@Vivavida](https://forum.kirupa.com/u/Vivavida)\
**Replies:** 0\
**Last updated:** [September 13, 2010, 7:10pm UTC](https://forum.kirupa.com/t/maximum-point/313915 "2010-09-13T19:10:32Z")

</div>

Ok another question, how do you set the maximum point of an x value? I tried var X = MC.x Math.max(x = 100) but that didnt seem to work... McBtnDrag.x = 0; function init() { var X = McBtnDrag.x Math.max(X = 30…

---

## [Link colors wrong](https://forum.kirupa.com/t/link-colors-wrong/313914)

<div class="topic-metadata">

**Author:** [@cquinn](https://forum.kirupa.com/u/cquinn)\
**Replies:** 0\
**Last updated:** [September 13, 2010, 7:06pm UTC](https://forum.kirupa.com/t/link-colors-wrong/313914 "2010-09-13T19:06:41Z")

</div>

I'm at the very beginning of trying to understand web page design so - sorry if this is a really stupid question. Laid out and published the first page of the site but the link colors are wrong and for the life of me I …

---

## [CS5 Copy / Paste embedded text issue](https://forum.kirupa.com/t/cs5-copy-paste-embedded-text-issue/313911)

<div class="topic-metadata">

**Author:** [@jany](https://forum.kirupa.com/u/jany)\
**Replies:** 0\
**Last updated:** [September 13, 2010, 6:29pm UTC](https://forum.kirupa.com/t/cs5-copy-paste-embedded-text-issue/313911 "2010-09-13T18:29:04Z")

</div>

I made a textField, embedded it with a font I have. I then try to copy and paste, and it messes the text up. See the screenshot I attached. The text I created is on top, and the text I literally copy and pasted from it…

---

## [PHP Mail form not working for some people?](https://forum.kirupa.com/t/php-mail-form-not-working-for-some-people/313910)

<div class="topic-metadata">

**Author:** [@VonSnuggles](https://forum.kirupa.com/u/VonSnuggles)\
**Replies:** 0\
**Last updated:** [September 13, 2010, 6:13pm UTC](https://forum.kirupa.com/t/php-mail-form-not-working-for-some-people/313910 "2010-09-13T18:13:14Z")

</div>

I have a standard php mailer set up using a form. I have used the same set up for multiple clients with perfect results. I used it for a client recently, and they are telling me that some people have reported sending …

---

## [Drop Down Text Menu](https://forum.kirupa.com/t/drop-down-text-menu/313909)

<div class="topic-metadata">

**Author:** [@dc123](https://forum.kirupa.com/u/dc123)\
**Replies:** 0\
**Last updated:** [September 13, 2010, 6:06pm UTC](https://forum.kirupa.com/t/drop-down-text-menu/313909 "2010-09-13T18:06:23Z")

</div>

How is a menu like the one on the link below produced? (a text dropdown menu, effectively - either in as3, as2 or via movieclips?) \[URL="http://www.natl.tv"\]http://www.natl.tv Any tutorials, flash examples, or code th…

---

## [Linked Lists?](https://forum.kirupa.com/t/linked-lists/313908)

<div class="topic-metadata">

**Author:** [@WhiteyMcWhite](https://forum.kirupa.com/u/WhiteyMcWhite)\
**Replies:** 0\
**Last updated:** [September 13, 2010, 5:34pm UTC](https://forum.kirupa.com/t/linked-lists/313908 "2010-09-13T17:34:52Z")

</div>

So I was looking at implementing a linked list to use instead of arrays in some areas. But is it really worth it in AS3? I did some speed tests using 10000 objects (ints). Access is about the same as long as you know wha…

---

## [Hey there! A quick question! :)](https://forum.kirupa.com/t/hey-there-a-quick-question/313907)

<div class="topic-metadata">

**Author:** [@Vivavida](https://forum.kirupa.com/u/Vivavida)\
**Replies:** 0\
**Last updated:** [September 13, 2010, 5:27pm UTC](https://forum.kirupa.com/t/hey-there-a-quick-question/313907 "2010-09-13T17:27:02Z")

</div>

Ok I am loading an external image. But every time it loads, it is aligned as the top-left point set as 0,0. I wondered how I can set 0,0 as the center of the image. Please help! \[frowning\]

---

## [Animation Info](https://forum.kirupa.com/t/animation-info/313905)

<div class="topic-metadata">

**Author:** [@LS05](https://forum.kirupa.com/u/LS05)\
**Replies:** 0\
**Last updated:** [September 13, 2010, 4:47pm UTC](https://forum.kirupa.com/t/animation-info/313905 "2010-09-13T16:47:45Z")

</div>

hi guys, I've a general question. See this site: http://www.jobysessions.com/ Enter in one section and you will see a tree on the bottom left of the screen that is animated. How is done that kind of animation? Via action…

---

## [Loading external swf with tween](https://forum.kirupa.com/t/loading-external-swf-with-tween/313901)

<div class="topic-metadata">

**Author:** [@hema77](https://forum.kirupa.com/u/hema77)\
**Replies:** 0\
**Last updated:** [September 13, 2010, 1:44pm UTC](https://forum.kirupa.com/t/loading-external-swf-with-tween/313901 "2010-09-13T13:44:44Z")

</div>

Hi! I am having problems to load external swf using tween. Just starting with as3 and found a tutorial with 3 buttons, however my main movie needs to have 5. When I press the second button I get error 2025 and when I pr…

---

## [Flash CS4 AS2 php interfering with .flv load?](https://forum.kirupa.com/t/flash-cs4-as2-php-interfering-with-flv-load/313900)

<div class="topic-metadata">

**Author:** [@Skarab](https://forum.kirupa.com/u/Skarab)\
**Replies:** 0\
**Last updated:** [September 13, 2010, 1:28pm UTC](https://forum.kirupa.com/t/flash-cs4-as2-php-interfering-with-flv-load/313900 "2010-09-13T13:28:17Z")

</div>

I've got a .swf that loads .flv's from a separate directory and we want to put it on our company website. I've tested it online with the .swf in a simple html table and the .flv's load fine. But when our developer …

---

## [Need help selecting the right data from XML](https://forum.kirupa.com/t/need-help-selecting-the-right-data-from-xml/313899)

<div class="topic-metadata">

**Author:** [@Wullem](https://forum.kirupa.com/u/Wullem)\
**Replies:** 0\
**Last updated:** [September 13, 2010, 12:25pm UTC](https://forum.kirupa.com/t/need-help-selecting-the-right-data-from-xml/313899 "2010-09-13T12:25:43Z")

</div>

I'm trying to create an gallery application that reads the pics from the server per category (= directory). I do this using a PHP that creates the XML file: HTML-code: \[COLOR=#000080\]\<?xml version=\[COLOR=#0000ff\]"1.0…

---

## [AS3 problems](https://forum.kirupa.com/t/as3-problems/313898)

<div class="topic-metadata">

**Author:** [@dreedee](https://forum.kirupa.com/u/dreedee)\
**Replies:** 0\
**Last updated:** [September 13, 2010, 11:04am UTC](https://forum.kirupa.com/t/as3-problems/313898 "2010-09-13T11:04:45Z")

</div>

Namaste ji! I dont knwo much AS3, but I really need to make some simples things work. first, how can I "block" the mouse so that it does not leave the screen. the problem is that im running a flash interface on my seco…

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

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